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

Issue 2658223002: [foozzie] Make Error immutable to prevent changes to stack-trace api (Closed)

Created:
3 years, 10 months ago by Michael Achenbach
Modified:
3 years, 10 months ago
Reviewers:
Jarin, Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[foozzie] Make Error immutable to prevent changes to stack-trace api BUG=chromium:685633 NOTRY=true TBR=yangguo@chromium.org, jarin@chromium.org Review-Url: https://codereview.chromium.org/2658223002 Cr-Commit-Position: refs/heads/master@{#42726} Committed: https://chromium.googlesource.com/v8/v8/+/9be4934d6f5a36135623472f4d72fae370452708

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M tools/foozzie/v8_mock.js View 1 chunk +1 line, -0 lines 1 comment Download

Messages

Total messages: 10 (5 generated)
Michael Achenbach
TBR. Was just a matter of time. The linked bug is a test case that ...
3 years, 10 months ago (2017-01-27 08:33:24 UTC) #3
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/2658223002/1
3 years, 10 months ago (2017-01-27 08:33:55 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/v8/v8/+/9be4934d6f5a36135623472f4d72fae370452708
3 years, 10 months ago (2017-01-27 08:35:41 UTC) #8
Yang
https://codereview.chromium.org/2658223002/diff/1/tools/foozzie/v8_mock.js File tools/foozzie/v8_mock.js (right): https://codereview.chromium.org/2658223002/diff/1/tools/foozzie/v8_mock.js#newcode58 tools/foozzie/v8_mock.js:58: Object.freeze(Error) I think using Object.defineProperty to make prepareStackTrace non-writable ...
3 years, 10 months ago (2017-01-27 08:35:48 UTC) #9
Michael Achenbach
3 years, 10 months ago (2017-01-27 08:41:59 UTC) #10
Message was sent while issue was closed.
On 2017/01/27 08:35:48, Yang wrote:
> https://codereview.chromium.org/2658223002/diff/1/tools/foozzie/v8_mock.js
> File tools/foozzie/v8_mock.js (right):
> 
>
https://codereview.chromium.org/2658223002/diff/1/tools/foozzie/v8_mock.js#ne...
> tools/foozzie/v8_mock.js:58: Object.freeze(Error)
> I think using Object.defineProperty to make prepareStackTrace non-writable and
> non-configurable should suffice.

Follow up fix: https://codereview.chromium.org/2654273004/

Powered by Google App Engine
This is Rietveld 408576698