summaryrefslogtreecommitdiff
path: root/test/common/index.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2018-12-06 00:17:44 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2018-12-13 15:16:52 +0100
commitc992639fbdc61fa78dc407ac09f633b102c55925 (patch)
treeaf37d2441e5d907b8dbb7e2680be199cb520dff8 /test/common/index.js
parenta3801e96835821b71dd97b3f8513c56814bcf8fa (diff)
downloadandroid-node-v8-c992639fbdc61fa78dc407ac09f633b102c55925.tar.gz
android-node-v8-c992639fbdc61fa78dc407ac09f633b102c55925.tar.bz2
android-node-v8-c992639fbdc61fa78dc407ac09f633b102c55925.zip
bootstrap: make Buffer and process non-enumerable
This makes sure these two properties are non-enumerable. This aligns them with all other globals that are not enumerable by spec. Refs: https://github.com/nodejs/node/issues/20565 PR-URL: https://github.com/nodejs/node/pull/24874 Refs: https://github.com/nodejs/node/issues/20565 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'test/common/index.js')
-rw-r--r--test/common/index.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/common/index.js b/test/common/index.js
index 3d7a0187ee..cd0696c677 100644
--- a/test/common/index.js
+++ b/test/common/index.js
@@ -217,12 +217,10 @@ function platformTimeout(ms) {
}
let knownGlobals = [
- Buffer,
clearImmediate,
clearInterval,
clearTimeout,
global,
- process,
setImmediate,
setInterval,
setTimeout