blob: f9527ad06d3fe81f0e33e183a5bc3b9c8aa89df6 [file] [log] [blame]
Tests that partitioning is removed 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: '<!--framePath //<!--frame0-->-->'
--------
Should receive first-party cookie.
Received cookie named 'firstPartyCookie'.
Did not receive cookie named 'partitionedCookie'.
Client-side document.cookie: firstPartyCookie=value
--------
Frame: '<!--framePath //<!--frame1-->-->'
--------
Redirect case 1, should receive first-party cookie for 127.0.0.1.
Received cookie named 'firstPartyCookie'.
Did not receive cookie named 'partitionedCookie'.
Client-side document.cookie: firstPartyCookie=127.0.0.1
--------
Frame: '<!--framePath //<!--frame2-->-->'
--------
Set partitioned, third-party cookie.
--------
Frame: '<!--framePath //<!--frame3-->-->'
--------
Should receive partitioned cookie.
Did not receive cookie named 'firstPartyCookie'.
Received cookie named 'partitionedCookie'.
Client-side document.cookie: partitionedCookie=value
--------
Frame: '<!--framePath //<!--frame4-->-->'
--------
Redirect case 2, should receive first-party cookie for 127.0.0.1.
Received cookie named 'firstPartyCookie'.
Did not receive cookie named 'partitionedCookie'.
Client-side document.cookie: firstPartyCookie=127.0.0.1