summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/fetch/test_fetch_cors.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-26 17:33:01 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-26 17:33:01 +0200
commit240fd66dd3c49f22964f557b514efb46d52dffed (patch)
tree9a83c217495c16058a41b4c32e5cbc44a04a0a91 /dom/tests/mochitest/fetch/test_fetch_cors.js
parente03ae4be5c032f45e15908834444a6753e5e6441 (diff)
downloadUXP-240fd66dd3c49f22964f557b514efb46d52dffed.tar
UXP-240fd66dd3c49f22964f557b514efb46d52dffed.tar.gz
UXP-240fd66dd3c49f22964f557b514efb46d52dffed.tar.lz
UXP-240fd66dd3c49f22964f557b514efb46d52dffed.tar.xz
UXP-240fd66dd3c49f22964f557b514efb46d52dffed.zip
Bug 1394399 - Fix mochitests to expect "same-origin" default Request.credentials
Issue #389
Diffstat (limited to 'dom/tests/mochitest/fetch/test_fetch_cors.js')
-rw-r--r--dom/tests/mochitest/fetch/test_fetch_cors.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/tests/mochitest/fetch/test_fetch_cors.js b/dom/tests/mochitest/fetch/test_fetch_cors.js
index ac83d050d..f375ce73f 100644
--- a/dom/tests/mochitest/fetch/test_fetch_cors.js
+++ b/dom/tests/mochitest/fetch/test_fetch_cors.js
@@ -64,9 +64,9 @@ function testSameOriginCredentials() {
withCred: "same-origin",
},
{
- // Default mode is "omit".
+ // Default mode is "same-origin".
pass: 1,
- noCookie: 1,
+ cookie: cookieStr,
},
{
pass: 1,