зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1135212 - ReferenceError: Ci is not defined (in contentAreaUtils.js). r=Gijs
This commit is contained in:
Родитель
88f34ca973
Коммит
2dc073b53b
|
@ -1190,8 +1190,8 @@ function openURL(aURL)
|
||||||
null, // aLoadingNode
|
null, // aLoadingNode
|
||||||
Services.scriptSecurityManager.getSystemPrincipal(),
|
Services.scriptSecurityManager.getSystemPrincipal(),
|
||||||
null, // aTriggeringPrincipal
|
null, // aTriggeringPrincipal
|
||||||
Ci.nsILoadInfo.SEC_NORMAL,
|
Components.interfaces.nsILoadInfo.SEC_NORMAL,
|
||||||
Ci.nsIContentPolicy.TYPE_OTHER);
|
Components.interfaces.nsIContentPolicy.TYPE_OTHER);
|
||||||
var uriLoader = Components.classes["@mozilla.org/uriloader;1"]
|
var uriLoader = Components.classes["@mozilla.org/uriloader;1"]
|
||||||
.getService(Components.interfaces.nsIURILoader);
|
.getService(Components.interfaces.nsIURILoader);
|
||||||
uriLoader.openURI(channel,
|
uriLoader.openURI(channel,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче