Closed Bug 747827 Opened 13 years ago Closed 13 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+
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla15
Status: NEW → RESOLVED
Closed: 13 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: