Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 2 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /screen-details/isExtended.tentative.https.window.html - WPT Dashboard Interop Dashboard
// META: global=window
'use strict';
promise_test(async t => {
assert_equals(typeof self.screen.isExtended, 'boolean');
}, 'screen.isExtended is present');
promise_test(async t => {
let iframe = document.body.appendChild(document.createElement('iframe'));
assert_equals(typeof iframe.contentWindow.screen.isExtended, 'boolean');
}, 'screen.isExtended is present for attached iframes');