You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jinankjain are the links in the original comment unclear? This task requires creating a new webidl interface and a new Rust implementation of the interface, but there are also existing methods in htmliframeelement.rs that can be used as models.
Browser context needs some work and there are tons of TODO(handle browsing context) out there in the dom files so I think we should start there.
And wouldn't this struct keep alive all the Document, Window, etc context from the browsing history creating a little memory leak?:
// This isn't a DOM struct, just a convenience struct
// without a reflector, so we don't mark this as #[dom_struct]
#[must_root]
#[privatize]
#[jstraceable]
pub struct SessionHistoryEntry {
document: JS<Document>,
children: Vec<BrowserContext>
}
Also, should we add something else in the script_task/constellation?
It technically won't be a leak, since it will be removed when the script task shuts down. We should also add logic to prune the actual cached document at some point, but that will require extra logic to reload it if we end up trying to retrieve it from history later.
Activity
jdm commentedon Apr 13, 2015
cc #5669
aneeshusa commentedon Apr 13, 2015
I'd like to try this one out for size.
jdm commentedon Apr 13, 2015
It's yours!
jdm commentedon May 6, 2015
@jinankjain are the links in the original comment unclear? This task requires creating a new webidl interface and a new Rust implementation of the interface, but there are also existing methods in htmliframeelement.rs that can be used as models.
snf commentedon May 18, 2015
Browser context needs some work and there are tons of TODO(handle browsing context) out there in the dom files so I think we should start there.
And wouldn't this struct keep alive all the Document, Window, etc context from the browsing history creating a little memory leak?:
Also, should we add something else in the script_task/constellation?
jdm commentedon May 18, 2015
It technically won't be a leak, since it will be removed when the script task shuts down. We should also add logic to prune the actual cached document at some point, but that will require extra logic to reload it if we end up trying to retrieve it from history later.
snf commentedon May 22, 2015
@aneeshusa or @jinankjain still working on this one?
vectorijk commentedon May 22, 2015
@snf are you also working on this one?
@jdm I would like to try this one.
snf commentedon May 22, 2015
@vectorijk no, devs don't allow me to work in e-easy bugs anymore :'( . So all yours if no one is working on it.
jdm commentedon May 23, 2015
Yes, go for it :)
relate to servo#5670 & add method Go(delta)
14 remaining items
Implement History back/forward APIs
Implement History back/forward APIs
Implement History back/forward APIs
Auto merge of #10956 - ConnorGBrewster:history, r=<try>
Implement History back/forward APIs
Auto merge of #10956 - ConnorGBrewster:history, r=<try>
cbrewster commentedon May 2, 2016
I am picking this one back up. I am implementing
pushStateso the history tests can be enabledImplement History back/forward APIs
Auto merge of #12552 - ConnorGBrewster:history_interface, r=<try>
Auto merge of #12552 - ConnorGBrewster:history_interface, r=asajeffrey
Auto merge of #12552 - ConnorGBrewster:history_interface, r=asajeffrey
Auto merge of #12552 - ConnorGBrewster:history_interface, r=asajeffrey