Re: Implement jsdICompilationUnit
Boris Zbarsky <[email protected]> Wed, 02 Dec 2009 20:09:54 -0500
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
On 12/2/09 5:25 PM, John J Barton wrote: > To the best of my knowledge the Firebug code that runs in > onScriptCreated would never call jsd.enterNestedEventLoop(). Firebug > "could" call it, just like it "could" write "Happy Holidays" a billion > times on your hard drive. Hopefully you'll to trust us not to do either > one. I don't trust people to not accidentally call something that calls something that spins an event loop, nested or otherwise. This is based on historical precedent where people do this by accident over and over. > And anyway, jsdICompilationHook just does not have this problem. It runs > after the compiles are completed, by design. The point is that the compile callsite is the place that can't deal with having the event loop spin.... -Boris