diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-26 13:55:33 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-26 13:55:33 +0200 |
commit | 6aa47456c3d5d1952212ff3e970f617e5f6f3617 (patch) | |
tree | 2f64682d3e1b84c0fa924c3c4238a4d8421f5b03 /toolkit/mozapps/webextensions/test/addons/test_bug594058 | |
parent | a7bc62dcfe5495c8b53532c1b585af07171b4403 (diff) | |
download | UXP-6aa47456c3d5d1952212ff3e970f617e5f6f3617.tar UXP-6aa47456c3d5d1952212ff3e970f617e5f6f3617.tar.gz UXP-6aa47456c3d5d1952212ff3e970f617e5f6f3617.tar.lz UXP-6aa47456c3d5d1952212ff3e970f617e5f6f3617.tar.xz UXP-6aa47456c3d5d1952212ff3e970f617e5f6f3617.zip |
Issue #12 Part 3: EditorEventListener should check if it's removed during a call of editor's method.
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.
Diffstat (limited to 'toolkit/mozapps/webextensions/test/addons/test_bug594058')
0 files changed, 0 insertions, 0 deletions