summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-04-14 22:24:54 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-04-14 22:24:54 +0300
commitead1b037b4d50991bafcd731820cc6bb975d9ac9 (patch)
tree88bbc8d22c7cf96531b5a43d511a5b6b8d610f38 /application/palemoon/components
parentd594ed2896519b1766cc3b11af118cb401d6336a (diff)
downloadUXP-ead1b037b4d50991bafcd731820cc6bb975d9ac9.tar
UXP-ead1b037b4d50991bafcd731820cc6bb975d9ac9.tar.gz
UXP-ead1b037b4d50991bafcd731820cc6bb975d9ac9.tar.lz
UXP-ead1b037b4d50991bafcd731820cc6bb975d9ac9.tar.xz
UXP-ead1b037b4d50991bafcd731820cc6bb975d9ac9.zip
Align SessionStore.jsm with the updated nsICookieManager2.add() API
Diffstat (limited to 'application/palemoon/components')
-rw-r--r--application/palemoon/components/sessionstore/SessionStore.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/components/sessionstore/SessionStore.jsm b/application/palemoon/components/sessionstore/SessionStore.jsm
index 3185dee9b..a8e7adfcc 100644
--- a/application/palemoon/components/sessionstore/SessionStore.jsm
+++ b/application/palemoon/components/sessionstore/SessionStore.jsm
@@ -3655,7 +3655,7 @@ let SessionStoreInternal = {
try {
Services.cookies.add(cookie.host, cookie.path || "", cookie.name || "",
cookie.value, !!cookie.secure, !!cookie.httponly, true,
- "expiry" in cookie ? cookie.expiry : MAX_EXPIRY);
+ "expiry" in cookie ? cookie.expiry : MAX_EXPIRY, {});
}
catch (ex) { Cu.reportError(ex); } // don't let a single cookie stop recovering
}