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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-link-to-snippet.html

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/inspector/console/console-link-to-snippet.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-link-to-snippet.html b/third_party/WebKit/LayoutTests/inspector/console/console-link-to-snippet.html
index c84e352e0320eb2f65f796bc8c1123c4c5b6216d..2420e354c33d60f66eb5011add8646ee16a7eb25 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-link-to-snippet.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-link-to-snippet.html
@@ -62,7 +62,7 @@ function test()
{
var callback;
var promise = new Promise(fullfill => callback = fullfill);
- uiSourceCode.rename(newName, () => callback(uiSourceCode));
+ uiSourceCode.rename(newName).then(() => callback(uiSourceCode));
return promise;
}

Powered by Google App Engine
This is Rietveld 408576698