Closed Bug 1614675 Opened 5 years ago Closed 5 years ago

browser.runtime.onSuspend is undefined

Categories

(Thunderbird :: Add-Ons: Extensions API, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: o.marce, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

tried to set a onSuspend listener :
browser.runtime.onSuspend.addListener(clearReminders);

Actual results:

Error message : TypeError: browser.runtime.onSuspend is undefined

Expected results:

listener registered as defined in :
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onSuspend
that is referenced from :
https://thunderbird-webextensions.readthedocs.io/en/68/index.html

The page you linked to states that the event is not supported in Firefox. That means it's also not supported in Thunderbird.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.