-
Notifications
You must be signed in to change notification settings - Fork 215
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
browser.permissions.request doesn't return a promise #38
Comments
Encountered this issue while trying to use optional permissions. |
The library is missing definitions for permissions API in api-metadata.json, please see #44 |
Could you please explain how this issue is resolved? I cannot get my version of this permissions example to work, since https://github.com/mdn/webextensions-examples/blob/master/permissions/page.js I created a repo with my code: |
I was unaware that this API is new and seems to be not really consistent yet. So I guess I just have to wait, I have the same experience as in this answer on SO https://stackoverflow.com/a/47729896/7309920 |
Browser: Chrome 58
Library version: 0.1.1
I'm using this code on an extension options page:
The popup request is showing, but the code throws the error:
The text was updated successfully, but these errors were encountered: