blob: e84715f585d83c9a3e58d1d21092230158424014 [file] [log] [blame]
Tests that blocking is not 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: '<!--frame1-->'
--------
Should receive first-party cookie for localhost.
Did not receive cookie named 'firstPartyCookieIP'.
Received cookie named 'firstPartyCookieLocalhost'.
Did not receive cookie named 'thirdPartyCookie'.
Client-side document.cookie: firstPartyCookieLocalhost=localhost
--------
Frame: '<!--frame2-->'
--------
Redirect case 1, should receive first-party cookie for 127.0.0.1.
Received cookie named 'firstPartyCookieIP'.
Did not receive cookie named 'firstPartyCookieLocalhost'.
Did not receive cookie named 'thirdPartyCookie'.
Client-side document.cookie: firstPartyCookieIP=127.0.0.1
--------
Frame: '<!--frame3-->'
--------
Try to set third-party cookie for localhost in blocked mode.
--------
Frame: '<!--frame4-->'
--------
Should receive no cookie.
Did not receive cookie named 'firstPartyCookieIP'.
Did not receive cookie named 'firstPartyCookieLocalhost'.
Did not receive cookie named 'thirdPartyCookie'.
Client-side document.cookie:
--------
Frame: '<!--frame5-->'
--------
Redirect case 2, should not receive first-party cookie for 127.0.0.1.
Did not receive cookie named 'firstPartyCookieIP'.
Did not receive cookie named 'firstPartyCookieLocalhost'.
Did not receive cookie named 'thirdPartyCookie'.
Client-side document.cookie: firstPartyCookieIP=127.0.0.1