aboutsummaryrefslogtreecommitdiff
path: root/e2e/ambassador/src
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-03-11 10:08:35 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-03-11 10:08:35 +0900
commit594913917579ca456ca7c14801afdde09ca1e592 (patch)
tree044199229a48e395c867aabaa00a9b5132f5630d /e2e/ambassador/src
parent861f2a80a0f1fb0577d8c55fa1402b848979beb3 (diff)
fix e2e test
Diffstat (limited to 'e2e/ambassador/src')
-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,