« Bugzilla Issues Index
#1675 — 15.13.6.3.7: full ArrayBuffer clone necessary or srcByteOffset needs to be adjusted
- bug_id:
1675
- creation_ts:
2013-07-31 06:22:00 -0700
- short_desc:
15.13.6.3.7: full ArrayBuffer clone necessary or srcByteOffset needs to be adjusted
- delta_ts:
2013-08-23 08:22:47 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 16: July 15, 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:
4650
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-07-31 06:22:21 -0700
15.13.6.3.7 "%TypedArray%.prototype.set(typedArray, offset = 0)", step 23.
If srcBuffer === targetBuffer, srcBuffer gets cloned through CloneArrayBuffer(), but only for a length of `srcLength`, which does not prevent the loop in step 27 to step on its toes. Either CloneArrayBuffer() needs to be instructed to make a full copy, that means from 0 to srcBuffer's [[ArrayBufferByteLength]], or make partial clone from srcByteOffset to srcLength and then set srcByteOffset to 0.
- commentid:
4984
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-19 18:14:54 -0700
fixed in rev17 editor's draft
- commentid:
5105
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-23 08:22:47 -0700
fixed in rev17, August 23, 2013 draft