mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
MenuButton will listen the HTMLTooltip hidden event even if HTMLTooltip is destroyed. As a result of it, the timer which issued in the MenuButton's event listener might fail due to the target window is destroyed. (e.g., switching the dock mode to bottom from window mode.) This patch will remove this event listener before destroying the HTMLTooltip. Differential Revision: https://phabricator.services.mozilla.com/D3759