aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlobjectelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmlobjectelement.rs')
-rw-r--r--src/components/script/dom/htmlobjectelement.rs52
1 files changed, 34 insertions, 18 deletions
diff --git a/src/components/script/dom/htmlobjectelement.rs b/src/components/script/dom/htmlobjectelement.rs
index 635d2dfa61c..4400649a90f 100644
--- a/src/components/script/dom/htmlobjectelement.rs
+++ b/src/components/script/dom/htmlobjectelement.rs
@@ -18,28 +18,32 @@ impl HTMLObjectElement {
None
}
- pub fn SetData(&mut self, _data: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetData(&mut self, _data: &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 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 UseMap(&self) -> DOMString {
None
}
- pub fn SetUseMap(&mut self, _use_map: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetUseMap(&mut self, _use_map: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn GetForm(&self) -> Option<AbstractNode<ScriptView>> {
@@ -50,14 +54,16 @@ impl HTMLObjectElement {
None
}
- pub fn SetWidth(&mut self, _width: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetWidth(&mut self, _width: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn Height(&self) -> DOMString {
None
}
- pub fn SetHeight(&mut self, _height: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetHeight(&mut self, _height: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn GetContentDocument(&self) -> Option<AbstractDocument> {
@@ -91,73 +97,83 @@ impl HTMLObjectElement {
None
}
- pub fn SetAlign(&mut self, _align: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetAlign(&mut self, _align: &DOMString) -> ErrorResult {
+ Ok(())
}
- pub fn Archive(&self) -> DOMString {
+ pub fn Archive(&self) -> DOMString {
None
}
- pub fn SetArchive(&mut self, _archive: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetArchive(&mut self, _archive: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn Code(&self) -> DOMString {
None
}
- pub fn SetCode(&mut self, _code: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetCode(&mut self, _code: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn Declare(&self) -> bool {
false
}
- pub fn SetDeclare(&mut self, _declare: bool, _rv: &mut ErrorResult) {
+ pub fn SetDeclare(&mut self, _declare: bool) -> ErrorResult {
+ Ok(())
}
pub fn Hspace(&self) -> u32 {
0
}
- pub fn SetHspace(&mut self, _hspace: u32, _rv: &mut ErrorResult) {
+ pub fn SetHspace(&mut self, _hspace: u32) -> ErrorResult {
+ Ok(())
}
pub fn Standby(&self) -> DOMString {
None
}
- pub fn SetStandby(&mut self, _standby: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetStandby(&mut self, _standby: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn Vspace(&self) -> u32 {
0
}
- pub fn SetVspace(&mut self, _vspace: u32, _rv: &mut ErrorResult) {
+ pub fn SetVspace(&mut self, _vspace: u32) -> ErrorResult {
+ Ok(())
}
pub fn CodeBase(&self) -> DOMString {
None
}
- pub fn SetCodeBase(&mut self, _codebase: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetCodeBase(&mut self, _codebase: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn CodeType(&self) -> DOMString {
None
}
- pub fn SetCodeType(&mut self, _codetype: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetCodeType(&mut self, _codetype: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn Border(&self) -> DOMString {
None
}
- pub fn SetBorder(&mut self, _border: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetBorder(&mut self, _border: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn GetSVGDocument(&self) -> Option<AbstractDocument> {
None
}
-} \ No newline at end of file
+}