Implement history.length

Add full frame tree iter to reduce code duplication
Add FrameId field to the Frame struct.
This commit is contained in:
Connor Brewster 2016-08-01 15:15:48 -06:00
parent e2d4ff5b62
commit 611de2ac06
8 changed files with 95 additions and 64 deletions

View file

@ -91,6 +91,8 @@ pub enum ScriptMsg {
MozBrowserEvent(PipelineId, Option<SubpageId>, MozBrowserEvent),
/// HTMLIFrameElement Forward or Back traversal.
TraverseHistory(Option<PipelineId>, TraversalDirection),
/// Gets the length of the joint session history from the constellation.
JointSessionHistoryLength(PipelineId, IpcSender<u32>),
/// Favicon detected
NewFavicon(Url),
/// Status message to be displayed in the chrome, eg. a link URL on mouseover.