blob: d6f034efe4f8ca2fd6b6cd5eefb4878eceef3037 [file] [log] [blame]
Tests that a cross-origin iframe from a prevalent domain that is granted storage access and then navigates itself same-site still has storage access.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.cookie ==
PASS Storage access was granted.
PASS document.cookie == cookieSetClientSideAfterGrantedStorageAccess=value; firstPartyCookie=value
PASS Has storage access. document.cookie == cookieSetClientSideAfterGrantedStorageAccess=value; firstPartyCookie=value, cookies seen server-side == {"cookieSetClientSideAfterGrantedStorageAccess":"value","firstPartyCookie":"value"}
PASS successfullyParsed is true
TEST COMPLETE