aboutsummaryrefslogtreecommitdiff
path: root/e2e/ambassador/src/background/index.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-03-11 13:26:17 +0900
committerGitHub <noreply@github.com>2018-03-11 13:26:17 +0900
commit0e340959247ced73b61698542b9818b70f22597b (patch)
treec01e17c100e0f94653ac57a2b0f933485108c0a3 /e2e/ambassador/src/background/index.js
parent4f483a19cb5eec9ab205d9e8cffa08d177d0478b (diff)
parent749d71e8e5ea098f4c5ae271af1164f5e2b2a06d (diff)
Merge pull request #358 from ueokande/improve-build
Improve build
Diffstat (limited to 'e2e/ambassador/src/background/index.js')
-rw-r--r--e2e/ambassador/src/background/index.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/e2e/ambassador/src/background/index.js b/e2e/ambassador/src/background/index.js
index 5264c16..db2deb3 100644
--- a/e2e/ambassador/src/background/index.js
+++ b/e2e/ambassador/src/background/index.js
@@ -1,6 +1,6 @@
import {
WINDOWS_CREATE, WINDOWS_REMOVE, WINDOWS_GET,
- TABS_CREATE, TABS_REMOVE, TABS_SELECT_AT, TABS_GET_ZOOM, TABS_SET_ZOOM,
+ TABS_CREATE, TABS_SELECT_AT, TABS_GET_ZOOM, TABS_SET_ZOOM,
EVENT_KEYPRESS, EVENT_KEYDOWN, EVENT_KEYUP,
SCROLL_GET, SCROLL_SET,
} from '../shared/messages';
@@ -20,8 +20,6 @@ receiveContentMessage((message) => {
url: message.url,
windowId: message.windowId,
});
- case TABS_REMOVE:
- return browser.tabs.remove(message.tabId);
case TABS_SELECT_AT:
return tabs.selectAt({
windowId: message.windowId,