JsClassName

From FirebugWiki
Revision as of 11:58, 16 December 2009 by Johnjbarton (Talk | contribs) (ChromeWindow)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.