HTMLObjectElement.contentWindow

The contentWindow read-only property of the HTMLObjectElement interface returns a WindowProxy representing the window proxy of the object element's nested browsing context, if any; otherwise null.

Syntax

var WindowProxy = HTMLObjectElement.contentWindow;

Value

A WindowProxy.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'contentWindow' in that specification.
Living Standard Initial definition.

Browser compatibility

BCD tables only load in the browser