summaryrefslogtreecommitdiffstats
path: root/widget/EventForwards.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /widget/EventForwards.h
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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;