Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Issue 1049323003: ES6: Error functions should extend Error (Closed)

Created:
5 years, 8 months ago by arv (Not doing code reviews)
Modified:
5 years, 8 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

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 Committed: https://crrev.com/18cb17c924e699d3560fbd854562c7f00357e0f1 Cr-Commit-Position: refs/heads/master@{#27572}

Patch Set 1 #

Patch Set 2 : Update .status files #

Total comments: 2

Patch Set 3 : Use InternalSetPrototype instead #

Patch Set 4 : Fix and cleanup test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -27 lines) Patch
M src/messages.js View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M test/mjsunit/get-prototype-of.js View 1 2 3 5 chunks +35 lines, -20 lines 0 comments Download
M test/test262-es6/test262-es6.status View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M test/test262/test262.status View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
arv (Not doing code reviews)
PTAL
5 years, 8 months ago (2015-03-31 22:37:46 UTC) #1
adamk
https://codereview.chromium.org/1049323003/diff/20001/src/messages.js File src/messages.js (right): https://codereview.chromium.org/1049323003/diff/20001/src/messages.js#newcode1167 src/messages.js:1167: %SetPrototype(f, $Error); Any reason not to use %InternalSetPrototype here?
5 years, 8 months ago (2015-03-31 22:45:12 UTC) #2
arv (Not doing code reviews)
Use InternalSetPrototype instead
5 years, 8 months ago (2015-03-31 22:48:14 UTC) #3
arv (Not doing code reviews)
PTAL https://codereview.chromium.org/1049323003/diff/20001/src/messages.js File src/messages.js (right): https://codereview.chromium.org/1049323003/diff/20001/src/messages.js#newcode1167 src/messages.js:1167: %SetPrototype(f, $Error); On 2015/03/31 22:45:12, adamk wrote: > ...
5 years, 8 months ago (2015-03-31 22:48:27 UTC) #4
adamk
lgtm No, you're not stupid :)
5 years, 8 months ago (2015-03-31 22:49:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1049323003/40001
5 years, 8 months ago (2015-03-31 23:17:34 UTC) #7
commit-bot: I haz the power
Failed to apply patch for test/test262-es6/test262-es6.status: While running git apply --index -3 -p1; error: patch ...
5 years, 8 months ago (2015-04-01 00:23:49 UTC) #9
arv (Not doing code reviews)
Fix and cleanup test
5 years, 8 months ago (2015-04-01 16:19:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1049323003/60001
5 years, 8 months ago (2015-04-01 16:20:40 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-01 17:29:53 UTC) #15
commit-bot: I haz the power
5 years, 8 months ago (2015-04-01 17:30:13 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/18cb17c924e699d3560fbd854562c7f00357e0f1
Cr-Commit-Position: refs/heads/master@{#27572}

Powered by Google App Engine
This is Rietveld 408576698