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

Unified Diff: LayoutTests/http/tests/fetch/script-tests/headers-guard.js

Issue 1098473003: Implement redirect() API for Fetch Response (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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/fetch/script-tests/headers-guard.js
diff --git a/LayoutTests/http/tests/fetch/script-tests/headers-guard.js b/LayoutTests/http/tests/fetch/script-tests/headers-guard.js
index 00ce90bed40ecc69756ccfb6ec9a639c55736d9b..e8cb30dabd70378e5939e6e0ffe38fb02b9bc1ce 100644
--- a/LayoutTests/http/tests/fetch/script-tests/headers-guard.js
+++ b/LayoutTests/http/tests/fetch/script-tests/headers-guard.js
@@ -368,7 +368,9 @@ promise_test(function(t) {
[res.headers,
res.clone().headers,
Response.error().headers,
- Response.error().clone().headers].forEach(function(headers) {
+ Response.error().clone().headers,
+ Response.redirect().headers,
yhirano 2015/04/20 04:55:30 Response.redirect throws when |url| is not provide
shiva.jm 2015/04/27 10:50:54 Done. added valid URL to correct tests.
+ Response.redirect().clone().headers].forEach(function(headers) {
testInvalidNamesAndValues(headers);
// Test that TypeError is thrown for all header names.

Powered by Google App Engine
This is Rietveld 408576698