aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/testbinding.rs
diff options
context:
space:
mode:
authorChris Manchester <cmanchester@mozilla.com>2015-02-25 17:06:29 -0800
committerChris Manchester <cmanchester@mozilla.com>2015-02-27 18:28:01 -0800
commitc81f1cc54134a3d542e3da08f00750955c986011 (patch)
treecab716cb4fe202e444183e07d30e93e46ff7c8ca /components/script/dom/testbinding.rs
parent26567ef2e62597b359c179f8665213002e05da96 (diff)
downloadservo-c81f1cc54134a3d542e3da08f00750955c986011.tar.gz
servo-c81f1cc54134a3d542e3da08f00750955c986011.zip
Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdm
Diffstat (limited to 'components/script/dom/testbinding.rs')
-rw-r--r--components/script/dom/testbinding.rs3
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 }