Closed
Bug 6362
Opened 25 years ago
Closed 25 years ago
[blocking test automation] Viewer Crashing if we try to submit formvalues using javascript method submit().
Categories
(Core :: DOM: Core & HTML, defect, P1)
Tracking
()
VERIFIED
FIXED
People
(Reporter: desale, Assigned: vidur)
Details
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•25 years ago
|
Priority: P3 → P1
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 1•25 years ago
|
||
Seems to have been fixed in 5/17/1999 build.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 2•25 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.
Description
•