зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1574603 - recognize COOP:unsafe-allow-outgoing r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D42367 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d8feee727d
Коммит
cd2404613c
|
@ -4399,7 +4399,7 @@ NS_IMETHODIMP HttpBaseChannel::GetCrossOriginOpenerPolicy(
|
|||
// The return value will be true if we find any whitespace. If there is
|
||||
// whitespace, then it must be followed by "unsafe-allow-outgoing" otherwise
|
||||
// this is a malformed header value.
|
||||
bool unsafeAllowOutgoing =
|
||||
unsafeAllowOutgoing =
|
||||
t.ReadUntil(Tokenizer::Token::Whitespace(), samenessString);
|
||||
if (unsafeAllowOutgoing) {
|
||||
t.SkipWhites();
|
||||
|
|
Загрузка…
Ссылка в новой задаче