Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / inspector-enabled / open-with-emulation-enabled.html
index f214646..23de16f 100644 (file)
@@ -5,13 +5,14 @@
 
 function onload()
 {
-    testRunner.showWebInspector(JSON.stringify({lastActivePanel:"\"console\"", emulationEnabled: "true", drawerEditorShown: "false"}));
+    testRunner.showWebInspector(JSON.stringify({lastActivePanel:"\"console\"", emulationEnabled: "true"}));
     runTest();
 }
 
 function test()
 {
-    InspectorTest.dumpLoadedModules();
+    InspectorTest.addResult("Drawer visible: " + WebInspector.inspectorView.drawerVisible());
+    InspectorTest.addResult("Selected view in drawer: " + WebInspector.inspectorView.selectedViewInDrawer());
     InspectorTest.completeTest();
 }
 
@@ -19,6 +20,6 @@ function test()
 </head>
 
 <body onload="onload()">
-<p>This test checks that loading with emulation turned on by default loads elements module.</p>
+<p>This test checks that loading with emulation turned on by default selects the "Emulation" view in drawer.</p>
 </body>
 </html>