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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.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/http/tests/inspector/resource-tree/resource-request-content-while-loading.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html
index d8ef4de55ba13f53601a4c2fd25112abe0003392..7ba9934dbccedc5f324d87e899bd893d3526b04a 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html
@@ -29,7 +29,7 @@ function test()
InspectorTest.addResult("Cannot find resource");
InspectorTest.completeTest();
}
- resource.requestContent(contentLoaded);
+ resource.requestContent().then(contentLoaded);
contentWasRequested = true;
}

Powered by Google App Engine
This is Rietveld 408576698