« Bugzilla Issues Index
#3268 — 16.1 Forbidden Extensions: Don't require strict mode for functions created using the Generator constructor
- bug_id:
3268
- creation_ts:
2014-10-08 11:52:00 -0700
- short_desc:
16.1 Forbidden Extensions: Don't require strict mode for functions created using the Generator constructor
- delta_ts:
2014-10-14 15:17:40 -0700
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 27: August 24, 2014 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:
10292
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-10-08 11:52:58 -0700
16.1 Forbidden Extensions, first bullet point:
> Built-in functions, Strict mode functions created using the Function or
> Generator constructors and functions created using the bind and toMethod
> methods also must not created with such own properties.
This sentence reads as if only strict mode functions created using the Generator constructor must not create the "caller" and "arguments" properties, but strict mode shouldn't matter at all for generator functions.
The text should read instead:
> Built-in functions, Strict mode functions created using the Function
> constructor, functions created using the Generator constructor and
> functions created using the bind and toMethod methods also must not
> created with such own properties.
- commentid:
10301
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-08 16:24:02 -0700
fixed in rev28 editor's draft
- commentid:
10365
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-14 15:17:40 -0700
fixed in rev28