tor-browser

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

cookieStore_set_domain_parsing.tentative.sub.https.html (898B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <script src="/resources/testharness.js"></script>
      5    <script src="/resources/testharnessreport.js"></script>
      6  </head>
      7  <body>
      8    <script>
      9    // This test is invalid because it assumes a specific IP address for the
     10    // server, which is not reliable in a general WPT environment.  It was
     11    // moved out of cookie-store/cookieStore_set_domain_parsing.sub.https.html
     12    // into this tentative file, but it probably should be removed from WPT
     13    // entirely and instead included in Chromium's internal test suite.
     14    promise_test(async () => {
     15      const childUrl = new URL("https://127.0.0.1:8444/cookiestore/resources/domain_parsing-child.sub.https.html?test=IP");
     16      const childWindow = window.open(childUrl.href);
     17      await fetch_tests_from_window(childWindow);
     18    }, "cookieStore.set with domain on IP host");
     19    </script>
     20  </body>
     21 </html>