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

@ -35,10 +35,10 @@ use std::mem::replace;
use std::rc::Rc;
use url::Url;
use serialize::{Encoder, Encodable};
/// Encapsulates a handle to a frame and its associated layout information.
#[deriving(Encodable)]
#[jstraceable]
pub struct Page {
/// Pipeline id associated with this page.
pub id: PipelineId,
@ -453,7 +453,7 @@ impl Page {
}
/// Information for one frame in the browsing context.
#[deriving(Encodable)]
#[jstraceable]
#[must_root]
pub struct Frame {
/// The document for this frame.
@ -463,7 +463,7 @@ pub struct Frame {
}
/// Encapsulation of the javascript information associated with each frame.
#[deriving(Encodable)]
#[jstraceable]
pub struct JSPageInfo {
/// Global static data related to the DOM.
pub dom_static: GlobalStaticData,