mirror of
https://github.com/servo/servo.git
synced 2025-06-08 08:33:26 +00:00
Generate forwarded setters
This commit is contained in:
parent
15c4372a8b
commit
cc5eee48a6
3 changed files with 36 additions and 5 deletions
|
@ -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>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue