lib: fix BroadcastChannel initialization location

PR-URL: https://github.com/nodejs/node/pull/46864
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
Shelley Vohr
2023-03-01 13:25:20 +01:00
committed by GitHub
parent 4a7c3e9c50
commit da0bc6db98
2 changed files with 1 additions and 6 deletions

View File

@@ -72,7 +72,6 @@ const {
defineOperation,
deprecate,
defineLazyProperties,
exposeLazyInterfaces,
} = require('internal/util');
const {
validateInteger,
@@ -226,11 +225,6 @@ defineLazyProperties(
['structuredClone'],
);
exposeLazyInterfaces(
globalThis,
'internal/worker/io',
['BroadcastChannel'],
);
// Set the per-Environment callback that will be called
// when the TrackingTraceStateObserver updates trace state.
// Note that when NODE_USE_V8_PLATFORM is true, the observer is