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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html

Issue 1609973002: DevTools: promisify ContentProvider.requestContent and all its clients. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 11 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/sources/debugger-ui/scripts-with-same-source-url.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html
index 92ad07e7d4e838efae76ccb69a175f1c9cdb8041..cd073df53fd801504e7d10a2c0714f8878ef2ec6 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html
@@ -25,7 +25,7 @@ function test()
InspectorTest.addResult("Added: " + event.data.url().replace(/VM[\d]+/, "VMXX") + " to " + event.data.project().type());
if (event.data.project().type() !== "network")
return;
- event.data.requestContent(function(it, content) {
+ event.data.requestContent().then(function(it, content) {
InspectorTest.addResult("Content: " + content);
if (it)
InspectorTest.completeTest();

Powered by Google App Engine
This is Rietveld 408576698