Closed Bug 577375 Opened 14 years ago Closed 14 years ago

New JSENUMERATE_INIT_ALL enumeration not handled by ObjectWrapperParent::CPOW_NewEnumerate

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b2

People

(Reporter: Waldo, Assigned: Waldo)

References

()

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

Attached patch Patch?Splinter Review
Looks to me like the resolve hook never defines a property that's not enumerable, so we don't have to worry about adding non-enumerable properties during the start of all-properties enumeration.  Making |case JSENUMERATE_INIT_ALL| be identical to |case JSENUMERATE_INIT| should do the trick, right?
Attachment #456345 - Flags: review?(gal)
Comment on attachment 456345 [details] [diff] [review]
Patch?

Looks good. Thanks Waldo.
Attachment #456345 - Flags: review?(gal) → review+
http://hg.mozilla.org/tracemonkey/rev/a5b1bfb6e010
Whiteboard: fixed-in-tracemonkey
http://hg.mozilla.org/mozilla-central/rev/a5b1bfb6e010
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: