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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html

Issue 1487343002: Set credentials mode "same-origin" when crossOrigin=anonymous is set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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/serviceworker/fetch-request-html-imports.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html
index 6a85bb1a3f87f1f41ae0a47ddf4fbfa7c8030222..639ae5b48d94c769d8d2d5efb994706b7b4a0e05 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html
@@ -25,32 +25,32 @@ async_test(function(t) {
assert_equals(
same.body.innerText,
- 'mode=cors credentials=include',
+ 'mode=cors credentials=same-origin',
'The request mode and credentials for same origin HTMLImport ' +
'must be set correctly.');
assert_equals(
same_same.body.innerText,
- 'mode=cors credentials=include',
+ 'mode=cors credentials=same-origin',
'The request mode and credentials for same origin HTMLImport ' +
'from same origin HTMLImports must be set correctly.');
assert_equals(
same_other.body.innerText,
- 'mode=cors credentials=omit',
+ 'mode=cors credentials=same-origin',
'The request mode and credentials for other origin HTMLImport ' +
'from same origin HTMLImports must be set correctly.');
assert_equals(
other.body.innerText,
- 'mode=cors credentials=omit',
+ 'mode=cors credentials=same-origin',
'The request mode and credentials for other origin HTMLImport ' +
'must be set correctly.');
assert_equals(
other_same.body.innerText,
- 'mode=cors credentials=include',
+ 'mode=cors credentials=same-origin',
'The request mode and credentials for same origin HTMLImport ' +
'from other origin HTMLImports must be set correctly.');
assert_equals(
other_other.body.innerText,
- 'mode=cors credentials=omit',
+ 'mode=cors credentials=same-origin',
'The request mode and credentials for other origin HTMLImport ' +
'from other origin HTMLImport must be set correctly.');

Powered by Google App Engine
This is Rietveld 408576698