1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
content / test / data / attribution_reporting / interop / header_presence.json [blame]
{
"description": "Invalid header combinations are rejected",
"input": {
"registrations": [
{
"timestamp": "0",
"registration_request": {
"context_origin": "https://destination.test",
"Attribution-Reporting-Eligible": "event-source, trigger"
},
"responses": [
{
"url": "https://reporter.test/register-trigger",
"debug_permission": true,
"response": {
"Attribution-Reporting-Info": "report-header-errors",
// Source and trigger in same response
"Attribution-Reporting-Register-Source": {
"debug_reporting": true,
"destination": "https://destination.test"
},
"Attribution-Reporting-Register-Trigger": {
"debug_reporting": true,
"event_trigger_data": [{}]
}
}
}
]
},
{
"timestamp": "1",
"registration_request": {
"context_origin": "https://destination.test"
},
"responses": [
{
"url": "https://reporter.test/register-trigger",
"debug_permission": true,
"response": {
// This should match nothing since the source above should have been rejected.
"Attribution-Reporting-Register-Trigger": {
"debug_reporting": true,
"event_trigger_data": [{}]
}
}
}
]
}
]
},
"output": {
"reports": [{
"payload": [ {
"body": {
"attribution_destination": "https://destination.test"
},
"type": "trigger-no-matching-source"
} ],
"report_time": "1",
"report_url": "https://reporter.test/.well-known/attribution-reporting/debug/verbose"
}]
}
}