mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Remove not-yet-implemented methods from CharacterData.
This speeds up a web-platform-tests run by about 45 seconds (of 11-12 minutes) by avoiding three timeouts.
This commit is contained in:
parent
ba9177b7cc
commit
a04d4e63eb
2 changed files with 0 additions and 18 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue