content-visibility-crash.html (906B)
1 <!DOCTYPE html> 2 <html class=test-wait> 3 <link rel=author href="mailto:m.cooolie@gmail.com"> 4 <link rel=author href="mailto:jarhar@chromium.org"> 5 <link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=1338135"> 6 <script src="/resources/testdriver.js"></script> 7 <script src="/resources/testdriver-vendor.js"></script> 8 <body> 9 <script> 10 async function crash() { 11 const col = document.createElement("col"); 12 document.body.appendChild(col); 13 14 let fullscreenPromise = null; 15 await test_driver.bless('open fullscreen', () => { 16 fullscreenPromise = col.requestFullscreen({navigationUI: 'hide'}); 17 }); 18 await fullscreenPromise; 19 20 const a = document.createElement("a"); 21 document.body.appendChild(a); 22 23 document.body.style.all = 'unset'; 24 document.body.style.contentVisibility = 'hidden'; 25 26 a.offsetParent; 27 28 document.documentElement.classList.remove('test-wait'); 29 } 30 crash(); 31 </script>