mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Use JSTraceable everywhere
This commit is contained in:
parent
85f79290a6
commit
cc44a3b064
133 changed files with 325 additions and 278 deletions
|
@ -65,13 +65,15 @@ use dom::bindings::codegen::UnionTypes::StringOrURLSearchParams::{eString, eURLS
|
|||
pub type SendParam = StringOrURLSearchParams;
|
||||
|
||||
|
||||
#[deriving(PartialEq,Encodable)]
|
||||
#[deriving(PartialEq)]
|
||||
#[jstraceable]
|
||||
pub enum XMLHttpRequestId {
|
||||
XMLHttpRequestTypeId,
|
||||
XMLHttpRequestUploadTypeId
|
||||
}
|
||||
|
||||
#[deriving(PartialEq, Encodable)]
|
||||
#[deriving(PartialEq)]
|
||||
#[jstraceable]
|
||||
enum XMLHttpRequestState {
|
||||
Unsent = 0,
|
||||
Opened = 1,
|
||||
|
@ -99,7 +101,7 @@ enum SyncOrAsync<'a> {
|
|||
}
|
||||
|
||||
|
||||
#[deriving(Encodable)]
|
||||
#[jstraceable]
|
||||
#[must_root]
|
||||
pub struct XMLHttpRequest {
|
||||
eventtarget: XMLHttpRequestEventTarget,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue