I've attached a simple add-on that adds a browser action. When you click the button once, it creates an alarm using chrome.alarms.create(). When you click the button again, it clears the alarm using chrome.alarms.clear(). On Firefox, when you click the button the second time, the alarm is not cleared, and instead you get "f is not a function" in the Browser Console.
This occurs when no callback is specified for .clear()
Kris says that when the schema lands in bug 1246732, this will take care of it, I'll retest it when it does.
Depends on: 1246732
Fixed in bug 1246732.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
I was able to reproduce the initial issue on Firefox 47.0a1 (2016-02-29) under Windows 10 64-bit. Verified fixed on Firefox 48.0a1 (2016-04-07) under Windows 10 64-bit, Mac OS X 10.11 and Ubuntu 14.04 32-bit.
You need to log in before you can comment on or make changes to this bug.