Bug 1394399 - Default Request.credentials to "same-origin" instead of "omit"

Issue #389
This commit is contained in:
janekptacijarabaci 2018-05-26 17:32:31 +02:00 committed by Roy Tam
commit 663291455b

View file

@ -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;
}