Closed
Bug 106302
Opened 23 years ago
Closed 23 years ago
JavaScript: Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIDOMHTMLFormElement.submit]
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: mike, Assigned: jst)
References
Details
(Keywords: regression)
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5+) Gecko/20011022 BuildID: 2001102210 JavaScript code which is triggered on form submit used to work with previous builds (last verified 2001-10-15-13) but results in the message below with this build. Error: uncaught exception: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIDOMHTMLFormElement.submit]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: http://internal/nova-info/sys/login.php3?redirect=%2Fnova-info%2Fbase%2Findex.php3&auth_msg=Bitte+anmelden. :: Frm_submit :: line 95" data: no] Reproducible: Always The script is basically this (slightly edited for brevity) function Frm_submit() { var now; document.slogin.user.value = document.login.user.value; str = document.login.user.value+... document.slogin.response.value = MD5(str); now = new Date(); document.slogin.submit_time.value = now.getTime() / 1000; document.slogin.submit(); return false; } <form name="slogin" action="login.php3" method="POST"> <input type="hidden" name="user"> <input type="hidden" name="submit_time"> <input type="hidden" name="response"> <input type="hidden" name="redirect" value="..."> </form> Instead of submitting the original form it does in fact transfer some information to another form which is then submitted and the original submit is cancelled.
Comment 1•23 years ago
|
||
*** Bug 105989 has been marked as a duplicate of this bug. ***
Comment 2•23 years ago
|
||
and confirming based on the Dupe
Comment 3•23 years ago
|
||
I don't see a checkin to fix this, but it now is working for me using build 2001102708. I tested this using my testcase from Bug 105989.
Reporter | ||
Comment 4•23 years ago
|
||
Steven: Same here. I just checked with build 2001-10-29-09 and i can no longer reproduce this. Mozilla behaves correctly again. From my point of view this bug should be closed.
Comment 5•23 years ago
|
||
i could not reproduce this bug in 2001-10-30-03 build. resolving this bug as worksforme. reporter please reopen this bug if you still have problems.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in
before you can comment on or make changes to this bug.
Description
•