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: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Enhancement | CC: | mass.shock57, playmobil |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
James Su
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |