0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/per_context/setup.js
Gus Caplan 15c0947fee
lib: remove Atomics.wake
PR-URL: https://github.com/nodejs/node/pull/27033
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2019-04-03 16:55:59 -05:00

16 lines
349 B
JavaScript

// 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;
}