From 6887244e7cca67c0366da9dfc16dc3a9b7210fc1 Mon Sep 17 00:00:00 2001 From: Jonathan Kingston Date: Tue, 20 Dec 2016 21:10:35 +0000 Subject: [PATCH] Change the API back to be the correct key so only the permission is different --- webextension-experiment/api.js | 2 +- webextension-experiment/schema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webextension-experiment/api.js b/webextension-experiment/api.js index 9dab86f..0d17c69 100644 --- a/webextension-experiment/api.js +++ b/webextension-experiment/api.js @@ -26,7 +26,7 @@ function getCookieStoreIdForContainer(containerId) { class API extends ExtensionAPI { getAPI(context) { let self = { - contextualidentities: { + contextualIdentities: { get(cookieStoreId) { let containerId = getContainerForCookieStoreId(cookieStoreId); if (!containerId) { diff --git a/webextension-experiment/schema.json b/webextension-experiment/schema.json index 5d3cc7a..562ad7d 100644 --- a/webextension-experiment/schema.json +++ b/webextension-experiment/schema.json @@ -1,6 +1,6 @@ [ { - "namespace": "contextualidentities", + "namespace": "contextualIdentities", "description": "Use the browser.contextualIdentities API to query and modify contextual identity, also called as containers.", "permissions": ["contextualidentities"], "types": [