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

Issue 1527583002: [proxies] Improve error messages. (Closed)

Created:
5 years ago by neis
Modified:
5 years ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[proxies] Improve error messages. This CL makes proxy-related error messages more accurate and verbose. (Exception: those used in deprecated functions in v8natives.js.) Some of the old error messages were simply wrong. On the side, fix ShouldThrow semantics of JSProxy::SetPrototype and JSProxy::DefineOwnProperty. R=cbruni@chromium.org, jkummerow@chromium.org BUG=v8:1543 LOG=n Committed: https://crrev.com/e960636571729b530cc24d56ccc27d09193df9d7 Cr-Commit-Position: refs/heads/master@{#32836}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 1

Patch Set 3 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -125 lines) Patch
M src/builtins.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M src/js/proxy.js View 2 chunks +2 lines, -4 lines 0 comments Download
M src/js/v8natives.js View 4 chunks +5 lines, -7 lines 0 comments Download
M src/messages.h View 1 chunk +82 lines, -38 lines 0 comments Download
M src/objects.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 24 chunks +87 lines, -61 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 chunk +3 lines, -8 lines 0 comments Download
M src/runtime/runtime-proxy.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
neis
5 years ago (2015-12-14 12:51:07 UTC) #1
Jakob Kummerow
LGTM with comment https://codereview.chromium.org/1527583002/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1527583002/diff/20001/src/objects.cc#newcode6844 src/objects.cc:6844: NewTypeError(MessageTemplate::kProxyTrapReturnedFalsish, ...For
5 years ago (2015-12-14 13:19:33 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1527583002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1527583002/40001
5 years ago (2015-12-14 13:25:16 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-14 13:44:58 UTC) #8
commit-bot: I haz the power
5 years ago (2015-12-14 13:45:09 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e960636571729b530cc24d56ccc27d09193df9d7
Cr-Commit-Position: refs/heads/master@{#32836}

Powered by Google App Engine
This is Rietveld 408576698