Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix timeout failure for select-multiple-keyboard-selection.optional.html
WPT select-multiple-keyboard-selection.optional.html test needs to wait for all keyboard events to be completed and tasks to be done before we can assert the select's value and scroll location. Different web engines work differently for this type of error, but 2 requestAnimationFrames and 1 timeout should be enough. This bug is similar to the bug 1420110. Change-Id: I48952bc987c3be2e29ca7059422e0090335caaa3 Fixed: 1490710 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4935949 Commit-Queue: Di Zhang <dizhangg@chromium.org> Reviewed-by: David Baron <dbaron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1210508}
- Loading branch information