Closed Bug 1607406 Opened 4 years ago Closed 4 years ago

Add TypedArray::Create(Span<T>)

Categories

(Core :: DOM: Bindings (WebIDL), enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → emilio
Type: defect → enhancement
Depends on: 1607083

The bounds check becomes needed now, though it should hopefully be optimized
away too as all the involved calls that you need to know about to determine that
it can't happen are inline.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c177a0dfacea
Add TypedArray::Create(Span<T>) and remove an ugly cast in TextEncoder. r=bzbarsky
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: