auto merge of #5249 : glennw/servo/iframe-navigate, r=jdm

This allows iframes to navigate their own history.
This commit is contained in:
bors-servo 2015-03-17 16:21:48 -06:00
commit 755581ff54
3 changed files with 16 additions and 11 deletions

View file

@ -953,7 +953,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
windowing::WindowNavigateMsg::Back => NavigationDirection::Back,
};
let ConstellationChan(ref chan) = self.constellation_chan;
chan.send(ConstellationMsg::Navigate(direction)).unwrap()
chan.send(ConstellationMsg::Navigate(None, direction)).unwrap()
}
fn on_key_event(&self, key: Key, state: KeyState, modifiers: KeyModifiers) {