Skip to content

Using a default profile with --keep-profile-changes will break Firefox #1005

@kumar303

Description

@kumar303

Is this a feature request or a bug?

bug

What is the current behavior?

Consider a command like this (DO NOT run this):

web-ext run --firefox-profile=default --keep-profile-changes

What is the expected or desired behavior?

Here's what web-ext will do to your default profile:

  • It will disable automatic updates to Firefox
  • It will disable updates to all add-ons
  • It will disable the prompt for accepting a remote debugging connection -- this means anyone can silently connect a remote debugger to your Firefox
  • It will disable signature checks for add-ons (but only in pre-release builds of Firefox)
  • It will allow side loading add-ons which is how a lot of crapware installers inject their add-ons without user consent

This really shouldn't be possible at all. It should raise an error. We could possibly allow it with an option like --allow-web-ext-to-completely-break-my-profile because it's possible that someone may not care about trashing their default profile? I don't know, I'm leaning to not allowing this at all.

Version information (for bug reports)

  • Firefox version: N/A
  • Your OS and version: N/A
  • Paste the output of these commands:
node --version && npm --version && web-ext --version
v6.10.3
3.10.10
master-7b390e45f3a998a57238ddb9f163da4a61dfb08a

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions