Intent to Ship: ArrayBuffer.prototype.transfer and Friends

97 views
Skip to first unread message

Matthew Gaudet

unread,
Dec 7, 2023, 5:03:18 PM12/7/23
to dev-pl...@mozilla.org
Hi All,

I am sending this as I intend to turn on by default the ArrayBuffer.prototype.transfer method, and friends (the detached getter, transferToFixedLength). As a result, this code will ride the 122 train to release. The patches to enable this are on Bug 1865103, and I plan to land them either tomorrow or very early next week.

This TC39 proposal is at Stage 3 of the TC39 process

ArrayBuffer.prototype.transfer allows expressing ownership semantics for ArrayBuffers, and provides JavaScript API to functionality that previously existed as part of HTML serialization and transfer semantics.

Tests: Tested as part of test262, as well as our own implementation specific testing.
Other Browsers: Chrome shipped this as part of Chrome 114.

Thanks: Much gratitude to André Bargull who did all the heavy lifting for this proposal; I'm merely the switch-flipper-and-email-sender.

-- Matthew Gaudet
Reply all
Reply to author
Forward
0 new messages