Bug 1394399 P3 Fix web-platform-tests to expect "same-origin" default Request.credentials. r=baku
authorBen Kelly <ben@wanderview.com>
Fri, 20 Apr 2018 08:45:13 -0700
changeset 468292 2feb276e4fcceb7badbc4b634129111656c60f62
parent 468291 3c02e9df8b2d5e48cd42d647890b9c4c8fbedbd5
child 468293 1316c78daeb6fd1883b3c1688c2591ee02c4d3e5
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
bugs1394399
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1394399 P3 Fix web-platform-tests to expect "same-origin" default Request.credentials. r=baku
testing/web-platform/tests/fetch/api/request/request-init-003.sub.html
testing/web-platform/tests/fetch/api/request/request-structure.html
--- 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
@@ -39,17 +39,17 @@
                                  "body" : "Request's body"
       };
 
       var expectedDefault = {"method" : "GET",
                              "url" : location.href,
                              "referrer" : "about:client",
                              "referrerPolicy" : "",
                              "mode" : "cors",
-                             "credentials" : "omit",
+                             "credentials" : "same-origin",
                              "cache" : "default",
                              "redirect" : "follow",
                              "integrity" : "",
                              "headers" : emptyHeaders
       };
 
       var requestDefault = new Request("");
       var requestInitialized = new Request("", initValuesDict);
--- a/testing/web-platform/tests/fetch/api/request/request-structure.html
+++ b/testing/web-platform/tests/fetch/api/request/request-structure.html
@@ -71,17 +71,17 @@
             break;
 
           case "mode":
             defaultValue = "cors";
             newValue = "navigate";
             break;
 
           case "credentials":
-            defaultValue = "omit";
+            defaultValue = "same-origin";
             newValue = "cors";
             break;
 
           case "cache":
             defaultValue = "default";
             newValue = "reload";
             break;