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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-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/inspector-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
index 9e293ea9964edba18b37477f1be8c24b4da8ad61..f584340db8e38ba925c10ae1eb53f82a10c8b2fc 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
@@ -400,7 +400,7 @@ InspectorTest.expandAndDumpEventListeners = function(eventListenersView, updateC
for (var j = 0; j < listenerItems.length; ++j)
listenerItems[j].expand();
}
- InspectorTest.runAfterPendingDispatches(objectsExpanded);
+ InspectorTest.deprecatedRunAfterPendingDispatches(objectsExpanded);
}
function objectsExpanded()
@@ -512,12 +512,12 @@ InspectorTest.runWhenPageLoads = function(callback)
InspectorTest._pageLoadedCallback = InspectorTest.safeWrap(chainedCallback);
}
-InspectorTest.runAfterPendingDispatches = function(callback)
+InspectorTest.deprecatedRunAfterPendingDispatches = function(callback)
{
var barrier = new CallbackBarrier();
var targets = WebInspector.targetManager.targets();
for (var i = 0; i < targets.length; ++i)
- targets[i]._connection.runAfterPendingDispatches(barrier.createCallback());
+ targets[i]._connection.deprecatedRunAfterPendingDispatches(barrier.createCallback());
barrier.callWhenDone(InspectorTest.safeWrap(callback));
}

Powered by Google App Engine
This is Rietveld 408576698