aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorEitan Mosenkis <eitan@mosenkis.net>2015-12-09 00:39:32 +0200
committerDongie Agnir <dongie.agnir@gmail.com>2016-04-01 16:15:55 -1000
commit7d828a819334f059bda7d14b38694210c7b492e0 (patch)
tree23f6cb8073384081827a310cfe95ed45fb94f368 /components/script
parent50af352605de6daccd43201156466bce00ba36bf (diff)
downloadservo-7d828a819334f059bda7d14b38694210c7b492e0.tar.gz
servo-7d828a819334f059bda7d14b38694210c7b492e0.zip
Replace tab with spaces.
Diffstat (limited to 'components/script')
-rw-r--r--components/script/cors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/cors.rs b/components/script/cors.rs
index 346f1119b25..b9794a3f1fa 100644
--- a/components/script/cors.rs
+++ b/components/script/cors.rs
@@ -77,7 +77,7 @@ impl CORSRequest {
"about" if destination.path() == Some(&["blank".to_owned()]) => 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 method is GET and the
- // same-origin data-URL flag is set.
+ // same-origin data-URL flag is set.
"data" if same_origin_data_url_flag && method == Method::Get => Ok(None),
"http" | "https" => {
let mut req = CORSRequest::new(referer, destination, mode, method, headers);