I have the following background.js script:
background.js
browser.runtime.onInstalled.addListener(function () { browser.contextMenus.create({ id: \'add-todo\'