tor-browser

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

meta-equiv-delegate-ch-iframe.https.html (932B)


      1 <!DOCTYPE html>
      2 <html>
      3 <meta http-equiv="Delegate-CH" content="Sec-CH-Device-Memory; Device-Memory; Sec-CH-DPR; DPR; Sec-CH-Viewport-Width; Viewport-Width">
      4 <title>Delegate-CH meta-equiv iframe test</title>
      5 <body>
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 <script src="/common/get-host-info.sub.js"></script>
      9 <script src="/client-hints/resources/export.js"></script>
     10 <script src="resources/feature-policy-navigation.js"></script>
     11 <script>
     12 (async () => {
     13  await test_frame(
     14    "HTTPS_ORIGIN",
     15    meta_name_client_hints,
     16    "",
     17    "Client hints loaded on same-origin iframe include hints with a default permissions policy of self and *.");
     18  await test_frame(
     19    "HTTPS_REMOTE_ORIGIN",
     20    expect_iframe_no_hints,
     21    "",
     22    "Client hints loaded on cross-origin iframe only include hints with a default permissions policy of *.");
     23 })();
     24 </script>
     25 </body>
     26 </html>