Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Display progress when script is executing...

0
0
Hello Ram,

Interception is the mechanism that allows JavaScript code running in V8 to invoke host methods and properties. The code that implements those methods and properties is free to examine the script environment, and we're evaluating a feature that would allow the host to be notified of all such invocations in one place.

However, this feature, if implemented, wouldn't notify the host of native script function calls or property access, so it probably wouldn't be sufficient for any meaningful determination of progress. Script code could spin forever within the script engine without the host knowing anything about it. Even if it were possible to hook all calls, buggy or malicious script code could still get stuck within a function.

Can you say more about how you'd use an interception or notification mechanism to measure progress?

Thanks!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images