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