From 90d35adccd763dff70ae86cef0319d16cce8c40a Mon Sep 17 00:00:00 2001 From: cjihrig Date: Thu, 12 Mar 2020 23:24:01 -0400 Subject: [PATCH] doc,lib,src,test: make --experimental-report a nop This commit makes the --experimental-report CLI flag a no-op. PR-URL: https://github.com/nodejs/node/pull/32242 Fixes: https://github.com/nodejs/node/issues/26293 Reviewed-By: Richard Lau Reviewed-By: David Carlier Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Matteo Collina --- doc/api/cli.md | 24 ++++------ doc/api/report.md | 11 ++--- doc/node.1 | 22 ++++----- lib/internal/bootstrap/pre_execution.js | 9 ---- src/node_options.cc | 46 +------------------ src/node_options.h | 3 +- test/addons/worker-addon/test.js | 1 - test/parallel/test-bootstrap-modules.js | 2 + ...rocess-env-allowed-flags-are-documented.js | 1 + test/report/test-report-config.js | 6 +-- test/report/test-report-fatal-error.js | 3 +- test/report/test-report-getreport.js | 7 +-- test/report/test-report-signal.js | 5 +- test/report/test-report-uncaught-exception.js | 5 +- test/report/test-report-uv-handles.js | 8 +--- test/report/test-report-worker.js | 1 - test/report/test-report-writereport.js | 15 ++---- 17 files changed, 35 insertions(+), 134 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 207723dabc4d34..0f1e24222dc666 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -199,13 +199,6 @@ added: v10.0.0 Enable experimental top-level `await` keyword support in REPL. -### `--experimental-report` - - -Enable experimental diagnostic report feature. - ### `--experimental-specifier-resolution=mode` Enables report to be generated upon receiving the specified (or predefined) -signal to the running Node.js process, if `--experimental-report` is enabled. -The signal to trigger the report is specified through `--report-signal`. +signal to the running Node.js process. The signal to trigger the report is +specified through `--report-signal`. ### `--report-signal=signal` -Enables report to be generated on un-caught exceptions, if -`--experimental-report` is enabled. Useful when inspecting JavaScript stack in -conjunction with native stack and other runtime environment data. +Enables report to be generated on uncaught exceptions. Useful when inspecting +the JavaScript stack in conjunction with native stack and other runtime +environment data. ### `--throw-deprecation`