Difference between revisions of "JsClassName"

From FirebugWiki
Jump to: navigation, search
(Created page with 'jsdIDebuggerService.idl jsdIStackFrame.scope.className Look in Firebug's getFrameScopeRoot function. Values I've seen: == Window == Seems to be a web page == ChromeWindow ==…')
 
(ChromeWindow)
 
Line 12: Line 12:
 
== ChromeWindow ==
 
== ChromeWindow ==
 
probably a nsIDOMWindow from XUL space
 
probably a nsIDOMWindow from XUL space
 +
 +
Neil on mozilla.dev.platform said:
 +
: there is in fact an object in the global scope named ChromeWindow; it's the prototype for windows of chrome docshells. Sadly due to some classinfo weirdness you can't use it with instanceof.
  
 
== ModalContentWindow ==
 
== ModalContentWindow ==

Latest revision as of 12:58, 16 December 2009

jsdIDebuggerService.idl

jsdIStackFrame.scope.className

Look in Firebug's getFrameScopeRoot function.

Values I've seen:

Window[edit]

Seems to be a web page

ChromeWindow[edit]

probably a nsIDOMWindow from XUL space

Neil on mozilla.dev.platform said:

there is in fact an object in the global scope named ChromeWindow; it's the prototype for windows of chrome docshells. Sadly due to some classinfo weirdness you can't use it with instanceof.

ModalContentWindow[edit]

Modal dialog window

DedicatedWorkerGlobalScope[edit]

The scope for a WebWorker

Sandbox[edit]

The scope of an evalInSandbox

XPCNativeWrapper[edit]

I don't know about this one.