aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/testbinding.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-05-07 09:07:12 -0500
committerbors-servo <metajack+bors@gmail.com>2015-05-07 09:07:12 -0500
commit29a43a00b39e544596e3bcce9bdfca2159313ba5 (patch)
tree710ab9f84b0991c81fcb0a0b6ba2af926c442c89 /components/script/dom/testbinding.rs
parentc7608f7691f892e985991d85e80f547dac1e9e8f (diff)
parentcc5eee48a61c8a97c02a35cc2bc53e2134b1963c (diff)
downloadservo-29a43a00b39e544596e3bcce9bdfca2159313ba5.tar.gz
servo-29a43a00b39e544596e3bcce9bdfca2159313ba5.zip
Auto merge of #5894 - nox:putforwards, r=jdm
<!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5894) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/testbinding.rs')
-rw-r--r--components/script/dom/testbinding.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/testbinding.rs b/components/script/dom/testbinding.rs
index 20451f64648..e06880292b2 100644
--- a/components/script/dom/testbinding.rs
+++ b/components/script/dom/testbinding.rs
@@ -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>> {