summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/cookies/attributes/secure-non-secure.html
blob: 578cdbc1f74507a6f28643319a213e8e447f37f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<html>
  <head>
    <meta charset=utf-8>
    <title>Test cookie secure attribute parsing (non-secure origin)</title>
    <meta name=help href="https://tools.ietf.org/html/rfc6265#section-5.2.5">
    <meta name="timeout" content="long">
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/resources/testdriver.js"></script>
    <script src="/resources/testdriver-vendor.js"></script>
    <script src="/cookies/resources/cookie-helper.sub.js"></script>
  </head>
  <body>
    <div id=log></div>
    <script>
      test(t => {
        const win = window.open(`${INSECURE_ORIGIN}/cookies/attributes/resources/secure-non-secure-child.html`);
        fetch_tests_from_window(win);
      });
    </script>
  </body>
</html>