diff options
Diffstat (limited to 'testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-3.html')
-rw-r--r-- | testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-3.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-3.html b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-3.html index bc52119bfe..2d74af864b 100644 --- a/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-3.html +++ b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-3.html @@ -9,7 +9,7 @@ window.log = []; window.addEventListener("error", ev => log.push(ev.error)); - window.addEventListener("onunhandledrejection", unreachable); + window.addEventListener("unhandledrejection", unreachable); const test_load = async_test( "Evaluation errors are cached in intermediate module scripts"); |