mceSystems / node-jsc

A node.js port to the JavaScriptCore engine and iOS
Other
222 stars 16 forks source link

Add GetScriptNameOrSourceURL support #13

Closed Constellation closed 6 years ago

Constellation commented 6 years ago

We found that CallSite#getScriptNameOrSourceURL support is critical if we would like to run web-tooling-benchmark1 in the node shell. This patch adds CallSite#getScriptNameOrSourceURL and v8::StrackFrame::GetScriptNameOrSourceURL support. They just return source URL for now.

MCE-KobyBo commented 6 years ago

Nice! I've probably missed it since it is not listed in https://github.com/v8/v8/wiki/Stack-Trace-API. Does web-tooling-benchmark work now?

Constellation commented 6 years ago

Yes, it works now :)