[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 Review URL: https://codereview.chromium.org/1198523002 Cr-Commit-Position: refs/heads/master@{#29169}
Showing
Please
register
or
sign in
to comment