Revert "OOR-CORS, WebView: Add CORS tests for requests from custom schemes"
This reverts commit 6e293feb. Reason for revert: Some of the new tests are flaky Original change's description: > OOR-CORS, WebView: Add CORS tests for requests from custom schemes > > Behaviors have been unclear, but if requests are made from a custom > scheme, the Origin header in outgoing requests should be set to > "<scheme>://" without containing the host:port part those are > officially required to be a proper origin for such special cases > in WebView. > Servers can use "Access-Control-Allow-Origin: *" or > "Access-Control-Allow-Origin: <scheme>://" to permit such accesses. > > This patch adds tests to verify these behaviors to keep compatible > behaviors. > > Bug: 1035366 > Change-Id: Ia08e7b4ed764225566c3b09edef2980cfa1b1b70 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2010591 > Reviewed-by: Richard Coles <torne@chromium.org> > Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> > Cr-Commit-Position: refs/heads/master@{#735332} TBR=toyoshim@chromium.org,torne@chromium.org Change-Id: Ib494a7fc40f6eec0b2c92dd35046b191751931e2 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1035366 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2023046Reviewed-by:Patrick Noland <pnoland@chromium.org> Commit-Queue: Patrick Noland <pnoland@chromium.org> Cr-Commit-Position: refs/heads/master@{#735449}
Showing
Please register or sign in to comment