Closed
Bug 299867
Opened 20 years ago
Closed 18 years ago
crash if 'select' is hidden by handler function
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 231830
People
(Reporter: vasfed, Unassigned)
References
()
Details
(Keywords: crash)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050509 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050509 Firefox/1.0.4
Firefox crashes, if javascript onChange handler function tries to set
style.display='none' for caller object when onChange caused by keypress.
Reproducible: Always
Steps to Reproduce:
1. html code:
<script> function test(t) { t.style.display='none'; } </script>
<select size=3 id='sel' onChange='test(this)'>
<option>1</option><option>2</option></select>
2. by pressing 'tab' set focus to the 'select'
3. press up/down
4. see error message about access violation
Actual Results:
browser crashes, data entered in form lost
Expected Results:
select element's value changed, it is hidden
access violation in firefox.exe
Comment 1•20 years ago
|
||
Confirming
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050706
Firefox/1.0.5
But works on the lastest trunk build tho ... so something must've been changed.
I will do more research on that.
Recommend --> Core - Javascript Engine (for now)
jayfromtaiwan@gmail.com: i recommend you don't make recommendations.
would someone please reproduce this with a talkback enabled build?
Keywords: crash
Version: unspecified → 1.0 Branch
Reporter | ||
Comment 3•20 years ago
|
||
1.0.5 and newest at the moment 1.0.6 are affected by this bug too...
Reporter | ||
Comment 4•19 years ago
|
||
seems to be fixed in 1.5 beta
Comment 5•18 years ago
|
||
*** This bug has been marked as a duplicate of 231830 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•