JsClassName

From FirebugWiki

Jump to: navigation, search

jsdIDebuggerService.idl

jsdIStackFrame.scope.className

Look in Firebug's getFrameScopeRoot function.

Values I've seen:

Contents

[edit] Window

Seems to be a web page

[edit] ChromeWindow

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.

[edit] ModalContentWindow

Modal dialog window

[edit] DedicatedWorkerGlobalScope

The scope for a WebWorker

[edit] Sandbox

The scope of an evalInSandbox

[edit] XPCNativeWrapper

I don't know about this one.

Personal tools