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
1 <html>
2 <head>
3 <script src="../inspector/inspector-test.js"></script>
4 <script>
5
6 function onload()
7 {
8     testRunner.showWebInspector(JSON.stringify({lastActivePanel:"\"console\"", emulationEnabled: "true"}));
9     runTest();
10 }
11
12 function test()
13 {
14     InspectorTest.addResult("Drawer visible: " + WebInspector.inspectorView.drawerVisible());
15     InspectorTest.addResult("Selected view in drawer: " + WebInspector.inspectorView.selectedViewInDrawer());
16     InspectorTest.completeTest();
17 }
18
19 </script>
20 </head>
21
22 <body onload="onload()">
23 <p>This test checks that loading with emulation turned on by default selects the "Emulation" view in drawer.</p>
24 </body>
25 </html>