blob: 67f23197bc2d77b19ef51cf40cd3e5bdbbdd4eca [file] [log] [blame]
Tests that cross-origin iframe storage access is granted if the iframe is sandboxed, has the allow token, and is nested.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Storage access was granted. document.cookie == firstPartyCookie=value, cookies seen server-side == {"firstPartyCookie":"value"}
PASS successfullyParsed is true
TEST COMPLETE
--------
Frame: '<!--frame1-->'
--------
Should not receive cookies.
Did not receive cookie named 'firstPartyCookie'.
Client-side document.cookie:
--------
Frame: '<!--frame2-->'
--------
--------
Frame: '<!--frame3-->'
--------