summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-26 17:33:27 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-26 17:33:27 +0200
commit96357e8a7f9719dc088e26644028feebaee9f2fb (patch)
treed946c91ced7cfe8e6f1f539ea8dab343a45d30af /testing
parent240fd66dd3c49f22964f557b514efb46d52dffed (diff)
downloadUXP-96357e8a7f9719dc088e26644028feebaee9f2fb.tar
UXP-96357e8a7f9719dc088e26644028feebaee9f2fb.tar.gz
UXP-96357e8a7f9719dc088e26644028feebaee9f2fb.tar.lz
UXP-96357e8a7f9719dc088e26644028feebaee9f2fb.tar.xz
UXP-96357e8a7f9719dc088e26644028feebaee9f2fb.zip
Bug 1394399 - Fix web-platform-tests to expect "same-origin" default Request.credentials
Issue #389
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;