« Bugzilla Issues Index
#2177 — 24.1.1.3 CloneArrayBuffer: Invalid assertion in step 7
- bug_id:
2177
- creation_ts:
2013-11-02 03:24:00 -0700
- short_desc:
24.1.1.3 CloneArrayBuffer: Invalid assertion in step 7
- delta_ts:
2013-11-08 13:09:08 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 20: October 28, 2013 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:
6378
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-11-02 03:24:24 -0700
24.1.1.3 CloneArrayBuffer(srcBuffer, srcByteOffset), step 7:
Change assertion from "srcByteOffset < srcLength" to "srcByteOffset <= srcLength" to handle the zero-length ArrayBuffer case.
test case which currently asserts:
---
new Int8Array(new Int8Array(new ArrayBuffer(0)))
---
- commentid:
6394
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-11-02 12:40:13 -0700
fixed in rev21 editor's draft
- commentid:
6550
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-11-08 13:09:08 -0800
fixed in rev21 draft