« Bugzilla Issues Index
#1545 — 15.19.4.3.1: Throw TypeError if [[GeneratorState]] is not undefined
- bug_id:
1545
- creation_ts:
2013-05-31 05:59:00 -0700
- short_desc:
15.19.4.3.1: Throw TypeError if [[GeneratorState]] is not undefined
- delta_ts:
2013-07-15 17:03:56 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 15: May 14, 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:
4125
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-05-31 05:59:08 -0700
15.19.4.3.1 GeneratorStart currently allows restarting an already started generator object, add an additional step to make this an error.
- commentid:
4251
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-06-18 12:22:36 -0700
GeneratorStart is only called by the specification when the generator's [[GeneratorState]] is undefined (meaning never started).
I added an assert to GeneratorStart to clarify that.
- commentid:
4255
- comment_count:
2
- who:
André Bargull
- bug_when:
2013-06-18 13:10:02 -0700
I assume "Runtime Semantics EvaluateBody" for "GeneratorBody : FunctionBody" was changed to test that [[GeneratorState]] is undefined, similar to step 3 of "Runtime Semantics EvaluateBody" for "GeneratorBody : Comprehension".
- commentid:
4260
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2013-06-18 17:06:47 -0700
That test should also be unnecessary. But also see Bug 1489 as things are likely to change.
- commentid:
4273
- comment_count:
4
- who:
Allen Wirfs-Brock
- bug_when:
2013-06-21 13:35:58 -0700
fixed in rev 16 editor's draft
- commentid:
4461
- comment_count:
5
- who:
Allen Wirfs-Brock
- bug_when:
2013-07-15 17:03:56 -0700
fixed in rev16 draft. July 15, 2013