diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-26 17:32:31 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-26 17:32:31 +0200 |
commit | e03ae4be5c032f45e15908834444a6753e5e6441 (patch) | |
tree | 49235dd207b5873719f99adccacc2c0290b87e5f /dom | |
parent | 94988a2b4e6bd85ee8216c65cc8cd73d14cf1ad1 (diff) | |
download | UXP-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')
-rw-r--r-- | dom/fetch/Request.cpp | 2 |
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; } |