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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete.html

Issue 1609973002: DevTools: promisify ContentProvider.requestContent and all its clients. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaseline 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/network-iframe-load-and-delete.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete.html
index 6c4a1d0e32c40173d7ffe8cd51c0142626b0e34c..3ba171e0649ba95519c31404f02eef886d5d1d92 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete.html
@@ -49,7 +49,7 @@ function test()
InspectorTest.addResult(request1.url);
InspectorTest.addResult("resource.type: " + request1.resourceType());
InspectorTest.addResult("resource.content before requesting content: " + request1.content);
- request1.requestContent(step3);
+ request1.requestContent().then(step3);
}
function step3()
@@ -62,7 +62,7 @@ function test()
InspectorTest.addResult(request2.url);
InspectorTest.addResult("resource.type: " + request2.resourceType());
InspectorTest.addResult("resource.content before requesting content: " + request2.content);
- request2.requestContent(step4);
+ request2.requestContent().then(step4);
}
function step4()

Powered by Google App Engine
This is Rietveld 408576698