From 54b1618982c6e3abfdc6e2c4c56b831c5850849d Mon Sep 17 00:00:00 2001 From: Philipp von Weitershausen Date: Fri, 19 Mar 2010 08:43:48 +0100 Subject: [PATCH] Bug 553305 - Properly declare 'i'. r=dietrich --HG-- extra : rebase_source : f74932397a6aa10672d498cad73322d8516fb406 --- browser/components/sessionstore/src/nsSessionStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/sessionstore/src/nsSessionStore.js b/browser/components/sessionstore/src/nsSessionStore.js index 5729fe4afc26..bf182ba88dd7 100644 --- a/browser/components/sessionstore/src/nsSessionStore.js +++ b/browser/components/sessionstore/src/nsSessionStore.js @@ -2491,7 +2491,7 @@ SessionStoreService.prototype = { restoreCookies: function sss_restoreCookies(aCookies) { // MAX_EXPIRY should be 2^63-1, but JavaScript can't handle that precision var MAX_EXPIRY = Math.pow(2, 62); - for (i = 0; i < aCookies.length; i++) { + for (let i = 0; i < aCookies.length; i++) { var cookie = aCookies[i]; try { CookieSvc.add(cookie.host, cookie.path || "", cookie.name || "",