Remove code for submitting object elements
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: annevk, Unassigned)
References
Details
Now that plugins are obsolete, this code should never be able to run.
See https://github.com/whatwg/html/pull/6281. No tests as I'm not sure how web-platform-tests can test this.
Comment 1•4 years ago
|
||
this code should never be able to run.
Not seeing what "this code" means here, did you intend to attach something? 👀
Reporter | ||
Comment 2•4 years ago
|
||
I did not, but https://searchfox.org/mozilla-central/source/dom/html/HTMLObjectElement.cpp#229-272 is part of it. I haven't looked into how that is called, but that might some tweaks as well. In the specification, form validation could be slightly simplified as well.
Updated•4 years ago
|
Reporter | ||
Comment 3•3 years ago
|
||
I suspect this has been fixed at some point. HTMLObjectElement.h
now has:
NS_IMETHOD SubmitNamesValues(FormData* aFormData) override { return NS_OK; }
(And HTMLObjectElement.cpp
doesn't mention it at all anymore.)
Description
•