diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/tests/.well-known/attribution-reporting | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/.well-known/attribution-reporting')
5 files changed, 40 insertions, 0 deletions
diff --git a/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-aggregate-attribution b/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-aggregate-attribution new file mode 100644 index 0000000000..9a5de3bdf5 --- /dev/null +++ b/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-aggregate-attribution @@ -0,0 +1,8 @@ +"""Endpoint to receive and return aggregatable debug reports.""" +from importlib import import_module + +reports = import_module('attribution-reporting.resources.reports') + + +def main(request, response): + return reports.handle_reports(request) diff --git a/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-event-attribution b/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-event-attribution new file mode 100644 index 0000000000..605d7589e0 --- /dev/null +++ b/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-event-attribution @@ -0,0 +1,8 @@ +"""Endpoint to receive and return event-level debug reports.""" +from importlib import import_module + +reports = import_module('attribution-reporting.resources.reports') + + +def main(request, response): + return reports.handle_reports(request) diff --git a/testing/web-platform/tests/.well-known/attribution-reporting/debug/verbose b/testing/web-platform/tests/.well-known/attribution-reporting/debug/verbose new file mode 100644 index 0000000000..7267cb10b7 --- /dev/null +++ b/testing/web-platform/tests/.well-known/attribution-reporting/debug/verbose @@ -0,0 +1,8 @@ +"""Endpoint to receive and return verbose debug reports.""" +from importlib import import_module + +reports = import_module('attribution-reporting.resources.reports') + + +def main(request, response): + return reports.handle_reports(request) diff --git a/testing/web-platform/tests/.well-known/attribution-reporting/report-aggregate-attribution b/testing/web-platform/tests/.well-known/attribution-reporting/report-aggregate-attribution new file mode 100644 index 0000000000..ffe9358e69 --- /dev/null +++ b/testing/web-platform/tests/.well-known/attribution-reporting/report-aggregate-attribution @@ -0,0 +1,8 @@ +"""Endpoint to receive and return aggregatable attribution reports.""" +from importlib import import_module + +reports = import_module('attribution-reporting.resources.reports') + + +def main(request, response): + return reports.handle_reports(request) diff --git a/testing/web-platform/tests/.well-known/attribution-reporting/report-event-attribution b/testing/web-platform/tests/.well-known/attribution-reporting/report-event-attribution new file mode 100644 index 0000000000..8ac52645a7 --- /dev/null +++ b/testing/web-platform/tests/.well-known/attribution-reporting/report-event-attribution @@ -0,0 +1,8 @@ +"""Endpoint to receive and return event-level attribution reports.""" +from importlib import import_module + +reports = import_module('attribution-reporting.resources.reports') + + +def main(request, response): + return reports.handle_reports(request) |