この文書は翻訳中です。他国語のままの部分などがあるのはその為です。
是非お気軽に MDN に登録して翻訳に参加し、私たちの手助けをして下さい!
概要
Returns the XUL controllers of the chrome window.
構文
controllers = window.controllers
controllers
is an object of typeXULControllers
(nsIControllers
).
仕様
XUL-specific. Not part of specification.
By default, a window's controller contains the code that supports the global window commands.
Chrome code can add controllers (to be used in conjunction with the goDoCommand and goUpdateCommand functions in globalOverlay.js).
However, the added controllers must be explicitly removed when the window is unloaded, as this is not done automatically.
Each missing removal can cause
bug 415775:ASSERTION: XPConnect is being called on a scope without a 'Components' property!