Re: Implement jsdICompilationUnit

"John J. Barton" <[email protected]> Wed, 02 Dec 2009 10:02:30 -0800
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
Boris Zbarsky wrote:
> On 12/2/09 4:46 AM, Gijs Kruitbosch wrote:
>> I think at least Venkman works around these kinds of issues by making
>> JSD enter a nested event loop.
> 
> Yes, I'm aware.  The compile callsites I mentioned are places where 
> entering a nested event loop is a good way to crash exploitably.
> 
> -Boris

However that issue is orthogonal to the jsdICompilationHook proposal. 
Today I could hook onScriptCreated and call jsd.enterNestedEventLoop(). 
The new API does not make this better or worse.

jjb