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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js

Issue 2524703002: Introduce Response.redirect attribute and add LayoutTest. (Closed)
Patch Set: Created 4 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
Index: third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js
index 1b28e4b7ae1fbecc8883546ed2b868636691f623..3dd2c68bc48734f8b1b94ff35265dc1ed06e0a92 100644
--- a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js
+++ b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js
@@ -18,6 +18,7 @@ test(function() {
assert_equals(response.type, 'default',
'Default Response.type should be \'default\'');
assert_equals(response.url, '', 'Response.url should be the empty string');
+ assert_false(response.redirected, 'Response.redirected should be false.');
assert_equals(response.status, 200,
'Default Response.status should be 200');
assert_true(response.ok, 'Default Response.ok must be true');

Powered by Google App Engine
This is Rietveld 408576698