Open Bug 375692 Opened 17 years ago Updated 2 years ago

Javascript: Large Objects Reverse Key/Value Relationship

Categories

(Core :: DOM: Core & HTML, defect, P5)

1.8 Branch
x86
All
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mailbin, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.3) Gecko/20070328 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.3) Gecko/20070328 Firefox/2.0.0.3

I have a very large javascript object where elements in the object are themselves objects.  The key/value relationship gets reversed for some elements in the object.

Reproducible: Always

Steps to Reproduce:
1.visit the url listed
2.press 'Clear Form' button
3.press 'Dump Object' button

Actual Results:  
you will see a popup with a list of key/value pairs.  all values are objects, themselves, except for key 1111.  it shows the key as an object and the value as '1111'. this is reversed.

Expected Results:  
the '1111' element should have it's key as [1111] and its value as [object Object]

this problem does not occur when using konqueror or internet explorer.
the javascript code which creates the object can be viewed at http://help.s4rec.com/units.js
(In reply to comment #2)
> I get 403 for http://help.s4rec.com and 404 for http://help.s4rec.com/units.js.
> 

sorry, you must have caught it just as i was doing some housekeeping.  it's up again.
Assignee: nobody → general
Component: General → DOM
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.8 Branch
Assignee: general → nobody
QA Contact: ian → general
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML

Again returning 403 for http://help.s4rec.com and 404 for http://help.s4rec.com/units.js. This bug is ancient and has no available tests...

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.