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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/extensions/extensions-events.html

Issue 2153153003: DevTools: remove dead code, disambiguate expand for sections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 5 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
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 src="../../http/tests/inspector/extensions-test.js"></script> 4 <script src="../../http/tests/inspector/extensions-test.js"></script>
5 <script src="../../http/tests/inspector/debugger-test.js"></script> 5 <script src="../../http/tests/inspector/debugger-test.js"></script>
6 <script src="../sources/debugger/resources/edit-me.js"></script> 6 <script src="../sources/debugger/resources/edit-me.js"></script>
7 <script type="text/javascript"> 7 <script type="text/javascript">
8 8
9 function initialize_extensionsSidebarTest() 9 function initialize_extensionsSidebarTest()
10 { 10 {
11 InspectorTest.expandSidebar = function(callback) 11 InspectorTest.expandSidebar = function(callback)
12 { 12 {
13 var sidebar = InspectorTest._extensionSidebar(); 13 var sidebar = InspectorTest._extensionSidebar();
14 InspectorTest.deprecatedRunAfterPendingDispatches(function() { 14 InspectorTest.deprecatedRunAfterPendingDispatches(function() {
15 sidebar.expand(); 15 sidebar.expandPane();
16 callback(); 16 callback();
17 }); 17 });
18 } 18 }
19 19
20 InspectorTest._extensionSidebar = function() 20 InspectorTest._extensionSidebar = function()
21 { 21 {
22 return WebInspector.extensionServer.sidebarPanes()[0]; 22 return WebInspector.extensionServer.sidebarPanes()[0];
23 } 23 }
24 } 24 }
25 25
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 } 138 }
139 webInspector.panels.elements.createSidebarPane("Test Sidebar", onSidebarCrea ted); 139 webInspector.panels.elements.createSidebarPane("Test Sidebar", onSidebarCrea ted);
140 } 140 }
141 141
142 </script> 142 </script>
143 </head> 143 </head>
144 <body onload="runTest()"> 144 <body onload="runTest()">
145 <p>Tests WebInspector extension API</p> 145 <p>Tests WebInspector extension API</p>
146 </body> 146 </body>
147 </html> 147 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698