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

Issue 2651713005: [foozzie] Mock out stack traces (Closed)

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

Description

[foozzie] Mock out stack traces BUG=chromium:683494 NOTRY=true TBR=yangguo@chromium.org, jarin@chromium.org Review-Url: https://codereview.chromium.org/2651713005 Cr-Commit-Position: refs/heads/master@{#42619} Committed: https://chromium.googlesource.com/v8/v8/+/09163d71bd3e1074dfa8ed439c789b67ee797133

Patch Set 1 #

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

Messages

Total messages: 13 (5 generated)
Michael Achenbach
PTAL
3 years, 11 months ago (2017-01-24 08:12:47 UTC) #3
Yang
lgtm
3 years, 11 months ago (2017-01-24 08:15:26 UTC) #4
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/2651713005/1
3 years, 11 months ago (2017-01-24 08:16:26 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/v8/v8/+/09163d71bd3e1074dfa8ed439c789b67ee797133
3 years, 11 months ago (2017-01-24 08:18:11 UTC) #9
Yang
not sure if you want to make it not writable so that it cannot be ...
3 years, 11 months ago (2017-01-24 08:23:59 UTC) #10
Michael Achenbach
On 2017/01/24 08:23:59, Yang wrote: > not sure if you want to make it not ...
3 years, 11 months ago (2017-01-24 08:48:17 UTC) #11
Michael Achenbach
On 2017/01/24 08:48:17, Michael Achenbach wrote: > On 2017/01/24 08:23:59, Yang wrote: > > not ...
3 years, 11 months ago (2017-01-24 08:49:29 UTC) #12
Yang
3 years, 11 months ago (2017-01-24 08:50:53 UTC) #13
Message was sent while issue was closed.
On 2017/01/24 08:49:29, Michael Achenbach wrote:
> On 2017/01/24 08:48:17, Michael Achenbach wrote:
> > On 2017/01/24 08:23:59, Yang wrote:
> > > not sure if you want to make it not writable so that it cannot be
> overwritten.
> > 
> > Would that be Object.freeze(Error) ? Or is there a way to only make the
> > prepareStackTrace property immutable?
> 
> On the other hand, with the line I added, the internal prepareStackTrace is
gone
> right? If a test case overwrites it with yet another thing, it should be
> deterministic between our compilers, or not?

Not sure. These tests do something with the frame objects. These again might be
platform dependent.

Let's just wait and see if that becomes an issue.

Powered by Google App Engine
This is Rietveld 408576698