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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html

Issue 1143083002: Implement request's redirect mode and RequestRedirect for Fetch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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: LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html
diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html b/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html
index 8122392bada9041a92b7aee9eebda6570ee76562..b32e26c0c7eac5e1ae0be5d20223d03def800921 100644
--- a/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html
@@ -59,6 +59,7 @@ function string_test() {
return xhr_send(host_info['HTTP_ORIGIN'], 'POST', 'test string', false)
.then(function(response) {
assert_equals(response.context, 'xmlhttprequest');
+ assert_equals(response.redirect, 'follow');
assert_equals(response.method, 'POST');
assert_equals(response.body, 'test string');
});
@@ -69,6 +70,7 @@ function blob_test() {
false)
.then(function(response) {
assert_equals(response.context, 'xmlhttprequest');
+ assert_equals(response.redirect, 'follow');
assert_equals(response.method, 'POST');
assert_equals(response.body, 'test blob');
});

Powered by Google App Engine
This is Rietveld 408576698