зеркало из https://github.com/mozilla/pjs.git
Bug 228397 Warning ``assignment to undeclared variable uri'' [xs] in file ``chrome://cookie/content/cookieContextOverlay.xul'', line 53, character 0.
r=dwitte sr=bz
This commit is contained in:
Родитель
b3d0128b6f
Коммит
8975ef5e70
|
@ -51,7 +51,7 @@
|
||||||
}
|
}
|
||||||
var ioService = Components.classes["@mozilla.org/network/io-service;1"]
|
var ioService = Components.classes["@mozilla.org/network/io-service;1"]
|
||||||
.getService(Components.interfaces.nsIIOService);
|
.getService(Components.interfaces.nsIIOService);
|
||||||
uri = ioService.newURI(gContextMenu.imageURL, null, null);
|
var uri = ioService.newURI(gContextMenu.imageURL, null, null);
|
||||||
return permissionmanager.testPermission(uri, "image") != nsIPermissionManager.DENY_ACTION;
|
return permissionmanager.testPermission(uri, "image") != nsIPermissionManager.DENY_ACTION;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
}
|
}
|
||||||
var ioService = Components.classes["@mozilla.org/network/io-service;1"]
|
var ioService = Components.classes["@mozilla.org/network/io-service;1"]
|
||||||
.getService(Components.interfaces.nsIIOService);
|
.getService(Components.interfaces.nsIIOService);
|
||||||
uri = ioService.newURI(gContextMenu.imageURL, null, null);
|
var uri = ioService.newURI(gContextMenu.imageURL, null, null);
|
||||||
return permissionmanager.testPermission(uri, "image") != nsIPermissionManager.DENY_ACTION;
|
return permissionmanager.testPermission(uri, "image") != nsIPermissionManager.DENY_ACTION;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче