aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/cors.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2014-12-12 02:12:51 -0700
committerbors-servo <metajack+bors@gmail.com>2014-12-12 02:12:51 -0700
commitf451005f4fe075c849de2f3766f5bf84510b8465 (patch)
treee6331578b227c2359f5d7c1a5d06276477e74c87 /components/script/cors.rs
parent9f8dda7abc5f2dc97f5d90aa24fcc5b596ab6918 (diff)
parentc254d195ad07d4f815005e405e5e45b7303b07a3 (diff)
downloadservo-f451005f4fe075c849de2f3766f5bf84510b8465.tar.gz
servo-f451005f4fe075c849de2f3766f5bf84510b8465.zip
auto merge of #4171 : jbcrail/servo/fix-spelling, r=jdm
I only updated comments, not strings.
Diffstat (limited to 'components/script/cors.rs')
-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 abd99af36d2..4b217508978 100644
--- a/components/script/cors.rs
+++ b/components/script/cors.rs
@@ -56,7 +56,7 @@ impl CORSRequest {
return Ok(None); // Not cross-origin, proceed with a normal fetch
}
match destination.scheme.as_slice() {
- // Todo: If the request's same origin data url flag is set (which isn't the case for XHR)
+ // TODO: If the request's same origin data url flag is set (which isn't the case for XHR)
// we can fetch a data URL normally. about:blank can also be fetched by XHR
"http" | "https" => {
let mut req = CORSRequest::new(referer, destination, mode, method, headers);