Skip to content

Conversation

@syvb
Copy link
Contributor

@syvb syvb commented Mar 6, 2024

Some tests in html/semantics/scripting-1/the-script-element/module do window.addEventListener("onunhandledrejection", unreachable), when they should do window.addEventListener("unhandledrejection", unreachable); - the event is called unhandledrejection, not onunhandledrejection.

This event handler should never be run when these tests pass, so this change ensures that unhandledrejection must not be fired to pass the test.

@domenic domenic enabled auto-merge (squash) March 6, 2024 01:48
@domenic domenic merged commit 08455c5 into web-platform-tests:master Mar 6, 2024
@syvb syvb deleted the correct-unhandledrejection-listener branch March 6, 2024 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants