Skip to content

(bug) Nebulate doesn't ask URL permissions in Firefox #125

@hadrienbecle

Description

@hadrienbecle

Hi,

On Firefox ESR 115, after downloading Nebulate from AMO, the database didn't seem to be synced:

Stats screen of Nebulate with loading icons

After some debugging, I found that the problem was caused by permissions not being asked by the extension at first launch. The extension works perfectly when enabling them manually and relaunching the extension through about:debugging.

According to the WebExtension documentation (manifest.json > host_permissions > Requested permissions and user prompts), the extension should use permissions.contains and permissions.request at first launch because most browsers apart from Chrome (mainly Firefox and Safari) consider host_permissions to be optional permissions.

(also, to make things even simpler, it might change in the future with the introduction of yet another manifest.json property...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions