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

Issue 11312185: Function::GetScriptOrigin should supply sourceURL when script name is not available. (Closed)

Created:
8 years, 1 month ago by Jakob Kummerow
Modified:
8 years, 1 month ago
Reviewers:
Yang
CC:
v8-dev, eustas
Visibility:
Public.

Description

Function::GetScriptOrigin should supply sourceURL when script name is not available. GetScriptOrigin is used for DevTools instrumentation. If inspected call-site is inside "eval" then returned script name is "undefined". To fix this problem we can use the "nameOrSourceURL" method of script-wrapper. This is a re-upload of https://codereview.appspot.com/6811090/ for the purpose of landing. BUG=159413 Committed: https://code.google.com/p/v8/source/detail?r=12929

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -15 lines) Patch
M src/api.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/handles.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/handles.cc View 1 chunk +19 lines, -0 lines 0 comments Download
M src/isolate.cc View 2 chunks +1 line, -14 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Jakob Kummerow
Can I get a quick rubber-stamp to appease the OWNERS check?
8 years, 1 month ago (2012-11-12 12:33:19 UTC) #1
Yang
8 years, 1 month ago (2012-11-12 12:34:01 UTC) #2
On 2012/11/12 12:33:19, Jakob wrote:
> Can I get a quick rubber-stamp to appease the OWNERS check?

LGTM

Powered by Google App Engine
This is Rietveld 408576698