зеркало из https://github.com/mozilla/pjs.git
Fix "Open Link in New Window" which has been broken for the past 4 hours, since mstoltz changed the case of checkLoadURI in nsIScriptSecurityManager.idl. r=blake sr=jst
This commit is contained in:
Родитель
78e82c5bb1
Коммит
f3139ac5e5
|
@ -55,7 +55,7 @@
|
|||
const nsIScriptSecurityManager = Components.interfaces.nsIScriptSecurityManager;
|
||||
var secMan = Components.classes["@mozilla.org/scriptsecuritymanager;1"].getService().
|
||||
QueryInterface(nsIScriptSecurityManager);
|
||||
secMan.CheckLoadURI(sourceURL, targetURL, nsIScriptSecurityManager.STANDARD);
|
||||
secMan.checkLoadURI(sourceURL, targetURL, nsIScriptSecurityManager.STANDARD);
|
||||
|
||||
var newWin;
|
||||
var wintype = document.firstChild.getAttribute('windowtype');
|
||||
|
|
Загрузка…
Ссылка в новой задаче