Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: deb9744efaba1b9e70ed8cb32488f1e1a6fe8e80 https://github.com/WebKit/WebKit/commit/deb9744efaba1b9e70ed8cb32488f1e1a6fe8e80 Author: Wenson Hsieh <wenson_hs...@apple.com> Date: 2025-05-16 (Fri, 16 May 2025)
Changed paths: M Source/WebCore/dom/TextEvent.cpp M Source/WebCore/dom/TextEvent.h M Source/WebCore/editing/Editor.cpp M Source/WebCore/editing/TypingCommand.cpp M Source/WebCore/editing/TypingCommand.h Log Message: ----------- Remove createdFromBindings() and m_createdFromBindings from TextEvent https://bugs.webkit.org/show_bug.cgi?id=293117 Reviewed by Abrar Rahman Protyasha. This method and state on `TextEvent` is redundant with the trusted state that's already present on `WebCore::Event`. Remove it, and use `isTrusted()` at the former call site instead. * Source/WebCore/dom/TextEvent.cpp: (WebCore::TextEvent::TextEvent): * Source/WebCore/dom/TextEvent.h: * Source/WebCore/editing/Editor.cpp: (WebCore::Editor::appliedEditing): * Source/WebCore/editing/TypingCommand.cpp: (WebCore::TypingCommand::insertText): * Source/WebCore/editing/TypingCommand.h: Also rename `setTriggeringEventWasCreatedFromBindings` → `setTriggeringEventIsUntrusted` to maintain consistency. Canonical link: https://commits.webkit.org/295014@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes