« Bugzilla Issues Index
#3060 — 24.1.4.3 ArrayBuffer.prototype.slice: Check new ArrayBuffer is not neutered
- bug_id:
3060
- creation_ts:
2014-07-24 12:29:00 -0700
- short_desc:
24.1.4.3 ArrayBuffer.prototype.slice: Check new ArrayBuffer is not neutered
- delta_ts:
2014-08-25 08:29:20 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 26: July 18, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
9535
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-07-24 12:29:39 -0700
24.1.4.3 ArrayBuffer.prototype.slice ( start , end )
Add a check that `new` is not a neutered array buffer.
Test case:
---
let buf = new ArrayBuffer(0);
buf.constructor = function Constructor(len) {
let _new = new ArrayBuffer(len);
// Internal API call to neuter array buffer
neuterArrayBuffer(_new);
return _new;
};
buf.slice(0);
---
- commentid:
9541
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-07-24 15:16:39 -0700
fixed in rev27 editor's draft
- commentid:
9874
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-08-25 08:29:20 -0700
fixed in rev27 draft