Implement extension runtime permissions Dialog in AC
Categories
(Fenix :: WebExtensions, task, P3)
Tracking
(Not tracked)
People
(Reporter: cpeterson, Unassigned)
References
(Blocks 2 open bugs)
Details
From github: https://github.com/mozilla-mobile/fenix/issues/16912.
Steps to reproduce
- Go to Settings of an extension with runtime permission request (should be options.html on desktop)
- Let the extionsion request runtime permissions. Say, click
Grant permission
in the Settings pageExpected behavior
A popup is shown to grant/deny the runtime permission request
Actual behavior
Nothing happens.
Device information
- Android device: Android 10
- Fenix version: Nightly 201207 17:01 (Build #2015780043)
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Reporter | ||
Comment 1•2 years ago
|
||
Cathy says:
The geckoview work to implement permissions.request has been completed. Fenix can now implement the new delegate method onOptionalPrompt.
Related patch: https://phabricator.services.mozilla.com/D143925
Related geckoview bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1601420
https://github.com/mozilla-mobile/fenix/issues/16912#issuecomment-1117508957
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Adding extra documentation:
Comment 3•2 years ago
|
||
We did a similar implementation for normal prompt dialogs (Like alert or confirm) that website could requests, see GeckoPromptDelegate for references.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
When implementing this API we have to take into consideration Android permission that could be needed to access the APIs, like geolocation must have access to the location permission.
Updated•2 years ago
|
Description
•