blob: a1ba27bca5ea8fb6226e0278771a8c1c387ca74d [file] [log] [blame]
Tests that Same-Site cookies for 127.0.0.1 can be retrieved from a srcdoc iframe.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Retrieve cookies from srcdoc iframe:
Cookies sent with HTTP request:
PASS Has cookie "strict" with value 8.
PASS Has cookie "implicit-strict" with value 8.
PASS Has cookie "strict-because-invalid-SameSite-value" with value 8.
PASS Has cookie "lax" with value 8.
Cookies visible in DOM:
PASS Has DOM cookie "strict" with value 8.
PASS Has DOM cookie "implicit-strict" with value 8.
PASS Has DOM cookie "strict-because-invalid-SameSite-value" with value 8.
PASS Has DOM cookie "lax" with value 8.
Retrieve cookies from srcdoc iframe inside srcdoc iframe:
Cookies sent with HTTP request:
PASS Has cookie "strict" with value 8.
PASS Has cookie "implicit-strict" with value 8.
PASS Has cookie "strict-because-invalid-SameSite-value" with value 8.
PASS Has cookie "lax" with value 8.
Cookies visible in DOM:
PASS Has DOM cookie "strict" with value 8.
PASS Has DOM cookie "implicit-strict" with value 8.
PASS Has DOM cookie "strict-because-invalid-SameSite-value" with value 8.
PASS Has DOM cookie "lax" with value 8.
PASS successfullyParsed is true
TEST COMPLETE