Closed Bug 1689661 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27392 - Expand functionality of reporting API endpoint

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox87 fixed)

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 27392 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/27392
Details from upstream follow.

b'Ian Clelland <iclelland@chromium.org>' wrote:

Expand functionality of reporting API endpoint

This adds some new capabilities to the WPT reporting endpoint, which
brings it more in line with the other existing endpoints:

  • Support for CSP L2 report-uri format
  • Storing and retrieving credentials send with reports
  • Can retrieve the number of calls made to the endpoint
  • Support for hash-based endpoint ids (rather than hard-coded UUIDs)
  • Callers can specify the wait time before the endpoint responds
  • Callers can specify a minimum number of reports to return
  • CORS is configured to reject one calling domain for testing

The existing reporting test is updated to use this new collector. Tests
in other directories will be updated in follow-up CLs.

Bug: 704259
Change-Id: Iec050bbc2db809c8569041d0055dc109a58d729e
Reviewed-on: https://chromium-review.googlesource.com/2659377
WPT-Export-Revision: 992e789282668dc377bbe0c89f5622a5268b3195

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 4 subtests

Status Summary

Firefox

PASS : 2
FAIL : 1
TIMEOUT: 2

Chrome

OK : 1
PASS : 4

Safari

PASS : 1
FAIL : 2
TIMEOUT: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/reporting/path-absolute-endpoint.https.sub.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
Report is observable to ReportingObserver: TIMEOUT (Chrome: PASS, Safari: FAIL)
Reporting endpoints received reports.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/424364aa10ab
[wpt PR 27392] - Expand functionality of reporting API endpoint, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.