Open Bug 1405075 Opened 7 years ago Updated 2 years ago

Capture variables for form submission as detailed in the spec

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: bytesized, Unassigned)

Details

Firefox does not follow the spec for form submission, which specifies that certain values should be synchronously captured at submission time [1].

For example, steps 9 and 16 specify that the "target" and "action" attributes should be captured. We do not capture these values at submission time. What we seem to do instead is to flush any pending submission if and when these values are changed [2].

It should be noted, however, that some aspects of how this should work in the spec are not completely clear. See: https://github.com/whatwg/html/issues/3083

[1] https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-form-submit
[2] http://searchfox.org/mozilla-central/rev/298033405057ca7aa5099153797467eceeaa08b5/dom/html/HTMLFormElement.cpp#190-208
Priority: -- → P3
Component: HTML: Form Submission → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.