blob: 848cd30cad36efb920a176a68c64212138cf55f1 [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.py?test=ping-to-prevalent-resource
No cookies in ping.