summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/cookies/meta-blocked.html
blob: 1b86e65c87c65a78a31e0b8a1d6bfdbe333e08f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<head>
  <meta http-equiv="set-cookie" content="meta-set-cookie=1">
  <script src="/resources/testharness.js"></script>
  <script src="/resources/testharnessreport.js"></script>
</head>
<body>
  <script>
    test(t => {
      assert_equals(document.cookie.indexOf('meta-set-cookie'), -1);
    }, "Cookie is not set from `<meta>`.");
  </script>
</body>