| Tests that cross-origin iframe storage access is denied if the iframe is sandboxed, has the allow token, the iframe origin is a prevalent resource, the iframe origin has had user interaction, the user opts in, but the frame is not the one with access. |
| |
| 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: 'theIframe' |
| -------- |
| |
| |
| -------- |
| Frame: '<!--framePath //<!--frame1-->-->' |
| -------- |
| Should receive first-party cookie. |
| Received cookie named 'firstPartyCookie'. |
| Did not receive cookie named 'partitionedCookie'. |
| Client-side document.cookie: firstPartyCookie=value |
| |
| -------- |
| Frame: '<!--framePath //<!--frame2-->-->' |
| -------- |
| Should not receive cookies. |
| Did not receive cookie named 'firstPartyCookie'. |
| Did not receive cookie named 'partitionedCookie'. |
| Client-side document.cookie: |
| |
| -------- |
| Frame: '<!--framePath //<!--frame3-->-->' |
| -------- |
| |
| |
| |
| -------- |
| Frame: '<!--framePath //<!--frame4-->-->' |
| -------- |
| Should receive partitioned cookie. |
| Did not receive cookie named 'firstPartyCookie'. |
| Received cookie named 'partitionedCookie'. |
| Client-side document.cookie: partitionedCookie=value |
| |
| -------- |
| Frame: '<!--framePath //<!--frame5-->-->' |
| -------- |
| Should receive partitioned cookie. |
| Did not receive cookie named 'firstPartyCookie'. |
| Received cookie named 'partitionedCookie'. |
| Client-side document.cookie: partitionedCookie=value |