Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / sources / debugger / source-frame.html
index 9bdf183..ff0c46e 100644 (file)
@@ -17,7 +17,7 @@ function methodForBreakpoint()
 
 function test()
 {
-    WebInspector.showPanel("resources");
+    WebInspector.inspectorView.showPanel("resources");
     InspectorTest.runDebuggerTestSuite([
         function testSetBreakpoint(next)
         {
@@ -55,8 +55,8 @@ function test()
             {
                 if (this !== shownSourceFrame)
                     return;
-                InspectorTest.addResult("Message added to source frame: " + message.message);
-                WebInspector.console.requestClearMessages();
+                InspectorTest.addResult("Message added to source frame: " + message.messageText);
+                WebInspector.consoleModel.requestClearMessages();
             }
 
             function clearMessages()
@@ -70,7 +70,7 @@ function test()
 
         function testShowResource(next)
         {
-            WebInspector.showPanel("network");
+            WebInspector.inspectorView.showPanel("network");
 
             InspectorTest.addSniffer(WebInspector.SourceFrame.prototype, "show", didShowSourceFrame);