diff --git a/background.js/index.js b/background.js/index.js index b939059..d7496cc 100644 --- a/background.js/index.js +++ b/background.js/index.js @@ -27,35 +27,6 @@ async function runOnce() { startStoringJsInstrumentationResultsInDb(variation); } -/** - * Fired when a profile that has this extension installed first starts up. - * This event is not fired when a private browsing/incognito profile is started. - */ -function handleStartup() { - console.log("handleStartup", arguments); -} - -browser.runtime.onStartup.addListener(handleStartup); - -/** - * Fired when the extension is first installed, when the extension is updated - * to a new version, and when the browser is updated to a new version. - * @param details - */ -function handleInstalled(details) { - console.log("handleInstalled", details.reason, details); -} - -browser.runtime.onInstalled.addListener(handleInstalled); - -// todo: on shutdown -// Run shutdown-related non-privileged code -// Remove db - deleteDb - -// actually start -runOnce(); - - // For devtools messages /**