mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
1ede5417ab
This is adding the RemotePermissionService xpcom js service for the purpose of importing default permission manager entries from remote settings. This service will be initialized by the permission manager after it has read all its permissions from disk and is fully initialized. When being initialized, the service will at first get all the current default remote permissions from the remote settings client, and add them as default permissions through the `AddDefaultFromPrincipal` method added in D222650. An event listener is then also set up to keep the default entries in the permission manager in sync with remote settings. All of this is guarded behind a whitelist in the the `ALLOWED_PERMISSION_VALUES` variable, ensuring only specific permission types and values can be imported through this mechanism. Differential Revision: https://phabricator.services.mozilla.com/D222649 |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libjar | ||
libmar | ||
libpref | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |