On Wed, Jul 29, 2009 at 14:55, Olivier Cornu<[email protected]> wrote: > As it seems a Sandbox is not a "supported" scope, i tried this > quick-&-dirty-hack(TM) in getFrameScopeWindowAncestor(): > > --- firebug-service.js~ 2009-07-29 13:25:51.913450368 +0200 > +++ firebug-service.js 2009-07-29 13:26:42.293449931 +0200 > @@ -2573,7 +2573,7 @@ > while(scope.jsParent) > scope = scope.jsParent; > > - if (scope.jsClassName == "Window" || scope.jsClassName == > "ChromeWindow") > + if (scope.jsClassName == "Window" || scope.jsClassName == > "ChromeWindow" || scope.jsClassName == "Sandbox") > return scope.getWrappedValue(); > > if (FBTrace.DBG_FBS_FINDDEBUGGER) > > > Apart of the fact that this throws "too much recursion" errors at > firebug-service:2559 (hook())
More precisely, the error is logged by notifyObservers() at firebug-trace-service.js:181. It's consistently thrown, unless there is an opened FB Tracing window. -- Olivier --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/firebug?hl=en -~----------~----~----~----~------~----~------~--~---
