My favorites | Sign in
Project Home Wiki Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2267: Wrong display of list-of-list of select elements.
1 person starred this issue and may be notified of changes. Back to list
 
Reported by c96...@gmail.com, Aug 27, 2009
Lists of lists of [select element and number] displayed most bizarrely.

What steps will reproduce the problem?
1. open firebug console on the new issue page. (the page I'm on now.)
2. s = document.forms[1].elements[0]
3. "[s, 2]" gives the expected result. "[[s, 2]]" does not.

What is the expected result? What do you see instead?
The expected result is "[[select#can, 2]]".
Instead I get the highly surprising "[[select#can, 2 0=select#can 1=2]]"
Why is 2 suddenly interpreted so strangely?

Which version of Firebug? (more specific than latest please): 1.4.2
Which version of Firefox? Mozilla/5.0 (X11; U; Linux x86_64; en-US;
rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13
On what operating system? Ubuntu GNU/Linux 9.04 amd64

fb.testcase.txt
182 bytes   View   Download
Aug 27, 2009
Project Member #1 johnjbar...@johnjbarton.com
To reproduce this problem, the following should be entered into the command line:
s = document.forms[1].elements[0];
[[s, 2]]

The result is:
[[select#can, 2 0=select#can 1=2]]

It looks like the short tag for the array is being repeated inside for the display
for some reason.
Status: Triaged
Cc: johnjbar...@johnjbarton.com
Labels: console Test-case-available 1.5
Aug 28, 2009
Project Member #2 sroussey
Simpler test case is to just enter this in the console:

[[2, 2]]

Aug 28, 2009
Project Member #3 sroussey
Also: If you put this in the console:

s={test:[[2,2]]}

And then click on the green "Object test=[1]", you see the same thing in the DOM panel.
Dec 3, 2009
Project Member #4 sroussey
(No comment was entered for this change.)
Status: Commit
Owner: sroussey
Dec 7, 2009
Project Member #5 johnjbar...@johnjbarton.com
This is one of 26 issues fixed in Firebug 1.5b6. 
http://blog.getfirebug.com/2009/12/07/firebug-1-5b6/
Please try it and let us know if this issue is fixed for you.
Status: Fixed
Dec 17, 2009
Project Member #6 odva...@gmail.com
One line was probably missed in the fix, which caused a problem to display objects
with a lot of properties.

Test case: https://fbug.googlecode.com/svn/tests/dom/manyProperties.html
And compare R5123 (OK) and R5124 (ERR)

Fixed at R5315.

Could anybody please verify again this bug?
Will be in Firebug 1.5b7
http://getfirebug.com/releases/firebug/1.5X/

Thanks!
Honza









Cc: odvarko
Labels: blocks1.5
Dec 17, 2009
Project Member #7 sroussey
Grr... I don't know how that line got deleted between my testing and committing.

Even so, I don't like how it all works. It fails for normal objects, and succeeds for
nested arrays. But I think it is an error to have nested arrays show values after it
says something like "7 more...". In fact, by looking at the code, it doesn't look
like it *means* to do that.

I'm going to revert R5124 and make a better fix with a larger test sample. Changing
this from Fixed to Started.
Status: Started
Dec 17, 2009
Project Member #8 sroussey
Don't code with a fever is all I can say. 

Reverted R5124 and put the real fix in R5333. Improved on that with R5335.
Status: Commit
Dec 17, 2009
Project Member #9 johnjbar...@johnjbarton.com
This is one of 24 issues fixed in Firebug 1.5b7 available at
http://getfirebug.com/releasees. Please try it and let us know.
Status: Fixed
Dec 17, 2009
Project Member #10 johnjbar...@johnjbarton.com
(No comment was entered for this change.)
Labels: Fixed-1.5b7
Jun 5, 2012
Project Member #11 sebastia...@gmail.com
(No comment was entered for this change.)
Labels: fixed-1.5-b6
Jun 5, 2012
Project Member #12 sebastia...@gmail.com
(No comment was entered for this change.)
Labels: fixed-1.5-b7
Mar 23, 2014
Project Member #13 sebastia...@gmail.com
(No comment was entered for this change.)
Labels: Type-Defect
Sign in to add a comment

Powered by Google Project Hosting