Closed Bug 747827 Opened 12 years ago Closed 12 years ago

Add a way to reflect typed arrays in the new DOM bindings

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

This is just the data structure so far; the codegen bits are still to come.
So we don't want/need to expose a way to get the data correctly typed based on the underlying array from ArrayBufferView?
Not yet; WebGL doesn't need it.

Given DataViews, it's not quite clear what "correctly typed" would even mean in general for ArrayBufferView.  Things that want to take some subset of ArrayBuferViews that happen to be actual typed arrays should be using overloads in the IDL, I would think.
And note that in extreme corner cases the callee does have the JSOject*.
Attachment #617387 - Flags: review?(peterv) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/41e810dd264f
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/41e810dd264f
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 749864
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: