diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-13 00:12:11 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-13 01:01:10 +0900 |
commit | 5617f6f7650e0eb5711bea5b060e98f0d2e94f46 (patch) | |
tree | 6e7a1f48f82c15beddd0015c1a63ee3df0675d38 /e2e/ambassador/src/background/index.js | |
parent | 82aad419a74a3061247d4e82656fa711e63f213c (diff) |
Add e2e test cases for deleting tabs
Diffstat (limited to 'e2e/ambassador/src/background/index.js')
-rw-r--r-- | e2e/ambassador/src/background/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/e2e/ambassador/src/background/index.js b/e2e/ambassador/src/background/index.js index c40b4d8..046b8c1 100644 --- a/e2e/ambassador/src/background/index.js +++ b/e2e/ambassador/src/background/index.js @@ -1,6 +1,7 @@ import { WINDOWS_CREATE, WINDOWS_REMOVE, WINDOWS_GET, - TABS_CREATE, TABS_SELECT_AT, TABS_GET, TABS_GET_ZOOM, TABS_SET_ZOOM, + TABS_CREATE, TABS_SELECT_AT, TABS_GET, TABS_UPDATE, + TABS_GET_ZOOM, TABS_SET_ZOOM, EVENT_KEYPRESS, EVENT_KEYDOWN, EVENT_KEYUP, SCROLL_GET, SCROLL_SET, } from '../shared/messages'; @@ -27,6 +28,8 @@ receiveContentMessage((message) => { }); case TABS_GET: return browser.tabs.get(message.tabId); + case TABS_UPDATE: + return browser.tabs.update(message.tabId, message.properties); case TABS_GET_ZOOM: return browser.tabs.getZoom(message.tabId); case TABS_SET_ZOOM: |