Closed
Bug 1146798
Opened 10 years ago
Closed 10 years ago
Debugger: HTMLCollection sorted by string, not number
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 967319
People
(Reporter: zokker13, Unassigned)
Details
Attachments
(1 file)
|
8.20 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150319212106
Steps to reproduce:
Tried to iterate through table elements so I got all tr elements:
var tableRows = document.getElementsByTagName("tr");
This returns an HTMLCollection which can be observed by the Debugger.
Actual results:
The tr elements within the HTMLCollection seem to be sorted by string, not by number.
Expected results:
The tr elements should be sorted by number.
Chrome and IE11 show this without a problem
Updated•10 years ago
|
Component: Untriaged → Developer Tools: Debugger
Comment 1•10 years ago
|
||
This was fixed in Firefox 39.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•