Skip to content

Add support for Firefox #177

Closed
Closed
@davidjayb

Description

@davidjayb

It would be great to add support for Firefox to the devtools. It looks as though the developer tools API for Firefox is based off of Chromium, with some limitations:

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Extending_the_developer_tools

Building and loading this locally I receive the following error:

background.service_worker is currently disabled

This lead me to the following issue:

mozilla/web-ext#2532

Firefox does not support service workers at the moment. Changing from service_worker to scripts allows me to load the extension:

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/background

I then receive a warning message about the web_accessible_resources.world property, which isn't supported:

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/web_accessible_resources

Which was also encountered by the EmberJS team, resolved by moving the resource under content_scripts:
emberjs/ember-inspector#2501

After getting the warnings removed I am able to load the plugin it does not detect Svelte.

Metadata

Metadata

Assignees

No one assigned

    Labels

    committedThis issue has been added to the roadmap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions