summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/cookies/partitioned-cookies/resources/partitioned-cookies-cross-site-embed.html
blob: 05a99626dc4211c64b9e092366e0e3ed4933ab39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<meta charset="utf-8"/>
<meta name="timeout" content="long">
<title>Test site embedded in a cross-site context</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="/cookies/resources/cookie-helper.sub.js"></script>
<script src="/cookies/partitioned-cookies/resources/test-helpers.js"></script>
<body>
<script>

const cookieNames = getCookieNames();

testDomPartitionedCookies({
  cookieNames,
  expectsCookie: false,
});

testCookieStorePartitionedCookies({
  cookieNames,
  expectsCookie: false,
});

</script>
</body>