<select multiple> crashes Safari when <optgroup> is present as a child element

Originator:anthony
Number:rdar://15436588 Date Originated:11/11/2013
Status:Open Resolved:
Product:Safari Product Version:
Classification: Reproducible:Always
 
Summary:
When using a <select> element, set to allow multiple selections, the presence of an <optgroup> element to group options logically causes Safari to crash. This occurs when one or more <optgroup> element is within the <select> element.

Steps to Reproduce:
1. Go to http://jsbin.com/imIPePU/5
2. Tap on the select element

Expected Results:
A list of items grouped by the <optgroup> option group elements should be displayed.

Actual Results:
Safari crashes and returns to springboard.

Version:
iOS 7.0.3 on various iPhone devices. Observed on iPhone 5S, iPhone 5 and iPhone 4S.

Notes:


Configuration:
I am able to reproduce this bug on every hardware/software combination I have access to.

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!