Open Bug 1810047 Opened 2 years ago Updated 1 year ago

Implement extension runtime permissions Dialog in AC

Categories

(Fenix :: WebExtensions, task, P3)

All
Android

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

  1. Go to Settings of an extension with runtime permission request (should be options.html on desktop)
  2. Let the extionsion request runtime permissions. Say, click Grant permission in the Settings page

Expected 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.

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

Severity: -- → N/A
Type: enhancement → task
Depends on: 1601420
Blocks: 1796175

We did a similar implementation for normal prompt dialogs (Like alert or confirm) that website could requests, see GeckoPromptDelegate for references.

Summary: Implement extension runtime permissions → Implement extension runtime permissions Dialog in AC

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.

Blocks: 1812299
Priority: -- → P3
Duplicate of this bug: 1811608
No longer duplicate of this bug: 1811608
You need to log in before you can comment on or make changes to this bug.