Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/request-end-to-end.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/request-end-to-end.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/request-end-to-end.html |
index a83a0b4e17f6322dc6b58e6a5d2881f9044cf318..9b7c91645316a523a98e9f0ff0af6c65e2775fd1 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/request-end-to-end.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/request-end-to-end.html |
@@ -20,7 +20,11 @@ promise_test(t => { |
assert_equals(result.url, frame.src, 'request.url'); |
assert_equals(result.method, 'GET', 'request.method'); |
assert_equals(result.referrer, location.href, 'request.referrer'); |
- assert_equals(result.mode, 'same-origin', 'request.mode'); |
+ assert_equals(result.mode, 'navigate', 'request.mode'); |
+ assert_equals(result.request_construct_error, 'TypeError', |
+ 'Constructing a Request with a Request whose mode ' + |
+ 'is navigate and non-empty RequestInit must throw a ' + |
+ 'TypeError.') |
assert_equals(result.credentials, 'include', 'request.credentials'); |
assert_equals(result.redirect, 'manual', 'request.redirect'); |
assert_equals(result.headers['user-agent'], navigator.userAgent, |