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

Issue 2089533002: add use counters for __defineGetter__ failing (Closed)

Created:
4 years, 6 months ago by bakkot
Modified:
4 years, 5 months ago
CC:
Paweł Hajdan Jr., 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

add use counters for __defineGetter__ failing We deviate from spec in that, in our implementation, __defineGetter__ on non- configurable properties returns false instead of throwing a TypeError. This commit adds a use counter to track how often we would be throwing an error we currently avoid, to determine if we can change to align with spec or if the spec is not implementable. BUG=v8:5070 Committed: https://crrev.com/b2ce1fa20cd741bc4a63f888ea55291b0a5be620 Cr-Commit-Position: refs/heads/master@{#37259}

Patch Set 1 #

Total comments: 4

Patch Set 2 : use appropriate copyright notice #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -0 lines) Patch
M include/v8.h View 1 chunk +1 line, -0 lines 1 comment Download
M src/builtins.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M test/cctest/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/cctest.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/test-usecounters.cc View 1 1 chunk +73 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
bakkot
4 years, 6 months ago (2016-06-20 23:59:30 UTC) #6
Dan Ehrenberg
https://codereview.chromium.org/2089533002/diff/1/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/2089533002/diff/1/src/builtins.cc#newcode1711 src/builtins.cc:1711: if (!success.FromJust()) { This will crash if there is ...
4 years, 6 months ago (2016-06-21 00:04:49 UTC) #7
bakkot
https://codereview.chromium.org/2089533002/diff/1/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/2089533002/diff/1/src/builtins.cc#newcode1711 src/builtins.cc:1711: if (!success.FromJust()) { On 2016/06/21 00:04:49, Dan Ehrenberg wrote: ...
4 years, 6 months ago (2016-06-21 00:48:34 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2089533002/20001
4 years, 6 months ago (2016-06-24 20:24:19 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-24 20:55:35 UTC) #13
Dan Ehrenberg
lgtm
4 years, 6 months ago (2016-06-24 21:46:43 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2089533002/20001
4 years, 6 months ago (2016-06-24 22:01:22 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-24 22:04:05 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b2ce1fa20cd741bc4a63f888ea55291b0a5be620 Cr-Commit-Position: refs/heads/master@{#37259}
4 years, 6 months ago (2016-06-24 22:05:19 UTC) #19
jochen (gone - plz use gerrit)
4 years, 5 months ago (2016-07-19 12:35:24 UTC) #21
Message was sent while issue was closed.
https://codereview.chromium.org/2089533002/diff/20001/include/v8.h
File include/v8.h (right):

https://codereview.chromium.org/2089533002/diff/20001/include/v8.h#newcode5697
include/v8.h:5697: // If you add new values here, you'll also need to update
Chromium's:
I want to draw your attention to this comment ^^^

Powered by Google App Engine
This is Rietveld 408576698