From 9295d04d929ec4fa5283b12d6a257791ad006b87 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Sun, 21 Dec 2003 04:04:12 +0000 Subject: [PATCH] Bug 228397 Warning ``assignment to undeclared variable uri'' [xs] in file ``chrome://cookie/content/cookieContextOverlay.xul'', line 53, character 0. r=dwitte sr=bz --- extensions/cookie/resources/content/cookieContextOverlay.xul | 2 +- xpfe/components/permissions/content/imageContextOverlay.xul | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/cookie/resources/content/cookieContextOverlay.xul b/extensions/cookie/resources/content/cookieContextOverlay.xul index cd53c3edc74c..314e171e9b95 100644 --- a/extensions/cookie/resources/content/cookieContextOverlay.xul +++ b/extensions/cookie/resources/content/cookieContextOverlay.xul @@ -51,7 +51,7 @@ } var ioService = Components.classes["@mozilla.org/network/io-service;1"] .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; }, diff --git a/xpfe/components/permissions/content/imageContextOverlay.xul b/xpfe/components/permissions/content/imageContextOverlay.xul index cd53c3edc74c..314e171e9b95 100644 --- a/xpfe/components/permissions/content/imageContextOverlay.xul +++ b/xpfe/components/permissions/content/imageContextOverlay.xul @@ -51,7 +51,7 @@ } var ioService = Components.classes["@mozilla.org/network/io-service;1"] .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; },