{
"description": "event_report_windows end_times value exceeds MAX_INT32",
"input": {
"registrations": [
{
"timestamp": "0",
"registration_request": {
"context_origin": "https://source.test",
"Attribution-Reporting-Eligible": "navigation-source"
},
"responses": [
{
"url": "https://reporter.test/register-source",
"debug_permission": true,
"response": {
"Attribution-Reporting-Info": "report-header-errors",
"Attribution-Reporting-Register-Source": {
"destination": "https://destination.test",
"expiry": "1296000",
"event_report_windows": {
// Exceeds MAX_INT32 but should be clamped to expiry
"end_times": [2147483648]
}
}
}
}
]
},
{
"timestamp": "1295999999", // 1 ms before expiry
"registration_request": {
"context_origin": "https://destination.test"
},
"responses": [
{
"url": "https://reporter.test/register-trigger",
"debug_permission": true,
"response": {
"Attribution-Reporting-Register-Trigger": {
"debug_reporting": true,
"event_trigger_data": [{"trigger_data": "1"}]
}
}
}
]
},
{
"timestamp": "1296000000", // expiry
"registration_request": {
"context_origin": "https://destination.test"
},
"responses": [
{
"url": "https://reporter.test/register-trigger",
"debug_permission": true,
"response": {
"Attribution-Reporting-Register-Trigger": {
"debug_reporting": true,
"event_trigger_data": [{"trigger_data": "2"}]
}
}
}
]
}
]
},
"output": {
"reports": [
{
"payload": {
"attribution_destination": "https://destination.test",
"randomized_trigger_rate": 0.0001372,
"scheduled_report_time": "1296000",
"source_event_id": "0",
"source_type": "navigation",
"trigger_data": "1"
},
"report_url": "https://reporter.test/.well-known/attribution-reporting/report-event-attribution",
"report_time": "1296000000"
},
{
"payload": [
{
"body": {
"attribution_destination": "https://destination.test"
},
// Source has expired at this point.
"type": "trigger-no-matching-source"
}
],
"report_time": "1296000000",
"report_url": "https://reporter.test/.well-known/attribution-reporting/debug/verbose"
}
]
}
}