Refactor #[jstraceable] to #[derive(JSTraceable)]

fixes #6524
This commit is contained in:
David Winslow 2015-07-01 16:31:07 -04:00
parent e958d92be6
commit 4cf46bff2d
51 changed files with 97 additions and 137 deletions

View file

@ -67,8 +67,7 @@ use dom::bindings::codegen::UnionTypes::StringOrURLSearchParams::{eString, eURLS
pub type SendParam = StringOrURLSearchParams;
#[derive(PartialEq, Copy, Clone)]
#[jstraceable]
#[derive(JSTraceable, PartialEq, Copy, Clone)]
enum XMLHttpRequestState {
Unsent = 0,
Opened = 1,
@ -77,8 +76,7 @@ enum XMLHttpRequestState {
Done = 4,
}
#[derive(PartialEq, Clone, Copy)]
#[jstraceable]
#[derive(JSTraceable, PartialEq, Clone, Copy)]
pub struct GenerationId(u32);
/// Closure of required data for each async network event that comprises the