Bug 1776241 [wpt PR 34556] - Adds test for debug reports., a=testonly

Automatic update from web-platform-tests
Adds test for debug reports.

Adds debug event report endpoint.

Bug: 1338942
Change-Id: I488b5130564ea1e95ea9e648b4fd4bc26cea72dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3721875
Reviewed-by: Andrew Paseltiner <apaseltiner@chromium.org>
Commit-Queue: Adarsh Murthy <adarshmurthy@google.com>
Cr-Commit-Position: refs/heads/main@{#1022759}

--

wpt-commits: 57a9d6574ee944753551eb9ade2e26c41bd28826
wpt-pr: 34556
This commit is contained in:
Adarsh Murthy 2022-07-14 04:07:53 +00:00 committed by moz-wptsync-bot
parent be63f3f472
commit 72c2d08bef

View File

@ -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)