Closed Bug 1547585 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 16544 - Make CSP violation reports match spec.

Categories

(Core :: DOM: Security, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

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

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

Paul Meyer <paulmeyer@chromium.org> wrote:

Make CSP violation reports match spec.

Currently the fields in CSP violation reports only match the spec when
delivered via ReportingObserver. This patch changes the fields to match
the spec when they are delivered via Reporting API as well.

Spec: https://w3c.github.io/webappsec-csp/#cspviolationreportbody

Change-Id: I08b597e7f37c4d93612246ad310e52af92d134dd

Reviewed-on: https://chromium-review.googlesource.com/1582821
WPT-Export-Revision: 1be1bfd1980bbd241fb1e0a652308eddbebfadaf

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/16e3cd7b99f9
[wpt PR 16544] - Make CSP violation reports match spec., a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.