Closed
Bug 1373415
Opened 8 years ago
Closed 7 years ago
Add in a theme.onChanged event
Categories
(WebExtensions :: Frontend, enhancement, P5)
WebExtensions
Frontend
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1349944
People
(Reporter: andy+bugzilla, Assigned: andy+bugzilla)
Details
(Whiteboard: [triaged][theme])
We've got a standard onChanged event for most APIs. I think an onChanged event fired whenever the event is changed would be useful.
You can already find out what the current theme is, by doing management.getAll and iterating through to find out what theme is enabled. But having an event is nicer than polling.
Assignee | ||
Comment 1•8 years ago
|
||
Thanks for the hat tip :aswan. management.onEnabled event fires when a theme is changed, so that catches about:addons, customise menu etc. So the only thing it doesn't catch is browser.theme.update(..) events.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → amckay
Assignee | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•