blob: 549bfb90cc1ac5f9315ddf09cd4b931c98b747ef [file] [log] [blame]
Tests that cookie blocking is applied to ping loads.
--------
Frame: '<!--frame1-->'
--------
Should receive first-party cookie.
Received cookie named 'firstPartyCookie'.
Client-side document.cookie: firstPartyCookie=value
--------
Frame: '<!--frame2-->'
--------
Should receive no cookies.
Did not receive cookie named 'firstPartyCookie'.
Client-side document.cookie:
--------
Frame: '<!--frame3-->'
--------
Ping received.
HTTP_HOST: localhost:8000
REQUEST_URI: /contentextensions/resources/save-ping.php?test=ping-to-prevalent-resource
No cookies in ping.