gecko-dev/mobile
Agi Sferro 4fa08131c7 Bug 1714945 - Add StorageController::setPrivateBrowsingPermanentPermission. r=owlish
Normally, a private browsing session doesn't store any data permamently. This
extends to permissions, which are cleared at the end of the browsing session
(i.e. when the GeckoRuntime is closed or killed).

There are cases, however, where we want to keep the data around. For example
Focus needs to store tracking protection permissions permanently.

For this reason, this patch introduces a new API that allows embedders to set
permanent permissions for private browsing GeckoSession.

This patch also always sends a tracking protection permission for every page
load, this allows embedders to set the tracking protection permission without
using the deprecated API `setPermission`, this was an oversight during the
implementation of the new StorageController API.

Differential Revision: https://phabricator.services.mozilla.com/D126546
2021-10-05 22:09:59 +00:00
..
android Bug 1714945 - Add StorageController::setPrivateBrowsingPermanentPermission. r=owlish 2021-10-05 22:09:59 +00:00
locales Bug 1709640 - Rename android-api-16 to android-arm. r=marionette-reviewers,firefox-build-system-reviewers,nalexander,whimboo,aklotz,releng-reviewers,mhentges,glandium,mtabara 2021-06-04 22:31:14 +00:00
.eslintrc.js