зеркало из https://github.com/mozilla/gecko-dev.git
Bug 617838: Don't run the URI classifier on javascript: URIs. r=bz a=a
This commit is contained in:
Родитель
caa43e4cf5
Коммит
e5e2ea881c
|
@ -894,7 +894,12 @@ nsJSChannel::SetLoadFlags(nsLoadFlags aLoadFlags)
|
|||
}
|
||||
bogusLoadBackground = !loadGroupIsBackground;
|
||||
}
|
||||
|
||||
|
||||
// Classifying a javascript: URI doesn't help us, and requires
|
||||
// NSS to boot, which we don't have in content processes. See
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=617838.
|
||||
aLoadFlags &= ~LOAD_CLASSIFY_URI;
|
||||
|
||||
// Since the javascript channel is never the actual channel that
|
||||
// any data is loaded through, don't ever set the
|
||||
// LOAD_DOCUMENT_URI flag on it, since that could lead to two
|
||||
|
|
Загрузка…
Ссылка в новой задаче