Re: Cross-process JS wrappers

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Benjamin Smedberg wrote:
> Determining when a
> particular script has run to "completion" is oddly complicated given the way
> we can walk through binary<->JS for a script.

nsJSContext::ScriptEvaluated tells you when the script is done. 
Combined with a new function indicating when it starts, we might have 
something good enough for this...

The hard part is what happens if the script spins the event loop.  ;)

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.