Ensures that iframe navigation updates the parent iframe element subpage id.

This fixes the case of clicking a link in an iframe, going back, then clicking the link again.
This commit is contained in:
Glenn Watson 2015-03-24 10:14:49 +10:00
parent 5ce7d8accf
commit 06a79243a7
4 changed files with 40 additions and 0 deletions

View file

@ -74,6 +74,8 @@ pub enum ConstellationControlMsg {
Navigate(PipelineId, SubpageId, LoadData),
/// Requests the script task forward a mozbrowser event to an iframe it owns
MozBrowserEvent(PipelineId, SubpageId, String, Option<String>),
/// Updates the current subpage id of a given iframe
UpdateSubpageId(PipelineId, SubpageId, SubpageId),
}
unsafe impl Send for ConstellationControlMsg {