Closed Bug 896105 Opened 7 years ago Closed 7 years ago

Implement ES6 ArrayBuffer.isView

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: bbenvie, Assigned: till)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete, Whiteboard: [DocArea=JS])

Attachments

(1 file)

From ES6 spec (July 2013 revision) section 15.13.5.3.2 is `ArrayBuffer.isView` which is a static function that returns boolean indicating whether the passed argument is an ArrayBufferView (in spec terms "has a [[ViewedArrayBuffer]] internal property").
The method itself is trivial, but there's some plumbing for installing it on the ctor.
Attachment #8350944 - Flags: review?(nmatsakis)
Assignee: general → till
Status: NEW → ASSIGNED
Attachment #8350944 - Flags: review?(nmatsakis) → review+
https://hg.mozilla.org/mozilla-central/rev/d20c762cc1b6
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Keywords: dev-doc-needed
Whiteboard: [DocArea=JS]
You need to log in before you can comment on or make changes to this bug.