tor-browser

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

iframe-document-move-crash.html (464B)


      1 <!DOCTYPE html>
      2 This test passes if it does not crash.
      3 <script>
      4  var doc1 = document.documentElement;
      5  let iframe1 = document.createElement("iframe");
      6  doc1.appendChild(iframe1);
      7  separateDoc = document.implementation.createDocument("", null);
      8  iframe1.addEventListener("DOMFocusOut", function () {  separateDoc.adoptNode(iframe1); });
      9  iframe1.focus();
     10  iframe1 = document.createElement("iframe");
     11  doc1.appendChild(iframe1);
     12  iframe1.focus();
     13 </script>