diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-12-12 02:12:51 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-12-12 02:12:51 -0700 |
commit | f451005f4fe075c849de2f3766f5bf84510b8465 (patch) | |
tree | e6331578b227c2359f5d7c1a5d06276477e74c87 /components/script | |
parent | 9f8dda7abc5f2dc97f5d90aa24fcc5b596ab6918 (diff) | |
parent | c254d195ad07d4f815005e405e5e45b7303b07a3 (diff) | |
download | servo-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')
-rw-r--r-- | components/script/cors.rs | 2 | ||||
-rw-r--r-- | components/script/dom/bindings/codegen/test/TestCodeGen.webidl | 8 | ||||
-rw-r--r-- | components/script/dom/xmlhttprequest.rs | 2 |
3 files changed, 6 insertions, 6 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); diff --git a/components/script/dom/bindings/codegen/test/TestCodeGen.webidl b/components/script/dom/bindings/codegen/test/TestCodeGen.webidl index 8c2b3c1b6b4..67c5fdf946b 100644 --- a/components/script/dom/bindings/codegen/test/TestCodeGen.webidl +++ b/components/script/dom/bindings/codegen/test/TestCodeGen.webidl @@ -105,7 +105,7 @@ interface TestInterface { TestInterface? receiveNullableSelf(); TestInterface receiveWeakSelf(); TestInterface? receiveWeakNullableSelf(); - // A verstion to test for casting to TestInterface& + // A version to test for casting to TestInterface& void passSelf(TestInterface arg); // A version we can use to test for the exact type passed in void passSelf2(TestInterface arg); @@ -136,7 +136,7 @@ interface TestInterface { TestNonCastableInterface? receiveNullableOther(); TestNonCastableInterface receiveWeakOther(); TestNonCastableInterface? receiveWeakNullableOther(); - // A verstion to test for casting to TestNonCastableInterface& + // A version to test for casting to TestNonCastableInterface& void passOther(TestNonCastableInterface arg); // A version we can use to test for the exact type passed in void passOther2(TestNonCastableInterface arg); @@ -153,7 +153,7 @@ interface TestInterface { TestExternalInterface? receiveNullableExternal(); TestExternalInterface receiveWeakExternal(); TestExternalInterface? receiveWeakNullableExternal(); - // A verstion to test for casting to TestExternalInterface& + // A version to test for casting to TestExternalInterface& void passExternal(TestExternalInterface arg); // A version we can use to test for the exact type passed in void passExternal2(TestExternalInterface arg); @@ -170,7 +170,7 @@ interface TestInterface { TestCallbackInterface? receiveNullableCallbackInterface(); TestCallbackInterface receiveWeakCallbackInterface(); TestCallbackInterface? receiveWeakNullableCallbackInterface(); - // A verstion to test for casting to TestCallbackInterface& + // A version to test for casting to TestCallbackInterface& void passCallbackInterface(TestCallbackInterface arg); // A version we can use to test for the exact type passed in void passCallbackInterface2(TestCallbackInterface arg); diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs index 530b262a75f..0f8e770d8d5 100644 --- a/components/script/dom/xmlhttprequest.rs +++ b/components/script/dom/xmlhttprequest.rs @@ -252,7 +252,7 @@ impl XMLHttpRequest { let (chan, cors_port) = channel(); let req2 = req.clone(); // TODO: this exists only to make preflight check non-blocking - // perhaps shoud be handled by the resource_loader? + // perhaps should be handled by the resource_loader? spawn_named("XHR:Cors", proc() { let response = req2.http_fetch(); chan.send(response); |