summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-05-27 10:11:50 +0200
committerGitHub <noreply@github.com>2018-05-27 10:11:50 +0200
commitd65ac8d5e0b6073a2ec467068b8b340efc562b69 (patch)
treeed6f37c46d5049b38b4a558f2fd7bf4d77c8743f /testing
parent3f215e15fb60f5b62b7f1cd3771ac7ecc9326d1a (diff)
parent96357e8a7f9719dc088e26644028feebaee9f2fb (diff)
downloadUXP-d65ac8d5e0b6073a2ec467068b8b340efc562b69.tar
UXP-d65ac8d5e0b6073a2ec467068b8b340efc562b69.tar.gz
UXP-d65ac8d5e0b6073a2ec467068b8b340efc562b69.tar.lz
UXP-d65ac8d5e0b6073a2ec467068b8b340efc562b69.tar.xz
UXP-d65ac8d5e0b6073a2ec467068b8b340efc562b69.zip
Merge pull request #390 from janekptacijarabaci/dom_fetch_credentials_1
Make fetch() use "same-origin" credentials by default
Diffstat (limited to 'testing')
-rw-r--r--testing/web-platform/tests/fetch/api/request/request-init-003.sub.html2
-rw-r--r--testing/web-platform/tests/fetch/api/request/request-structure.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/web-platform/tests/fetch/api/request/request-init-003.sub.html b/testing/web-platform/tests/fetch/api/request/request-init-003.sub.html
index 8860d6074..1f95c5ae9 100644
--- a/testing/web-platform/tests/fetch/api/request/request-init-003.sub.html
+++ b/testing/web-platform/tests/fetch/api/request/request-init-003.sub.html
@@ -44,7 +44,7 @@
"referrer" : "http://{{host}}:{{ports[http][0]}}/",
"referrerPolicy" : "",
"mode" : "cors",
- "credentials" : "omit",
+ "credentials" : "same-origin",
"cache" : "default",
"redirect" : "follow",
"integrity" : "",
diff --git a/testing/web-platform/tests/fetch/api/request/request-structure.html b/testing/web-platform/tests/fetch/api/request/request-structure.html
index cbe6cee99..9494689c7 100644
--- a/testing/web-platform/tests/fetch/api/request/request-structure.html
+++ b/testing/web-platform/tests/fetch/api/request/request-structure.html
@@ -82,7 +82,7 @@
break;
case "credentials":
- defaultValue = "omit";
+ defaultValue = "same-origin";
newValue = "cors";
break;