Open
Bug 576458
Opened 14 years ago
Updated 2 years ago
storage/test/unit/test_js_helpers.js Object.getOwnPropertyName-using tests are wrong
Categories
(Toolkit :: Storage, defect, P3)
Toolkit
Storage
Tracking
()
NEW
People
(Reporter: Waldo, Unassigned)
References
Details
(Keywords: sec-other, Whiteboard: [sg:nse])
If I uncomment the tests there, now that Object.getOwnPropertyNames is implemented in the TraceMonkey tree, they fail. The first call returns ["a", "b", "c"], as does the second one, so the length-checking arithmetic at the end of each of the two tests fails. I don't see why that arithmetic would be correct (I had thought these objects were to appear to be objects whose properties were the various "foo" for :foo things, but this isn't what the test expects, and there's not enough detail in the test for me to tell what it really wants), so I've removed the Object.getOwnPropertyNames check and left the test otherwise commented out.
Reporter | ||
Updated•14 years ago
|
Updated•8 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•