« Bugzilla Issues Index
#1652 — 15.2.3.4: Update algorithm to use IteratorNext
- bug_id:
1652
- creation_ts:
2013-07-31 02:37:00 -0700
- short_desc:
15.2.3.4: Update algorithm to use IteratorNext
- delta_ts:
2013-08-23 08:23:43 -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:
enhancement
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
4626
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-07-31 02:37:35 -0700
Replace steps 7a-7c of 15.2.3.4 "Object.getOwnPropertyNames(O)" with a single call to IteratorNext() from 15.19.4.3.6 and an additional ReturnIfAbrupt() to ensure uniform access on iterators.
From:
> a. Let next be the result of Invoke(keys, "next").
> b. ReturnIfAbrupt(next).
> c. If Type(next) is not Object, then throw a TypeError exception.
To:
> a. Let next be the result of IteratorNext(keys).
> b. ReturnIfAbrupt(next).
- commentid:
4968
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-18 13:06:55 -0700
fixed in rev17 editor's draft
- commentid:
5198
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-23 08:23:43 -0700
fixed in rev17, August 23, 2013 draft