<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - options property of a multiple HTMLSelectElement has duplicate items"
   href="https://bugs.webkit.org/show_bug.cgi?id=159058#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - options property of a multiple HTMLSelectElement has duplicate items"
   href="https://bugs.webkit.org/show_bug.cgi?id=159058">bug 159058</a>
              from <span class="vcard"><a class="email" href="mailto:mcdado&#64;gmail.com" title="David Gasperoni &lt;mcdado&#64;gmail.com&gt;"> <span class="fn">David Gasperoni</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=281924" name="attach_281924" title="Testcase with steps to reproduce">attachment 281924</a> <a href="attachment.cgi?id=281924&amp;action=edit" title="Testcase with steps to reproduce">[details]</a></span>
Testcase with steps to reproduce

I copy-pasted directly from the page where I experienced this behaviour, which is breaking JS code a loop (the value of attribute 'length' is smaller than the amount of elements in the 'options' array).

To test, proceed as following:

1. Open file.
2. Open Web Inspector.
3. Select the &lt;select&gt; tag in the page.
4. Type $0.length in the Console // results 45
5. Type $0.options and expand the HTMLOptionsCollection in the Console.

You'll see a list of 92 elements. (see screenshot here: <a href="http://cl.ly/1s232B3L1s2Y">http://cl.ly/1s232B3L1s2Y</a>)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>