Implement Event-based form participation
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: tkent, Assigned: jdai)
References
Details
(Keywords: dev-doc-complete)
Attachments
(5 files)
The HTML specification introduces 'formdata' event.
Specification PR: https://github.com/whatwg/html/pull/4239
WPT PR: https://github.com/web-platform-tests/wpt/pull/14637
Note: Chrome already implemented it behind the experimental flag.
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Before working on this, I wanted to confirm that there is not already a "constructing entry list" flag and an "entry list" (or akin concept/definitions/declarations) in our implementation of HTMLFormElement. HTMLFormElement.cpp is a rather complex/large beast, so I'm wondering who might be a good DOM Peer to work with on it? I doubt there is, but don't want to dive in without a plan.
Some of the basic changes that needed are here:
https://whatpr.org/html/4239/edc1e95...ee10279/form-control-infrastructure.html#constructing-form-data-set
Comment 2•6 years ago
|
||
baku has been dealing with form submission quite a bit :)
Assignee | ||
Comment 3•5 years ago
|
||
It's part of form participation API[1] which allows arbitrary objects can participate in form submission. Since baku unassigned bug 1519329, I'll contine working this bug.
[1] https://docs.google.com/document/d/1JO8puctCSpW-ZYGU8lF-h4FWRIDQNDVexzHoOQ2iQmY
Assignee | ||
Comment 4•5 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=263180749&revision=53734d03158b20631a936d7b6eeb7490f106cb60
It remains some test failures need to fix.
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Assignee | ||
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
Assignee | ||
Comment 16•5 years ago
|
||
Please help me back-out the patches because I miss setting default pref-on for part 6. The part 6 wpt tests will fail in beta and release channel.
Comment 17•5 years ago
|
||
Assignee | ||
Comment 18•5 years ago
|
||
Comment 19•5 years ago
|
||
Comment 22•5 years ago
|
||
This added a ini file to the web-platform-tests tests directory instead of the metadata directory: https://github.com/web-platform-tests/wpt/pull/18910
Comment 23•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e7a459689227
https://hg.mozilla.org/mozilla-central/rev/c8fbe42eba38
https://hg.mozilla.org/mozilla-central/rev/65f7059b0080
https://hg.mozilla.org/mozilla-central/rev/1df8f544b3b7
https://hg.mozilla.org/mozilla-central/rev/a092042068ab
https://hg.mozilla.org/mozilla-central/rev/74c27d7d13c5
Updated•5 years ago
|
Comment 24•5 years ago
|
||
Assignee | ||
Comment 25•5 years ago
|
||
(In reply to Josh Matthews [:jdm] from comment #22)
This added a ini file to the web-platform-tests tests directory instead of the metadata directory: https://github.com/web-platform-tests/wpt/pull/18910
I also found this mistake, I already request backout.
Assignee | ||
Comment 27•5 years ago
|
||
Comment 28•5 years ago
|
||
Comment 29•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bc978c5a71a6
https://hg.mozilla.org/mozilla-central/rev/220138300dd8
https://hg.mozilla.org/mozilla-central/rev/975942e56797
https://hg.mozilla.org/mozilla-central/rev/8a0b9824539d
https://hg.mozilla.org/mozilla-central/rev/e51f7562204d
Updated•5 years ago
|
Comment 30•5 years ago
|
||
I've written docs for this feature; see https://github.com/mdn/sprints/issues/2273#issuecomment-555207411 for the full details.
Please let me know if you think this needs anything else. Thanks!
Description
•