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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type.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/network/async-xhr-json-mime-type.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type.html
index 7776f6844bebadcd02c02b34ca3b389f45c45913..28240b1d4c3378766c697da1d164e876a2136bdb 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type.html
@@ -33,7 +33,7 @@ function test()
{
var request = lastRequest();
reportRequest(request)
- request.requestContent(step3);
+ request.requestContent().then(step3);
}
function step3()
{
@@ -47,7 +47,7 @@ function test()
{
var request = lastRequest();
reportRequest(request);
- request.requestContent(step5);
+ request.requestContent().then(step5);
}
function step5()
{

Powered by Google App Engine
This is Rietveld 408576698