From 663554abdfabef2bda83bb3369c95494fbd21b52 Mon Sep 17 00:00:00 2001 From: Richie Bendall Date: Mon, 18 Aug 2025 20:14:54 +1200 Subject: [PATCH] lib: expose global ErrorEvent PR-URL: https://github.com/nodejs/node/pull/58920 Reviewed-By: Zeyu "Alex" Yang Reviewed-By: Matthew Aitken Reviewed-By: Jason Zhang Reviewed-By: Antoine du Hamel Reviewed-By: Filip Skokan --- doc/api/globals.md | 8 ++++++++ lib/eslint.config_partial.mjs | 4 ++++ lib/internal/bootstrap/web/exposed-window-or-worker.js | 2 +- test/common/globals.js | 1 + test/eslint.config_partial.mjs | 1 + tools/doc/type-parser.mjs | 1 + 6 files changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/api/globals.md b/doc/api/globals.md index 7d272e127c..8e987f316c 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -454,6 +454,14 @@ changes: A browser-compatible implementation of [`DecompressionStream`][]. +## `ErrorEvent` + + + +A browser-compatible implementation of {ErrorEvent}. + ## Class: `Event`