Origin policy: implement header parsing
This implements the algorithm at https://wicg.github.io/origin-policy/#parse-an-origin-policy-header along with supporting data structures to represent the parse result. The parsed header is not yet used by any part of the system, and so these changes are not web-exposed yet; that will be done in a follow-up. Instead the parser has a lot of unit tests. Bug: 1042036 Change-Id: I3b0e117ee9af352fc30b9e63906caf4e98d44b00 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2099082Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
James MacLean <wjmaclean@chromium.org> Reviewed-by:
Daniel Vogelheim <vogelheim@chromium.org> Commit-Queue: Domenic Denicola <domenic@chromium.org> Cr-Commit-Position: refs/heads/master@{#750964}
Showing
This diff is collapsed.
Please register or sign in to comment