You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Outdated exception documentation for showPopover and hidePopover #44587
What specific section or headline is this issue about?
Exceptions
What information was incorrect, unhelpful, or incomplete?
It claims that showPopover will throw an InvalidStateError if the popover is already showing.
This appears to no longer be accurate, calling showPopover on a popover that is already showing is now a no-op.
hidePopover's documentation has the same problem. It claims hidePopover will throw InvalidStateError if the popover is already hidden, which is no longer true.
Either no mention of an exception being thrown if the popover is already in the requested state, or a notice that it used to throw, but no longer does.
Do you have any supporting links, references, or citations?
Activity
hamishwillee commentedon Jul 17, 2026
Thanks. FYI FF115 stopped throwing the exception in in https://bugzilla.mozilla.org/show_bug.cgi?id=1830736