Status

defect
VERIFIED FIXED
4 years ago
Last year

People

(Reporter: wbamberg, Assigned: andy+bugzilla)

Tracking

unspecified
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox48 verified)

Details

(Whiteboard: [alarms])

Attachments

(1 attachment)

Posted file alarms-clear.xpi
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.
Whiteboard: [alarms]
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
Assignee: nobody → amckay
Iteration: --- → 47.3 - Mar 7
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.
Status: RESOLVED → VERIFIED
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.