Closed
Bug 1252297
Opened 8 years ago
Closed 8 years ago
alarms.clear does not work
Categories
(WebExtensions :: Untriaged, defect)
WebExtensions
Untriaged
Tracking
(firefox48 verified)
VERIFIED
FIXED
Iteration:
47.3 - Mar 7
Tracking | Status | |
---|---|---|
firefox48 | --- | verified |
People
(Reporter: wbamberg, Assigned: andy+bugzilla)
References
Details
(Whiteboard: [alarms])
Attachments
(1 file)
2.68 KB,
application/x-xpinstall
|
Details |
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.
Assignee | ||
Updated•8 years ago
|
Whiteboard: [alarms]
Assignee | ||
Comment 1•8 years ago
|
||
This occurs when no callback is specified for .clear()
Assignee | ||
Comment 2•8 years ago
|
||
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 | ||
Updated•8 years ago
|
Assignee: nobody → amckay
Assignee | ||
Updated•8 years ago
|
Iteration: --- → 47.3 - Mar 7
Assignee | ||
Comment 3•8 years ago
|
||
Fixed in bug 1246732.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 4•8 years ago
|
||
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
status-firefox48:
--- → verified
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•