Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reporting: Uploads should only contain a single origin
Per w3c/reporting#41, a reporting upload should only contain reports about a single origin. This will allow us to send a CORS preflight for that origin, if it differs from the origin of the collector receiving the reports. This patch also removes the notion of an endpoint being "pending". In the spec, a "pending endpoint" is one that has been taken out of the rotation because of too many failures; we're handling this with a per-endpoint BackoffEntry. And now that we're creating separate uploads for each origin that uses a collector, we don't want to penalize any of them by serializing their uploads. Bug: 860802 Change-Id: I45cf905bd9ec3491e61aa0567c6dc0a19e957313 Reviewed-on: https://chromium-review.googlesource.com/1128599 Commit-Queue: Douglas Creager <dcreager@chromium.org> Reviewed-by: Misha Efimov <mef@chromium.org> Cr-Commit-Position: refs/heads/master@{#573815}
- Loading branch information
Showing
5 changed files
with
94 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters