Skip to content

Commit 1e8921b

Browse files
authored
feat(browser): Add BroadcastChannel and SharedWorker to TryCatch EventTargets (#8943)
1 parent 531ed59 commit 1e8921b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/browser/src/integrations/trycatch.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const DEFAULT_EVENT_TARGET = [
99
'Node',
1010
'ApplicationCache',
1111
'AudioTrackList',
12+
'BroadcastChannel',
1213
'ChannelMergerNode',
1314
'CryptoOperation',
1415
'EventSource',
@@ -24,6 +25,7 @@ const DEFAULT_EVENT_TARGET = [
2425
'Notification',
2526
'SVGElementInstance',
2627
'Screen',
28+
'SharedWorker',
2729
'TextTrack',
2830
'TextTrackCue',
2931
'TextTrackList',

0 commit comments

Comments
 (0)