Open
Bug 1749029
Opened 2 years ago
Updated 2 years ago
mainPanelView is undefined
Categories
(Firefox :: Toolbars and Customization, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: kernp25, Unassigned)
Details
Attachments
(1 file)
10.63 KB,
image/png
|
Details |
I saw this TypeError in the browser console.
Comment 1•2 years ago
|
||
Could you please provide some steps in order to reproduce this? And what exactly is the expected behavior in this case?
Thanks.
Flags: needinfo?(kernp25)
Comment 2•2 years ago
|
||
I don't see anything recently that could have caused this to start happening more frequently. The code here doesn't check the lenghth of the openViews array before trying to get the first item out of it. I could foresee a race condition where a view is closed but a tooltip still opens up (which would cause a popupshown event). The simple thing to do here would be to check the length and return if there are no open views.
Severity: -- → S4
Flags: needinfo?(kernp25)
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•