forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Charlie Reis <[email protected]> Cr-Commit-Position: refs/heads/master@{#645322}
- Loading branch information
1 parent
4a01823
commit f6fb1b3
Showing
4 changed files
with
31 additions
and
0 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
6 changes: 6 additions & 0 deletions
6
...b_tests/http/tests/inspector-protocol/network/block_cross_site_document_load-expected.txt
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