summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-14 16:23:42 -0400
committerGitHub <noreply@github.com>2018-04-14 16:23:42 -0400
commit68011e6ec70aabaacc68c436e59f7e18c3d4d20e (patch)
tree88bbc8d22c7cf96531b5a43d511a5b6b8d610f38
parentd594ed2896519b1766cc3b11af118cb401d6336a (diff)
parentead1b037b4d50991bafcd731820cc6bb975d9ac9 (diff)
downloadUXP-68011e6ec70aabaacc68c436e59f7e18c3d4d20e.tar
UXP-68011e6ec70aabaacc68c436e59f7e18c3d4d20e.tar.gz
UXP-68011e6ec70aabaacc68c436e59f7e18c3d4d20e.tar.lz
UXP-68011e6ec70aabaacc68c436e59f7e18c3d4d20e.tar.xz
UXP-68011e6ec70aabaacc68c436e59f7e18c3d4d20e.zip
Merge pull request #165 from JustOff/PR_SessionStore_nsICookieManager2_add
Align SessionStore.jsm with the updated nsICookieManager2.add() API
-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
}