Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / inspector-enabled / open-with-emulation-enabled.html
blob23de16f99553fcad3548aa5a9251e62264c25dff
1 <html>
2 <head>
3 <script src="../inspector/inspector-test.js"></script>
4 <script>
6 function onload()
8 testRunner.showWebInspector(JSON.stringify({lastActivePanel:"\"console\"", emulationEnabled: "true"}));
9 runTest();
12 function test()
14 InspectorTest.addResult("Drawer visible: " + WebInspector.inspectorView.drawerVisible());
15 InspectorTest.addResult("Selected view in drawer: " + WebInspector.inspectorView.selectedViewInDrawer());
16 InspectorTest.completeTest();
19 </script>
20 </head>
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>