diff options
Diffstat (limited to 'testing/web-platform/tests/close-watcher/esc-key/keypress.html')
-rw-r--r-- | testing/web-platform/tests/close-watcher/esc-key/keypress.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/close-watcher/esc-key/keypress.html b/testing/web-platform/tests/close-watcher/esc-key/keypress.html index 8dd58b064d..c3bfcc0c33 100644 --- a/testing/web-platform/tests/close-watcher/esc-key/keypress.html +++ b/testing/web-platform/tests/close-watcher/esc-key/keypress.html @@ -16,6 +16,6 @@ promise_test(async t => { await sendEscKey(); - assert_array_equals(events, ["close"]); + assert_array_equals(events, ["cancel[cancelable=false]", "close"]); }, "A keypress listener can NOT prevent the Esc keypress from being interpreted as a close request"); </script> |