Open
Bug 1412317
Opened 7 years ago
Updated 2 years ago
DevTools sidebar onShown and onHidden events should be fired when switching to a different devtools panel
Categories
(WebExtensions :: Developer Tools, enhancement, P3)
WebExtensions
Developer Tools
Tracking
(Not tracked)
NEW
People
(Reporter: rpl, Unassigned)
Details
As mentioned in Bug 1341305 comment 30, on Firefox sidebar.onShown/onHidden are not currently fired when the currently selected devtools panel has been changes and the particular sidebar panel was the currently selected one (while on Chrome they are also fired in this scenario).
Reporter | ||
Updated•7 years ago
|
Priority: -- → P2
Comment 1•7 years ago
|
||
I want to add 2 bugs scenario related to this bug:
1. onHidden() keep fired when switch off from unrelated panel, the expected result is onHidden() should fired only if switch off from my extension panel.
2. onHidden doesn't fired when close devtools inspector window, either by click 'x' OR press F12 to close. It cause problem since no way to detect inspector window onClose() and remove listener to reduce memory/processing usage.
Reporter | ||
Updated•7 years ago
|
Assignee: nobody → lgreco
Updated•7 years ago
|
Product: Toolkit → WebExtensions
![]() |
||
Updated•6 years ago
|
Priority: P2 → P3
![]() |
||
Updated•6 years ago
|
Assignee: lgreco → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•