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