summaryrefslogtreecommitdiff
path: root/test/known_issues
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-01-30 23:19:45 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2019-02-02 05:41:45 +0800
commitc2359bdad62b83d40976d91e91097684c23a7ae3 (patch)
treeede78a4d84d9f2c3d661fed39c3a4cf4294d8104 /test/known_issues
parent39d922123c02aecc2e289a08e3bdb9515a7b193a (diff)
downloadandroid-node-v8-c2359bdad62b83d40976d91e91097684c23a7ae3.tar.gz
android-node-v8-c2359bdad62b83d40976d91e91097684c23a7ae3.tar.bz2
android-node-v8-c2359bdad62b83d40976d91e91097684c23a7ae3.zip
process: expose process.features.inspector
Instead of using process.config.variables.v8_enable_inspector to detect whether inspector is enabled in the build. PR-URL: https://github.com/nodejs/node/pull/25819 Refs: https://github.com/nodejs/node/issues/25343 Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'test/known_issues')
-rw-r--r--test/known_issues/test-inspector-cluster-port-clash.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/known_issues/test-inspector-cluster-port-clash.js b/test/known_issues/test-inspector-cluster-port-clash.js
index 0333ffcb98..bc04e9907b 100644
--- a/test/known_issues/test-inspector-cluster-port-clash.js
+++ b/test/known_issues/test-inspector-cluster-port-clash.js
@@ -13,7 +13,7 @@ const assert = require('assert');
// This following check should be replaced by common.skipIfInspectorDisabled()
// if moved out of the known_issues directory.
-if (process.config.variables.v8_enable_inspector === 0) {
+if (!process.features.inspector) {
// When the V8 inspector is disabled, using either --without-inspector or
// --without-ssl, this test will not fail which it is expected to do.
// The following fail will allow this test to be skipped by failing it.