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

Side by Side Diff: LayoutTests/http/tests/inspector/elements-test.js

Issue 1285183006: DevTools: WI.Throttler goes promisified. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cc
Patch Set: remove dependent patchset Created 5 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 | LayoutTests/inspector/elements/styles-1/color-aware-property-value-edit.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 var initialize_ElementTest = function() { 1 var initialize_ElementTest = function() {
2 2
3 InspectorTest.preloadPanel("elements"); 3 InspectorTest.preloadPanel("elements");
4 4
5 InspectorTest.inlineStyleSection = function() 5 InspectorTest.inlineStyleSection = function()
6 { 6 {
7 return WebInspector.panels.elements.sidebarPanes.styles._sectionBlocks[0].se ctions[0]; 7 return WebInspector.panels.elements.sidebarPanes.styles._sectionBlocks[0].se ctions[0];
8 } 8 }
9 9
10 InspectorTest.computedStyleWidget = function() 10 InspectorTest.computedStyleWidget = function()
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 } 260 }
261 } 261 }
262 262
263 InspectorTest.selectNodeAndWaitForStylesWithComputed = function(idValue, callbac k) 263 InspectorTest.selectNodeAndWaitForStylesWithComputed = function(idValue, callbac k)
264 { 264 {
265 callback = InspectorTest.safeWrap(callback); 265 callback = InspectorTest.safeWrap(callback);
266 InspectorTest.selectNodeAndWaitForStyles(idValue, onSidebarRendered); 266 InspectorTest.selectNodeAndWaitForStyles(idValue, onSidebarRendered);
267 267
268 function onSidebarRendered() 268 function onSidebarRendered()
269 { 269 {
270 InspectorTest.computedStyleWidget().doUpdate(callback); 270 InspectorTest.computedStyleWidget().doUpdate().then(callback);
271 } 271 }
272 } 272 }
273 273
274 InspectorTest.firstElementsTreeOutline = function() 274 InspectorTest.firstElementsTreeOutline = function()
275 { 275 {
276 return WebInspector.panels.elements._treeOutlines[0]; 276 return WebInspector.panels.elements._treeOutlines[0];
277 } 277 }
278 278
279 InspectorTest.filterMatchedStyles = function(text) 279 InspectorTest.filterMatchedStyles = function(text)
280 { 280 {
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 for (var ui of nodeRow.animations) { 994 for (var ui of nodeRow.animations) {
995 InspectorTest.addResult(ui.animation().type()); 995 InspectorTest.addResult(ui.animation().type());
996 InspectorTest.addResult(ui._nameElement.outerHTML); 996 InspectorTest.addResult(ui._nameElement.outerHTML);
997 InspectorTest.addResult(ui._svg.outerHTML); 997 InspectorTest.addResult(ui._svg.outerHTML);
998 } 998 }
999 } 999 }
1000 } 1000 }
1001 } 1001 }
1002 1002
1003 }; 1003 };
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/styles-1/color-aware-property-value-edit.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698