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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js

Issue 1877223003: DevTools: deprecate InspectorTest.runAfterPendingDispatches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
index a91d0bd67090a47600cea85cb39fc210c2e0e770..a26d440510dc82ffe9f4701d19a82481fce0b9a4 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
@@ -248,7 +248,7 @@ InspectorTest.expandConsoleMessages = function(callback, deepFilter, sectionFilt
for (var i = 0; i < messageViews.length; ++i)
messageViews[i].contentElement();
- InspectorTest.runAfterPendingDispatches(expandTreeElements);
+ InspectorTest.deprecatedRunAfterPendingDispatches(expandTreeElements);
function expandTreeElements()
{
@@ -274,7 +274,7 @@ InspectorTest.expandConsoleMessages = function(callback, deepFilter, sectionFilt
}
}
}
- InspectorTest.runAfterPendingDispatches(callback);
+ InspectorTest.deprecatedRunAfterPendingDispatches(callback);
}
}
@@ -301,7 +301,7 @@ InspectorTest.expandGettersInConsoleMessages = function(callback)
if (propertiesCount === 0) {
for (var i = 0; i < properties.length; ++i)
properties[i].click();
- InspectorTest.runAfterPendingDispatches(callback);
+ InspectorTest.deprecatedRunAfterPendingDispatches(callback);
} else {
InspectorTest.addSniffer(WebInspector.ObjectPropertyTreeElement.prototype, "_updateExpandable", propertyExpandableUpdated);
}
@@ -314,7 +314,7 @@ InspectorTest.expandConsoleMessagesErrorParameters = function(callback)
// Initiate round-trips to fetch necessary data for further rendering.
for (var i = 0; i < messageViews.length; ++i)
messageViews[i].contentElement();
- InspectorTest.runAfterPendingDispatches(expandErrorParameters);
+ InspectorTest.deprecatedRunAfterPendingDispatches(expandErrorParameters);
function expandErrorParameters()
{
for (var i = 0; i < messageViews.length; ++i) {
@@ -338,7 +338,7 @@ InspectorTest.waitForRemoteObjectsConsoleMessages = function(callback)
var messages = WebInspector.ConsoleView.instance()._visibleViewMessages;
for (var i = 0; i < messages.length; ++i)
messages[i].toMessageElement();
- InspectorTest.runAfterPendingDispatches(callback);
+ InspectorTest.deprecatedRunAfterPendingDispatches(callback);
}
InspectorTest.checkConsoleMessagesDontHaveParameters = function()

Powered by Google App Engine
This is Rietveld 408576698