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 StandardThe definition of 'contentWindow' in that specification. | Living Standard | Initial definition. |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
contentWindow
|
Chrome
Full support 53 |
Edge
Full support 17 |
Firefox
Full support Yes |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
Full support 53 |
Chrome Android
Full support 53 |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
Full support 6.0 |
Legend
- Full support
- Full support
- No support
- No support
HTMLObjectElement.contentWindow by Mozilla Contributors is licensed under CC-BY-SA 2.5.