Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-enabled/tabbed-pane-closeable-persistence-restore.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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._drawerTabbedLocation.tabbedPane(); 14 var drawer = UI.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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698