commit | 3428d813dccf875e0bbc89771553701c36b55f99 | [log] [tgz] |
---|---|---|
author | Douglas Creager <dcreager@chromium.org> | Fri Jul 13 03:59:56 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jul 13 03:59:56 2018 |
tree | a42c3f2809fd2ae15da9532b1fb3c94b91e769ab | |
parent | 4beff79d07d1d461dcca85ace442dbd949e5b10d [diff] |
Reporting: Send CORS preflight before uploading reports Per https://github.com/w3c/reporting/issues/41, we're supposed to send a CORS preflight request before uploading reports, if the origin of the reports is different than the origin of the collector. There is existing CORS preflight code in both Blink and the Network Service. Code in //net isn't allowed to depend on either of those; instead of using a delegate to handle the inverted dependency, we just send out the preflight request by hand, just like the Expect-CT code does. Bug: 860802 Change-Id: Ib20db54d3d2597d9fbacfe356e61cc6d3bc9d5fc Reviewed-on: https://chromium-review.googlesource.com/1128600 Commit-Queue: Douglas Creager <dcreager@chromium.org> Reviewed-by: Misha Efimov <mef@chromium.org> Cr-Commit-Position: refs/heads/master@{#574836}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .