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

Side by Side Diff: LayoutTests/inspector/extensions/extensions-sidebar.html

Issue 1172643002: DevTools: migrate sidebar pane's titleElement to use Toolbar. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: only using latin1 in css Created 5 years, 6 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 | Annotate | Revision Log
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 type="text/javascript"> 5 <script type="text/javascript">
6 6
7 function initialize_extensionsSidebarTest() 7 function initialize_extensionsSidebarTest()
8 { 8 {
9 InspectorTest.dumpSidebarContent = function(panelName, callback) 9 InspectorTest.dumpSidebarContent = function(panelName, callback)
10 { 10 {
11 var sidebar = InspectorTest._extensionSidebar(panelName); 11 var sidebar = InspectorTest._extensionSidebar(panelName);
12 InspectorTest.runAfterPendingDispatches(function() { 12 InspectorTest.runAfterPendingDispatches(function() {
13 InspectorTest.addResult(panelName + " sidebar content: " + Inspector Test.textContentWithoutStyles(sidebar.bodyElement)); 13 InspectorTest.addResult(panelName + " sidebar content: " + Inspector Test.textContentWithoutStyles(sidebar.element));
14 callback(); 14 callback();
15 }); 15 });
16 } 16 }
17 17
18 InspectorTest.expandSidebar = function(panelName, callback) 18 InspectorTest.expandSidebar = function(panelName, callback)
19 { 19 {
20 var sidebar = InspectorTest._extensionSidebar(panelName); 20 var sidebar = InspectorTest._extensionSidebar(panelName);
21 InspectorTest.runAfterPendingDispatches(function() { 21 InspectorTest.runAfterPendingDispatches(function() {
22 sidebar.expand(); 22 sidebar.expand();
23 callback(); 23 callback();
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 } 229 }
230 webInspector.panels[panelName].createSidebarPane("Sidebar Test: replace pag e with object", onSidebarCreated); 230 webInspector.panels[panelName].createSidebarPane("Sidebar Test: replace pag e with object", onSidebarCreated);
231 } 231 }
232 232
233 </script> 233 </script>
234 </head> 234 </head>
235 <body onload="runTest()"> 235 <body onload="runTest()">
236 <p>Tests sidebars in WebInspector extensions API</p> 236 <p>Tests sidebars in WebInspector extensions API</p>
237 </body> 237 </body>
238 </html> 238 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698