iframe-transition-destroyed-document-crash.html (1079B)
1 <!DOCTYPE html> 2 <html class=test-wait> 3 <title>View transitions: crash test</title> 4 <link rel="help" href="https://www.w3.org/TR/css-view-transitions-1/"> 5 <link rel="author" href="mailto:vmpstr@chromium.org"> 6 <html> 7 <head> 8 <script> 9 function eventhandler1() { 10 var iframeDoc = iframe.contentDocument; 11 var viewTransition = iframeDoc.startViewTransition(); 12 requestAnimationFrame(() => { 13 requestAnimationFrame(() => { 14 requestAnimationFrame(() => document.documentElement.classList.remove("test-wait")); 15 }) 16 }); 17 } 18 19 </script> 20 </head> 21 <body> 22 <iframe id="iframe" onunload="eventhandler3()" border="0" srcdoc="A#:^;<gV<>8" style=":{,J" referrerpolicy="unsafe-url" background="!xp>" nohref="nohref" nonce="nonce" inputEncoding="s" offsetX="0.3538512271910753">:+j&;&-^>.7xf\jZ1,xb</iframe> 23 <style nonce="nonce" media="screen and (min-width:0px)" onerror="eventhandler1()" onload="eventhandler1()" dir="N5!" updateRangeEnd="0" abbr="4IvGMN[Wxd" symbols="=d##y#)DA4V8ya}KO.cv" frameBorder="^b*]&:|#lB:" search="N">ynFXo*</style> 24 </body> 25 </html>