From def92d1b8e9d373e2f6f27c366d578d97d8960c6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:34:50 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- widget/EventForwards.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'widget/EventForwards.h') 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; -- cgit v1.2.3