<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>98178</bug_id>
          
          <creation_ts>2012-10-02 11:16:14 -0700</creation_ts>
          <short_desc>using optgroup html tag on iPad causes Safari to crash</short_desc>
          <delta_ts>2012-10-03 09:46:53 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Aaron">aaron.duane24601</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>dev+webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>732847</commentid>
    <comment_count>0</comment_count>
    <who name="Aaron">aaron.duane24601</who>
    <bug_when>2012-10-02 11:16:14 -0700</bug_when>
    <thetext>Create a HTML drop-down list in a webpage and use the optgroup HTML tag. See here: http://www.w3schools.com/tags/tag_optgroup.asp

If you open this webpage using Safari on the iPad (tested on 4+ iPad 2&apos;s) and attempt to interact with the drop-down list by clicking on an option under the optgroup tag, Safari will crash and return to the homescreen, abruptly ending the browser&apos;s session.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733173</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-10-02 16:06:05 -0700</bug_when>
    <thetext>I cannot reproduce a crash by opening the page, tapping &quot;Try it yourself&quot;, and changing the value of the popup several times. Testes iPad and iPhone, both running iOS 6.

Please report this via &lt;http://bugreport.apple.com&gt; if you are still seeing this issue. We do not track issues specific to iOS in WebKit bugzilla.

Thank you for the bug report!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733246</commentid>
    <comment_count>2</comment_count>
    <who name="Aaron">aaron.duane24601</who>
    <bug_when>2012-10-02 17:16:34 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; I cannot reproduce a crash by opening the page, tapping &quot;Try it yourself&quot;, and changing the value of the popup several times. Testes iPad and iPhone, both running iOS 6.
&gt; 
&gt; Please report this via &lt;http://bugreport.apple.com&gt; if you are still seeing this issue. We do not track issues specific to iOS in WebKit bugzilla.
&gt; 
&gt; Thank you for the bug report!

Sorry, I didn&apos;t intend for you to use http://www.w3schools.com/tags/tag_optgroup.asp to test the bug. I just wanted it as a reference to which HTML tag I was talking about. 

However after some experimenting I&apos;ve realized this bug only occurs when there is an optgroup tag AND if the select tag has a SIZE.

Please go to http://www.w3schools.com/tags/tag_optgroup.asp again, click &apos;Try it yourself&apos; then replace the content they have to the content below then click &apos;Edit and Click me:

&lt;select&gt;
  &lt;optgroup label=&quot;Swedish Cars&quot; size=&quot;5&quot;&gt;
    &lt;option value=&quot;volvo&quot;&gt;Volvo&lt;/option&gt;
    &lt;option value=&quot;saab&quot;&gt;Saab&lt;/option&gt;
  &lt;/optgroup&gt;
  &lt;optgroup label=&quot;German Cars&quot;&gt;
    &lt;option value=&quot;mercedes&quot;&gt;Mercedes&lt;/option&gt;
    &lt;option value=&quot;audi&quot;&gt;Audi&lt;/option&gt;
  &lt;/optgroup&gt;
&lt;/select&gt; 

Now if you attempt to choose an option from this new drop-down list via an iPad, the browser will crash. Hope that clears things up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733248</commentid>
    <comment_count>3</comment_count>
    <who name="Aaron">aaron.duane24601</who>
    <bug_when>2012-10-02 17:17:17 -0700</bug_when>
    <thetext>Accidentally set it to resolved when it isn&apos;t.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733791</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-10-03 09:46:53 -0700</bug_when>
    <thetext>I cannot reproduce with this updated content either.

&gt; Accidentally set it to resolved when it isn&apos;t.

This was not accidental. As explained in comment 1, we do not track bugs specific to iOS here, please report it to Apple via http://bugreport.apple.com (unless you are also seeing the same issue in Safari or Chrome).

Our policy is to resolve iOS bugs reported here as INVALID.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>