Closed Bug 1110536 Opened 10 years ago Closed 10 years ago

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

Categories

(Testing :: Mochitest, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla37

People

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

Details

Attachments

(1 file)

Attached patch Patch (v1)Splinter Review
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+
https://hg.mozilla.org/mozilla-central/rev/760314214a09
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Assignee: nobody → ehsan
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: