aboutsummaryrefslogtreecommitdiff
path: root/lib/internal/bootstrap/node.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/bootstrap/node.js')
-rw-r--r--lib/internal/bootstrap/node.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js
index 0bd1a3f363..f8cddb3153 100644
--- a/lib/internal/bootstrap/node.js
+++ b/lib/internal/bootstrap/node.js
@@ -214,8 +214,6 @@ if (!config.noBrowserGlobals) {
defineOperation(global, 'setImmediate', timers.setImmediate);
}
-setupDOMException();
-
// process.allowedNodeEnvironmentFlags
Object.defineProperty(process, 'allowedNodeEnvironmentFlags', {
get() {
@@ -394,13 +392,6 @@ function createGlobalConsole(consoleFromVM) {
return consoleFromNode;
}
-function setupDOMException() {
- // Registers the constructor with C++.
- const DOMException = NativeModule.require('internal/domexception');
- const { registerDOMException } = internalBinding('messaging');
- registerDOMException(DOMException);
-}
-
// https://heycam.github.io/webidl/#es-namespaces
function exposeNamespace(target, name, namespaceObject) {
Object.defineProperty(target, name, {