mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Use JSTraceable everywhere
This commit is contained in:
parent
85f79290a6
commit
cc44a3b064
133 changed files with 325 additions and 278 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue