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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-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/inspector/elements/edit/edit-dom-test.js
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js
index 4c804547963c1b3245bf69ba849040ee21741e8d..df383dff63a8ddc88d5e8c0e506523ab62523515 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js
+++ b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js
@@ -13,7 +13,7 @@ InspectorTest.doAddAttribute = function(testName, dataNodeId, attributeText, nex
var editorElement = InspectorTest.editNodePart(node, "webkit-html-attribute");
editorElement.dispatchEvent(InspectorTest.createKeyEvent("U+0009")); // Tab
- InspectorTest.runAfterPendingDispatches(testContinuation);
+ InspectorTest.deprecatedRunAfterPendingDispatches(testContinuation);
function testContinuation()
{
@@ -44,7 +44,7 @@ InspectorTest.domActionTest = function(testName, dataNodeSelectionCallback, test
function step0(node)
{
- InspectorTest.runAfterPendingDispatches(step1.bind(null, node));
+ InspectorTest.deprecatedRunAfterPendingDispatches(step1.bind(null, node));
}
function step1(node)
@@ -78,7 +78,7 @@ InspectorTest.editNodePartAndRun = function(node, className, newValue, step2, us
if (useSniffer)
InspectorTest.addSniffer(WebInspector.ElementsTreeOutline.prototype, "_updateModifiedNodes", step2);
else
- InspectorTest.runAfterPendingDispatches(step2);
+ InspectorTest.deprecatedRunAfterPendingDispatches(step2);
}
}

Powered by Google App Engine
This is Rietveld 408576698