summaryrefslogtreecommitdiffstats
path: root/dom/fetch/Request.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-26 17:32:31 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-26 17:32:31 +0200
commite03ae4be5c032f45e15908834444a6753e5e6441 (patch)
tree49235dd207b5873719f99adccacc2c0290b87e5f /dom/fetch/Request.cpp
parent94988a2b4e6bd85ee8216c65cc8cd73d14cf1ad1 (diff)
downloadUXP-e03ae4be5c032f45e15908834444a6753e5e6441.tar
UXP-e03ae4be5c032f45e15908834444a6753e5e6441.tar.gz
UXP-e03ae4be5c032f45e15908834444a6753e5e6441.tar.lz
UXP-e03ae4be5c032f45e15908834444a6753e5e6441.tar.xz
UXP-e03ae4be5c032f45e15908834444a6753e5e6441.zip
Bug 1394399 - Default Request.credentials to "same-origin" instead of "omit"
Issue #389
Diffstat (limited to 'dom/fetch/Request.cpp')
-rw-r--r--dom/fetch/Request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/fetch/Request.cpp b/dom/fetch/Request.cpp
index bc17afae3..c119a503e 100644
--- a/dom/fetch/Request.cpp
+++ b/dom/fetch/Request.cpp
@@ -327,7 +327,7 @@ Request::Constructor(const GlobalObject& aGlobal,
RequestCache fallbackCache = RequestCache::EndGuard_;
if (aInput.IsUSVString()) {
fallbackMode = RequestMode::Cors;
- fallbackCredentials = RequestCredentials::Omit;
+ fallbackCredentials = RequestCredentials::Same_origin;
fallbackCache = RequestCache::Default;
}