summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/.well-known/attribution-reporting
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/tests/.well-known/attribution-reporting
parentInitial commit. (diff)
downloadfirefox-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')
-rw-r--r--testing/web-platform/tests/.well-known/attribution-reporting/debug/report-aggregate-attribution8
-rw-r--r--testing/web-platform/tests/.well-known/attribution-reporting/debug/report-event-attribution8
-rw-r--r--testing/web-platform/tests/.well-known/attribution-reporting/debug/verbose8
-rw-r--r--testing/web-platform/tests/.well-known/attribution-reporting/report-aggregate-attribution8
-rw-r--r--testing/web-platform/tests/.well-known/attribution-reporting/report-event-attribution8
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)