Firefox not granting alarms permission

James Anderson proginosko at gmail.com
Wed Sep 13 00:50:30 UTC 2017


I've hit a brick wall while rewriting my extension for WebExtensions. I
need to use the alarms API, and I request permission in manifest.json, but
when I try to access the API from any of my background scripts I get errors
(because browser.alarms is undefined).

This is what I have in manifest.json:

    "permissions": [
        "alarms",
        "storage",
        "tabs",
        "webNavigation"
    ]

All the permissions are granted except alarms. Does anyone know what's
going wrong? Any pointers would be appreciated.

I'm using FF 55.0.3 with web-ext to run the extension.

Cheers,
James

-- 
James Anderson
Email: proginosko at gmail.com
Website: www.proginosko.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/webextensions-support/attachments/20170912/f9117537/attachment.html>


More information about the Webextensions-support mailing list