| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../http/tests/inspector/inspector-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 | 5 |
| 6 function onload() | 6 function onload() |
| 7 { | 7 { |
| 8 testRunner.showWebInspector(JSON.stringify({ "drawer-view-closeableTabs": JS
ON.stringify({ sensors: true }) })); | 8 testRunner.showWebInspector(JSON.stringify({ "drawer-view-closeableTabs": JS
ON.stringify({ sensors: true }) })); |
| 9 runTest(); | 9 runTest(); |
| 10 } | 10 } |
| 11 | 11 |
| 12 function test() | 12 function test() |
| 13 { | 13 { |
| 14 var drawer = WebInspector.inspectorView._drawerTabbedPane.tabbedPane(); | 14 var drawer = WebInspector.inspectorView._drawerTabbedLocation.tabbedPane(); |
| 15 InspectorTest.addResult("Has sensors tab: " + drawer.hasTab("sensors")); | 15 InspectorTest.addResult("Has sensors tab: " + drawer.hasTab("sensors")); |
| 16 InspectorTest.addResult("Has rendering tab: " + drawer.hasTab("rendering")); | 16 InspectorTest.addResult("Has rendering tab: " + drawer.hasTab("rendering")); |
| 17 InspectorTest.completeTest(); | 17 InspectorTest.completeTest(); |
| 18 } | 18 } |
| 19 | 19 |
| 20 </script> | 20 </script> |
| 21 </head> | 21 </head> |
| 22 | 22 |
| 23 <body onload="onload()"> | 23 <body onload="onload()"> |
| 24 <p>Tests that persisted closeable tabs are restored.</p> | 24 <p>Tests that persisted closeable tabs are restored.</p> |
| 25 </body> | 25 </body> |
| 26 </html> | 26 </html> |
| OLD | NEW |