diff options
Diffstat (limited to 'src/components/script/dom/htmlanchorelement.rs')
-rw-r--r-- | src/components/script/dom/htmlanchorelement.rs | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/src/components/script/dom/htmlanchorelement.rs b/src/components/script/dom/htmlanchorelement.rs index 7c5b6dcc4ee..d8bac8176ee 100644 --- a/src/components/script/dom/htmlanchorelement.rs +++ b/src/components/script/dom/htmlanchorelement.rs @@ -14,90 +14,103 @@ impl HTMLAnchorElement { None } - pub fn SetHref(&mut self, _href: &DOMString, _rv: &mut ErrorResult) { + pub fn SetHref(&mut self, _href: &DOMString) -> ErrorResult { + Ok(()) } pub fn Target(&self) -> DOMString { None } - pub fn SetTarget(&self, _target: &DOMString, _rv: &mut ErrorResult) { + pub fn SetTarget(&self, _target: &DOMString) -> ErrorResult { + Ok(()) } pub fn Download(&self) -> DOMString { None } - pub fn SetDownload(&self, _download: &DOMString, _rv: &mut ErrorResult) { + pub fn SetDownload(&self, _download: &DOMString) -> ErrorResult { + Ok(()) } pub fn Ping(&self) -> DOMString { None } - pub fn SetPing(&self, _ping: &DOMString, _rv: &mut ErrorResult) { + pub fn SetPing(&self, _ping: &DOMString) -> ErrorResult { + Ok(()) } pub fn Rel(&self) -> DOMString { None } - pub fn SetRel(&self, _rel: &DOMString, _rv: &mut ErrorResult) { + pub fn SetRel(&self, _rel: &DOMString) -> ErrorResult { + Ok(()) } pub fn Hreflang(&self) -> DOMString { None } - pub fn SetHreflang(&self, _href_lang: &DOMString, _rv: &mut ErrorResult) { + pub fn SetHreflang(&self, _href_lang: &DOMString) -> ErrorResult { + Ok(()) } pub fn Type(&self) -> DOMString { None } - pub fn SetType(&mut self, _type: &DOMString, _rv: &mut ErrorResult) { + pub fn SetType(&mut self, _type: &DOMString) -> ErrorResult { + Ok(()) } pub fn Text(&self) -> DOMString { None } - pub fn SetText(&mut self, _text: &DOMString, _rv: &mut ErrorResult) { + pub fn SetText(&mut self, _text: &DOMString) -> ErrorResult { + Ok(()) } pub fn Coords(&self) -> DOMString { None } - pub fn SetCoords(&mut self, _coords: &DOMString, _rv: &mut ErrorResult) { + pub fn SetCoords(&mut self, _coords: &DOMString) -> ErrorResult { + Ok(()) } pub fn Charset(&self) -> DOMString { None } - pub fn SetCharset(&mut self, _charset: &DOMString, _rv: &mut ErrorResult) { + pub fn SetCharset(&mut self, _charset: &DOMString) -> ErrorResult { + Ok(()) } pub fn Name(&self) -> DOMString { None } - pub fn SetName(&mut self, _name: &DOMString, _rv: &mut ErrorResult) { + pub fn SetName(&mut self, _name: &DOMString) -> ErrorResult { + Ok(()) } pub fn Rev(&self) -> DOMString { None } - pub fn SetRev(&mut self, _rev: &DOMString, _rv: &mut ErrorResult) { + pub fn SetRev(&mut self, _rev: &DOMString) -> ErrorResult { + Ok(()) } pub fn Shape(&self) -> DOMString { None } - pub fn SetShape(&mut self, _shape: &DOMString, _rv: &mut ErrorResult) { + pub fn SetShape(&mut self, _shape: &DOMString) -> ErrorResult { + Ok(()) } } |