blob: afef9cd26e861b0fdb14f5dc0b0a1600f4e8dad4 [file] [log] [blame]
Tests that blocking is added mid-flight in redirects.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS successfullyParsed is true
TEST COMPLETE
--------
Frame: '<!--frame1-->'
--------
Should receive first-party cookie.
Received cookie named 'firstPartyCookie'.
Did not receive cookie named 'partitionedCookie'.
Client-side document.cookie: firstPartyCookie=value
--------
Frame: '<!--frame2-->'
--------
Redirect case 1, should receive first-party cookie.
Received cookie named 'firstPartyCookie'.
Did not receive cookie named 'partitionedCookie'.
Client-side document.cookie: firstPartyCookie=value
--------
Frame: '<!--frame3-->'
--------
Should receive no cookies.
Did not receive cookie named 'firstPartyCookie'.
Did not receive cookie named 'partitionedCookie'.
Client-side document.cookie:
--------
Frame: '<!--frame4-->'
--------
Redirect case 2, should receive no cookie.
Did not receive cookie named 'firstPartyCookie'.
Did not receive cookie named 'partitionedCookie'.
Client-side document.cookie:
--------
Frame: '<!--frame5-->'
--------
Try to set third-party cookie in blocked mode.
--------
Frame: '<!--frame6-->'
--------
After attempted cookie creation, should receive no cookie.
Did not receive cookie named 'firstPartyCookie'.
Did not receive cookie named 'partitionedCookie'.
Client-side document.cookie:
--------
Frame: '<!--frame7-->'
--------
Redirect case 3, after attempted cookie creation, should receive no cookie.
Did not receive cookie named 'firstPartyCookie'.
Did not receive cookie named 'partitionedCookie'.
Client-side document.cookie: