Closed
Bug 1905392
Opened 3 months ago
Closed 2 months ago
OriginControls.getState throws "policy.extension.tabManager is undefined" when an extension is starting up
Categories
(WebExtensions :: Frontend, defect, P3)
WebExtensions
Frontend
Tracking
(firefox130 fixed)
RESOLVED
FIXED
130 Branch
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: robwu, Assigned: robwu)
References
(Blocks 1 open bug)
Details
(Whiteboard: [addons-jira])
Attachments
(1 file)
I just encountered a test failure, with a stack trace similar to bug 1876359.
Upon investigation, it looks like OriginControls.getState
is called for an extension that is in the middle of extension startup. We should handle that gracefully instead of breaking the UI.
I'm drawing the conclusion that the extension in the test is in the middle of startup, because policy.extension
being set implies that the extension has done the minimum to start up, but policy.extension.tabManager
being undefined implies that the "startup" event has not fired yet, which is responsible for initializing extension.tabManager.
Updated•3 months ago
|
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 1•3 months ago
|
||
Updated•3 months ago
|
Assignee: nobody → rob
Status: NEW → ASSIGNED
Updated•3 months ago
|
Severity: -- → S4
Priority: -- → P3
Pushed by rob@robwu.nl: https://hg.mozilla.org/integration/autoland/rev/b13620c0be9d Fix OriginControls.getState for extensions during startup r=zombie
Comment 3•2 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox130:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•