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

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

Issue 2204303003: DevTools: encapsulate extensible tabbed widget into the view manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 4 years, 4 months 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/tabbed-pane-closeable-persistence.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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._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>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/tabbed-pane-closeable-persistence.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698