Closed Bug 1287143 Opened 8 years ago Closed 8 years ago

Remove the window argument to SpecialPowers.exactGC()

Categories

(Testing :: Mochitest, defect)

defect
Not set
normal

Tracking

(firefox50 fixed)

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

Details

Attachments

(1 file)

We can use Cu.forceCC() instead of DOMWindowUtils.cycleCollect(), to let callers use this when they don't have a window.
Cu.forceCC() is the same as DOMWindowUtils.cycleCollect(), but does not require a window.

try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9216c7d04f1e
Attachment #8772536 - Flags: review?(jmaher)
Comment on attachment 8772536 [details] [diff] [review]
Remove the window argument to SpecialPowers.exactGC().

Review of attachment 8772536 [details] [diff] [review]:
-----------------------------------------------------------------

thanks for this patch!
Attachment #8772536 - Flags: review?(jmaher) → review+
Keywords: checkin-needed
Pushed by ihsiao@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/09f55c9ebc75
Remove the window argument to SpecialPowers.exactGC(). r=jmaher
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/09f55c9ebc75
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: