Closed Bug 570417 Opened 14 years ago Closed 14 years ago

All content iterators need to take part in cycle collection

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5
Tracking Status
status1.9.2 --- .9-fixed
status1.9.1 --- .12-fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

Details

Attachments

(1 file)

Bug 569504 made nsContentIterator participate in cycle collection.  We need to do the same for nsPreContentIterator and nsSubtreeContentIterator as well.

Given that nsPreContentIterator only exists to set mPre to true, I decided to remove that class and make NS_NewPreContentIterator set mPre to true instead.

I also filed bug 570416 to create a static analysis script which detects other similar cases.
We also need this for branches.
status1.9.1: --- → ?
status1.9.2: --- → ?
Attached patch Patch (v1)Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #449544 - Flags: review?(jst)
Attachment #449544 - Flags: review?(jst) → review+
http://hg.mozilla.org/mozilla-central/rev/961e152b8b7b
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Comment on attachment 449544 [details] [diff] [review]
Patch (v1)

This is the continuation of the work in bug 569504.
Attachment #449544 - Flags: approval1.9.2.5?
Attachment #449544 - Flags: approval1.9.1.11?
Comment on attachment 449544 [details] [diff] [review]
Patch (v1)

We will not be taking this for 3.6.6. Moving approval request forward.

If you disagree, send me an email.
Attachment #449544 - Flags: approval1.9.2.7?
Attachment #449544 - Flags: approval1.9.2.6-
Attachment #449544 - Flags: approval1.9.2.5?
Attachment #449544 - Flags: approval1.9.1.12?
Attachment #449544 - Flags: approval1.9.1.11?
status1.9.1: ? → ---
status1.9.2: ? → ---
Comment on attachment 449544 [details] [diff] [review]
Patch (v1)

a=LegNeato for 1.9.2.9 and 1.9.1.12
Attachment #449544 - Flags: approval1.9.2.9?
Attachment #449544 - Flags: approval1.9.2.9+
Attachment #449544 - Flags: approval1.9.1.12?
Attachment #449544 - Flags: approval1.9.1.12+
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: