From 385bc0936fc0d515e9e564c1d5b905c207b73330 Mon Sep 17 00:00:00 2001 From: Harshitha KP Date: Thu, 30 Jan 2020 02:24:43 -0500 Subject: [PATCH] src: remove `--experimental-worker` flag worker is stable in the master, the flag is no more required. --- src/node_options.cc | 1 - test/parallel/test-process-env-allowed-flags-are-documented.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/node_options.cc b/src/node_options.cc index 2f0d1a9ad7ed04..92d3483c439536 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -355,7 +355,6 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() { "experimental ES Module support in vm module", &EnvironmentOptions::experimental_vm_modules, kAllowedInEnvironment); - AddOption("--experimental-worker", "", NoOp{}, kAllowedInEnvironment); #ifdef NODE_REPORT AddOption("--experimental-report", "enable report generation", diff --git a/test/parallel/test-process-env-allowed-flags-are-documented.js b/test/parallel/test-process-env-allowed-flags-are-documented.js index f356f88fe9c740..9377f503e97ed5 100644 --- a/test/parallel/test-process-env-allowed-flags-are-documented.js +++ b/test/parallel/test-process-env-allowed-flags-are-documented.js @@ -86,7 +86,6 @@ const undocumented = difference(process.allowedNodeEnvironmentFlags, // Remove intentionally undocumented options. assert(undocumented.delete('--debug-arraybuffer-allocations')); assert(undocumented.delete('--es-module-specifier-resolution')); -assert(undocumented.delete('--experimental-worker')); assert(undocumented.delete('--no-node-snapshot')); assert(undocumented.delete('--loader'));