DescriptionThrowTypeError should not be constructable, so shouldn't have a prototype.
In addition to ThrowTypeError not being a constructor, it was invalidly set up by simply swapping the map. Swapping the map is insufficient since NewFunction* actually set up the function depending on the used map.
BUG=chromium:573858
LOG=n
Committed: https://crrev.com/09c41d9bfddb89539c81df01b22bfd4389955519
Cr-Commit-Position: refs/heads/master@{#33082}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|