Open
Bug 1757480
Opened 3 years ago
Updated 1 year ago
ensure terminateBackground can only be used at appropriate times
Categories
(WebExtensions :: General, task, P3)
WebExtensions
General
Tracking
(Not tracked)
NEW
People
(Reporter: mixedpuppy, Unassigned)
References
Details
(Whiteboard: [addons-jira])
terminateBackground is used by the idle timeout to shutdown the background script. It is also used directly in some tests that were developed early in the event page work. It currently awaits a startup promise.
It is likely that we need to ensure it cannot be used if the background is not running. Scenarios would be any path that uses terminateBackground that is not the idle timeout. e.g. developer ui to test background termination.
Updated•3 years ago
|
Reporter | ||
Comment 1•3 years ago
|
||
Secondary, we need to make sure terminateBackground is not re-entrant since it calls onSuspend.
Summary: ensure terminateBackground cannot be called when there is no background → ensure terminateBackground can only be used at apropriate times
Updated•3 years ago
|
Severity: -- → N/A
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Summary: ensure terminateBackground can only be used at apropriate times → ensure terminateBackground can only be used at appropriate times
Updated•1 year ago
|
Type: enhancement → task
Priority: P2 → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•