Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ffdc7b0034b3dd9edcd4f6902ff3c14e09931514
https://github.com/WebKit/WebKit/commit/ffdc7b0034b3dd9edcd4f6902ff3c14e09931514
Author: Anne van Kesteren <[email protected]>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M
LayoutTests/fast/dom/HTMLSelectElement/remove-element-from-within-focus-handler-crash.html
M LayoutTests/fast/forms/select-change-size-during-focus.html
M LayoutTests/fast/forms/select-list-box-mouse-focus.html
M
LayoutTests/fast/forms/select/mac-wk2/open-select-popup-after-dismissing-by-blur-expected.txt
M
LayoutTests/fast/forms/select/mac-wk2/open-select-popup-after-dismissing-by-blur.html
M
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/select-synthetic-events-expected.txt
M
LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/select-mouse-behavior-expected.txt
M Source/WebCore/html/HTMLOptionElement.cpp
M Source/WebCore/html/HTMLSelectElement.cpp
Log Message:
-----------
Ignore non-trusted events in <select> and <option>'s default handlers
https://bugs.webkit.org/show_bug.cgi?id=308457
rdar://171404071
Reviewed by Ryosuke Niwa.
The appearance: auto control already ignores these events, but at a
deeper level. For appearance: base we also need to ignore them at the
element-level. For now we only ignore them for menu lists as
historically synthetic events have worked for list boxes and we're not
sure whether that should change.
This updates several tests to use end user events instead.
Canonical link: https://commits.webkit.org/309194@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications