tor-browser

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

storage-unsecured-iframe-usercontextid.html (469B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 Iframe for testing multiple host detetion in storage actor
      5 -->
      6 <head>
      7  <meta charset="utf-8">
      8 </head>
      9 <body>
     10 <script>
     11 "use strict";
     12 document.cookie = "uc1uc1=foobar; domain=.example.org; path=/";
     13 localStorage.setItem("iframe-u-ls1uc1", "foobar");
     14 sessionStorage.setItem("iframe-u-ss1uc1", "foobar1");
     15 sessionStorage.setItem("iframe-u-ss2uc1", "foobar2");
     16 dump("added cookies and storage from unsecured iframe\n");
     17 </script>
     18 </body>
     19 </html>