summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-2.html')
-rw-r--r--testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-2.html2
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-2.html b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-2.html
index 51adb09d11..d40aaba8df 100644
--- a/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-2.html
+++ b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/choice-of-error-2.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(
"Instantiation errors in different files should be reported " +