Skip to content

Commit

Permalink
Specify originAttributes in nsICookieManager2.add() call for compatib…
Browse files Browse the repository at this point in the history
…ility with UXP (PM28)
  • Loading branch information
JustOff committed Jun 10, 2018
1 parent 09a1924 commit d9cd94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d9cd94f

Please sign in to comment.