Generate forwarded setters

This commit is contained in:
Anthony Ramine 2015-04-29 12:29:23 +02:00
parent 15c4372a8b
commit cc5eee48a6
3 changed files with 36 additions and 5 deletions

View file

@ -115,6 +115,7 @@ impl<'a> TestBindingMethods for JSRef<'a, TestBinding> {
fn GetUsvstringAttributeNullable(self) -> Option<USVString> { Some(USVString("".to_owned())) }
fn SetUsvstringAttributeNullable(self, _: Option<USVString>) {}
fn SetBinaryRenamedAttribute(self, _: DOMString) {}
fn ForwardedAttribute(self) -> Temporary<TestBinding> { Temporary::from_rooted(self) }
fn BinaryRenamedAttribute(self) -> DOMString { "".to_owned() }
fn GetEnumAttributeNullable(self) -> Option<TestEnum> { Some(_empty) }
fn GetInterfaceAttributeNullable(self) -> Option<Temporary<Blob>> {