Auto merge of #10186 - matthiaskrgr:fix_10183, r=Manishearth

fix #10183, forward navigation key should not require shift to work.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10186)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-03-27 01:44:54 +05:30
commit 68a8085a2f

View file

@ -727,13 +727,7 @@ impl WindowMethods for Window {
self.event_queue.borrow_mut().push(WindowEvent::ResetZoom);
}
(SHIFT, Key::Backspace) => {
self.event_queue.borrow_mut().push(WindowEvent::Navigation(WindowNavigateMsg::Forward));
}
(NONE, Key::Backspace) => {
self.event_queue.borrow_mut().push(WindowEvent::Navigation(WindowNavigateMsg::Back));
}
(SHIFT, Key::NavigateForward) => {
(NONE, Key::NavigateForward) => {
self.event_queue.borrow_mut().push(WindowEvent::Navigation(WindowNavigateMsg::Forward));
}
(NONE, Key::NavigateBackward) => {