1
0
Fork 0
firefox/testing/web-platform/tests/fenced-frame/resources/cookie-access.https.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

11 lines
432 B
HTML

<!DOCTYPE html>
<script src="utils.js"></script>
<title>Page loaded in a frame in a fenced frame tree</title>
<script>
// This page is loaded either in an iframe or a fenced frame
// nested inside a root fenced frame.
document.cookie = 'G=nested_in_fenced_frame; SameSite=Lax';
const [cookie_value_key] = parseKeylist()
const cookie_value = document.cookie;
writeValueToServer(cookie_value_key, cookie_value);
</script>