From 38e679af0274fcb47121775abb0c2742eda5d543 Mon Sep 17 00:00:00 2001 From: Dave Justice Date: Thu, 17 Aug 2017 12:49:04 -0400 Subject: [PATCH] Close window on addon removal (#987) * Fix links in changelog (#977) * Update non breaking dependencies (#985) - addons-linter - eslint-plugin-mozilla - eslint-plugin-react - husky - react-player - webpack Also needed to add a new dep: - eslint-no-unsanitized Looks like this is a dep of eslint-plugin-mozilla that isn't listed correctly in the eslint-plugin-mozilla package. This package is for some reason bundled in with gecko so I do not have the time to contribute a fix at this time. Hopefully I will find the time later. * Close window on addon removal - fixes #970 --- bootstrap.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap.js b/bootstrap.js index b70d78a..c1180ab 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -61,6 +61,7 @@ function startup(data, reason) { // eslint-disable-line no-unused-vars } function shutdown(data, reason) { // eslint-disable-line no-unused-vars + closeWindow(); LegacyExtensionsUtils.getEmbeddedExtensionFor({ id: ADDON_ID, resourceURI: data.resourceURI