Revert "COOP: CreateCoopReporter unconditionally."
This reverts: https://chromium-review.googlesource.com/c/chromium/src/+/2332265 and adds a comment. Not creating a CrossOriginOpenerPolicyReporter prevents accesses checks from being made, which prevents the ReportingObservers's events from being emitted. The current COOP specification requires not to send ReportingObserver reports when no network endpoint are defined. The previous behavior was unexpectedly to me correct. Bug: 1112263 Change-Id: Id3cec5893e2952887cc86c9d1c850b7747835828 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2340916Reviewed-by:Pâris Meuleman <pmeuleman@chromium.org> Reviewed-by:
Camille Lamy <clamy@chromium.org> Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Commit-Position: refs/heads/master@{#795879}
Showing
Please register or sign in to comment