diff options
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/bindings/codegen/test/TestCodeGen.webidl | 8 | ||||
-rw-r--r-- | components/script/dom/xmlhttprequest.rs | 2 |
2 files changed, 5 insertions, 5 deletions
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); |