Use JSTraceable everywhere

This commit is contained in:
Manish Goregaokar 2014-09-24 03:01:03 +05:30
parent 85f79290a6
commit cc44a3b064
133 changed files with 325 additions and 278 deletions

View file

@ -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,