mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Webidl and basic implementation of XHR object
This commit is contained in:
parent
803c922248
commit
619da07a4f
10 changed files with 364 additions and 17 deletions
|
@ -10,6 +10,7 @@ use self::EventListenerBinding::EventListener;
|
|||
use dom::event::Event;
|
||||
use dom::eventdispatcher::dispatch_event;
|
||||
use dom::node::NodeTypeId;
|
||||
use dom::xmlhttprequest::XMLHttpRequestId;
|
||||
use dom::virtualmethods::VirtualMethods;
|
||||
use servo_util::str::DOMString;
|
||||
|
||||
|
@ -23,8 +24,9 @@ pub enum ListenerPhase {
|
|||
|
||||
#[deriving(Eq,Encodable)]
|
||||
pub enum EventTargetTypeId {
|
||||
NodeTargetTypeId(NodeTypeId),
|
||||
WindowTypeId,
|
||||
NodeTargetTypeId(NodeTypeId)
|
||||
XMLHttpRequestTargetTypeId(XMLHttpRequestId)
|
||||
}
|
||||
|
||||
#[deriving(Eq,Encodable)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue