Bug 24476 - Add a new API to JavaScriptCore C++ API to get current sourceURL and lineno.
Summary: Add a new API to JavaScriptCore C++ API to get current sourceURL and lineno.
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-09 19:55 PDT by James Su
Modified: 2021-11-20 17:11 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Su 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.