aboutsummaryrefslogtreecommitdiffstats
path: root/extension
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2020-12-19 17:11:59 -0800
committerOmar Rizwan <omar@omar.website>2020-12-19 17:11:59 -0800
commit9e23fc59fc8fb3ee94aca07e2a2f7fa5d309df06 (patch)
treebe57ba6edd01b18cc7ce8a2a4f6195ec06f5422d /extension
parent375e91bdd75460340b5841d418ad6984ebaa7621 (diff)
remove tab at end of test
Diffstat (limited to 'extension')
-rw-r--r--extension/background.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/extension/background.js b/extension/background.js
index da4e37b..10b99a0 100644
--- a/extension/background.js
+++ b/extension/background.js
@@ -275,7 +275,8 @@ router["/tabs/by-id/*/control"] = {
// see https://developer.chrome.com/extensions/tabs
await browser.tabs[command](tabId);
return {size: stringToUtf8Array(buf).length};
- }
+ },
+ async truncate({path, size}) { return {}; }
};
router["/tabs/by-title"] = {