IWindow Properties

The IWindow type exposes the following members.

Properties
  NameDescription
Public propertyDefaultView
The default AbstractView for this Document, or null if none available.
(Inherited from IDocumentView.)
Public propertyDocument
The document attribute must return the Window object's newest Document object.
Public propertyFrameElement
The frameElement object of a Document.
Public propertyLocation
The location attribute of the Window interface must return the Location object for that Window object's Document.
Public propertyName
The name attribute of the Window object must, on getting, return the current name of the browsing context, and, on setting, set the name of the browsing context to the new value.
Public propertyOpener
The opener IDL attribute on the Window object, on getting, must return the WindowProxy object of the browsing context from which the current browsing context was created (its opener browsing context), if there is one, if it is still available, and if the current browsing context has not disowned its opener; otherwise, it must return null. On setting, if the new value is null then the current browsing context must disown its opener; if the new value is anything else then the user agent must call the [[DefineOwnProperty]] internal method of the Window object, passing the property name "opener" as the property key, and the Property Descriptor { [[Value]]: value, [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: true } as the property descriptor, where value is the new value.
Public propertyParent
The parent IDL attribute on the Window object of a Document in a browsing context b must return the WindowProxy object of the parent browsing context, if there is one (i.e. if b is a child browsing context), or the WindowProxy object of the browsing context b itself, otherwise (i.e. if it is a top-level browsing context or a detached nested browsing context).
Public propertySelf
Returns the Window object's browsing context's WindowProxy object.
Public propertyTop
The top IDL attribute on the Window object of a Document in a browsing context b must return the WindowProxy object of its top-level browsing context (which would be its own WindowProxy object if it was a top-level browsing context itself), if it has one, or its own WindowProxy object otherwise (e.g. if it was a detached nested browsing context).
Public propertyWindow
Returns the Window object's browsing context's WindowProxy object.
See Also