web-platform-tests / wpt

Test suites for Web platform specs — including WHATWG, W3C, and others
https://web-platform-tests.org/
Other
4.79k stars 2.99k forks source link

Fix input type for forward delete input event #46947

Closed chromium-wpt-export-bot closed 2 days ago

chromium-wpt-export-bot commented 2 days ago

A |TypingCommand| is created to execute corresponding input command and and is reused until it is open for typing. |TypingCommand::ForwardDeleteKeyPressed()| was reusing last typing command without resetting its input type, which is fixed in this CL.

Bug: 40736701 Change-Id: I5ca6ed8c3028c90cd32a4d206772bcf9a5d48b2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5653570 Reviewed-by: Siye Liu \siliu@microsoft.com Reviewed-by: Koji Ishii \kojii@chromium.org Reviewed-by: Sanket Joshi \sajos@microsoft.com Commit-Queue: Sambamurthy Bandaru \sambamurthy.bandaru@microsoft.com Cr-Commit-Position: refs/heads/main@{#1321543}