Add helpers for converting ArrayBuffer or BufferSource to nsTArray

NEW
Unassigned

Status

()

Core
DOM
2 years ago
2 years ago

People

(Reporter: kitcambridge, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: btpp-backlog)

Bug 1247685 added some helpers for converting ArrayBuffer and BufferSource (OwningArrayBufferViewOrArrayBuffer) to nsTArray.

It would be nice to move these helpers into the WebIDL code generator, so that any union containing a buffer or view could be copied into an nsTArray.
Whiteboard: btpp-backlog
You need to log in before you can comment on or make changes to this bug.