Site Navigation

Saturday, February 28, 2009

bug 318 - press any key to... crash Safari

Issue: #318
Affects: Safari 3.1, 4.0 Beta
Fixed In: Safari 5.0

In testing (bug 487) we found that Safari consistently became unstable and crashed if you tried to modify the options of a select list while the select list was open by using the onkeydown or onkeypress event (onkeyup won't crash (but doesn't work either)).

A test case is provided below, but be warned, this will crash Safari! so be sure you don't have anything in another tab that you need to save.

(and for the record, this bug/crash report has been sent to Safari)

Try the following sample out, and come back soon! ;-)

Example: (open the list, and "Press Any Key")
OnKeyDown Test:

Example: (open the list, and "Press Any Key")
OnKeyPress Test:

Known Workarounds: None.

Related Issues: (bug 280), (bug 487).

Bug/Site Feedback |
Submit a bug