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

Failed to obtain permissions with v4.0.2 on Firefox (debug mode) #211

Closed
alexitx opened this issue Apr 19, 2024 · 2 comments
Closed

Failed to obtain permissions with v4.0.2 on Firefox (debug mode) #211

alexitx opened this issue Apr 19, 2024 · 2 comments

Comments

@alexitx
Copy link

alexitx commented Apr 19, 2024

Not sure if this is causing issues, since the extension is not yet available on the Mozilla add-on store I installed it temporarily via about:debugging. To my knowledge different browsers (both Chromium-based and Firefox) support slightly different featuresets of Manifest V3 and this has caused permission issues for me in the past.

3 warnings are given on load:

Reading manifest: Warning processing optional_permissions: Error processing optional_permissions.0: Value "alarms" must either: must either [must either [be one of ["idle"], be one of ["menus.overrideContext"], be one of ["search"], be one of ["activeTab"], be one of ["cookies"], be one of ["scripting"], or be one of ["webRequest", "webRequestBlocking", "webRequestFilterResponse", "webRequestFilterResponse.serviceWorkerScript"]], be one of ["clipboardRead", "clipboardWrite", "geolocation", "notifications"], be one of ["bookmarks"], be one of ["browsingData"], be one of ["devtools"], be one of ["find"], be one of ["history"], be one of ["pkcs11"], be one of ["sessions"], be one of ["tabs", "tabHide"], be one of ["topSites"], be one of ["browserSettings"], be one of ["declarativeNetRequestFeedback"], be one of ["downloads", "downloads.open"], be one of ["management"], be one of ["privacy"], be one of ["proxy"], be one of ["nativeMessaging"], or be one of ["webNavigation"]], or must either [be one of ["<all_urls>"], must either [match the pattern /^(https?|wss?|file|ftp|\*):\/\/(\*|\*\.[^*/]+|[^*/]+)\/.*$/, or match the pattern /^file:\/\/\/.*$/], or match the pattern /^resource:\/\/(\*|\*\.[^*/]+|[^*/]+)\/.*$|^about:/]
Reading manifest: Warning processing optional_host_permissions: An unexpected property was found in the WebExtension manifest.
Reading manifest: Warning processing externally_connectable: An unexpected property was found in the WebExtension manifest.

When going to https://steamcommunity.com/my/tradeoffers and attempting to enable Setup Offer Tracking, a "Failed to obtain permissions" alert pops up.
Setup Offer Tracking

I see that the extension is trying to request alarm permissions for *.steampowered.com and I don't see optional permissions for steampowered.com in the settings.
Extension permissions

According to https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/optional_permissions if the docs are up to date, only optional_permissions in manifest.json seems to be supported. Although even if I manually add permissions for steampowered.com it still doesn't solve the issue.

Firefox 124
CSFloat 4.0.2

@Step7750
Copy link
Member

This is expected due to quirks in how Firefox works.

The extension doesn't support Firefox at this time..

@alexitx
Copy link
Author

alexitx commented Apr 19, 2024

I see. Is there a rough estimate of when it will be supported? I appreciate the work you guys have done for the verification system.

@alexitx alexitx closed this as completed Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants