nsIDOMWindow2 编辑
dom/interfaces/base/nsIDOMWindow2.idl
Scriptable This interface is the primary interface for a DOM window
object. It represents a single window object that may contain child windows if the document in the window contains an HTML frameset document, or if the document contains <iframe>
elements.Inherits from: nsIDOMWindow
Last changed in Gecko 1.9 (Firefox 3)Because nsIDOMWindow
is frozen, this interface was introduced in Firefox 3 (Gecko 1.9) to allow DOM windows to take on new features. DOM windows implement nsIDOMWindow2
, which is a subclass of nsIDOMWindow
.
In Gecko 7.0 this interface has been merged into nsIDOMWindow
.
Attributes
Attribute | Type | Description |
applicationCache | nsIDOMOfflineResourceList | The application cache object for this window. Read only. |
windowRoot | nsIDOMEventTarget | The window root for this window. This is useful for connecting event listeners to this window as well as every other window nested in that window root. Not accessible from scripts. Read only. |
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论