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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls.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/network-cachedresources-with-same-urls.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls.html
index 7001dcb40a3caf039d2c72a7e1ba16bd602730cb..a8d9593d9ccf964e51af22086edcefa5503ce74f 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls.html
@@ -37,8 +37,8 @@ function test()
var requests = InspectorTest.networkRequests();
var request1 = requests[requests.length - 2];
var request2 = requests[requests.length - 1];
- request1.requestContent(contentLoaded);
- request2.requestContent(contentLoaded);
+ request1.requestContent().then(contentLoaded);
+ request2.requestContent().then(contentLoaded);
}
var contentLoadedCount = 0;

Powered by Google App Engine
This is Rietveld 408576698