1
0
Fork 0
firefox/testing/web-platform/tests/cookies/samesite/resources/same-site-none-embed.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

17 lines
566 B
HTML

<!doctype html>
<head>
<script src="/cookies/resources/cookie-helper.sub.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script>
promise_test(async () => {
const val = await credFetch(SECURE_ORIGIN + "/cookies/resources/list.py");
assert_cookie(SECURE_ORIGIN, val => val.json().data, "samesite_none", undefined, false);
}, "Innermost frame contains samesite=none cookie");
</script>
</body>