I am currently working on a fairly simple add-on for Firefox using the new WebExtensions API. Everything is fine until I try to define options_ui in the manifest file. When installed, loading the extension results in the following error:
An error occurred during installation: getURL cannot be called until id or uuid installed.
Full manifest:
{ "manifest_version": 2, "name": "MyExtension", "version": "1.0", "description": "...", "icons": { "48": "icons/48.png", "96": "icons/96.png" }, "permissions": [ "storage", "notifications", "*://*.example.com/" ], "browser_action": { "default_icon": "icons/32.png", "default_title": "MyExtension", "default_popup": "popup.html" }, "options_ui": { "page": "options.html" }, "background": { "scripts": [ "background.js" ] } }
The problem does not occur if options_ui not set, and the extension works as expected, regardless of the page with missing parameters, of course.
What could be causing this error? Why does this only happen with options_ui ? browser_action.default_popup has a url and this works.
Thanks in advance.
source share