aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequesteventtarget.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-09-11 23:55:20 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-09-13 19:46:28 +0200
commitc25085f68a86e2885d77146add097f9f796c96ac (patch)
tree6e5f7040cd7b4ba5cfb421049485782f44b22740 /components/script/dom/xmlhttprequesteventtarget.rs
parent941f7dc04bc02ad196e86c5167ea292477fb7284 (diff)
downloadservo-c25085f68a86e2885d77146add097f9f796c96ac.tar.gz
servo-c25085f68a86e2885d77146add097f9f796c96ac.zip
Introduce [Abstract] to mark non-leaf interfaces
Some interfaces like Node, CharacterData and HTMLTableCellElement are never instantiated directly, only their descendant interfaces are. Those are marked with [Abstract] to set their type_id to None instead of having dummy values in the TypeId enums.
Diffstat (limited to 'components/script/dom/xmlhttprequesteventtarget.rs')
-rw-r--r--components/script/dom/xmlhttprequesteventtarget.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/xmlhttprequesteventtarget.rs b/components/script/dom/xmlhttprequesteventtarget.rs
index 20452261f94..66dcb5f8211 100644
--- a/components/script/dom/xmlhttprequesteventtarget.rs
+++ b/components/script/dom/xmlhttprequesteventtarget.rs
@@ -10,8 +10,6 @@ use dom::eventtarget::{EventTarget, EventTargetTypeId};
#[derive(Copy, Clone, PartialEq)]
pub enum XMLHttpRequestEventTargetTypeId {
- XMLHttpRequestEventTarget,
-
XMLHttpRequest,
XMLHttpRequestUpload,
}