Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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\"", e mulationEnabled: "true"})); | |
| 9 runTest(); | |
| 10 } | |
| 11 | |
| 12 function test() | |
| 13 { | |
| 14 InspectorTest.addResult("Drawer visible: " + WebInspector.inspectorView.draw erVisible()); | |
| 15 InspectorTest.addResult("Selected view in drawer: " + WebInspector.inspector View.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> | |
| OLD | NEW |