mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Replace tabs with spaces.
This commit is contained in:
parent
ae56187d48
commit
9d6d1c66b8
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ impl CORSRequest {
|
|||
match &*destination.scheme {
|
||||
// As per (https://fetch.spec.whatwg.org/#main-fetch 5.1.9), about URLs can be fetched
|
||||
// the same as a basic request.
|
||||
// TODO: (security-sensitive) restrict the available pages to about:blank and
|
||||
// about:unicorn (See https://fetch.spec.whatwg.org/#concept-basic-fetch).
|
||||
// TODO: (security-sensitive) restrict the available pages to about:blank and
|
||||
// about:unicorn (See https://fetch.spec.whatwg.org/#concept-basic-fetch).
|
||||
"about" => Ok(None),
|
||||
// As per (https://fetch.spec.whatwg.org/#main-fetch 5.1.9), data URLs can be fetched
|
||||
// the same as a basic request if the request's same-origin data-URL flag is set.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue