Closed
Bug 1046698
Opened 10 years ago
Closed 10 years ago
When form has input element with name "action", using the DOM form.action behavious different (will refer to the input element instead of the form action element)
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1043690
People
(Reporter: jurrien, Unassigned)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 Steps to reproduce: <form name="form" action="a.php"> <input type="hidden" name="action" /> </form> <script type="text/javascript"> document.forms.form.action="b.php"; document.forms.form.submit(); </script> Actual results: Since firefox 31: form will be submitted to a.php Expected results: Used to work up till firefox 30 and in all other known browsers: form submitted to b.php Expect this bug to be shot down as with #226424, but since the behaviour has changed since firefox 30, I figured I'd try.
Comment 1•10 years ago
|
||
b. 2014-04-25-03-02-09-mozilla-central-firefox-31.0a1.en-US.linux-x86_64 b. 2014-04-26-03-02-04-mozilla-central-firefox-31.0a1.en-US.linux-x86_64 0e91262606a6 a. 2014-04-27-03-02-04-mozilla-central-firefox-31.0a1.en-US.linux-x86_64 c67a79064fd4 a. 2014-05-02-03-02-02-mozilla-central-firefox-32.0a1.en-US.linux-x86_64 a. 2014-08-04-03-02-05-mozilla-central-firefox-34.0a1.en-US.linux-x86_64 https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0e91262606a6&tochange=c67a79064fd4
QA Whiteboard: [bugday-20140804]
Component: Untriaged → DOM
Keywords: regression
OS: Windows 7 → All
Product: Firefox → Core
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Comment 3•10 years ago
|
||
> but since the behaviour has changed since firefox 30, I figured I'd try
Definitely! I really appreciate you filing the bug!
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•