blob: 2745db594e9cf830a28c461210f78e49158e9044 [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