Bug 24476

Summary: Add a new API to JavaScriptCore C++ API to get current sourceURL and lineno.
Product: WebKit Reporter: James Su <james.su>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Enhancement CC: mass.shock57, playmobil
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

James Su
Reported 2009-03-09 19:55:31 PDT
When executing a piece of javascript code from C++ side, it would useful to have a mechanism to get current sourceURL and lineno in C++ callback functions, for example when there is something wrong, an error message with current sourceURL and lineno can be printed out from C++ code to help debug.
Attachments
Note You need to log in before you can comment on or make changes to this bug.