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

Unified Diff: LayoutTests/http/tests/inspector/network/network-xhr-async-response-type-blob.html

Issue 23444058: Use downloadToFile option when XHR downloads a Blob (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase test style and XHR Created 7 years 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/network/network-xhr-async-response-type-blob-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/network/network-xhr-async-response-type-blob.html
diff --git a/LayoutTests/http/tests/inspector/network/network-xhr-async-response-type-blob.html b/LayoutTests/http/tests/inspector/network/network-xhr-async-response-type-blob.html
index 840fa6de24e43e9e24e02473305d886ced2cbdf0..039a14dea9d4383abc565fefb16b0a0b98dd9c58 100644
--- a/LayoutTests/http/tests/inspector/network/network-xhr-async-response-type-blob.html
+++ b/LayoutTests/http/tests/inspector/network/network-xhr-async-response-type-blob.html
@@ -21,7 +21,16 @@ function test()
InspectorTest.addResult(request1.url);
InspectorTest.addResult("resource.type: " + request1.type);
InspectorTest.addResult("resource.size: " + request1.resourceSize);
+ InspectorTest.addResult("resource.content before requesting content: " + request1.content);
InspectorTest.assertTrue(!request1.failed, "Resource loading failed.");
+ request1.requestContent(step3);
+ }
+
+ function step3()
+ {
+ var request1 = WebInspector.panel("network").requests[WebInspector.panel("network").requests.length - 1];
+ InspectorTest.addResult("resource.content after requesting content: " + request1.content);
+
InspectorTest.completeTest();
}
}
@@ -29,7 +38,7 @@ function test()
</head>
<body onload="runTest()">
<p>
- Tests XHR network resource type and size for asynchronous requests when 'blob' is specified as the response type.
+ Tests XHR network resource type and size for asynchronous requests when "blob" is specified as the response type.
</p>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/network/network-xhr-async-response-type-blob-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698