Implement ES6 ArrayBuffer.isView

RESOLVED FIXED in mozilla29

Status

()

Core
JavaScript Engine
RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: benvie, Assigned: till)

Tracking

(Blocks: 1 bug, {dev-doc-complete})

Trunk
mozilla29
dev-doc-complete
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [DocArea=JS])

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
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").
(Assignee)

Comment 1

4 years ago
Created attachment 8350944 [details] [diff] [review]
Implement ES6 ArrayBuffer.isView

The method itself is trivial, but there's some plumbing for installing it on the ctor.
Attachment #8350944 - Flags: review?(nmatsakis)
(Assignee)

Updated

4 years ago
Assignee: general → till
Status: NEW → ASSIGNED
Attachment #8350944 - Flags: review?(nmatsakis) → review+
(Assignee)

Comment 2

3 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/d20c762cc1b6
https://hg.mozilla.org/mozilla-central/rev/d20c762cc1b6
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Keywords: dev-doc-needed
Whiteboard: [DocArea=JS]
https://developer.mozilla.org/en-US/Firefox/Releases/29#JavaScript
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView
Keywords: dev-doc-needed → dev-doc-complete
You need to log in before you can comment on or make changes to this bug.