DescriptionCorrect property descriptors on GeneratorPrototype
The ES6 specification does not explicitly state the attributes for the
'next' and 'throw' property descriptors, so their values are defined by
Section 17 [1]:
> Every other data property described in clauses 18 through 26 and in
> Annex B.2 has the attributes
> { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true }
> unless otherwise specified.
[1]
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-standard-built-in-objects
BUG=v8:3986
LOG=N
R=wingo,arv
Committed: https://crrev.com/0a4881600d0a7162038f54969ba521c58f4e6e4d
Cr-Commit-Position: refs/heads/master@{#27770}
Patch Set 1 #
Messages
Total messages: 14 (5 generated)
|