Remove the window argument to SpecialPowers.exactGC()

RESOLVED FIXED in Firefox 50

Status

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: mccr8, Assigned: mccr8)

Tracking

unspecified
mozilla50
Points:
---

Firefox Tracking Flags

(firefox50 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
We can use Cu.forceCC() instead of DOMWindowUtils.cycleCollect(), to let callers use this when they don't have a window.
(Assignee)

Comment 1

2 years ago
Created attachment 8772536 [details] [diff] [review]
Remove the window argument to SpecialPowers.exactGC().

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+
(Assignee)

Updated

2 years ago
Keywords: checkin-needed

Comment 3

2 years ago
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

Comment 4

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/09f55c9ebc75
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox50: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.