Closed Bug 1568637 Opened 6 years ago Closed 6 years ago

browser.permissions.onAdded is undefined

Categories

(Firefox :: Untriaged, defect)

69 Branch
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: hlobil, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:69.0) Gecko/20100101 Firefox/69.0

Steps to reproduce:

  1. about:debug
  2. inspect an extension
  3. in the console type

browser.permissions.onAdded

Actual results:

received undefined as result

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/permissions/onAdded

This page does not list that I need any special permissions enabled on extension.

Expected results:

expect an object to register for change events

Hi,

Could you please share a screenshot or a screen recording of this issue?
Also, Could you please try to see if it's reproducible on Nightly? here is the link for download https://www.mozilla.org/en-US/firefox/nightly/all/
Thanks!

Flags: needinfo?(hlobil)

Hi,
Marking this as Resolved: Incomplete due to the lack of response from hlobil.
If the issue is still reproducible with the latest Firefox version, feel free to reopen the bug with more information.

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