Closed Bug 186214 Opened 22 years ago Closed 22 years ago

Crashes when using script to set type = text of hidden INPUT tag

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 185850

People

(Reporter: j.macgowan, Assigned: jst)

References

()

Details

(Keywords: crash)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20021219 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20021219 The browser crashes when using ECMAscript to set the .type attribute equal to 'text' of an INPUT tag, that has been 'hidden' by default. On the latest builds, the crash more often occurs a second after .type = 'text'. Sometimes it will occur after you have set focus with the mouse. A few times it will happen once .type is set back to 'hidden'. I have also tried using the .display attribute and got the same problems. I have not tried other INPUT types or the .visibility attribute, but I can reproduce the problem using the SELECT tag and the .display attribute. On older builds of Mozilla (1.0 - 1.2) and all builds of Phoenix, I can reproduce the problem with the INPUT tag, but not always with the SELECT tag. Reproducible: Sometimes Steps to Reproduce: 1. Create a page with a hidden INPUT (type=text) tag. 2. Add a tag containing a onClick attribute that will make the INPUT tag visible. 3. Click on the tag with the onClick. Actual Results: Browser crashes Expected Results: Displayed the INPUT text box. The instruction at "0x0066770e" referenced memory at "0x00000088". The memory could not be "read".
Jim, could you attach the Talkback ID of the crash to this bug report? Thank you!
Keywords: crash
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20021218 Confirming crash See Talkback Incident ID: TB15302360G Suggest status: NEW
*** This bug has been marked as a duplicate of 185850 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
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.