Chromium Code Reviews| 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. |