Suppress CORB warning for requests not using the GET HTTP method.
Requests using HTTP methods other than GET (e.g. OPTIONS used for CORS preflight or POST used for form submissions) do not need to report warning messages about CORB, because: - For XHR/fetch the *CORS* message should be sufficient - If no-cors mode was forced for XHR/fetch, then the response is opaque and therefore CORB warning message is not needed - Other subresource requests (e.g. for img or script) tag should only use the GET method. Bug: 945767 Change-Id: I9302362aabe407d2bc3cae305e59be0f64f2cb3b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539206 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:Charlie Reis <creis@chromium.org> Cr-Commit-Position: refs/heads/master@{#645322}
Showing
Please register or sign in to comment