зеркало из https://github.com/mozilla/gecko-dev.git
8d06cbe7df
There are two places where we save storage permission: 1. LoadInfo hasStoragePermission attribute 2. mStorageAccessGranted in nsPIDOMWindowInner For LoadInfo.hasStoragePermission, it is set during channel creation and its value remains the same even when the storage permission is granted afterward. The updated storage permission for a window is saved in mStorageAccessGranted, which has a different meaning for fission and non-fission mode. In non-fission mode, mStorageAccessGranted is saved in the top-level window and it is an array containing all tracking subframes that are allowed to access storage. In fission mode, mStorageAccessGranted is set in individual tracking windows that we have granted its storage permission. Although it works like a boolean flag in fission, we still keep using an array to compatible with the use case in non-fission mode. Depends on D71984 Differential Revision: https://phabricator.services.mozilla.com/D71985 |
||
---|---|---|
.. | ||
actors | ||
components | ||
content | ||
crashreporter | ||
docs | ||
library | ||
locales | ||
modules | ||
mozapps | ||
pluginproblem | ||
profile | ||
system | ||
themes | ||
xre | ||
.eslintrc.js | ||
l10n-registry.manifest | ||
moz.build | ||
moz.configure | ||
toolkit.mozbuild |