« Bugzilla Issues Index
#1932 — 22.2.1.4: Remove step 15
- bug_id:
1932
- creation_ts:
2013-09-27 06:39:00 -0700
- short_desc:
22.2.1.4: Remove step 15
- delta_ts:
2014-07-24 09:03:21 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 18: September 5, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- blocked:
2493
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- cc:
andrebargull
- commentid:
5458
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-09-27 06:39:59 -0700
22.2.1.4 %TypedArray% ( buffer, byteOffset=0, length=undefined )
Step 15:
If offset + elementSize ≥ bufferByteLength, then throw a RangeError exception.
This step needs to be removed, otherwise zero length Typed Arrays cannot be created. Instead add a new step after 16.b to test newByteLength is >= 0.
test case:
new Int8Array(new ArrayBuffer(0), 0, 0)
- commentid:
5493
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-09-27 12:19:04 -0700
fixed in rev19 editor's draft
- commentid:
5572
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-09-27 14:47:45 -0700
fixed in rev19