зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1175653 - followup: fix Set instantiation to fix mulet bustage, rs=bustage
--HG-- extra : commitid : 40qFzXJzTIu extra : rebase_source : 2bc619775e09f0e28dc13bf8229f7a3b7b1032c5
This commit is contained in:
Родитель
caaa022467
Коммит
f23ad95097
|
@ -392,7 +392,7 @@ nsBrowserContentHandler.prototype = {
|
||||||
} else try {
|
} else try {
|
||||||
var uri = resolveURIInternal(cmdLine, chromeParam);
|
var uri = resolveURIInternal(cmdLine, chromeParam);
|
||||||
let isLocal = (uri) => {
|
let isLocal = (uri) => {
|
||||||
let localSchemes = new Set("chrome", "file", "resource");
|
let localSchemes = new Set(["chrome", "file", "resource"]);
|
||||||
if (uri instanceof Components.interfaces.nsINestedURI) {
|
if (uri instanceof Components.interfaces.nsINestedURI) {
|
||||||
uri = uri.QueryInterface(Components.interfaces.nsINestedURI).innerMostURI;
|
uri = uri.QueryInterface(Components.interfaces.nsINestedURI).innerMostURI;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче