(In reply to Tim Huang[:timhuang] from comment #8) > I've discovered how Geckoview persists permission for the private mode. There is a [separate API](https://searchfox.org/mozilla-central/rev/196b6aa0427f38058fd43ac90ee94fcf2f436fb6/mobile/android/modules/geckoview/GeckoViewStorageController.jsm#182-197) to allow Geckoview to persist permission for a private session. Maybe we can also follow the same pattern here. Having separate API will be ideally to be more explicit, but not sure how much work does that generates for you.
Bug 1803601 Comment 10 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Tim Huang[:timhuang] from comment #8) > I've discovered how Geckoview persists permission for the private mode. There is a [separate API](https://searchfox.org/mozilla-central/rev/196b6aa0427f38058fd43ac90ee94fcf2f436fb6/mobile/android/modules/geckoview/GeckoViewStorageController.jsm#182-197) to allow Geckoview to persist permission for a private session. Maybe we can also follow the same pattern here. Having a separate API will be ideally to be more explicit and have consistency with other APIs, but not sure how much work does that generates for you.