nsIDOMWindow2 编辑

dom/interfaces/base/nsIDOMWindow2.idlScriptable 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

AttributeTypeDescription
applicationCachensIDOMOfflineResourceListThe application cache object for this window. Read only.
windowRootnsIDOMEventTargetThe 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:93 次

字数:2864

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文