linting issues

This commit is contained in:
Kendall Werts 2020-02-21 11:34:14 -06:00
parent bd40dfbcfb
commit 88062b32b4
6 changed files with 5 additions and 8 deletions

View file

@ -2,7 +2,7 @@
"name": "testpilot-containers",
"title": "Multi-Account Containers",
"description": "Containers helps you keep all the parts of your online life contained in different tabs. Custom labels and color-coded tabs help keep different activities — like online shopping, travel planning, or checking work email — separate.",
"version": "6.2.1",
"version": "6.2.2",
"author": "Andrea Marchesini, Luke Crouch and Jonathan Kingston",
"bugs": {
"url": "https://github.com/mozilla/multi-account-containers/issues"

View file

@ -9,12 +9,10 @@ const backgroundLogic = {
]),
unhideQueue: [],
init() {
console.log("init")
browser.commands.onCommand.addListener(function (command) {
for (let i=0; i < NUMBER_OF_KEYBOARD_SHORTCUTS; i++) {
const key = "open_container_" + i;
const cookieStoreId = identityState.keyboardShortcut[key];
console.log(cookieStoreId);
if (command === key) {
browser.tabs.create({cookieStoreId});
}

View file

@ -91,7 +91,7 @@ const messageHandler = {
);
break;
}
console.log(response)
console.log(response);
return response;
});

View file

@ -25,7 +25,6 @@ async function enableDisableSync() {
}
async function setupOptions() {
console.log("setup")
const hasPermission = await browser.permissions.contains({permissions: ["bookmarks"]});
const { syncEnabled } = await browser.storage.local.get("syncEnabled");
if (hasPermission) {

View file

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Firefox Multi-Account Containers",
"version": "6.2.1",
"version": "6.2.2",
"incognito": "not_allowed",
"description": "Multi-Account Containers helps you keep all the parts of your online life contained in different tabs. Custom labels and color-coded tabs help keep different activities — like online shopping, travel planning, or checking work email — separate.",
"icons": {

View file

@ -11,7 +11,7 @@ describe("Sync", function() {
delete this.syncHelper;
});
it("testIdentityStateCleanup", async function() {
it.only("testIdentityStateCleanup", async function() {
await this.syncHelper.stopSyncListeners();
await this.syncHelper.setState({}, LOCAL_DATA, TEST_CONTAINERS, []);