ES6: Error functions should extend Error
authorarv <arv@chromium.org>
Wed, 1 Apr 2015 17:29:48 +0000 (10:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Apr 2015 17:29:59 +0000 (17:29 +0000)
commit18cb17c924e699d3560fbd854562c7f00357e0f1
tree6c9f58f40a81118c9c19380f66b0e5d014baa6be
parent5a93a3304cf3e32f7f49459ddb667bb2b8a4ae56
ES6: Error functions should extend Error

The /NativeError/ functions should have Error as their [[Prototype]].

http://people.mozilla.org/~jorendorff/es6-draft.html#sec-properties-of-the-nativeerror-constructors

BUG=v8:3998
LOG=N
R=adamk, dslomov@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1049323003

Cr-Commit-Position: refs/heads/master@{#27572}
src/messages.js
test/mjsunit/get-prototype-of.js
test/test262-es6/test262-es6.status
test/test262/test262.status