Open Bug 1749029 Opened 2 years ago Updated 2 years ago

mainPanelView is undefined

Categories

(Firefox :: Toolbars and Customization, defect, P3)

Firefox 95
defect

Tracking

()

UNCONFIRMED

People

(Reporter: kernp25, Unassigned)

Details

Attachments

(1 file)

Attached image firefox_K19b6uvJnH.png

I saw this TypeError in the browser console.

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)

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.

Attachment

General

Creator:
Created:
Updated:
Size: