Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit08f5eb4

Browse files
committed
lib: fix BroadcastChannel initialization location
PR-URL:nodejs/node#46864Reviewed-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>
1 parent9f44b0c commit08f5eb4

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

‎graal-nodejs/lib/internal/bootstrap/browser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ defineOperation(globalThis, 'setInterval', timers.setInterval);
4343
defineOperation(globalThis,'setTimeout',timers.setTimeout);
4444

4545
// Lazy ones.
46+
exposeLazyInterfaces(globalThis,'internal/worker/io',['BroadcastChannel']);
4647
exposeLazyInterfaces(globalThis,'internal/abort_controller',[
4748
'AbortController','AbortSignal',
4849
]);

‎graal-nodejs/lib/internal/bootstrap/node.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ const {
7171
defineOperation,
7272
deprecate,
7373
defineLazyProperties,
74-
exposeLazyInterfaces,
7574
}=require('internal/util');
7675
const{
7776
privateSymbols:{
@@ -253,11 +252,6 @@ defineLazyProperties(
253252
['structuredClone'],
254253
);
255254

256-
exposeLazyInterfaces(
257-
globalThis,
258-
'internal/worker/io',
259-
['BroadcastChannel'],
260-
);
261255
// Set the per-Environment callback that will be called
262256
// when the TrackingTraceStateObserver updates trace state.
263257
// Note that when NODE_USE_V8_PLATFORM is true, the observer is

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp