blob: 12713b6696e022e1a61cfa6d5ae522391e245f38 [file] [log] [blame]
Tests sending of private click measurement requests after an attribution. Also tests that cookies are not sent in those requests and cookies are not accepted in the responses.
--------
Frame: '<!--frame1-->'
--------
Cookies are: cookieSetAsFirstParty = 1
--------
Frame: '<!--frame2-->'
--------
Attribution received.
HTTP_HOST: 127.0.0.1:8000
Content type: application/json
REQUEST_URI: /privateClickMeasurement/resources/conversionReport.py?recipient=ClickSource
No cookies in attribution request.
Request body:
{"source_engagement_type":"click","source_site":"127.0.0.1","source_id":3,"attributed_on_site":"localhost","trigger_data":12,"version":3}
--------
Frame: '<!--frame3-->'
--------
Attribution received.
HTTP_HOST: localhost:8000
Content type: application/json
REQUEST_URI: /privateClickMeasurement/resources/conversionReport.py?recipient=ClickDestination
No cookies in attribution request.
Request body:
{"source_engagement_type":"click","source_site":"127.0.0.1","source_id":3,"attributed_on_site":"localhost","trigger_data":12,"version":3}
--------
Frame: '<!--frame4-->'
--------
Cookies are: cookieSetAsFirstParty = 1
--------
Frame: '<!--frame5-->'
--------
Cookies are: cookieSetAsFirstParty = 1