Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webextensions.api.permissions.request - Should actually work on Android since "some version". #21788

Closed
M-Reimer opened this issue Dec 31, 2023 · 3 comments
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions duplicate Duplicate issues or pull requests. This one is closed in favor of the other issue or pull request.

Comments

@M-Reimer
Copy link

M-Reimer commented Dec 31, 2023

What type of issue is this?

Incorrect support data

What information was incorrect, unhelpful, or incomplete?

The page tells that "permissions.request()" is not compatible with Firefox on Android.

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

Starting with "some version" it has to be compatible. I tried. It works.

Did you test this? If so, how?

I tried with "Nightly" on Android and "permissions.request" popped up a dialog box and allowed to grant the permission.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

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

MDN metadata

MDN page report details
  • Query: webextensions.api.permissions.request
  • Report started: 2023-12-31T11:44:37.012Z
@queengooborg
Copy link
Contributor

Nightly usually has new features enabled that aren't enabled in the stable release. Have you tried the same method in FxA stable?

@queengooborg queengooborg added data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions info needed This needs more information to review or act on. labels Jan 1, 2024
@M-Reimer
Copy link
Author

M-Reimer commented Jan 1, 2024

I just tested and works on "regular Firefox", too.

I use this feature in this Add-on: https://addons.mozilla.org/de/firefox/addon/togglereferrer/

If you enable the "optional spoofing feature" in the Add-on settings, then the Add-on requests all_url permission.

I don't know where to search to find out when this was implemented.

@rebloor
Copy link
Contributor

rebloor commented Jan 1, 2024

Duplicate of #21704

@rebloor rebloor marked this as a duplicate of #21704 Jan 1, 2024
@rebloor rebloor closed this as completed Jan 1, 2024
@queengooborg queengooborg added duplicate Duplicate issues or pull requests. This one is closed in favor of the other issue or pull request. and removed info needed This needs more information to review or act on. labels Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions duplicate Duplicate issues or pull requests. This one is closed in favor of the other issue or pull request.
Projects
None yet
Development

No branches or pull requests

3 participants