Skip to content

Commit

Permalink
fix(sb_core): expose web MessageChannel API (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyannyacha authored Nov 1, 2024
1 parent fc80ebb commit ec9b270
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/sb_core/js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ const globalScope = {
performance: writable(performance.performance),

// messagePort
MessageChannel: nonEnumerable(messagePort.MessageChannel),
structuredClone: writable(messagePort.structuredClone),

// Branding as a WebIDL object
Expand Down

0 comments on commit ec9b270

Please sign in to comment.