mirror of
https://github.com/Basilisk-Development-Team/UXP-mirror.git
synced 2026-11-26 18:49:44 -05:00
EditorEventListener doesn't check if mEditorBase is available even after it's removed from the editor. If it becomes nullptr, i.e., it's detached from editor, it shouldn't continue to handle event. This patch changes some methods' nsIDOM*Event argument to WidgetEvent since it's simpler.