Only attempt to run the SpecialPowers.exactGC callback if it's passed in

RESOLVED FIXED in mozilla37

Status

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: Ehsan, Assigned: Ehsan)

Tracking

Trunk
mozilla37
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Created attachment 8535309 [details] [diff] [review]
Patch (v1)

The media tests sometimes call this without passing a callback, resulting in errors such as the below logged:

JavaScript error: chrome://specialpowers/content/specialpowersAPI.js, line 1409: TypeError: cb is not a function
Attachment #8535309 - Flags: review?(ted)
Attachment #8535309 - Flags: review?(ted) → review+

Comment 1

4 years ago
https://hg.mozilla.org/mozilla-central/rev/760314214a09
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
(Assignee)

Updated

4 years ago
Assignee: nobody → ehsan
You need to log in before you can comment on or make changes to this bug.