archives

« Bugzilla Issues Index

#3268 — 16.1 Forbidden Extensions: Don't require strict mode for functions created using the Generator constructor


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.


fixed in rev28 editor's draft


fixed in rev28