Bug 1135212 - ReferenceError: Ci is not defined (in contentAreaUtils.js). r=Gijs

This commit is contained in:
Magnus Melin 2015-02-20 22:52:06 +02:00
Родитель 88f34ca973
Коммит 2dc073b53b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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,