JsClassName
From FirebugWiki
(Difference between revisions)
Johnjbarton (Talk | contribs) (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 ==…') |
Johnjbarton (Talk | contribs) (→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 19:58, 16 December 2009
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.