summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGus Caplan <me@gus.host>2019-09-16 16:05:20 -0500
committerGus Caplan <me@gus.host>2019-09-18 16:09:20 -0500
commit1ec4154e507ba71d7aefca0a6e5c155be34e989a (patch)
treebbfbdcae6ecf134be8b21534f1d5c6795b5356a7 /lib
parent954bf56c1e9a4a1c195114f61d9b0fe39c80ca2e (diff)
downloadandroid-node-v8-1ec4154e507ba71d7aefca0a6e5c155be34e989a.tar.gz
android-node-v8-1ec4154e507ba71d7aefca0a6e5c155be34e989a.tar.bz2
android-node-v8-1ec4154e507ba71d7aefca0a6e5c155be34e989a.zip
src: re-delete Atomics.wake
PR-URL: https://github.com/nodejs/node/pull/29586 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/bootstrap/node.js2
-rw-r--r--lib/internal/per_context/setup.js15
2 files changed, 0 insertions, 17 deletions
diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js
index 86b2164bb0..18acd9d2b6 100644
--- a/lib/internal/bootstrap/node.js
+++ b/lib/internal/bootstrap/node.js
@@ -15,8 +15,6 @@
// many dependencies are invoked lazily.
//
// Scripts run before this file:
-// - `lib/internal/per_context/setup.js`: to setup the v8::Context with
-// Node.js-specific tweaks - this is also done in vm contexts.
// - `lib/internal/per_context/primordials.js`: to save copies of JavaScript
// builtins that won't be affected by user land monkey-patching for internal
// modules to use.
diff --git a/lib/internal/per_context/setup.js b/lib/internal/per_context/setup.js
deleted file mode 100644
index 16bd7db586..0000000000
--- a/lib/internal/per_context/setup.js
+++ /dev/null
@@ -1,15 +0,0 @@
-// This file is compiled as if it's wrapped in a function with arguments
-// passed by node::NewContext()
-/* global global */
-
-'use strict';
-
-// https://github.com/nodejs/node/issues/14909
-if (global.Intl) {
- delete global.Intl.v8BreakIterator;
-}
-
-// https://github.com/nodejs/node/issues/21219
-if (global.Atomics) {
- delete global.Atomics.wake;
-}