Bug
1883556 [wpt PR 44927] - CloseWatcher: fix Esc key tests, a=testonly
Automatic update from web-platform-tests
CloseWatcher: fix Esc key tests
They were interfering with each other by being in the same file. This
meant that most of the tests weren't really testing anything: which is
good, because the keyup and keypress tests had the opposite of the
correct expectations.
This splits up all the tests, and fixes keyup.html and keypress.html
to expect that such listeners are NOT able to prevent the close request.
Bug:
40054591
Change-Id: Id294cb9f1c6e91bec284e5a09042026e54538664
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
5339289
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1269315}
--
wpt-commits:
b334432d7b67798b90fdef51f5d1430bfbc5f3fd
wpt-pr: 44927