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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.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/cached-resource-destroyed-moved-to-storage.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
index 461151b607930da6d09357e4ae01ea9b117a815c..cea595f63e9251b6e666f97588e5fa5169a2d984 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
@@ -36,7 +36,7 @@ function test()
function step2()
{
imageRequest = InspectorTest.networkRequests().pop();
- imageRequest.requestContent(step3);
+ imageRequest.requestContent().then(step3);
}
var originalContentLength;
@@ -69,7 +69,7 @@ function test()
{
// Re-request content now that CachedResource should have been destroyed.
delete imageRequest._content;
- imageRequest.requestContent(step7);
+ imageRequest.requestContent().then(step7);
}
function step7()

Powered by Google App Engine
This is Rietveld 408576698