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

@ -16,7 +16,7 @@ use libc::c_void;
use std::ptr;
#[allow(raw_pointer_deriving)]
#[deriving(Encodable)]
#[jstraceable]
pub struct BrowserContext {
history: Vec<SessionHistoryEntry>,
active_index: uint,
@ -66,7 +66,7 @@ impl BrowserContext {
}
}
#[deriving(Encodable)]
#[jstraceable]
#[must_root]
pub struct SessionHistoryEntry {
document: JS<Document>,