Skip to content

Commit

Permalink
update transferable objects list instructuredClone implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Oct 17, 2024
1 parent ccfa728 commit fa5b026
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core-js/modules/web.structured-clone.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,13 @@ var tryToTransfer = function (rawTransfer, map) {
break;
case 'MediaSourceHandle':
case 'MessagePort':
case 'MIDIAccess':
case 'OffscreenCanvas':
case 'ReadableStream':
case 'RTCDataChannel':
case 'TransformStream':
case 'WebTransportReceiveStream':
case 'WebTransportSendStream':
case 'WritableStream':
throwUnpolyfillable(type, TRANSFERRING);
}
Expand Down

0 comments on commit fa5b026

Please sign in to comment.