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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/debugger-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/debugger-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
index d8b235a5cdf81a28639e933abac35e1859024346..1f346e4dd0315940da3f3e55005702c0a459d8b3 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
@@ -186,7 +186,7 @@ InspectorTest.waitUntilPausedAndDumpStackAndResume = function(callback, options)
{
InspectorTest.captureStackTrace(callFrames, asyncStackTrace, options);
InspectorTest.addResult(InspectorTest.clearSpecificInfoFromStackFrames(caption));
- InspectorTest.runAfterPendingDispatches(step2);
+ InspectorTest.deprecatedRunAfterPendingDispatches(step2);
}
function step2()
@@ -442,7 +442,7 @@ InspectorTest.expandScopeVariablesSidebarPane = function(callback)
var sections = InspectorTest.scopeChainSections();
for (var i = 0; i < sections.length - 1; ++i)
sections[i].expand();
- InspectorTest.runAfterPendingDispatches(callback);
+ InspectorTest.deprecatedRunAfterPendingDispatches(callback);
};
InspectorTest.expandProperties = function(properties, callback)
@@ -458,7 +458,7 @@ InspectorTest.expandProperties = function(properties, callback)
var path = properties[index++];
InspectorTest._expandProperty(parentTreeElement, path, 0, expandNextPath);
}
- InspectorTest.runAfterPendingDispatches(expandNextPath);
+ InspectorTest.deprecatedRunAfterPendingDispatches(expandNextPath);
};
InspectorTest._expandProperty = function(parentTreeElement, path, pathIndex, callback)
@@ -476,7 +476,7 @@ InspectorTest._expandProperty = function(parentTreeElement, path, pathIndex, cal
return;
}
propertyTreeElement.expand();
- InspectorTest.runAfterPendingDispatches(InspectorTest._expandProperty.bind(InspectorTest, propertyTreeElement, path, pathIndex, callback));
+ InspectorTest.deprecatedRunAfterPendingDispatches(InspectorTest._expandProperty.bind(InspectorTest, propertyTreeElement, path, pathIndex, callback));
};
InspectorTest._findChildPropertyTreeElement = function(parent, childName)

Powered by Google App Engine
This is Rietveld 408576698