diff options
Diffstat (limited to 'components/script/page.rs')
-rw-r--r-- | components/script/page.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/page.rs b/components/script/page.rs index a9469609576..8ece5145133 100644 --- a/components/script/page.rs +++ b/components/script/page.rs @@ -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, |