Open Bug 1389872 Opened 2 years ago Updated 5 months ago

no easy way to test extension behavior across restarts

Categories

(WebExtensions :: Developer Tools, enhancement, P5)

enhancement

Tracking

(Not tracked)

REOPENED

People

(Reporter: dietrich, Unassigned)

Details

(Whiteboard: [addon-debugging])

I have a bug reported in my extension that it's not functioning after browser restart. 

There's no easy way to test that. Maybe we have a button in about:debugging that leaves development extensions installed *only* if you restart by hitting that button. Or something like that.
You need to install your extension permanently to test the behavior across restarts.  Which probably means disabling signing, which requires either Nightly, dev edition, or an unbranded build.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Please don't close bugs like this preemptively.

I've filed this bug because we need to make testing across restarts *easier* and it should be built into the WE development workflow.

This means adding things like the suggestion in made in comment #0, and adding it into the web-ext CLI.

A command-line parameter saying to leave development extensions installed would probably be needed to implement both of those approaches.

Disabling signing is a hack that we don't want to encourage. Testing WE across restarts is something we *do* want to encourage.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Priority: -- → P5
Product: Toolkit → WebExtensions
Whiteboard: [addon-debugging]
You need to log in before you can comment on or make changes to this bug.