diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-02-28 09:57:58 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-02-28 09:57:58 -0700 |
commit | 1f53d30f858a71206fce01116a3b1e5c199c1648 (patch) | |
tree | 613368d01b59d906d4e8cc5baef4574bdc4618e9 /components/script/dom/testbinding.rs | |
parent | b261d27ac5fc5e8a858b344087792f9b1709ee55 (diff) | |
parent | c81f1cc54134a3d542e3da08f00750955c986011 (diff) | |
download | servo-1f53d30f858a71206fce01116a3b1e5c199c1648.tar.gz servo-1f53d30f858a71206fce01116a3b1e5c199c1648.zip |
auto merge of #5094 : chmanchester/servo/binarynames, r=jdm
Diffstat (limited to 'components/script/dom/testbinding.rs')
-rw-r--r-- | components/script/dom/testbinding.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/testbinding.rs b/components/script/dom/testbinding.rs index 2166164babe..c6810483a88 100644 --- a/components/script/dom/testbinding.rs +++ b/components/script/dom/testbinding.rs @@ -98,6 +98,8 @@ impl<'a> TestBindingMethods for JSRef<'a, TestBinding> { fn SetByteStringAttributeNullable(self, _: Option<ByteString>) {} fn GetStringAttributeNullable(self) -> Option<DOMString> { Some("".to_owned()) } fn SetStringAttributeNullable(self, _: Option<DOMString>) {} + fn SetBinaryRenamedAttribute(self, _: DOMString) {} + fn BinaryRenamedAttribute(self) -> DOMString { "".to_owned() } fn GetEnumAttributeNullable(self) -> Option<TestEnum> { Some(_empty) } fn GetInterfaceAttributeNullable(self) -> Option<Temporary<Blob>> { let global = self.global.root(); @@ -108,6 +110,7 @@ impl<'a> TestBindingMethods for JSRef<'a, TestBinding> { fn SetUnionAttributeNullable(self, _: Option<HTMLElementOrLong>) {} fn GetUnion2AttributeNullable(self) -> Option<EventOrString> { Some(eString("".to_owned())) } fn SetUnion2AttributeNullable(self, _: Option<EventOrString>) {} + fn BinaryRenamedMethod(self) -> () {} fn ReceiveVoid(self) -> () {} fn ReceiveBoolean(self) -> bool { false } fn ReceiveByte(self) -> i8 { 0 } |