Description[es6] throw TypeError when setting cyclic prototype value
Object.setPrototypeOf() throws a TypeError if value would create a
cycle. Previously a plain Error was thrown rather than a TypeError.
BUG=v8:4197
R=mike@bocoup.com
LOG=N
Committed: https://crrev.com/1765866b0b378334180a307c8819b0420a702812
Cr-Commit-Position: refs/heads/master@{#29169}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add proto-accessor tests #
Total comments: 1
Patch Set 3 : spaces between operators and operands #Patch Set 4 : Fix webkit failure #
Messages
Total messages: 19 (7 generated)
|