tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

move-to-new-tree-1343016.html (642B)


      1 <!DOCTYPE html>
      2 <html class="test-wait">
      3 <head>
      4 <title>Shadow DOM: Move to new tree without crashing</title>
      5 <meta name="author" title="Frank Liberato" href="mailto:liberato@google.com">
      6 <script src="/resources/testdriver.js"></script>
      7 <script src='/resources/testdriver-vendor.js'></script>
      8 </head>
      9 
     10 <body>
     11 <video controls id="video"></video>
     12 
     13 <script>
     14 
     15 async function crash() {
     16  await test_driver.bless('open popup window', () => {
     17    let w = window.open("", "", "popup");
     18    w.document.body.appendChild(document.getElementById("video"));
     19  });
     20  document.documentElement.removeAttribute("class");
     21 }
     22 
     23 crash();
     24 
     25 </script>
     26 </body>
     27 </html>