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

Issue 3602013: StackTrace should provide access to //@ sourceURL=... value (Closed)

Created:
10 years, 2 months ago by yurys
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

StackTrace should provide access to //@ sourceURL=... value Committed: http://code.google.com/p/v8/source/detail?r=5586

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -1 line) Patch
M include/v8.h View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M src/api.cc View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M src/top.cc View 1 2 3 1 chunk +19 lines, -0 lines 2 comments Download
M test/cctest/test-api.cc View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
yurys
10 years, 2 months ago (2010-10-05 07:39:56 UTC) #1
mnaganov (inactive)
LGTM http://codereview.chromium.org/3602013/diff/5001/6004 File test/cctest/test-api.cc (right): http://codereview.chromium.org/3602013/diff/5001/6004#newcode10576 test/cctest/test-api.cc:10576: v8::Handle<v8::String> origin = v8::String::New("capture-stack-trace-test"); nit: This also could ...
10 years, 2 months ago (2010-10-05 08:00:58 UTC) #2
yurys
http://codereview.chromium.org/3602013/diff/5001/6004 File test/cctest/test-api.cc (right): http://codereview.chromium.org/3602013/diff/5001/6004#newcode10576 test/cctest/test-api.cc:10576: v8::Handle<v8::String> origin = v8::String::New("capture-stack-trace-test"); On 2010/10/05 08:00:58, Michail Naganov ...
10 years, 2 months ago (2010-10-05 08:31:30 UTC) #3
Mads Ager (chromium)
LGTM http://codereview.chromium.org/3602013/diff/13001/14001 File include/v8.h (right): http://codereview.chromium.org/3602013/diff/13001/14001#newcode825 include/v8.h:825: * is undefined and it source ends with ...
10 years, 2 months ago (2010-10-05 08:37:19 UTC) #4
yurys
http://codereview.chromium.org/3602013/diff/13001/14001 File include/v8.h (right): http://codereview.chromium.org/3602013/diff/13001/14001#newcode825 include/v8.h:825: * is undefined and it source ends with //@ ...
10 years, 2 months ago (2010-10-05 08:41:17 UTC) #5
Vitaly Repeshko
LGTM http://codereview.chromium.org/3602013/diff/21001/22003 File src/top.cc (right): http://codereview.chromium.org/3602013/diff/21001/22003#newcode390 src/top.cc:390: Handle<String> method_name = To be consistent with existing ...
10 years, 2 months ago (2010-10-05 10:21:43 UTC) #6
yurys
10 years, 2 months ago (2010-10-05 12:35:26 UTC) #7
The patch is already landed. I'll address these in a separate change.

On 2010/10/05 10:21:43, Vitaly wrote:
> LGTM
> 
> http://codereview.chromium.org/3602013/diff/21001/22003
> File src/top.cc (right):
> 
> http://codereview.chromium.org/3602013/diff/21001/22003#newcode390
> src/top.cc:390: Handle<String> method_name =
> To be consistent with existing column_key, line_key, etc. you might want to
> extract the symbol lookup out of the loop.
> 
> http://codereview.chromium.org/3602013/diff/21001/22003#newcode392
> src/top.cc:392: Handle<JSValue> script_wrapper =
> GetScriptWrapper(Handle<Script>(script));
> Hmm, the script handle should have been created much earlier. Most other
locals
> are handles, so we risk using an old raw pointer here.

Powered by Google App Engine
This is Rietveld 408576698