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

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

Issue 2780933003: DevTools: support UISourceCode rename in automapping (Closed)
Patch Set: fix test Created 3 years, 9 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/persistence/automapping-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-test.js
index 2414a3c9b5d7b0497881507e5e74cf22535135c4..310d71507c6909540f67678e505d7a018ee9deca 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-test.js
@@ -66,10 +66,11 @@ InspectorTest.AutomappingTest.prototype = {
}
},
- waitUntilMappingIsStabilized: function(callback)
+ waitUntilMappingIsStabilized: function()
{
- this._stabilizedCallback = callback;
+ var promise = new Promise(x => this._stabilizedCallback = x);
this._checkStabilized();
+ return promise;
},
_onSweepHappened: function()

Powered by Google App Engine
This is Rietveld 408576698