[blocking test automation] Viewer Crashing if we try to submit formvalues using javascript method submit().

VERIFIED FIXED

Status

()

Core
DOM: Core & HTML
P1
blocker
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: Prashant Desale, Assigned: vidur (gone))

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
Viewer Crashing if we try to submit formvalues using javascript method submit().
If we use regular input button and we call javascript function onclick of that
button in order to submit form, it crashes viewer.
the button used here is not actually input type="submit", its just a regular
button type="button" and Onclick of this button submit() method is called.

Product: Semonkey [Viewer].
Build: 05-13-10.
OS: Win95.

Steps to Reproduce:
1] Please copy code I'm providing.
2] Save as HTML file and open this HTML file in viewer.
3] you will see one textbox and one button called "Submit". click this button.

Expected Results: It should try to submit form values to cgi file.

Actual Results: Viewer Crashes

Code:

<HTML>
<HEAD>
<TITLE>Javascript Submit() test</TITLE>
</HEAD>
<script>
<!--
function runSuites()
{
      document.suites.submit();
}
//-->
</script>
<BODY>
<form name="suites" action="somefile.cgi" method="post">
<input type="text" name="filename" value="temp.txt">
<input type=button value="Submit" onclick=runSuites()>
</form>
</BODY>
</HTML>

End of Code.
(Reporter)

Updated

19 years ago
Priority: P3 → P1
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 1

19 years ago
Seems to have been fixed in 5/17/1999 build.
(Reporter)

Updated

19 years ago
Status: RESOLVED → VERIFIED
(Reporter)

Comment 2

19 years ago
This bug is fixed in todays build. Marking verified.
You need to log in before you can comment on or make changes to this bug.