aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlformelement.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-03-16 17:54:50 -0600
committerbors-servo <metajack+bors@gmail.com>2015-03-16 17:54:50 -0600
commit1092ca10192c79b4b96c25985a2c6245d369090b (patch)
treed760bf3ad5309c910b9f4e0f5518403a2fbf2e8b /components/script/dom/htmlformelement.rs
parent0888a3a16d4f5eafe4f8008ec060764645f3bee5 (diff)
parent939a89568e9506c2c6ffbd1f49e3acda6acdf370 (diff)
downloadservo-1092ca10192c79b4b96c25985a2c6245d369090b.tar.gz
servo-1092ca10192c79b4b96c25985a2c6245d369090b.zip
auto merge of #5205 : glennw/servo/iframe-nav, r=jdm
The history is now recorded per frame, but needs to be exposed in a followup PR.
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rw-r--r--components/script/dom/htmlformelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs
index 9c2148334e2..ebe033cea37 100644
--- a/components/script/dom/htmlformelement.rs
+++ b/components/script/dom/htmlformelement.rs
@@ -215,7 +215,7 @@ impl<'a> HTMLFormElementHelpers for JSRef<'a, HTMLFormElement> {
}
// This is wrong. https://html.spec.whatwg.org/multipage/forms.html#planned-navigation
- win.r().script_chan().send(ScriptMsg::TriggerLoad(win.r().pipeline(), load_data)).unwrap();
+ win.r().script_chan().send(ScriptMsg::Navigate(win.r().pipeline(), load_data)).unwrap();
}
fn get_form_dataset<'b>(self, submitter: Option<FormSubmitter<'b>>) -> Vec<FormDatum> {