From 240fd66dd3c49f22964f557b514efb46d52dffed Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Sat, 26 May 2018 17:33:01 +0200 Subject: Bug 1394399 - Fix mochitests to expect "same-origin" default Request.credentials Issue #389 --- dom/tests/mochitest/fetch/test_fetch_cors.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dom/tests/mochitest/fetch/test_fetch_cors.js') 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, -- cgit v1.2.3