When calling browser.i18n.getMessage('myKey')
in a Firefox WebExtension, an exception is shown in the background Console if 'myKey' does not exist:
Unknown localization message myKey
In Chrome, it fails silently and returns an empty string.
At other times, I find that it returns a string of ??
. This is not the same as Chome.