Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

window.controllers

この文書は翻訳中です。他国語のままの部分などがあるのはその為です。
是非お気軽に MDN に登録して翻訳に参加し、私たちの手助けをして下さい!

概要

Returns the XUL controllers of the chrome window.

構文

controllers = window.controllers

仕様

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!

 

ドキュメントのタグと貢献者

タグ: 
 このページの貢献者: fscholz, khalid32, ethertank, Potappo
 最終更新者: khalid32,