From d9cd94f08bf4a08971c1c3c6ed760f57adf119ed Mon Sep 17 00:00:00 2001 From: JustOff Date: Sun, 10 Jun 2018 18:21:00 +0300 Subject: [PATCH] Specify originAttributes in nsICookieManager2.add() call for compatibility with UXP (PM28) --- bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.js b/bootstrap.js index a89842e..f6ab130 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -217,7 +217,7 @@ function startup(data, reason) { styleSheetService.loadAndRegisterSheet(amoCSS, styleSheetService.USER_SHEET); } - Services.cookies.add("addons.mozilla.org", "/", "mamo", "off", false, false, false, Date.now()/1000 + 31536000); + Services.cookies.add("addons.mozilla.org", "/", "mamo", "off", false, false, false, Date.now()/1000 + 31536000, {}); } function shutdown(data, reason) {