From 67cb0347402c0181261772c4b59dd39973b41537 Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Sat, 27 Apr 2024 23:06:32 +0900 Subject: [PATCH 1/2] cli: remove --no-experimental-global-customevent flag Signed-off-by: Daeyeon Jeong --- doc/api/cli.md | 10 ---------- doc/node.1 | 3 --- lib/internal/bootstrap/web/exposed-wildcard.js | 1 + lib/internal/process/pre_execution.js | 13 ------------- src/node_options.cc | 6 +----- src/node_options.h | 1 - test/common/globals.js | 1 + test/parallel/test-global-customevent-disabled.js | 7 ------- ...test-process-env-allowed-flags-are-documented.js | 1 + 9 files changed, 4 insertions(+), 39 deletions(-) delete mode 100644 test/parallel/test-global-customevent-disabled.js diff --git a/doc/api/cli.md b/doc/api/cli.md index f7b025c961fced..94fb6a940373ef 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1364,14 +1364,6 @@ added: v0.8.0 Silence deprecation warnings. -### `--no-experimental-global-customevent` - - - -Disable exposition of [CustomEvent Web API][] on the global scope. - ### `--no-experimental-global-navigator` -> Stability: 1 - Experimental. Disable this API with the -> [`--no-experimental-global-customevent`][] CLI flag. +> Stability: 2 - Stable @@ -1150,7 +1152,6 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][]. [Navigator API]: https://html.spec.whatwg.org/multipage/system-state.html#the-navigator-object [RFC 5646]: https://www.rfc-editor.org/rfc/rfc5646.txt [Web Crypto API]: webcrypto.md -[`--no-experimental-global-customevent`]: cli.md#--no-experimental-global-customevent [`--no-experimental-global-navigator`]: cli.md#--no-experimental-global-navigator [`--no-experimental-websocket`]: cli.md#--no-experimental-websocket [`AbortController`]: https://developer.mozilla.org/en-US/docs/Web/API/AbortController