summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/webextensions/test/xpcshell/test_theme.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-26 14:07:51 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-26 14:07:51 +0200
commit783b60aae187d75c8c1924eceec8c4c56aa40c5e (patch)
treeb907a7be7d3480710e1686787364fc5c53ed4b7b /toolkit/mozapps/webextensions/test/xpcshell/test_theme.js
parent8a8f0df35849ad27cc8ed1ccce8baead46a7656a (diff)
downloadUXP-783b60aae187d75c8c1924eceec8c4c56aa40c5e.tar
UXP-783b60aae187d75c8c1924eceec8c4c56aa40c5e.tar.gz
UXP-783b60aae187d75c8c1924eceec8c4c56aa40c5e.tar.lz
UXP-783b60aae187d75c8c1924eceec8c4c56aa40c5e.tar.xz
UXP-783b60aae187d75c8c1924eceec8c4c56aa40c5e.zip
Issue #12 Part 5: WidgetEvent shouldn't mark event as consumed if it's not cancelable.
Currently, EventListenerManager calls WidgetEvent::PreventDefault() when the status is nsEventStatus_eConsumeNoDefault. That causes an unexpected state of events. To solve this, WidgetEvent should do nothing when it's not cancelable but PreventDefault() is called.
Diffstat (limited to 'toolkit/mozapps/webextensions/test/xpcshell/test_theme.js')
0 files changed, 0 insertions, 0 deletions