Closed
Bug 19136
Opened 26 years ago
Closed 26 years ago
[CRASHER][TESTCASE] Resetting form after giving focus to input in form crashes application.
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: desale, Assigned: vidur)
Details
If we try to give focus to some input in form using javascript, and immediately
after that if we try to Reset the form then application crashes.
BUILDS: 1999-11-17-09 and 1999-11-16-09.
STEPS TO REPRODUCE:
1] Copy HTML code I'm providing. Save it as HTML file.
2] Open this HTML file with mozilla.exe with above specified builds.
3] As soon as you load page, you'll see crash.
EXPECTED RESULTS:
Application should not crash and it should reset the form.
ACTUAL RESULTS:
Application crashes.
TESTCASE CODE START:
<HTML>
<HEAD>
<TITLE>Form Test</TITLE>
</HEAD>
<BODY>
<form name=workform>
<input type=text name=testing1 size=15 value="value1">
</form>
<script>
<!--
document.workform.testing1.focus();
document.workform.reset();
//-->
</script>
</BODY>
</HTML>
TESTCASE CODE END:
| Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 3•26 years ago
|
||
Verified with 12-14-09.
You need to log in
before you can comment on or make changes to this bug.
Description
•