Skip to content

Broken loading with existing Firefox profile (race condition) #1363

@Juraj-Masiar

Description

@Juraj-Masiar

Is this a feature request or a bug?

BUG

What is the current behavior?

  1. create a Firefox profile called "Addons"
  2. install to this profile your add-on from AMO
  3. execute this in your add-on development folder:
    web-ext run --firefox=firefoxdeveloperedition --firefox-profile=Addons --start-url about:debugging

What happened? There is a very high chance that your add-on won't be loaded as Temporary extension (see the about:debugging page). The add-on is loaded from the source files, however the automatic reloading is broken and the background script won't reload on source files change.
This is some king of race condition because there is small chance it will be loaded correctly.

What is the expected or desired behavior?

The add-on should be loaded as Temporary Extension.
The same way as it works with clean profile (without '--firefox-profile' switch').

Version information (for bug reports)

web-ext --version
2.9.1

  • Firefox version: 63.0b2 (64-bit) (developer edition)
  • Your OS and version: Win 10
  • Paste the output of these commands:
node --version && npm --version && web-ext --version

v10.1.0
5.6.0
2.9.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions