summaryrefslogtreecommitdiffstats
path: root/widget/EventForwards.h
diff options
context:
space:
mode:
Diffstat (limited to 'widget/EventForwards.h')
-rw-r--r--widget/EventForwards.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/widget/EventForwards.h b/widget/EventForwards.h
index e6a1ad6274..4a6d796cd1 100644
--- a/widget/EventForwards.h
+++ b/widget/EventForwards.h
@@ -270,9 +270,6 @@ inline bool IsCancelableBeforeInputEvent(EditorInputType aInputType) {
return true;
case EditorInputType::eInsertLink:
return true;
- case EditorInputType::eDeleteByComposition:
- MOZ_ASSERT(!StaticPrefs::dom_input_events_conform_to_level_1());
- return true;
case EditorInputType::eDeleteCompositionText:
MOZ_ASSERT(!StaticPrefs::dom_input_events_conform_to_level_1());
return false;