Re: Implement jsdICompilationUnit
Boris Zbarsky <[email protected]> Tue, 08 Dec 2009 21:37:34 -0800
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
On 12/8/09 6:05 PM, John J Barton wrote: > So for these cases the text is compiled but no script is executed as far > as I can see. Yes... > So I could bracket these calls with beginCompile/endCompile and you'd be ok right? I'm not sure what you mean here. > The problem case call JS_EvaluateUCScriptForPrincipals(), because the > endCompile would need to be in that method because the outerScript is > called before the method returns. So if there are cases where your > compile call site passes through this guy its an issue. Sure there are. <script> elements, say. -Boris