mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-29 08:54:28 +00:00
107f8e58ce
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.