Closed Bug 435226 Opened 17 years ago Closed 16 years ago

dense arrays yield bogus __count__ values

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: crowderbt, Assigned: crowderbt)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #434837 +++ shavarrays are returning their length value instead of the actual count of elements; this is a bug in array_enumerate's handling of the INIT condition.
Version: unspecified → Trunk
This patch cannot be tested without the patch from bug 434837.
Attachment #322141 - Flags: review?(shaver)
Comment on attachment 322141 [details] [diff] [review] use COUNT instead of LENGTH Does it test correctly on top of that patch?
(In reply to comment #2) > Does it test correctly on top of that patch? Yes.
Comment on attachment 322141 [details] [diff] [review] use COUNT instead of LENGTH r=shaver
Attachment #322141 - Flags: review?(shaver) → review+
changeset: 15531:1bbd2daaabb6
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
see js1_5/extensions/regress-434837-01.js
Flags: in-testsuite+
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: