Commit Graph

4 Commits

Author SHA1 Message Date
Pale Moon 9568ba7382 Expose cookieBehavior and cookieLifetimePolicy preference variants from nsICookieService.
This makes the constants available to js, and reduces duplication of the pref constants in several files.
Follow-up for #1475.
2018-07-25 09:32:07 +08:00
Pale Moon 6c36d47164 Remove the "ask every time" policy for acceptance of cookies.
People still trying to use this option in 2017 will likely end up with a cookie confirmation dialog storm
that can end up with the browser being locked (modal dialog storm + confused z-order in some
window managers = inaccessible UI). This is a terrible footgun, and cookie acceptance is best
controlled with one of the many extensions available for this purpose.

This resolves #1475.
2018-07-25 09:31:24 +08:00
Pale Moon 2969f099a1 Make DOM storage from 3rd parties honor 3rd party cookie setting.
- restricts usage of DOM storage by 3rd parties if the use has set 3rd party cookies to be blocked.
- extends "cookie-like" handling for DOM storage to enhance privacy and combat cross-origin tracking.

This resolves #860
2018-07-25 06:42:59 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00