Factor out ArrayBuffer.prototype.transfer algorithm for use by other specs? (original) (raw)
This repository was archived by the owner on Jul 12, 2024. It is now read-only.
This repository was archived by the owner on Jul 12, 2024. It is now read-only.
Closed
Closed
Factor out ArrayBuffer.prototype.transfer algorithm for use by other specs?
#3
Description
opened
We have a couple of specs on the web platform that want to transfer ArrayBuffers:
- https://streams.spec.whatwg.org/#transfer-array-buffer
- https://webidl.spec.whatwg.org/#arraybuffer-transfer , although it does not appear to be used directly yet.
(whatwg/streams#1224 contains some discussion of having Streams defer to Web IDL.)
It was raised in whatwg/streams#1248 that probably when we transfer ArrayBuffers on the web platform, we should preserve their resizability. And apparently this spec has an algorithm which does that.
Could this spec factor that algorithm out into an abstract operation, which web platform specs could call?
Metadata
Metadata
Assignees
No one assigned
Labels
No labels
No labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests