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