diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-05-27 10:11:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-27 10:11:50 +0200 |
commit | d65ac8d5e0b6073a2ec467068b8b340efc562b69 (patch) | |
tree | ed6f37c46d5049b38b4a558f2fd7bf4d77c8743f /dom/fetch | |
parent | 3f215e15fb60f5b62b7f1cd3771ac7ecc9326d1a (diff) | |
parent | 96357e8a7f9719dc088e26644028feebaee9f2fb (diff) | |
download | UXP-d65ac8d5e0b6073a2ec467068b8b340efc562b69.tar UXP-d65ac8d5e0b6073a2ec467068b8b340efc562b69.tar.gz UXP-d65ac8d5e0b6073a2ec467068b8b340efc562b69.tar.lz UXP-d65ac8d5e0b6073a2ec467068b8b340efc562b69.tar.xz UXP-d65ac8d5e0b6073a2ec467068b8b340efc562b69.zip |
Merge pull request #390 from janekptacijarabaci/dom_fetch_credentials_1
Make fetch() use "same-origin" credentials by default
Diffstat (limited to 'dom/fetch')
-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; } |