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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.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-tree-invalid-mime-type-css-content.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html
index f914145918a1c796b0139ed9d00f0e595d1d0b8b..40c6a18207b71afd717ee7bd4dcb2709a9ec8345 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html
@@ -21,7 +21,7 @@ function test()
InspectorTest.addResult(cssResource.url);
InspectorTest.assertEquals(cssResource.resourceType(), WebInspector.resourceTypes.Stylesheet, "Resource type should be Stylesheet.");
InspectorTest.assertTrue(!cssResource.failed, "Resource loading failed.");
- cssResource.requestContent(step2);
+ cssResource.requestContent().then(step2);
}
function step2()

Powered by Google App Engine
This is Rietveld 408576698