|
// Step 24. Let historyHandling be "auto". |
|
// TODO |
|
// Step 25. If form document equals targetNavigable's active document, and form document has not yet completely loaded, |
|
// then set historyHandling to "replace". |
|
// TODO |
step 24 and 25 of https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-form-submit
This data needs to be propagated to all calls of Window::load_url from that function (or navigate after #43668). The spec for https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#planned-navigation is written weirdly where it references variables from the caller algorithm.
Tests: ./mach test-wpt tests/wpt/tests/html/semantics/forms/form-submission-0
servo/components/script/dom/html/htmlformelement.rs
Lines 878 to 882 in b3329fb
step 24 and 25 of https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-form-submit
This data needs to be propagated to all calls of Window::load_url from that function (or
navigateafter #43668). The spec for https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#planned-navigation is written weirdly where it references variables from the caller algorithm.Tests:
./mach test-wpt tests/wpt/tests/html/semantics/forms/form-submission-0