aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/cors.rs
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2014-12-01 19:21:19 -0500
committerJoseph Crail <jbcrail@gmail.com>2014-12-11 23:56:29 -0500
commitc254d195ad07d4f815005e405e5e45b7303b07a3 (patch)
treee6331578b227c2359f5d7c1a5d06276477e74c87 /components/script/cors.rs
parent9f8dda7abc5f2dc97f5d90aa24fcc5b596ab6918 (diff)
downloadservo-c254d195ad07d4f815005e405e5e45b7303b07a3.tar.gz
servo-c254d195ad07d4f815005e405e5e45b7303b07a3.zip
Fix spelling mistakes in comments.
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);