archives

« Bugzilla Issues Index

#2720 — 7.4.8 CreateListIterator: Use standard property definition operations


7.4.8 CreateListIterator (list), step 4.

> Define ListIterator next (7.4.8.1) as an own property of iterator.

- This step should probably use the standard [[DefineProperty]] or DefinePropertyOrThrow methods.
- It also should specify whether ListIterator next is a realm-wide shared function object (similar to %ThrowTypeError%), or if a new function object needs to be constructed.


fixed in rev26 editor's draft

each iterator gets a new function as its next method

also see Bug 2957


Fixed in Rev26