DescriptionRe-implement %Generator% intrinsic as an object
From ES6 25.2.3 ("Properties of the GeneratorFunction Prototype
Object"):
> The GeneratorFunction prototype object is an ordinary object. It is
> not a function object and does not have an [[ECMAScriptCode]] internal
> slot or any other of the internal slots listed in Table 27 or Table
> 56.
Introduce one assertion for the value's type and additional tests for its
properties. Remove an invalid assertion that fails as a result of this
fix.
BUG=v8:3991
LOG=N
Committed: https://crrev.com/3b624a179682a6b8351eea8cba28cf21e2afcdcd
Cr-Commit-Position: refs/heads/master@{#27603}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Correct code style inconsistencies #
Total comments: 1
Patch Set 3 : Add tool-assisted code formatting corrections #Patch Set 4 : Fix failing test #
Total comments: 3
Patch Set 5 : Add TODO contact and bug URL #
Messages
Total messages: 24 (5 generated)
|