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

Unified Diff: third_party/WebKit/LayoutTests/inspector/audits/audits-test.js

Issue 1886603002: DevTools: remove InspectorTests.runAfterPendingDispatches call from audits tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pending-dispatches
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/audits/audits-panel-noimages-functional.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/audits/audits-test.js
diff --git a/third_party/WebKit/LayoutTests/inspector/audits/audits-test.js b/third_party/WebKit/LayoutTests/inspector/audits/audits-test.js
index 443a568cbef4e7b848275cb5660cd93a19bc5470..14a47afbc2210e4f3cf4eff1d64f3972e39e317f 100644
--- a/third_party/WebKit/LayoutTests/inspector/audits/audits-test.js
+++ b/third_party/WebKit/LayoutTests/inspector/audits/audits-test.js
@@ -3,7 +3,7 @@ function initialize_AuditTests()
InspectorTest.preloadPanel("audits");
-InspectorTest.collectAuditResults = function(callback)
+InspectorTest.collectAuditResults = function()
{
WebInspector.panels.audits.showResults(WebInspector.panels.audits.auditResultsTreeElement.firstChild().results);
var trees = WebInspector.panels.audits.visibleView.element.querySelectorAll(".audit-result-tree");
@@ -14,10 +14,8 @@ InspectorTest.collectAuditResults = function(callback)
liElements[j].treeElement.expand();
}
}
- InspectorTest.deprecatedRunAfterPendingDispatches(function() {
- InspectorTest.collectTextContent(WebInspector.panels.audits.visibleView.element, "");
- callback();
- });
+
+ InspectorTest.collectTextContent(WebInspector.panels.audits.visibleView.element, "");
}
InspectorTest.launchAllAudits = function(shouldReload, callback)
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/audits/audits-panel-noimages-functional.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698