tor-browser

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

1230110.html (388B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="UTF-8">
      5 <script>
      6 // This test case should not leak.
      7 function leak()
      8 {
      9    var img = document.createElement("img");
     10    var iframe = document.createElement("iframe");
     11    img.appendChild(iframe);
     12    document.body.appendChild(img);
     13 
     14    document.addEventListener('Foo', function(){});
     15 }
     16 </script>
     17 </head>
     18 <body onload="leak();"></body>
     19 </html>