isExtended.tentative.https.window.js (394B)
1 // META: global=window 2 'use strict'; 3 4 promise_test(async t => { 5 assert_equals(typeof self.screen.isExtended, 'boolean'); 6 }, 'screen.isExtended is present'); 7 8 promise_test(async t => { 9 let iframe = document.body.appendChild(document.createElement('iframe')); 10 assert_equals(typeof iframe.contentWindow.screen.isExtended, 'boolean'); 11 }, 'screen.isExtended is present for attached iframes');