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

Unified Diff: LayoutTests/http/tests/serviceworker/fetch-response-xhr.html

Issue 564773004: Fix conversion to WebServiceWorkerResponse headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added xhr end-to-end test Created 6 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/resources/fetch-response-xhr-iframe.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/fetch-response-xhr.html
diff --git a/LayoutTests/http/tests/serviceworker/fetch-request-xhr.html b/LayoutTests/http/tests/serviceworker/fetch-response-xhr.html
similarity index 80%
copy from LayoutTests/http/tests/serviceworker/fetch-request-xhr.html
copy to LayoutTests/http/tests/serviceworker/fetch-response-xhr.html
index 9c3c05242505280f1ed438db6bf82604aeec50f5..aaefc3ef865da7b924242d7f281052f51c4f2a14 100644
--- a/LayoutTests/http/tests/serviceworker/fetch-request-xhr.html
+++ b/LayoutTests/http/tests/serviceworker/fetch-response-xhr.html
@@ -1,12 +1,12 @@
<!DOCTYPE html>
-<title>Service Worker: the body of FetchEvent using XMLHttpRequest</title>
+<title>Service Worker: the response of FetchEvent using XMLHttpRequest</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="resources/test-helpers.js?pipe=sub"></script>
<script>
async_test(function(t) {
- var SCOPE = 'resources/fetch-request-xhr-iframe.html';
- var SCRIPT = 'resources/fetch-request-xhr-worker.js';
+ var SCOPE = 'resources/fetch-response-xhr-iframe.html';
+ var SCRIPT = 'resources/fetch-response-xhr-worker.js';
var host_info = get_host_info();
service_worker_unregister_and_register(t, SCRIPT, SCOPE)
.then(function(registration) {
@@ -28,5 +28,5 @@ async_test(function(t) {
host_info['HTTP_ORIGIN']);
})
.catch(unreached_rejection(t));
- }, 'Verify the body of FetchEvent using XMLHttpRequest');
+ }, 'Verify the response of FetchEvent using XMLHttpRequest');
</script>
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/resources/fetch-response-xhr-iframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698