diff options
author | bors-servo <release+servo@mozilla.com> | 2014-04-19 12:19:07 -0400 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-04-19 12:19:07 -0400 |
commit | 9198e74176cc6f8307b0b6fe546f8c78fe3691b3 (patch) | |
tree | c115cd2f7cb6fbfa1a467ecef7fa16338bc9820c /src | |
parent | 666f629d5aebdee8159dc585d968a6bc3e88ed14 (diff) | |
parent | a04d4e63eb4de3cf0da6cc8cafbb938c8a706471 (diff) | |
download | servo-9198e74176cc6f8307b0b6fe546f8c78fe3691b3.tar.gz servo-9198e74176cc6f8307b0b6fe546f8c78fe3691b3.zip |
auto merge of #2184 : Ms2ger/servo/remove-nyi-characterdata, r=jdm
This speeds up a web-platform-tests run by about 45 seconds (of 11-12 minutes)
by avoiding three timeouts.
Diffstat (limited to 'src')
-rw-r--r-- | src/components/script/dom/characterdata.rs | 12 | ||||
-rw-r--r-- | src/components/script/dom/webidls/CharacterData.webidl | 6 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/components/script/dom/characterdata.rs b/src/components/script/dom/characterdata.rs index 6bb25f6b5cb..f7b1afabde0 100644 --- a/src/components/script/dom/characterdata.rs +++ b/src/components/script/dom/characterdata.rs @@ -59,18 +59,6 @@ impl CharacterData { self.data.push_str(arg); Ok(()) } - - pub fn InsertData(&mut self, _offset: u32, _arg: DOMString) -> ErrorResult { - fail!("CharacterData::InsertData() is unimplemented") - } - - pub fn DeleteData(&mut self, _offset: u32, _count: u32) -> ErrorResult { - fail!("CharacterData::DeleteData() is unimplemented") - } - - pub fn ReplaceData(&mut self, _offset: u32, _count: u32, _arg: DOMString) -> ErrorResult { - fail!("CharacterData::ReplaceData() is unimplemented") - } } impl Reflectable for CharacterData { diff --git a/src/components/script/dom/webidls/CharacterData.webidl b/src/components/script/dom/webidls/CharacterData.webidl index 00085fcc6b0..88c6c135a0c 100644 --- a/src/components/script/dom/webidls/CharacterData.webidl +++ b/src/components/script/dom/webidls/CharacterData.webidl @@ -17,12 +17,6 @@ interface CharacterData : Node { DOMString substringData(unsigned long offset, unsigned long count); [Throws] void appendData(DOMString data); - [Throws] - void insertData(unsigned long offset, DOMString data); - [Throws] - void deleteData(unsigned long offset, unsigned long count); - [Throws] - void replaceData(unsigned long offset, unsigned long count, DOMString data); }; //CharacterData implements ChildNode; |