Closed Bug 1667148 Opened 4 years ago Closed 4 years ago

browser.permissions.request seems not working

Categories

(GeckoView :: Extensions, defect)

Unspecified
All
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1601420

People

(Reporter: yan12125, Unassigned)

Details

Attachments

(1 file)

Attached image Permission request dialog.jpg (deleted) —

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

I'm testing the uBlacklist extension on Fenix and noticed that the API browser.permissions.request seems to do nothing - no dialogs, no errors in the console.

Steps to reproduce:

  1. git clone https://github.com/iorate/uBlacklist
  2. npm install && npm run build:firefox:development
  3. Install the extension in dist/firefox/development with web-ext
  4. Open the option page of this addon using the step listed in [1]
  5. Hit the "Add subscription" button
  6. Enter a random name and some URL and hit "Add"

Environment: Android 9.0, Fenix nightly 200924 06:03

[1] https://discourse.mozilla.org/t/debugging-an-addon-in-fenix-nightly/68011/2

Actual results:

Nothing happened

Expected results:

A dialog asking for additional permissions like the attached image. It is the case for Fennec 68.11

Yeah it's not implemented yet.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: