use 'contextualidentities' consistently
This commit is contained in:
parent
9092bd5fdf
commit
49fac717c0
3 changed files with 5 additions and 19 deletions
|
@ -19,7 +19,7 @@ function convert(identity) {
|
||||||
class API extends ExtensionAPI {
|
class API extends ExtensionAPI {
|
||||||
getAPI(context) {
|
getAPI(context) {
|
||||||
let self = {
|
let self = {
|
||||||
contextualIdentities: {
|
contextualidentities: {
|
||||||
get(cookieStoreId) {
|
get(cookieStoreId) {
|
||||||
let containerId = getContainerForCookieStoreId(cookieStoreId);
|
let containerId = getContainerForCookieStoreId(cookieStoreId);
|
||||||
if (!containerId) {
|
if (!containerId) {
|
||||||
|
|
|
@ -1,22 +1,8 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"namespace": "manifest",
|
"namespace": "contextualidentities",
|
||||||
"types": [
|
|
||||||
{
|
|
||||||
"$extend": "Permission",
|
|
||||||
"choices": [{
|
|
||||||
"type": "string",
|
|
||||||
"enum": [
|
|
||||||
"contextualIdentities"
|
|
||||||
]
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"namespace": "contextualIdentities",
|
|
||||||
"description": "Use the <code>browser.contextualIdentities</code> API to query and modify contextual identity, also called as containers.",
|
"description": "Use the <code>browser.contextualIdentities</code> API to query and modify contextual identity, also called as containers.",
|
||||||
"permissions": ["contextualIdentities"],
|
"permissions": ["contextualidentities"],
|
||||||
"types": [
|
"types": [
|
||||||
{
|
{
|
||||||
"id": "ContextualIdentity",
|
"id": "ContextualIdentity",
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
"homepage_url": "https://testpilot.firefox.com/",
|
"homepage_url": "https://testpilot.firefox.com/",
|
||||||
|
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"experiments.contextualIdentites",
|
"experiments.contextualidentities",
|
||||||
"contextualIdentites"
|
"contextualidentities"
|
||||||
],
|
],
|
||||||
|
|
||||||
"browser_action": {
|
"browser_action": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue