[Origin Policy] Implement error reporting via Reporting API

Desktop / Chromium - Daniel Vogelheim [chromium.org] - 27 February 2019 11:27 EST

Bug: 751996 Change-Id: I44dfc36dcec55efd2c68d02c06824fcbb94c879d Reviewed-on: https://chromium-review.googlesource.com/c/1464301

03505df6177c [Origin Policy] Implement error reporting via Reporting API
.../page-policy-301redirect.html.mock-http-headers | 2 +-
.../page-policy-302redirect.html.mock-http-headers | 2 +-
.../page-policy-307redirect.html.mock-http-headers | 2 +-
.../page-policy-missing.html.mock-http-headers | 2 +-
.../page-with-policy.html.mock-http-headers | 2 +-
.../browser/frame_host/origin_policy_throttle.cc | 117 +++++++++++++++++++--
.../browser/frame_host/origin_policy_throttle.h | 18 +++-
.../frame_host/origin_policy_throttle_unittest.cc | 72 ++++++++++++-
...in-policy-features.https.tentative.html.headers | 2 +-
...rigin-policy-report-to.https.tentative.sub.html | 22 ++++
...-report-to.https.tentative.sub.html.sub.headers | 1 +
...licy-single-report.https.tentative.html.headers | 2 +-
.../origin-policy/sec-origin-policy-header.html.py | 2 +-
.../origin-policy/sec-origin-policy-subframe.html | 3 +
.../sec-origin-policy-subframe.html.sub.headers | 3 +
15 files changed, 234 insertions(+), 18 deletions(-)

Upstream: git.chromium.org


  • Share