[Webkit-unassigned] [Bug 85937] [Chromium][Forms] HTMLOptionsCollection doesn't have indexed properties on property enumeration

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 8 20:55:13 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=85937


yosin at chromium.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[Chromium] Web Inspector:   |[Chromium][Forms]
                   |Console displays elements   |HTMLOptionsCollection
                   |of HTMLOptionsCollection as |doesn't have indexed
                   |undefined                   |properties on property
                   |                            |enumeration
                URL|data:text/html,<form><selec |http://jsfiddle.net/MbtFP/5
                   |t id="s"><option            |/
                   |value="1">one</option><opti |
                   |on                          |
                   |value="2">two</option></sel |
                   |ect></form>                 |
          Component|Web Inspector               |Forms




--- Comment #1 from yosin at chromium.org  2012-05-08 20:54:15 PST ---
Object.keys(select.options) should return an array of property keys containing numeric index value, e.g. ["0", "1", "selectedIndex", "length"].

Here is test result of browsers with simple test http://jsfiddle.net/MbtFP/5/
* FF12 OK
* Chrome18 NOT -- no "0" and "1"
* IE9 OK
* Opera11 OK

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list