зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1626507 - Update comment since code has moved r=mattwoodrow
Depends on D80339 Differential Revision: https://phabricator.services.mozilla.com/D80594
This commit is contained in:
Родитель
8749f45b54
Коммит
d2a322df9a
|
@ -137,7 +137,7 @@ const kDocumentChannelDeniedURIs = [
|
||||||
"about:printpreview",
|
"about:printpreview",
|
||||||
];
|
];
|
||||||
|
|
||||||
// Changes here should also be made in URIUsesDocChannel in nsDocShell.cpp.
|
// Changes here should also be made in URIUsesDocChannel in DocumentChannel.cpp.
|
||||||
function documentChannelPermittedForURI(aURI) {
|
function documentChannelPermittedForURI(aURI) {
|
||||||
return (
|
return (
|
||||||
!kDocumentChannelDeniedSchemes.includes(aURI.scheme) &&
|
!kDocumentChannelDeniedSchemes.includes(aURI.scheme) &&
|
||||||
|
|
Загрузка…
Ссылка в новой задаче