The Crossrider API on firefox does not update my view when I click the browser popup button, however in chrome it works fine. I have tried removing and installing the extension multiple times with no luck.
I got the console error in firefox as:
<Warning: appAPI.db storage is limited to 1000 bytes per key. For larger values please use appAPI.db.async Function-name: appAPI.db.set : key=CrossriderNotifier_css>
My code in popup.html evaluates in Chrome, however does not in Firefox.
What am I doing wrong?
First and foremost, you haven't done anything wrong.
The message relates to legacy code in the Notifications plugin and some relatively recent routines we added to assist users identify issues with their extension. In general, the message is just a warning and as long as the key does not exceed the 1000 bytes limit (which this plugin does not) then the message can be safely ignored.
However, for your own code we recommend using the async database for any data other than simple configuration data.
[Disclosure: I am a Crossrider employee]