« Bugzilla Issues Index
#2828 — Unnecessary call to ToObject in CreateArrayIterator
- bug_id:
2828
- creation_ts:
2014-05-07 08:04:00 -0700
- short_desc:
Unnecessary call to ToObject in CreateArrayIterator
- delta_ts:
2015-07-10 08:34:23 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 24: April 27, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Erik Arvidsson
- assigned_to:
Allen Wirfs-Brock
- cc:
["andrebargull", "erik.arvidsson"]
- commentid:
8203
- comment_count:
0
- who:
Erik Arvidsson
- bug_when:
2014-05-07 08:04:47 -0700
22.1.5.1 CreateArrayIterator Abstract Operation
All callers to CreateArrayIterator already call ToObject so the extra ToObject is not needed.
- commentid:
8217
- comment_count:
1
- who:
André Bargull
- bug_when:
2014-05-08 04:27:21 -0700
There is a similar issue in 21.1.5.1 CreateStringIterator. The first two steps can be changed to `Assert: Type(string) is String.`.
- commentid:
9206
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-07-15 11:14:08 -0700
fixed in rev26 editor's draft
- commentid:
9353
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2014-07-19 17:53:09 -0700
fixed in rev26