Support expected mapping between unlimitedStorage extension permission to persistent-storage WebAPI permission on Android
Categories
(WebExtensions :: Android, enhancement, P2)
Tracking
(firefox122 fixed)
| Tracking | Status | |
|---|---|---|
| firefox122 | --- | fixed |
People
(Reporter: rpl, Assigned: rpl)
References
(Blocks 1 open bug)
Details
(Whiteboard: [addons-jira])
Attachments
(1 file, 1 obsolete file)
The test covering this expected behavior is the test_ext_unlimitedStorage.html mochitest, which is currently disabled on Android builds, disabled for GeckoView in Bug 1615329.
The underlying issue is similar to the one behind test_ext_geolocation.html being disabled, tracked by Bug 1336194 (and in particular see Bug 1336194 comment 15), but unlike geolocation, persistent-storage doesn't require the embedder app to be requesting the related Android permission as it is needed for geolocation (see Bug 1336194 comment 16).
And so in for the mapping between "unlimitedStorage" extension permission and the related "persistent-storage" WebAPI permission, we could technically check if the permission have been granted already to the extension principal and short cut the check by allowing it right away if it is.
This bug is tracking looking into the changes to do that in the GeckoView JSWindow actor layer and re-enabling on GeckoView builds this mochitest to explicitly cover the expected behavior also on the GeckoView builds.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Depends on D184641
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
Comment 3•2 years ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:rpl, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
| Comment hidden (obsolete) |
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
|
||
| bugherder | ||
Description
•