Bug
1727160 [wpt PR 30130] - [selectmenu] Handle synthetic keyboard event, a=testonly
Automatic update from web-platform-tests
[selectmenu] Handle synthetic keyboard event
An event created with createEvent can trigger selectmenu's keydown
handlers, but will fail the cast to a KeyboardEvent. Check for this
case and bail out to prevent a crash.
Bug:
1242148
Change-Id: I5fc1aa430f89fdb76b270f0aaffdbe2eb358b86b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3114727
Reviewed-by: Mason Freed <masonf@chromium.org>
Reviewed-by: Ionel Popescu <iopopesc@microsoft.com>
Commit-Queue: Dan Clark <daniec@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#914506}
--
wpt-commits:
ea4b3c2a066761983830175df7f9312d2baf8c1e
wpt-pr: 30130