Bug 1829618 - Enable Prettier on json files (automatic fixes). r=perftest-reviewers,webcompat-reviewers,extension-reviewers,andi,desktop-theme-reviewers,pip-reviewers,devtools-reviewers,sync-reviewers,mossop,denschub,dao,sparky,robwu,geckoview-reviewers,owlish

Differential Revision: https://phabricator.services.mozilla.com/D176336
This commit is contained in:
Mark Banner 2023-05-09 16:14:51 +00:00
parent 97d54bfdc7
commit c2dd8e3266
533 changed files with 15231 additions and 10904 deletions

View file

@ -4,13 +4,9 @@
"DontCheckDefaultBrowser": true,
"FlashPlugin": {
"Allow": [
"https://www.example.com"
],
"Allow": ["https://www.example.com"],
"Block": [
"https://www.example.org"
]
"Block": ["https://www.example.org"]
},
"CreateMasterPassword": false

View file

@ -1,14 +1,9 @@
{
"policies": {
"WebsiteFilter": {
"Block": [
"*://*.mozilla.org/*",
"invalid_pattern"
],
"Block": ["*://*.mozilla.org/*", "invalid_pattern"],
"Exceptions": [
"*://*.mozilla.org/*about*"
]
"Exceptions": ["*://*.mozilla.org/*about*"]
}
}
}

View file

@ -2,11 +2,10 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"3rdparty": {
"type": "object",
"properties": {
"Extensions" : {
"Extensions": {
"type": "object",
"patternProperties": {
"^.*$": {
@ -36,19 +35,19 @@
"Authentication": {
"type": "object",
"properties": {
"SPNEGO" : {
"SPNEGO": {
"type": "array",
"items": {
"type": "string"
}
},
"Delegated" : {
"Delegated": {
"type": "array",
"items": {
"type": "string"
}
},
"NTLM" : {
"NTLM": {
"type": "array",
"items": {
"type": "string"
@ -187,11 +186,35 @@
},
"icon": {
"type": "string",
"enum": ["fingerprint", "briefcase", "dollar", "cart", "vacation", "gift", "food", "fruit", "pet", "tree", "chill", "circle", "fence"]
"enum": [
"fingerprint",
"briefcase",
"dollar",
"cart",
"vacation",
"gift",
"food",
"fruit",
"pet",
"tree",
"chill",
"circle",
"fence"
]
},
"color": {
"type": "string",
"enum": ["blue", "turquoise", "green", "yellow", "orange", "red", "pink", "purple", "toolbar"]
"enum": [
"blue",
"turquoise",
"green",
"yellow",
"orange",
"red",
"pink",
"purple",
"toolbar"
]
}
},
"type": "object"
@ -250,14 +273,27 @@
"Behavior": {
"type": "string",
"enum": ["accept", "reject-foreign", "reject", "limit-foreign", "reject-tracker", "reject-tracker-and-partition-foreign"]
"enum": [
"accept",
"reject-foreign",
"reject",
"limit-foreign",
"reject-tracker",
"reject-tracker-and-partition-foreign"
]
},
"BehaviorPrivateBrowsing": {
"type": "string",
"enum": ["accept", "reject-foreign", "reject", "limit-foreign", "reject-tracker", "reject-tracker-and-partition-foreign"]
"enum": [
"accept",
"reject-foreign",
"reject",
"limit-foreign",
"reject-tracker",
"reject-tracker-and-partition-foreign"
]
}
}
},
@ -519,19 +555,19 @@
"Extensions": {
"type": "object",
"properties": {
"Install" : {
"Install": {
"type": "array",
"items": {
"type": "string"
}
},
"Uninstall" : {
"Uninstall": {
"type": "array",
"items": {
"type": "string"
}
},
"Locked" : {
"Locked": {
"type": "array",
"items": {
"type": "string"
@ -554,7 +590,13 @@
"type": "array",
"items": {
"type": "string",
"enum": ["extension", "dictionary", "locale", "theme", "sitepermission"]
"enum": [
"extension",
"dictionary",
"locale",
"theme",
"sitepermission"
]
}
},
"blocked_install_message": {
@ -581,7 +623,12 @@
"properties": {
"installation_mode": {
"type": "string",
"enum": ["allowed", "blocked", "force_installed", "normal_installed"]
"enum": [
"allowed",
"blocked",
"force_installed",
"normal_installed"
]
},
"install_url": {
"type": "string"
@ -815,7 +862,7 @@
},
"ManualAppUpdateOnly": {
"type": "boolean"
"type": "boolean"
},
"NetworkPrediction": {
@ -839,7 +886,7 @@
},
"OverrideFirstRunPage": {
"type": "string",
"type": "string"
},
"OverridePostUpdatePage": {
@ -1326,7 +1373,7 @@
"type": "string"
}
},
"required": ["Title", "URL"],
"required": ["Title", "URL"]
},
"UserMessaging": {

View file

@ -1,39 +1,44 @@
{
"policies": {
"DisablePrivateBrowsing": true,
"DisplayBookmarksToolbar": true,
"ManagedBookmarks": [{
"toplevel_name": "Folder 1"
},
{
"name": "Bookmark 1",
"url": "https://example.com/"
},
{
"name": "Bookmark 2",
"url": "https://bookmark2.example.com/"
}, {
"children": [{
"name": "Bookmark 3",
"url": "https://bookmark3.example.com/"
},
{
"name": "Bookmark 4",
"url": "https://bookmark4.example.com/"
}
],
"name": "Folder 2"
}, {
"children": [{
"name": "Bookmark 5",
"url": "https://bookmark5.example.com/"
},
{
"name": "Bookmark 6",
"url": "https://bookmark6.example.com/"
}
]
}
]
}
"policies": {
"DisablePrivateBrowsing": true,
"DisplayBookmarksToolbar": true,
"ManagedBookmarks": [
{
"toplevel_name": "Folder 1"
},
{
"name": "Bookmark 1",
"url": "https://example.com/"
},
{
"name": "Bookmark 2",
"url": "https://bookmark2.example.com/"
},
{
"children": [
{
"name": "Bookmark 3",
"url": "https://bookmark3.example.com/"
},
{
"name": "Bookmark 4",
"url": "https://bookmark4.example.com/"
}
],
"name": "Folder 2"
},
{
"children": [
{
"name": "Bookmark 5",
"url": "https://bookmark5.example.com/"
},
{
"name": "Bookmark 6",
"url": "https://bookmark6.example.com/"
}
]
}
]
}
}

View file

@ -1,41 +1,23 @@
{
"policies": {
"PopupBlocking": {
"Allow": [
"https://www.allow.com",
"https://www.pre-existing-deny.com"
]
"Allow": ["https://www.allow.com", "https://www.pre-existing-deny.com"]
},
"Cookies": {
"Allow": [
"https://www.allow.com",
"https://www.pre-existing-deny.com"
],
"Allow": ["https://www.allow.com", "https://www.pre-existing-deny.com"],
"Block": [
"https://www.deny.com",
"https://www.pre-existing-allow.com"
]
"Block": ["https://www.deny.com", "https://www.pre-existing-allow.com"]
},
"InstallAddonsPermission": {
"Allow": [
"https://www.allow.com",
"https://www.pre-existing-deny.com"
]
"Allow": ["https://www.allow.com", "https://www.pre-existing-deny.com"]
},
"FlashPlugin": {
"Allow": [
"https://www.allow.com",
"https://www.pre-existing-deny.com"
],
"Allow": ["https://www.allow.com", "https://www.pre-existing-deny.com"],
"Block": [
"https://www.deny.com",
"https://www.pre-existing-allow.com"
]
"Block": ["https://www.deny.com", "https://www.pre-existing-allow.com"]
}
}
}

View file

@ -3,9 +3,7 @@
"url": "chrome://browser/content/parent/ext-bookmarks.js",
"schema": "chrome://browser/content/schemas/bookmarks.json",
"scopes": ["addon_parent"],
"paths": [
["bookmarks"]
]
"paths": [["bookmarks"]]
},
"browserAction": {
"url": "chrome://browser/content/parent/ext-browserAction.js",
@ -13,26 +11,19 @@
"scopes": ["addon_parent"],
"events": ["update", "uninstall", "disable"],
"manifest": ["browser_action", "action"],
"paths": [
["browserAction"],
["action"]
]
"paths": [["browserAction"], ["action"]]
},
"browsingData": {
"url": "chrome://extensions/content/parent/ext-browsingData.js",
"schema": "chrome://extensions/content/schemas/browsing_data.json",
"scopes": ["addon_parent"],
"paths": [
["browsingData"]
]
"paths": [["browsingData"]]
},
"captivePortal": {
"url": "chrome://extensions/content/parent/ext-captivePortal.js",
"schema": "chrome://extensions/content/schemas/captive_portal.json",
"scopes": ["addon_parent"],
"paths": [
["captivePortal"]
]
"paths": [["captivePortal"]]
},
"chrome_settings_overrides": {
"url": "chrome://browser/content/parent/ext-chrome-settings-overrides.js",
@ -48,9 +39,7 @@
"scopes": ["addon_parent"],
"events": ["uninstall"],
"manifest": ["commands"],
"paths": [
["commands"]
]
"paths": [["commands"]]
},
"devtools": {
"url": "chrome://browser/content/parent/ext-devtools.js",
@ -58,57 +47,43 @@
"scopes": ["devtools_parent"],
"events": ["uninstall"],
"manifest": ["devtools_page"],
"paths": [
["devtools"]
]
"paths": [["devtools"]]
},
"devtools_inspectedWindow": {
"url": "chrome://browser/content/parent/ext-devtools-inspectedWindow.js",
"schema": "chrome://browser/content/schemas/devtools_inspected_window.json",
"scopes": ["devtools_parent"],
"paths": [
["devtools", "inspectedWindow"]
]
"paths": [["devtools", "inspectedWindow"]]
},
"devtools_network": {
"url": "chrome://browser/content/parent/ext-devtools-network.js",
"schema": "chrome://browser/content/schemas/devtools_network.json",
"scopes": ["devtools_parent"],
"paths": [
["devtools", "network"]
]
"paths": [["devtools", "network"]]
},
"devtools_panels": {
"url": "chrome://browser/content/parent/ext-devtools-panels.js",
"schema": "chrome://browser/content/schemas/devtools_panels.json",
"scopes": ["devtools_parent"],
"paths": [
["devtools", "panels"]
]
"paths": [["devtools", "panels"]]
},
"find": {
"url": "chrome://browser/content/parent/ext-find.js",
"schema": "chrome://browser/content/schemas/find.json",
"scopes": ["addon_parent"],
"paths": [
["find"]
]
"paths": [["find"]]
},
"history": {
"url": "chrome://browser/content/parent/ext-history.js",
"schema": "chrome://browser/content/schemas/history.json",
"scopes": ["addon_parent"],
"paths": [
["history"]
]
"paths": [["history"]]
},
"identity": {
"url": "chrome://extensions/content/parent/ext-identity.js",
"schema": "chrome://extensions/content/schemas/identity.json",
"scopes": ["addon_parent"],
"paths": [
["identity"]
]
"paths": [["identity"]]
},
"menusChild": {
"schema": "chrome://browser/content/schemas/menus_child.json",
@ -120,28 +95,20 @@
"scopes": ["addon_parent"],
"events": ["startup"],
"permissions": ["menus", "contextMenus"],
"paths": [
["contextMenus"],
["menus"],
["menusInternal"]
]
"paths": [["contextMenus"], ["menus"], ["menusInternal"]]
},
"normandyAddonStudy": {
"url": "chrome://browser/content/parent/ext-normandyAddonStudy.js",
"schema": "chrome://browser/content/schemas/normandyAddonStudy.json",
"scopes": ["addon_parent", "content_parent", "devtools_parent"],
"paths": [
["normandyAddonStudy"]
]
"paths": [["normandyAddonStudy"]]
},
"omnibox": {
"url": "chrome://browser/content/parent/ext-omnibox.js",
"schema": "chrome://browser/content/schemas/omnibox.json",
"scopes": ["addon_parent"],
"manifest": ["omnibox"],
"paths": [
["omnibox"]
]
"paths": [["omnibox"]]
},
"pageAction": {
"url": "chrome://browser/content/parent/ext-pageAction.js",
@ -149,41 +116,31 @@
"scopes": ["addon_parent"],
"events": ["update", "uninstall", "disable"],
"manifest": ["page_action"],
"paths": [
["pageAction"]
]
"paths": [["pageAction"]]
},
"pkcs11": {
"url": "chrome://browser/content/parent/ext-pkcs11.js",
"schema": "chrome://browser/content/schemas/pkcs11.json",
"scopes": ["addon_parent"],
"paths": [
["pkcs11"]
]
"paths": [["pkcs11"]]
},
"geckoProfiler": {
"url": "chrome://extensions/content/parent/ext-geckoProfiler.js",
"schema": "chrome://extensions/content/schemas/geckoProfiler.json",
"scopes": ["addon_parent"],
"paths": [
["geckoProfiler"]
]
"paths": [["geckoProfiler"]]
},
"search": {
"url": "chrome://browser/content/parent/ext-search.js",
"schema": "chrome://browser/content/schemas/search.json",
"scopes": ["addon_parent"],
"paths": [
["search"]
]
"paths": [["search"]]
},
"sessions": {
"url": "chrome://browser/content/parent/ext-sessions.js",
"schema": "chrome://browser/content/schemas/sessions.json",
"scopes": ["addon_parent"],
"paths": [
["sessions"]
]
"paths": [["sessions"]]
},
"sidebarAction": {
"url": "chrome://browser/content/parent/ext-sidebarAction.js",
@ -191,35 +148,27 @@
"scopes": ["addon_parent"],
"events": ["uninstall"],
"manifest": ["sidebar_action"],
"paths": [
["sidebarAction"]
]
"paths": [["sidebarAction"]]
},
"tabs": {
"url": "chrome://browser/content/parent/ext-tabs.js",
"schema": "chrome://browser/content/schemas/tabs.json",
"scopes": ["addon_parent"],
"events": ["update", "disable"],
"paths": [
["tabs"]
]
"paths": [["tabs"]]
},
"topSites": {
"url": "chrome://browser/content/parent/ext-topSites.js",
"schema": "chrome://browser/content/schemas/top_sites.json",
"scopes": ["addon_parent"],
"paths": [
["topSites"]
]
"paths": [["topSites"]]
},
"urlbar": {
"url": "chrome://browser/content/parent/ext-urlbar.js",
"schema": "chrome://browser/content/schemas/urlbar.json",
"scopes": ["addon_parent"],
"settings": true,
"paths": [
["urlbar"]
]
"paths": [["urlbar"]]
},
"urlOverrides": {
"url": "chrome://browser/content/parent/ext-url-overrides.js",
@ -227,16 +176,12 @@
"scopes": ["addon_parent"],
"events": ["update", "uninstall", "disable", "enabling"],
"manifest": ["chrome_url_overrides"],
"paths": [
["urlOverrides"]
]
"paths": [["urlOverrides"]]
},
"windows": {
"url": "chrome://browser/content/parent/ext-windows.js",
"schema": "chrome://browser/content/schemas/windows.json",
"scopes": ["addon_parent"],
"paths": [
["windows"]
]
"paths": [["windows"]]
}
}

View file

@ -8,12 +8,12 @@
"types": [
{
"$extend": "OptionalPermission",
"choices": [{
"type": "string",
"enum": [
"bookmarks"
]
}]
"choices": [
{
"type": "string",
"enum": ["bookmarks"]
}
]
}
]
},
@ -174,7 +174,7 @@
{
"name": "results",
"type": "array",
"items": { "$ref": "BookmarkTreeNode"}
"items": { "$ref": "BookmarkTreeNode" }
}
]
}

View file

@ -16,7 +16,7 @@
"optional": true,
"preprocess": "localize"
},
"search_provider": {
"search_provider": {
"type": "object",
"optional": true,
"additionalProperties": { "$ref": "UnrecognizedProperty" },
@ -176,7 +176,13 @@
"purpose": {
"type": "string",
"optional": true,
"enum": ["contextmenu", "searchbar", "homepage", "keyword", "newtab"],
"enum": [
"contextmenu",
"searchbar",
"homepage",
"keyword",
"newtab"
],
"description": "The context that initiates a search, required if condition is \"purpose\"."
},
"value": {

View file

@ -6,7 +6,7 @@
{
"namespace": "manifest",
"types": [
{
{
"id": "KeyName",
"type": "string",
"format": "manifestShortcutKey"
@ -81,7 +81,7 @@
"id": "Command",
"type": "object",
"properties": {
"name": {
"name": {
"type": "string",
"optional": true,
"description": "The name of the Extension Command"
@ -127,7 +127,7 @@
"name": {
"type": "string",
"description": "The name of the command."
},
},
"description": {
"type": "string",
"optional": true,

View file

@ -13,12 +13,12 @@
},
{
"$extend": "OptionalPermission",
"choices": [{
"type": "string",
"enum": [
"devtools"
]
}]
"choices": [
{
"type": "string",
"enum": ["devtools"]
}
]
}
]
},

View file

@ -73,7 +73,7 @@
{
"name": "error",
"type": "object",
"additionalProperties": {"type": "any"},
"additionalProperties": { "type": "any" },
"optional": true,
"description": "Set to undefined if the resource content was set successfully; describes error otherwise."
}

View file

@ -57,7 +57,7 @@
{
"name": "harLog",
"type": "object",
"additionalProperties": {"type": "any"},
"additionalProperties": { "type": "any" },
"description": "A HAR log. See HAR specification for details."
}
]

View file

@ -336,8 +336,8 @@
"name": "iconPath",
"description": "Path of the panel's icon relative to the extension directory, or an empty string to use the default extension icon as the panel icon.",
"choices": [
{"type": "string", "enum": [""]},
{"$ref": "manifest.ExtensionURL"}
{ "type": "string", "enum": [""] },
{ "$ref": "manifest.ExtensionURL" }
]
},
{

View file

@ -8,12 +8,12 @@
"types": [
{
"$extend": "OptionalPermission",
"choices": [{
"type": "string",
"enum": [
"find"
]
}]
"choices": [
{
"type": "string",
"enum": ["find"]
}
]
}
]
},

View file

@ -8,12 +8,12 @@
"types": [
{
"$extend": "OptionalPermission",
"choices": [{
"type": "string",
"enum": [
"history"
]
}]
"choices": [
{
"type": "string",
"enum": ["history"]
}
]
}
]
},
@ -25,7 +25,19 @@
{
"id": "TransitionType",
"type": "string",
"enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_subframe", "generated", "auto_toplevel", "form_submit", "reload", "keyword", "keyword_generated"],
"enum": [
"link",
"typed",
"auto_bookmark",
"auto_subframe",
"manual_subframe",
"generated",
"auto_toplevel",
"form_submit",
"reload",
"keyword",
"keyword_generated"
],
"description": "The $(topic:transition-types)[transition type] for this visit from its referrer."
},
{

View file

@ -8,21 +8,21 @@
"types": [
{
"$extend": "PermissionNoPrompt",
"choices": [{
"type": "string",
"enum": [
"menus",
"contextMenus"
]
}]
}, {
"choices": [
{
"type": "string",
"enum": ["menus", "contextMenus"]
}
]
},
{
"$extend": "OptionalPermissionNoPrompt",
"choices": [{
"type": "string",
"enum": [
"menus.overrideContext"
]
}]
"choices": [
{
"type": "string",
"enum": ["menus.overrideContext"]
}
]
}
]
},
@ -49,7 +49,22 @@
"choices": [
{
"type": "string",
"enum": ["all", "page", "frame", "selection", "link", "editable", "password", "image", "video", "audio", "launcher", "bookmark", "tab", "tools_menu"]
"enum": [
"all",
"page",
"frame",
"selection",
"link",
"editable",
"password",
"image",
"video",
"audio",
"launcher",
"bookmark",
"tab",
"tools_menu"
]
},
{
"type": "string",
@ -75,17 +90,11 @@
"description": "Information sent when a context menu item is clicked.",
"properties": {
"menuItemId": {
"choices": [
{ "type": "integer" },
{ "type": "string" }
],
"choices": [{ "type": "integer" }, { "type": "string" }],
"description": "The ID of the menu item that was clicked."
},
"parentMenuItemId": {
"choices": [
{ "type": "integer" },
{ "type": "string" }
],
"choices": [{ "type": "integer" }, { "type": "string" }],
"optional": true,
"description": "The parent ID, if any, for the item clicked."
},
@ -120,10 +129,10 @@
"description": "The URL of the page where the menu item was clicked. This property is not set if the click occured in a context where there is no current page, such as in a launcher context menu."
},
"frameId": {
"type": "integer",
"optional": true,
"minimum": 0,
"description": "The id of the frame of the element where the context menu was clicked."
"type": "integer",
"optional": true,
"minimum": 0,
"description": "The id of the frame of the element where the context menu was clicked."
},
"frameUrl": {
"type": "string",
@ -181,10 +190,7 @@
"type": "function",
"description": "Creates a new context menu item. Note that if an error occurs during creation, you may not find out until the creation callback fires (the details will be in $(ref:runtime.lastError)).",
"returns": {
"choices": [
{ "type": "integer" },
{ "type": "string" }
],
"choices": [{ "type": "integer" }, { "type": "string" }],
"description": "The ID of the newly created item."
},
"parameters": [
@ -204,9 +210,9 @@
},
"icons": {
"type": "object",
"optional" : true,
"patternProperties" : {
"^[1-9]\\d*$": { "type" : "string" }
"optional": true,
"patternProperties": {
"^[1-9]\\d*$": { "type": "string" }
}
},
"title": {
@ -261,22 +267,19 @@
]
},
"parentId": {
"choices": [
{ "type": "integer" },
{ "type": "string" }
],
"choices": [{ "type": "integer" }, { "type": "string" }],
"optional": true,
"description": "The ID of a parent menu item; this makes the item a child of a previously added item."
},
"documentUrlPatterns": {
"type": "array",
"items": {"type": "string"},
"items": { "type": "string" },
"optional": true,
"description": "Lets you restrict the item to apply only to documents whose URL matches one of the given patterns. (This applies to frames as well.) For details on the format of a pattern, see $(topic:match_patterns)[Match Patterns]."
},
"targetUrlPatterns": {
"type": "array",
"items": {"type": "string"},
"items": { "type": "string" },
"optional": true,
"description": "Similar to documentUrlPatterns, but lets you filter based on the src attribute of img/audio/video tags and the href of anchor tags."
},
@ -290,13 +293,21 @@
{ "type": "string" },
{
"type": "string",
"enum": ["_execute_browser_action", "_execute_page_action", "_execute_sidebar_action"],
"enum": [
"_execute_browser_action",
"_execute_page_action",
"_execute_sidebar_action"
],
"max_manifest_version": 2,
"description": "Manifest V2 supports internal commands _execute_page_action, _execute_browser_action and _execute_sidebar_action."
},
{
"type": "string",
"enum": ["_execute_action", "_execute_page_action", "_execute_sidebar_action"],
"enum": [
"_execute_action",
"_execute_page_action",
"_execute_sidebar_action"
],
"min_manifest_version": 3,
"description": "Manifest V3 supports internal commands _execute_page_action, _execute_action and _execute_sidebar_action."
}
@ -322,10 +333,7 @@
"async": "callback",
"parameters": [
{
"choices": [
{ "type": "integer" },
{ "type": "string" }
],
"choices": [{ "type": "integer" }, { "type": "string" }],
"name": "id",
"description": "The ID of the item to update."
},
@ -341,8 +349,8 @@
"icons": {
"type": "object",
"optional": "omit-key-if-missing",
"patternProperties" : {
"^[1-9]\\d*$": { "type" : "string" }
"patternProperties": {
"^[1-9]\\d*$": { "type": "string" }
}
},
"title": {
@ -391,21 +399,18 @@
]
},
"parentId": {
"choices": [
{ "type": "integer" },
{ "type": "string" }
],
"choices": [{ "type": "integer" }, { "type": "string" }],
"optional": true,
"description": "Note: You cannot change an item to be a child of one of its own descendants."
},
"documentUrlPatterns": {
"type": "array",
"items": {"type": "string"},
"items": { "type": "string" },
"optional": true
},
"targetUrlPatterns": {
"type": "array",
"items": {"type": "string"},
"items": { "type": "string" },
"optional": true
},
"enabled": {
@ -430,10 +435,7 @@
"async": "callback",
"parameters": [
{
"choices": [
{ "type": "integer" },
{ "type": "string" }
],
"choices": [{ "type": "integer" }, { "type": "string" }],
"name": "menuItemId",
"description": "The ID of the context menu item to remove."
},
@ -540,16 +542,13 @@
"description": "A list of IDs of the menu items that were shown.",
"type": "array",
"items": {
"choices": [
{ "type": "integer" },
{ "type": "string" }
]
"choices": [{ "type": "integer" }, { "type": "string" }]
}
},
"contexts": {
"description": "A list of all contexts that apply to the menu.",
"type": "array",
"items": {"$ref": "ContextType"}
"items": { "$ref": "ContextType" }
},
"viewType": {
"$ref": "extension.ViewType",

View file

@ -1,24 +1,24 @@
[
{
"namespace": "manifest",
"types": [{
"$extend": "PermissionPrivileged",
"choices": [{
"type": "string",
"enum": [
"normandyAddonStudy"
"types": [
{
"$extend": "PermissionPrivileged",
"choices": [
{
"type": "string",
"enum": ["normandyAddonStudy"]
}
]
}]
}]
}
]
},
{
"namespace": "normandyAddonStudy",
"description": "Normandy Study API",
"allowedContexts": ["content", "devtools"],
"defaultContexts": ["content", "devtools"],
"permissions": [
"normandyAddonStudy"
],
"permissions": ["normandyAddonStudy"],
"types": [
{
"id": "Study",

View file

@ -4,12 +4,12 @@
"types": [
{
"$extend": "OptionalPermission",
"choices": [{
"type": "string",
"enum": [
"pkcs11"
]
}]
"choices": [
{
"type": "string",
"enum": ["pkcs11"]
}
]
}
]
},

View file

@ -8,12 +8,12 @@
"types": [
{
"$extend": "OptionalPermissionNoPrompt",
"choices": [{
"type": "string",
"enum": [
"search"
]
}]
"choices": [
{
"type": "string",
"enum": ["search"]
}
]
}
]
},

View file

@ -8,12 +8,12 @@
"types": [
{
"$extend": "OptionalPermission",
"choices": [{
"type": "string",
"enum": [
"sessions"
]
}]
"choices": [
{
"type": "string",
"enum": ["sessions"]
}
]
}
]
},
@ -39,18 +39,36 @@
"id": "Session",
"type": "object",
"properties": {
"lastModified": {"type": "integer", "description": "The time when the window or tab was closed or modified, represented in milliseconds since the epoch."},
"tab": {"$ref": "tabs.Tab", "optional": true, "description": "The $(ref:tabs.Tab), if this entry describes a tab. Either this or $(ref:sessions.Session.window) will be set."},
"window": {"$ref": "windows.Window", "optional": true, "description": "The $(ref:windows.Window), if this entry describes a window. Either this or $(ref:sessions.Session.tab) will be set."}
"lastModified": {
"type": "integer",
"description": "The time when the window or tab was closed or modified, represented in milliseconds since the epoch."
},
"tab": {
"$ref": "tabs.Tab",
"optional": true,
"description": "The $(ref:tabs.Tab), if this entry describes a tab. Either this or $(ref:sessions.Session.window) will be set."
},
"window": {
"$ref": "windows.Window",
"optional": true,
"description": "The $(ref:windows.Window), if this entry describes a window. Either this or $(ref:sessions.Session.tab) will be set."
}
}
},
{
"id": "Device",
"type": "object",
"properties": {
"info": {"type": "string"},
"deviceName": {"type": "string", "description": "The name of the foreign device."},
"sessions": {"type": "array", "items": {"$ref": "Session"}, "description": "A list of open window sessions for the foreign device, sorted from most recently to least recently modified session."}
"info": { "type": "string" },
"deviceName": {
"type": "string",
"description": "The name of the foreign device."
},
"sessions": {
"type": "array",
"items": { "$ref": "Session" },
"description": "A list of open window sessions for the foreign device, sorted from most recently to least recently modified session."
}
}
}
],
@ -103,7 +121,10 @@
"name": "callback",
"parameters": [
{
"name": "sessions", "type": "array", "items": { "$ref": "Session" }, "description": "The list of closed entries in reverse order that they were closed (the most recently closed tab or window will be at index <code>0</code>). The entries may contain either tabs or windows."
"name": "sessions",
"type": "array",
"items": { "$ref": "Session" },
"description": "The list of closed entries in reverse order that they were closed (the most recently closed tab or window will be at index <code>0</code>). The entries may contain either tabs or windows."
}
]
}
@ -126,7 +147,10 @@
"name": "callback",
"parameters": [
{
"name": "devices", "type": "array", "items": { "$ref": "Device" }, "description": "The list of $(ref:sessions.Device) objects for each synced session, sorted in order from device with most recently modified session to device with least recently modified session. $(ref:tabs.Tab) objects are sorted by recency in the $(ref:windows.Window) of the $(ref:sessions.Session) objects."
"name": "devices",
"type": "array",
"items": { "$ref": "Device" },
"description": "The list of $(ref:sessions.Device) objects for each synced session, sorted in order from device with most recently modified session to device with least recently modified session. $(ref:tabs.Tab) objects are sorted by recency in the $(ref:windows.Window) of the $(ref:sessions.Session) objects."
}
]
}

View file

@ -71,10 +71,7 @@
"type": "object",
"properties": {
"title": {
"choices": [
{"type": "string"},
{"type": "null"}
],
"choices": [{ "type": "string" }, { "type": "null" }],
"description": "The string the sidebar action should display when moused over."
},
"tabId": {
@ -146,7 +143,7 @@
{ "type": "string" },
{
"type": "object",
"additionalProperties": {"type": "string"}
"additionalProperties": { "type": "string" }
}
],
"optional": true,
@ -190,10 +187,7 @@
"description": "Sets the sidebar url for the window specified by windowId."
},
"panel": {
"choices": [
{"type": "string"},
{"type": "null"}
],
"choices": [{ "type": "string" }, { "type": "null" }],
"description": "The url to the html file to show in a sidebar. If set to the empty string (''), no sidebar is shown."
}
}

View file

@ -8,22 +8,21 @@
"types": [
{
"$extend": "OptionalPermissionNoPrompt",
"choices": [{
"type": "string",
"enum": [
"activeTab"
]
}]
"choices": [
{
"type": "string",
"enum": ["activeTab"]
}
]
},
{
"$extend": "OptionalPermission",
"choices": [{
"type": "string",
"enum": [
"tabs",
"tabHide"
]
}]
"choices": [
{
"type": "string",
"enum": ["tabs", "tabHide"]
}
]
}
]
},
@ -31,13 +30,23 @@
"namespace": "tabs",
"description": "Use the <code>browser.tabs</code> API to interact with the browser's tab system. You can use this API to create, modify, and rearrange tabs in the browser.",
"types": [
{ "id": "MutedInfoReason",
{
"id": "MutedInfoReason",
"type": "string",
"description": "An event that caused a muted state change.",
"enum": [
{"name": "user", "description": "A user input action has set/overridden the muted state."},
{"name": "capture", "description": "Tab capture started, forcing a muted state change."},
{"name": "extension", "description": "An extension, identified by the extensionId field, set the muted state."}
{
"name": "user",
"description": "A user input action has set/overridden the muted state."
},
{
"name": "capture",
"description": "Tab capture started, forcing a muted state change."
},
{
"name": "extension",
"description": "An extension, identified by the extensionId field, set the muted state."
}
]
},
{
@ -85,32 +94,139 @@
"id": "Tab",
"type": "object",
"properties": {
"id": {"type": "integer", "minimum": -1, "optional": true, "description": "The ID of the tab. Tab IDs are unique within a browser session. Under some circumstances a Tab may not be assigned an ID, for example when querying foreign tabs using the $(ref:sessions) API, in which case a session ID may be present. Tab ID can also be set to $(ref:tabs.TAB_ID_NONE) for apps and devtools windows."},
"index": {"type": "integer", "minimum": -1, "description": "The zero-based index of the tab within its window."},
"windowId": {"type": "integer", "optional": true, "minimum": 0, "description": "The ID of the window the tab is contained within."},
"openerTabId": {"type": "integer", "minimum": 0, "optional": true, "description": "The ID of the tab that opened this tab, if any. This property is only present if the opener tab still exists."},
"highlighted": {"type": "boolean", "description": "Whether the tab is highlighted. Works as an alias of active"},
"active": {"type": "boolean", "description": "Whether the tab is active in its window. (Does not necessarily mean the window is focused.)"},
"pinned": {"type": "boolean", "description": "Whether the tab is pinned."},
"lastAccessed": {"type": "integer", "optional": true, "description": "The last time the tab was accessed as the number of milliseconds since epoch."},
"audible": {"type": "boolean", "optional": true, "description": "Whether the tab has produced sound over the past couple of seconds (but it might not be heard if also muted). Equivalent to whether the speaker audio indicator is showing."},
"mutedInfo": {"$ref": "MutedInfo", "optional": true, "description": "Current tab muted state and the reason for the last state change."},
"url": {"type": "string", "optional": true, "permissions": ["tabs"], "description": "The URL the tab is displaying. This property is only present if the extension's manifest includes the <code>\"tabs\"</code> permission."},
"title": {"type": "string", "optional": true, "permissions": ["tabs"], "description": "The title of the tab. This property is only present if the extension's manifest includes the <code>\"tabs\"</code> permission."},
"favIconUrl": {"type": "string", "optional": true, "permissions": ["tabs"], "description": "The URL of the tab's favicon. This property is only present if the extension's manifest includes the <code>\"tabs\"</code> permission. It may also be an empty string if the tab is loading."},
"status": {"type": "string", "optional": true, "description": "Either <em>loading</em> or <em>complete</em>."},
"discarded": {"type": "boolean", "optional": true, "description": "True while the tab is not loaded with content."},
"incognito": {"type": "boolean", "description": "Whether the tab is in an incognito window."},
"width": {"type": "integer", "optional": true, "description": "The width of the tab in pixels."},
"height": {"type": "integer", "optional": true, "description": "The height of the tab in pixels."},
"hidden": {"type": "boolean", "optional": true, "description": "True if the tab is hidden."},
"sessionId": {"type": "string", "optional": true, "description": "The session ID used to uniquely identify a Tab obtained from the $(ref:sessions) API."},
"cookieStoreId": {"type": "string", "optional": true, "description": "The CookieStoreId used for the tab."},
"isArticle": {"type": "boolean", "optional": true, "description": "Whether the document in the tab can be rendered in reader mode."},
"isInReaderMode": {"type": "boolean", "optional": true, "description": "Whether the document in the tab is being rendered in reader mode."},
"sharingState": {"$ref": "SharingState", "optional": true, "description": "Current tab sharing state for screen, microphone and camera."},
"attention": {"type": "boolean", "optional": true, "description": "Whether the tab is drawing attention."},
"successorTabId": {"type": "integer", "optional": true, "minimum": -1, "description": "The ID of this tab's successor, if any; $(ref:tabs.TAB_ID_NONE) otherwise."}
"id": {
"type": "integer",
"minimum": -1,
"optional": true,
"description": "The ID of the tab. Tab IDs are unique within a browser session. Under some circumstances a Tab may not be assigned an ID, for example when querying foreign tabs using the $(ref:sessions) API, in which case a session ID may be present. Tab ID can also be set to $(ref:tabs.TAB_ID_NONE) for apps and devtools windows."
},
"index": {
"type": "integer",
"minimum": -1,
"description": "The zero-based index of the tab within its window."
},
"windowId": {
"type": "integer",
"optional": true,
"minimum": 0,
"description": "The ID of the window the tab is contained within."
},
"openerTabId": {
"type": "integer",
"minimum": 0,
"optional": true,
"description": "The ID of the tab that opened this tab, if any. This property is only present if the opener tab still exists."
},
"highlighted": {
"type": "boolean",
"description": "Whether the tab is highlighted. Works as an alias of active"
},
"active": {
"type": "boolean",
"description": "Whether the tab is active in its window. (Does not necessarily mean the window is focused.)"
},
"pinned": {
"type": "boolean",
"description": "Whether the tab is pinned."
},
"lastAccessed": {
"type": "integer",
"optional": true,
"description": "The last time the tab was accessed as the number of milliseconds since epoch."
},
"audible": {
"type": "boolean",
"optional": true,
"description": "Whether the tab has produced sound over the past couple of seconds (but it might not be heard if also muted). Equivalent to whether the speaker audio indicator is showing."
},
"mutedInfo": {
"$ref": "MutedInfo",
"optional": true,
"description": "Current tab muted state and the reason for the last state change."
},
"url": {
"type": "string",
"optional": true,
"permissions": ["tabs"],
"description": "The URL the tab is displaying. This property is only present if the extension's manifest includes the <code>\"tabs\"</code> permission."
},
"title": {
"type": "string",
"optional": true,
"permissions": ["tabs"],
"description": "The title of the tab. This property is only present if the extension's manifest includes the <code>\"tabs\"</code> permission."
},
"favIconUrl": {
"type": "string",
"optional": true,
"permissions": ["tabs"],
"description": "The URL of the tab's favicon. This property is only present if the extension's manifest includes the <code>\"tabs\"</code> permission. It may also be an empty string if the tab is loading."
},
"status": {
"type": "string",
"optional": true,
"description": "Either <em>loading</em> or <em>complete</em>."
},
"discarded": {
"type": "boolean",
"optional": true,
"description": "True while the tab is not loaded with content."
},
"incognito": {
"type": "boolean",
"description": "Whether the tab is in an incognito window."
},
"width": {
"type": "integer",
"optional": true,
"description": "The width of the tab in pixels."
},
"height": {
"type": "integer",
"optional": true,
"description": "The height of the tab in pixels."
},
"hidden": {
"type": "boolean",
"optional": true,
"description": "True if the tab is hidden."
},
"sessionId": {
"type": "string",
"optional": true,
"description": "The session ID used to uniquely identify a Tab obtained from the $(ref:sessions) API."
},
"cookieStoreId": {
"type": "string",
"optional": true,
"description": "The CookieStoreId used for the tab."
},
"isArticle": {
"type": "boolean",
"optional": true,
"description": "Whether the document in the tab can be rendered in reader mode."
},
"isInReaderMode": {
"type": "boolean",
"optional": true,
"description": "Whether the document in the tab is being rendered in reader mode."
},
"sharingState": {
"$ref": "SharingState",
"optional": true,
"description": "Current tab sharing state for screen, microphone and camera."
},
"attention": {
"type": "boolean",
"optional": true,
"description": "Whether the tab is drawing attention."
},
"successorTabId": {
"type": "integer",
"optional": true,
"minimum": -1,
"description": "The ID of this tab's successor, if any; $(ref:tabs.TAB_ID_NONE) otherwise."
}
}
},
{
@ -367,9 +483,7 @@
{
"type": "function",
"name": "callback",
"parameters": [
{"name": "tab", "$ref": "Tab"}
]
"parameters": [{ "name": "tab", "$ref": "Tab" }]
}
]
},
@ -406,7 +520,11 @@
"type": "object",
"name": "connectInfo",
"properties": {
"name": { "type": "string", "optional": true, "description": "Will be passed into onConnect for content scripts that are listening for the connection event." },
"name": {
"type": "string",
"optional": true,
"description": "Will be passed into onConnect for content scripts that are listening for the connection event."
},
"frameId": {
"type": "integer",
"optional": true,
@ -665,8 +783,8 @@
},
"url": {
"choices": [
{"type": "string"},
{"type": "array", "items": {"type": "string"}}
{ "type": "string" },
{ "type": "array", "items": { "type": "string" } }
],
"optional": true,
"description": "Match tabs against one or more $(topic:match_patterns)[URL patterns]. Note that fragment identifiers are not matched."
@ -709,8 +827,11 @@
},
"screen": {
"choices": [
{"type": "string", "enum": ["Screen", "Window", "Application"]},
{"type": "boolean"}
{
"type": "string",
"enum": ["Screen", "Window", "Application"]
},
{ "type": "boolean" }
],
"optional": true,
"description": "True for any screen sharing, or a string to specify type of screen sharing."
@ -752,39 +873,42 @@
"type": "object",
"name": "highlightInfo",
"properties": {
"windowId": {
"type": "integer",
"optional": true,
"description": "The window that contains the tabs.",
"minimum": -2
},
"populate": {
"type": "boolean",
"optional": true,
"default": true,
"description": "If true, the $(ref:windows.Window) returned will have a <var>tabs</var> property that contains a list of the $(ref:tabs.Tab) objects. The <code>Tab</code> objects only contain the <code>url</code>, <code>title</code> and <code>favIconUrl</code> properties if the extension's manifest file includes the <code>\"tabs\"</code> permission. If false, the $(ref:windows.Window) won't have the <var>tabs</var> property."
},
"tabs": {
"description": "One or more tab indices to highlight.",
"choices": [
{"type": "array", "items": {"type": "integer", "minimum": 0}},
{"type": "integer"}
]
}
}
},
{
"type": "function",
"name": "callback",
"optional": true,
"parameters": [
{
"name": "window",
"$ref": "windows.Window",
"description": "Contains details about the window whose tabs were highlighted."
}
]
}
"windowId": {
"type": "integer",
"optional": true,
"description": "The window that contains the tabs.",
"minimum": -2
},
"populate": {
"type": "boolean",
"optional": true,
"default": true,
"description": "If true, the $(ref:windows.Window) returned will have a <var>tabs</var> property that contains a list of the $(ref:tabs.Tab) objects. The <code>Tab</code> objects only contain the <code>url</code>, <code>title</code> and <code>favIconUrl</code> properties if the extension's manifest file includes the <code>\"tabs\"</code> permission. If false, the $(ref:windows.Window) won't have the <var>tabs</var> property."
},
"tabs": {
"description": "One or more tab indices to highlight.",
"choices": [
{
"type": "array",
"items": { "type": "integer", "minimum": 0 }
},
{ "type": "integer" }
]
}
}
},
{
"type": "function",
"name": "callback",
"optional": true,
"parameters": [
{
"name": "window",
"$ref": "windows.Window",
"description": "Contains details about the window whose tabs were highlighted."
}
]
}
]
},
{
@ -873,8 +997,8 @@
"name": "tabIds",
"description": "The tab or list of tabs to move.",
"choices": [
{"type": "integer", "minimum": 0},
{"type": "array", "items": {"type": "integer", "minimum": 0}}
{ "type": "integer", "minimum": 0 },
{ "type": "array", "items": { "type": "integer", "minimum": 0 } }
]
},
{
@ -903,8 +1027,8 @@
"name": "tabs",
"description": "Details about the moved tabs.",
"choices": [
{"$ref": "Tab"},
{"type": "array", "items": {"$ref": "Tab"}}
{ "$ref": "Tab" },
{ "type": "array", "items": { "$ref": "Tab" } }
]
}
]
@ -969,8 +1093,8 @@
"name": "tabIds",
"description": "The tab or list of tabs to close.",
"choices": [
{"type": "integer", "minimum": 0},
{"type": "array", "items": {"type": "integer", "minimum": 0}}
{ "type": "integer", "minimum": 0 },
{ "type": "array", "items": { "type": "integer", "minimum": 0 } }
]
},
{
@ -991,8 +1115,8 @@
"name": "tabIds",
"description": "The tab or list of tabs to discard.",
"choices": [
{"type": "integer", "minimum": 0},
{"type": "array", "items": {"type": "integer", "minimum": 0}}
{ "type": "integer", "minimum": 0 },
{ "type": "array", "items": { "type": "integer", "minimum": 0 } }
]
}
]
@ -1120,7 +1244,7 @@
"name": "result",
"optional": true,
"type": "array",
"items": {"type": "any"},
"items": { "type": "any" },
"description": "The result of the script in every injected frame."
}
]
@ -1349,8 +1473,8 @@
"name": "tabIds",
"description": "The TAB ID or list of TAB IDs to show.",
"choices": [
{"type": "integer", "minimum": 0},
{"type": "array", "items": {"type": "integer", "minimum": 0}}
{ "type": "integer", "minimum": 0 },
{ "type": "array", "items": { "type": "integer", "minimum": 0 } }
]
}
]
@ -1366,8 +1490,8 @@
"name": "tabIds",
"description": "The TAB ID or list of TAB IDs to hide.",
"choices": [
{"type": "integer", "minimum": 0},
{"type": "array", "items": {"type": "integer", "minimum": 0}}
{ "type": "integer", "minimum": 0 },
{ "type": "array", "items": { "type": "integer", "minimum": 0 } }
]
}
]
@ -1475,7 +1599,7 @@
"type": "function",
"description": "Fired when a tab is updated.",
"parameters": [
{"type": "integer", "name": "tabId", "minimum": 0},
{ "type": "integer", "name": "tabId", "minimum": 0 },
{
"type": "object",
"name": "changeInfo",
@ -1566,14 +1690,14 @@
"type": "function",
"description": "Fired when a tab is moved within a window. Only one move event is fired, representing the tab the user directly moved. Move events are not fired for the other tabs that must move in response. This event is not fired when a tab is moved between windows. For that, see $(ref:tabs.onDetached).",
"parameters": [
{"type": "integer", "name": "tabId", "minimum": 0},
{ "type": "integer", "name": "tabId", "minimum": 0 },
{
"type": "object",
"name": "moveInfo",
"properties": {
"windowId": {"type": "integer", "minimum": 0},
"fromIndex": {"type": "integer", "minimum": 0},
"toIndex": {"type": "integer", "minimum": 0}
"windowId": { "type": "integer", "minimum": 0 },
"fromIndex": { "type": "integer", "minimum": 0 },
"toIndex": { "type": "integer", "minimum": 0 }
}
}
]
@ -1623,7 +1747,7 @@
},
"tabIds": {
"type": "array",
"items": {"type": "integer", "minimum": 0},
"items": { "type": "integer", "minimum": 0 },
"description": "All highlighted tabs in the window."
}
}
@ -1635,13 +1759,13 @@
"type": "function",
"description": "Fired when a tab is detached from a window, for example because it is being moved between windows.",
"parameters": [
{"type": "integer", "name": "tabId", "minimum": 0},
{ "type": "integer", "name": "tabId", "minimum": 0 },
{
"type": "object",
"name": "detachInfo",
"properties": {
"oldWindowId": {"type": "integer", "minimum": 0},
"oldPosition": {"type": "integer", "minimum": 0}
"oldWindowId": { "type": "integer", "minimum": 0 },
"oldPosition": { "type": "integer", "minimum": 0 }
}
}
]
@ -1651,13 +1775,13 @@
"type": "function",
"description": "Fired when a tab is attached to a window, for example because it was moved between windows.",
"parameters": [
{"type": "integer", "name": "tabId", "minimum": 0},
{ "type": "integer", "name": "tabId", "minimum": 0 },
{
"type": "object",
"name": "attachInfo",
"properties": {
"newWindowId": {"type": "integer", "minimum": 0},
"newPosition": {"type": "integer", "minimum": 0}
"newWindowId": { "type": "integer", "minimum": 0 },
"newPosition": { "type": "integer", "minimum": 0 }
}
}
]
@ -1667,13 +1791,20 @@
"type": "function",
"description": "Fired when a tab is closed.",
"parameters": [
{"type": "integer", "name": "tabId", "minimum": 0},
{ "type": "integer", "name": "tabId", "minimum": 0 },
{
"type": "object",
"name": "removeInfo",
"properties": {
"windowId": {"type": "integer", "minimum": 0, "description": "The window whose tab is closed." },
"isWindowClosing": {"type": "boolean", "description": "True when the tab is being closed because its window is being closed." }
"windowId": {
"type": "integer",
"minimum": 0,
"description": "The window whose tab is closed."
},
"isWindowClosing": {
"type": "boolean",
"description": "True when the tab is being closed because its window is being closed."
}
}
}
]
@ -1683,24 +1814,26 @@
"type": "function",
"description": "Fired when a tab is replaced with another tab due to prerendering or instant.",
"parameters": [
{"type": "integer", "name": "addedTabId", "minimum": 0},
{"type": "integer", "name": "removedTabId", "minimum": 0}
{ "type": "integer", "name": "addedTabId", "minimum": 0 },
{ "type": "integer", "name": "removedTabId", "minimum": 0 }
]
},
{
"name": "onZoomChange",
"type": "function",
"description": "Fired when a tab is zoomed.",
"parameters": [{
"type": "object",
"name": "ZoomChangeInfo",
"properties": {
"tabId": {"type": "integer", "minimum": 0},
"oldZoomFactor": {"type": "number"},
"newZoomFactor": {"type": "number"},
"zoomSettings": {"$ref": "ZoomSettings"}
"parameters": [
{
"type": "object",
"name": "ZoomChangeInfo",
"properties": {
"tabId": { "type": "integer", "minimum": 0 },
"oldZoomFactor": { "type": "number" },
"newZoomFactor": { "type": "number" },
"zoomSettings": { "$ref": "ZoomSettings" }
}
}
}]
]
}
]
}

View file

@ -8,12 +8,12 @@
"types": [
{
"$extend": "OptionalPermission",
"choices": [{
"type": "string",
"enum": [
"topSites"
]
}]
"choices": [
{
"type": "string",
"enum": ["topSites"]
}
]
}
]
},
@ -43,10 +43,7 @@
},
"type": {
"type": "string",
"enum": [
"url",
"search"
],
"enum": ["url", "search"],
"optional": true,
"default": "url",
"description": "The entry type, either <code>url</code> for a normal page link, or <code>search</code> for a search shortcut."

View file

@ -11,9 +11,7 @@
"choices": [
{
"type": "string",
"enum": [
"urlbar"
]
"enum": ["urlbar"]
}
]
}
@ -22,9 +20,7 @@
{
"namespace": "urlbar",
"description": "Use the <code>browser.urlbar</code> API to experiment with new features in the URLBar. Restricted to Mozilla privileged WebExtensions.",
"permissions": [
"urlbar"
],
"permissions": ["urlbar"],
"types": [
{
"id": "EngagementState",

View file

@ -2,28 +2,34 @@
"data": [
{
"webExtension": {
"id":"basic@search.mozilla.org"
"id": "basic@search.mozilla.org"
},
"appliesTo": [{
"included": { "everywhere": true },
"default": "yes"
}]
"appliesTo": [
{
"included": { "everywhere": true },
"default": "yes"
}
]
},
{
"webExtension": {
"id":"simple@search.mozilla.org"
"id": "simple@search.mozilla.org"
},
"appliesTo": [{
"included": { "everywhere": true }
}]
"appliesTo": [
{
"included": { "everywhere": true }
}
]
},
{
"webExtension": {
"id":"another@search.mozilla.org"
"id": "another@search.mozilla.org"
},
"appliesTo": [{
"included": { "everywhere": true }
}]
"appliesTo": [
{
"included": { "everywhere": true }
}
]
}
]
}

View file

@ -49,10 +49,7 @@
"maximum": 100
}
},
"required": [
"period",
"cap"
]
"required": ["period", "cap"]
}
}
}
@ -92,9 +89,7 @@
}
}
},
"required": [
"id"
]
"required": ["id"]
},
"provider": {
"description": "An identifier for the provider of this message, such as \"cfr\" or \"preview\".",
@ -115,9 +110,7 @@
"type": "string"
}
},
"required": [
"string_id"
]
"required": ["string_id"]
},
"localizableText": {
"description": "Either a raw string or an object containing the string_id of the localized text",

View file

@ -6,9 +6,7 @@
"targeting": "source == 'startup' && !isMajorUpgrade && !activeNotifications && totalBookmarksCount == 5"
},
{
"groups": [
"eco"
],
"groups": ["eco"],
"trigger": {
"id": "defaultBrowserCheck"
},

View file

@ -3,9 +3,7 @@
"$id": "file:///CFRUrlbarChiclet.schema.json",
"title": "CFRUrlbarChiclet",
"description": "A template with a chiclet button with text.",
"allOf": [
{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }
],
"allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }],
"type": "object",
"properties": {
"content": {
@ -65,5 +63,4 @@
}
},
"required": ["targeting", "trigger"]
}

View file

@ -3,9 +3,7 @@
"$id": "file:///ExtensionDoorhanger.schema.json",
"title": "ExtensionDoorhanger",
"description": "A template with a heading, addon icon, title and description. No markup allowed.",
"allOf": [
{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }
],
"allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }],
"type": "object",
"properties": {
"content": {
@ -273,8 +271,8 @@
"description": "URL used in combination with the primary action dispatched."
}
]
}
}
}
}
}
}
@ -285,20 +283,11 @@
}
},
"additionalProperties": true,
"required": [
"layout",
"bucket_id",
"heading_text",
"text",
"buttons"
],
"required": ["layout", "bucket_id", "heading_text", "text", "buttons"],
"if": {
"properties": {
"skip_address_bar_notifier": {
"anyOf": [
{ "const": "false" },
{ "const": null }
]
"anyOf": [{ "const": "false" }, { "const": null }]
}
}
},

View file

@ -3,9 +3,7 @@
"$id": "file:///InfoBar.schema.json",
"title": "InfoBar",
"description": "A template with an image, test and buttons.",
"allOf": [
{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }
],
"allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }],
"type": "object",
"properties": {
"content": {

View file

@ -35,8 +35,10 @@
},
"text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"text_color": {
@ -87,8 +89,8 @@
},
"title": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Snippet title displayed before snippet text"}
{ "$ref": "#/definitions/plainText" },
{ "description": "Snippet title displayed before snippet text" }
]
},
"title_icon": {
@ -101,8 +103,10 @@
},
"button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."
}
]
},
"button_color": {
@ -134,8 +138,8 @@
"additionalProperties": {
"url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "The url where the link points to."}
{ "$ref": "#/definitions/link_url" },
{ "description": "The url where the link points to." }
]
},
"metric": {
@ -150,10 +154,18 @@
}
},
"additionalProperties": false,
"required": ["text", "donation_form_url", "donation_amount_first", "donation_amount_second", "donation_amount_third", "donation_amount_fourth", "button_label", "currency_code"],
"required": [
"text",
"donation_form_url",
"donation_amount_first",
"donation_amount_second",
"donation_amount_third",
"donation_amount_fourth",
"button_label",
"currency_code"
],
"dependencies": {
"button_color": ["button_label"],
"button_background_color": ["button_label"]
}
}

View file

@ -21,14 +21,16 @@
"properties": {
"scene1_title": {
"allof": [
{"$ref": "#/definitions/plainText"},
{"description": "snippet title displayed before snippet text"}
{ "$ref": "#/definitions/plainText" },
{ "description": "snippet title displayed before snippet text" }
]
},
"scene1_text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"scene1_section_title_icon": {
@ -45,20 +47,24 @@
},
"scene1_section_title_url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "A url, scene1_section_title_text links to this"}
{ "$ref": "#/definitions/link_url" },
{ "description": "A url, scene1_section_title_text links to this" }
]
},
"scene2_title": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Title displayed before text in scene 2. Should be plain text."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Title displayed before text in scene 2. Should be plain text."
}
]
},
"scene2_text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"scene1_icon": {
@ -129,8 +135,10 @@
},
"scene1_button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."
}
],
"default": "Learn more"
},
@ -144,8 +152,10 @@
},
"retry_button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for the button in the event of a submission error/failure."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for the button in the event of a submission error/failure."
}
],
"default": "Try again"
},
@ -166,8 +176,8 @@
"additionalProperties": {
"url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "The url where the link points to."}
{ "$ref": "#/definitions/link_url" },
{ "description": "The url where the link points to." }
]
},
"metric": {
@ -184,4 +194,3 @@
"scene1_button_background_color": ["scene1_button_label"]
}
}

View file

@ -26,14 +26,16 @@
},
"scene1_title": {
"allof": [
{"$ref": "#/definitions/plainText"},
{"description": "snippet title displayed before snippet text"}
{ "$ref": "#/definitions/plainText" },
{ "description": "snippet title displayed before snippet text" }
]
},
"scene1_text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"scene1_section_title_icon": {
@ -50,20 +52,24 @@
},
"scene1_section_title_url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "A url, scene1_section_title_text links to this"}
{ "$ref": "#/definitions/link_url" },
{ "description": "A url, scene1_section_title_text links to this" }
]
},
"scene2_title": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Title displayed before text in scene 2. Should be plain text."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Title displayed before text in scene 2. Should be plain text."
}
]
},
"scene2_text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"scene1_icon": {
@ -114,8 +120,10 @@
},
"scene1_button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."
}
],
"default": "Learn more"
},
@ -129,8 +137,10 @@
},
"retry_button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for the button in the event of a submission error/failure."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for the button in the event of a submission error/failure."
}
],
"default": "Try again"
},
@ -156,8 +166,8 @@
"additionalProperties": {
"url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "The url where the link points to."}
{ "$ref": "#/definitions/link_url" },
{ "description": "The url where the link points to." }
]
},
"metric": {
@ -174,4 +184,3 @@
"scene1_button_background_color": ["scene1_button_label"]
}
}

View file

@ -3,9 +3,7 @@
"$id": "file:///ProtectionsPanelMessage.schema.json",
"title": "ProtectionsPanelMessage",
"description": "A message shown in the protections panel.",
"allOf": [
{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }
],
"allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }],
"type": "object",
"properties": {
"content": {
@ -36,13 +34,7 @@
"cta_where": {
"description": "How to open the cta.",
"type": "string",
"enum": [
"current",
"tabshifted",
"tab",
"save",
"window"
]
"enum": ["current", "tabshifted", "tab", "save", "window"]
}
},
"dependantSchemas": {
@ -52,10 +44,7 @@
"cta_where": ["link_text"]
},
"additionalProperties": false,
"required": [
"title",
"body"
]
"required": ["title", "body"]
},
"template": {
"type": "string",

View file

@ -3,9 +3,7 @@
"$id": "file:///Spotlight.schema.json",
"title": "Spotlight",
"description": "A template with an image, title, content and two buttons.",
"allOf": [
{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }
],
"allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }],
"type": "object",
"properties": {
"content": {

View file

@ -3,9 +3,7 @@
"$id": "file:///ToolbarBadgeMessage.schema.json",
"title": "ToolbarBadgeMessage",
"description": "A template that specifies to which element in the browser toolbar to add a notification.",
"allOf": [
{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }
],
"allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }],
"type": "object",
"properties": {
"content": {
@ -22,9 +20,7 @@
}
},
"additionalProperties": true,
"required": [
"id"
],
"required": ["id"],
"description": "Optional action to take in addition to showing the notification"
},
"delay": {

View file

@ -3,9 +3,7 @@
"$id": "file:///UpdateAction.schema.json",
"title": "UpdateActionMessage",
"description": "A template for messages that execute predetermined actions.",
"allOf": [
{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }
],
"allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }],
"type": "object",
"properties": {
"content": {

View file

@ -3,9 +3,7 @@
"$id": "file:///WhatsNewMessage.schema.json",
"title": "WhatsNewMessage",
"description": "A template for the messages that appear in the What's New panel.",
"allOf": [
{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }
],
"allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }],
"type": "object",
"properties": {
"content": {
@ -13,9 +11,7 @@
"properties": {
"layout": {
"description": "Different message layouts",
"enum": [
"tracking-protections"
]
"enum": ["tracking-protections"]
},
"bucket_id": {
"type": "string",
@ -48,21 +44,11 @@
},
"cta_type": {
"description": "Type of url open action",
"enum": [
"OPEN_URL",
"OPEN_ABOUT_PAGE",
"OPEN_PROTECTION_REPORT"
]
"enum": ["OPEN_URL", "OPEN_ABOUT_PAGE", "OPEN_PROTECTION_REPORT"]
},
"cta_where": {
"description": "How to open the cta: new window, tab, focused, unfocused.",
"enum": [
"current",
"tabshifted",
"tab",
"save",
"window"
]
"enum": ["current", "tabshifted", "tab", "save", "window"]
},
"icon_url": {
"description": "(optional) URL for the What's New message icon.",
@ -75,13 +61,7 @@
}
},
"additionalProperties": true,
"required": [
"published_date",
"title",
"body",
"cta_url",
"bucket_id"
]
"required": ["published_date", "title", "body", "cta_url", "bucket_id"]
},
"template": {
"type": "string",

View file

@ -3,9 +3,7 @@
"$id": "file:///NewtabPromoMessage.schema.json",
"title": "PBNewtabPromoMessage",
"description": "Message shown on the private browsing newtab page.",
"allOf": [
{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }
],
"allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }],
"type": "object",
"properties": {
"content": {
@ -51,22 +49,12 @@
"promoType": {
"type": "string",
"description": "Promo type used to determine if promo should show to a given user",
"enum": [
"FOCUS",
"VPN",
"PIN",
"COOKIE_BANNERS",
"OTHER"
]
"enum": ["FOCUS", "VPN", "PIN", "COOKIE_BANNERS", "OTHER"]
},
"promoSectionStyle": {
"type": "string",
"description": "Sets the position of the promo section. Possible values are: top, below-search, bottom. Default bottom.",
"enum": [
"top",
"below-search",
"bottom"
]
"enum": ["top", "below-search", "bottom"]
},
"promoTitle": {
"type": "string",
@ -107,10 +95,7 @@
"promoLinkType": {
"type": "string",
"description": "Type of promo link type. Possible values: link, button. Default is link.",
"enum": [
"link",
"button"
]
"enum": ["link", "button"]
},
"promoImageLarge": {
"type": "string",

View file

@ -31,14 +31,16 @@
},
"scene1_title": {
"allof": [
{"$ref": "#/definitions/plainText"},
{"description": "snippet title displayed before snippet text"}
{ "$ref": "#/definitions/plainText" },
{ "description": "snippet title displayed before snippet text" }
]
},
"scene1_text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"scene1_section_title_icon": {
@ -55,20 +57,24 @@
},
"scene1_section_title_url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "A url, scene1_section_title_text links to this"}
{ "$ref": "#/definitions/link_url" },
{ "description": "A url, scene1_section_title_text links to this" }
]
},
"scene2_title": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Title displayed before text in scene 2. Should be plain text."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Title displayed before text in scene 2. Should be plain text."
}
]
},
"scene2_text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"scene1_icon": {
@ -151,8 +157,10 @@
},
"scene1_button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."
}
],
"default": "Learn more"
},
@ -166,8 +174,10 @@
},
"retry_button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for the button in the event of a submission error/failure."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for the button in the event of a submission error/failure."
}
],
"default": "Try again"
},
@ -213,8 +223,8 @@
"additionalProperties": {
"url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "The url where the link points to."}
{ "$ref": "#/definitions/link_url" },
{ "description": "The url where the link points to." }
]
},
"metric": {
@ -231,4 +241,3 @@
"scene1_button_background_color": ["scene1_button_label"]
}
}

View file

@ -21,14 +21,16 @@
"properties": {
"title": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Snippet title displayed before snippet text"}
{ "$ref": "#/definitions/plainText" },
{ "description": "Snippet title displayed before snippet text" }
]
},
"text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"icon": {
@ -55,8 +57,8 @@
},
"button_url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "A url, button_label links to this"}
{ "$ref": "#/definitions/link_url" },
{ "description": "A url, button_label links to this" }
]
},
"button_action_args": {
@ -64,8 +66,10 @@
},
"button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."
}
]
},
"button_color": {
@ -84,8 +88,8 @@
"additionalProperties": {
"url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "The url where the link points to."}
{ "$ref": "#/definitions/link_url" },
{ "description": "The url where the link points to." }
]
},
"metric": {

View file

@ -21,14 +21,16 @@
"properties": {
"title": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Snippet title displayed before snippet text"}
{ "$ref": "#/definitions/plainText" },
{ "description": "Snippet title displayed before snippet text" }
]
},
"text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"icon": {
@ -63,8 +65,8 @@
},
"button_url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "A url, button_label links to this"}
{ "$ref": "#/definitions/link_url" },
{ "description": "A url, button_label links to this" }
]
},
"button_action_args": {
@ -80,8 +82,10 @@
},
"button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."
}
]
},
"button_color": {
@ -109,8 +113,8 @@
"additionalProperties": {
"url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "The url where the link points to."}
{ "$ref": "#/definitions/link_url" },
{ "description": "The url where the link points to." }
]
},
"metric": {
@ -137,8 +141,8 @@
},
"section_title_url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "A url, section_title_text links to this"}
{ "$ref": "#/definitions/link_url" },
{ "description": "A url, section_title_text links to this" }
]
}
},

View file

@ -41,14 +41,16 @@
},
"section_title_url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "A url, section_title_text links to this"}
{ "$ref": "#/definitions/link_url" },
{ "description": "A url, section_title_text links to this" }
]
},
"scene2_text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"form_action": {
@ -110,8 +112,10 @@
},
"retry_button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for the button in the event of a submission error/failure."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for the button in the event of a submission error/failure."
}
],
"default": "Try again"
},
@ -143,8 +147,8 @@
"additionalProperties": {
"url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "The url where the link points to."}
{ "$ref": "#/definitions/link_url" },
{ "description": "The url where the link points to." }
]
},
"metric": {

View file

@ -29,14 +29,16 @@
},
"scene1_title": {
"allof": [
{"$ref": "#/definitions/plainText"},
{"description": "snippet title displayed before snippet text"}
{ "$ref": "#/definitions/plainText" },
{ "description": "snippet title displayed before snippet text" }
]
},
"scene1_text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"scene1_section_title_icon": {
@ -53,20 +55,24 @@
},
"scene1_section_title_url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "A url, scene1_section_title_text links to this"}
{ "$ref": "#/definitions/link_url" },
{ "description": "A url, scene1_section_title_text links to this" }
]
},
"scene2_title": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Title displayed before text in scene 2. Should be plain text."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Title displayed before text in scene 2. Should be plain text."
}
]
},
"scene2_text": {
"allOf": [
{"$ref": "#/definitions/richText"},
{"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"}
{ "$ref": "#/definitions/richText" },
{
"description": "Main body text of snippet. HTML subset allowed: i, b, u, strong, em, br"
}
]
},
"scene1_icon": {
@ -158,8 +164,10 @@
},
"scene1_button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for a button next to main snippet text that links to button_url. Requires button_url."
}
]
},
"scene1_button_color": {
@ -172,8 +180,10 @@
},
"retry_button_label": {
"allOf": [
{"$ref": "#/definitions/plainText"},
{"description": "Text for the button in the event of a submission error/failure."}
{ "$ref": "#/definitions/plainText" },
{
"description": "Text for the button in the event of a submission error/failure."
}
],
"default": "Try again"
},
@ -205,8 +215,8 @@
"additionalProperties": {
"url": {
"allOf": [
{"$ref": "#/definitions/link_url"},
{"description": "The url where the link points to."}
{ "$ref": "#/definitions/link_url" },
{ "description": "The url where the link points to." }
]
},
"metric": {

View file

@ -3,9 +3,7 @@
"$id": "file:///ToastNotification.schema.json",
"title": "ToastNotification",
"description": "A template for toast notifications displayed by the Alert service.",
"allOf": [
{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }
],
"allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }],
"type": "object",
"properties": {
"content": {
@ -75,21 +73,13 @@
}
},
"additionalProperties": true,
"required": [
"title",
"body"
]
"required": ["title", "body"]
},
"template": {
"type": "string",
"const": "toast_notification"
}
},
"required": [
"content",
"targeting",
"template",
"trigger"
],
"required": ["content", "targeting", "template", "trigger"],
"additionalProperties": true
}

View file

@ -1 +1,53 @@
{"status":1,"settings":{"spocsPerNewTabs":0.5,"domainAffinityParameterSets":{"default":{"recencyFactor":0.5,"frequencyFactor":0.5,"combinedDomainFactor":0.5,"perfectFrequencyVisits":10,"perfectCombinedDomainScore":2,"multiDomainBoost":0,"itemScoreFactor":1},"fully-personalized":{"recencyFactor":0.5,"frequencyFactor":0.5,"combinedDomainFactor":0.5,"perfectFrequencyVisits":10,"perfectCombinedDomainScore":2,"itemScoreFactor":0.01,"multiDomainBoost":0}},"timeSegments":[{"id":"week","startTime":604800,"endTime":0,"weightPosition":1},{"id":"month","startTime":2592000,"endTime":604800,"weightPosition":0.5}],"recsExpireTime":5400,"version":"2c2aa06dac65ddb647d8902aaa60263c8e119ff2"},"spocs":[],"recommendations":[{"id":53093,"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg==","domain":"bbc.com","title":"Why vegan junk food may be even worse for your health","excerpt":"While we might switch to a plant-based diet with the best intentions, the unseen risks of vegan fast foods might not show up for years.","image_src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg==","published_timestamp":"1580277600","engagement":"","parameter_set":"default","domain_affinities":{},"item_score":1}]}
{
"status": 1,
"settings": {
"spocsPerNewTabs": 0.5,
"domainAffinityParameterSets": {
"default": {
"recencyFactor": 0.5,
"frequencyFactor": 0.5,
"combinedDomainFactor": 0.5,
"perfectFrequencyVisits": 10,
"perfectCombinedDomainScore": 2,
"multiDomainBoost": 0,
"itemScoreFactor": 1
},
"fully-personalized": {
"recencyFactor": 0.5,
"frequencyFactor": 0.5,
"combinedDomainFactor": 0.5,
"perfectFrequencyVisits": 10,
"perfectCombinedDomainScore": 2,
"itemScoreFactor": 0.01,
"multiDomainBoost": 0
}
},
"timeSegments": [
{ "id": "week", "startTime": 604800, "endTime": 0, "weightPosition": 1 },
{
"id": "month",
"startTime": 2592000,
"endTime": 604800,
"weightPosition": 0.5
}
],
"recsExpireTime": 5400,
"version": "2c2aa06dac65ddb647d8902aaa60263c8e119ff2"
},
"spocs": [],
"recommendations": [
{
"id": 53093,
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg==",
"domain": "bbc.com",
"title": "Why vegan junk food may be even worse for your health",
"excerpt": "While we might switch to a plant-based diet with the best intentions, the unseen risks of vegan fast foods might not show up for years.",
"image_src": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg==",
"published_timestamp": "1580277600",
"engagement": "",
"parameter_set": "default",
"domain_affinities": {},
"item_score": 1
}
]
}

View file

@ -1 +1,53 @@
{"status":1,"settings":{"spocsPerNewTabs":0.5,"domainAffinityParameterSets":{"default":{"recencyFactor":0.5,"frequencyFactor":0.5,"combinedDomainFactor":0.5,"perfectFrequencyVisits":10,"perfectCombinedDomainScore":2,"multiDomainBoost":0,"itemScoreFactor":1},"fully-personalized":{"recencyFactor":0.5,"frequencyFactor":0.5,"combinedDomainFactor":0.5,"perfectFrequencyVisits":10,"perfectCombinedDomainScore":2,"itemScoreFactor":0.01,"multiDomainBoost":0}},"timeSegments":[{"id":"week","startTime":604800,"endTime":0,"weightPosition":1},{"id":"month","startTime":2592000,"endTime":604800,"weightPosition":0.5}],"recsExpireTime":5400,"version":"2c2aa06dac65ddb647d8902aaa60263c8e119ff2"},"spocs":[],"recommendations":[{"id":53093,"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg==","domain":"bbc.com","title":"Why vegan junk food may be even worse for your health","excerpt":"While we might switch to a plant-based diet with the best intentions, the unseen risks of vegan fast foods might not show up for years.","image_src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg==","published_timestamp":"1580277600","engagement":"","parameter_set":"default","domain_affinities":{},"item_score":1}]}
{
"status": 1,
"settings": {
"spocsPerNewTabs": 0.5,
"domainAffinityParameterSets": {
"default": {
"recencyFactor": 0.5,
"frequencyFactor": 0.5,
"combinedDomainFactor": 0.5,
"perfectFrequencyVisits": 10,
"perfectCombinedDomainScore": 2,
"multiDomainBoost": 0,
"itemScoreFactor": 1
},
"fully-personalized": {
"recencyFactor": 0.5,
"frequencyFactor": 0.5,
"combinedDomainFactor": 0.5,
"perfectFrequencyVisits": 10,
"perfectCombinedDomainScore": 2,
"itemScoreFactor": 0.01,
"multiDomainBoost": 0
}
},
"timeSegments": [
{ "id": "week", "startTime": 604800, "endTime": 0, "weightPosition": 1 },
{
"id": "month",
"startTime": 2592000,
"endTime": 604800,
"weightPosition": 0.5
}
],
"recsExpireTime": 5400,
"version": "2c2aa06dac65ddb647d8902aaa60263c8e119ff2"
},
"spocs": [],
"recommendations": [
{
"id": 53093,
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg==",
"domain": "bbc.com",
"title": "Why vegan junk food may be even worse for your health",
"excerpt": "While we might switch to a plant-based diet with the best intentions, the unseen risks of vegan fast foods might not show up for years.",
"image_src": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg==",
"published_timestamp": "1580277600",
"engagement": "",
"parameter_set": "default",
"domain_affinities": {},
"item_score": 1
}
]
}

View file

@ -1 +1,83 @@
{"title":"","id":1,"dateAdded":1233157910552624,"lastModified":1233157955206833,"type":"text/x-moz-place-container","root":"placesRoot","children":[{"title":"Bookmarks Menu","id":2,"parent":1,"dateAdded":1233157910552624,"lastModified":1233157993171424,"type":"text/x-moz-place-container","root":"bookmarksMenuFolder","children":[{"title":"examplejson","id":27,"parent":2,"dateAdded":1233157972101126,"lastModified":1233157984999673,"type":"text/x-moz-place","uri":"http://example.com/"}]},{"index":1,"title":"Bookmarks Toolbar","id":3,"parent":1,"dateAdded":1233157910552624,"lastModified":1233157972101126,"annos":[{"name":"bookmarkProperties/description","flags":0,"expires":4,"mimeType":null,"type":3,"value":"Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar"}],"type":"text/x-moz-place-container","root":"toolbarFolder","children":[{"title":"examplejson","id":26,"parent":3,"dateAdded":1233157972101126,"lastModified":1233157984999673,"type":"text/x-moz-place","uri":"http://example.com/"}]},{"index":2,"title":"Tags","id":4,"parent":1,"dateAdded":1233157910552624,"lastModified":1233157910582667,"type":"text/x-moz-place-container","root":"tagsFolder","children":[]},{"index":3,"title":"Other Bookmarks","id":5,"parent":1,"dateAdded":1233157910552624,"lastModified":1233157911033315,"type":"text/x-moz-place-container","root":"unfiledBookmarksFolder","children":[]}]}
{
"title": "",
"id": 1,
"dateAdded": 1233157910552624,
"lastModified": 1233157955206833,
"type": "text/x-moz-place-container",
"root": "placesRoot",
"children": [
{
"title": "Bookmarks Menu",
"id": 2,
"parent": 1,
"dateAdded": 1233157910552624,
"lastModified": 1233157993171424,
"type": "text/x-moz-place-container",
"root": "bookmarksMenuFolder",
"children": [
{
"title": "examplejson",
"id": 27,
"parent": 2,
"dateAdded": 1233157972101126,
"lastModified": 1233157984999673,
"type": "text/x-moz-place",
"uri": "http://example.com/"
}
]
},
{
"index": 1,
"title": "Bookmarks Toolbar",
"id": 3,
"parent": 1,
"dateAdded": 1233157910552624,
"lastModified": 1233157972101126,
"annos": [
{
"name": "bookmarkProperties/description",
"flags": 0,
"expires": 4,
"mimeType": null,
"type": 3,
"value": "Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar"
}
],
"type": "text/x-moz-place-container",
"root": "toolbarFolder",
"children": [
{
"title": "examplejson",
"id": 26,
"parent": 3,
"dateAdded": 1233157972101126,
"lastModified": 1233157984999673,
"type": "text/x-moz-place",
"uri": "http://example.com/"
}
]
},
{
"index": 2,
"title": "Tags",
"id": 4,
"parent": 1,
"dateAdded": 1233157910552624,
"lastModified": 1233157910582667,
"type": "text/x-moz-place-container",
"root": "tagsFolder",
"children": []
},
{
"index": 3,
"title": "Other Bookmarks",
"id": 5,
"parent": 1,
"dateAdded": 1233157910552624,
"lastModified": 1233157911033315,
"type": "text/x-moz-place-container",
"root": "unfiledBookmarksFolder",
"children": []
}
]
}

View file

@ -11,9 +11,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "1&1 Suche",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Allegro",

View file

@ -13,9 +13,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"keyword": "@amazon",

View file

@ -13,9 +13,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"keyword": "@amazon",

View file

@ -13,9 +13,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"keyword": "@amazon",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Azerdict",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"keyword": ["@\u767E\u5EA6", "@baidu"],

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"keyword": "@bing",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.png"
},
"web_accessible_resources": [
"favicon.png"
],
"web_accessible_resources": ["favicon.png"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Ordbok",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.png"
},
"web_accessible_resources": [
"favicon.png"
],
"web_accessible_resources": ["favicon.png"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Ceneje.si",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Cốc Cốc",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "다음",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"keyword": ["@duckduckgo", "@ddg"],

View file

@ -13,9 +13,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"keyword": "@ebay",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Ecosia",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "EUdict Eng->Cro",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Am Faclair Beag",

View file

@ -13,9 +13,7 @@
"icons": {
"16": "favicon.png"
},
"web_accessible_resources": [
"favicon.png"
],
"web_accessible_resources": ["favicon.png"],
"chrome_settings_overrides": {
"search_provider": {
"name": "__MSG_extensionName__",

View file

@ -20,5 +20,4 @@
"channelPref": {
"message": "google_channel_row"
}
}

View file

@ -13,9 +13,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"keyword": "@google",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Gule sider",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.png"
},
"web_accessible_resources": [
"favicon.png"
],
"web_accessible_resources": ["favicon.png"],
"chrome_settings_overrides": {
"search_provider": {
"name": "LEO Eng-Deu",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "พจนานุกรม ลองดู",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "mail.com search",

View file

@ -13,9 +13,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Поиск Mail.Ru",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Mapy.cz",

View file

@ -13,9 +13,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "__MSG_extensionName__",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "MercadoLivre",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "네이버",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.png"
},
"web_accessible_resources": [
"favicon.png"
],
"web_accessible_resources": ["favicon.png"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Odpiralni Časi",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Pazaruvaj",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.png"
},
"web_accessible_resources": [
"favicon.png"
],
"web_accessible_resources": ["favicon.png"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Priberam",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Prisjakt",

View file

@ -11,9 +11,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"keyword": "@qwant",

View file

@ -11,9 +11,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Qwant Junior",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "楽天市場",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Readmoo 讀墨電子書",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Salidzini.lv",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Seznam",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Tyda.se",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Vatera.hu",

View file

@ -11,9 +11,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "WEB.DE Suche",

View file

@ -13,9 +13,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"keyword": "@wikipedia",

View file

@ -13,9 +13,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "__MSG_extensionName__",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.png"
},
"web_accessible_resources": [
"favicon.png"
],
"web_accessible_resources": ["favicon.png"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Wolne Lektury",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "ヤフオク!",

View file

@ -12,9 +12,7 @@
"icons": {
"16": "favicon.ico"
},
"web_accessible_resources": [
"favicon.ico"
],
"web_accessible_resources": ["favicon.ico"],
"chrome_settings_overrides": {
"search_provider": {
"name": "Yahoo! JAPAN",

View file

@ -13,10 +13,7 @@
"icons": {
"16": "__MSG_extensionIcon__"
},
"web_accessible_resources": [
"yandex-en.ico",
"yandex-ru.ico"
],
"web_accessible_resources": ["yandex-en.ico", "yandex-ru.ico"],
"chrome_settings_overrides": {
"search_provider": {
"keyword": ["@\u044F\u043D\u0434\u0435\u043A\u0441", "@yandex"],

View file

@ -1,10 +1,6 @@
{
"type": "object",
"required": [
"telemetryId",
"searchPageRegexp",
"queryParamName"
],
"required": ["telemetryId", "searchPageRegexp", "queryParamName"],
"properties": {
"telemetryId": {
"type": "string",

View file

@ -1 +1,11 @@
{"profile-after-change":true,"final-ui-startup":true,"sessionstore-windows-restored":true,"quit-application-granted":true,"quit-application":true,"sessionstore-final-state-write-complete":true,"profile-change-net-teardown":true,"profile-change-teardown":true,"profile-before-change":true}
{
"profile-after-change": true,
"final-ui-startup": true,
"sessionstore-windows-restored": true,
"quit-application-granted": true,
"quit-application": true,
"sessionstore-final-state-write-complete": true,
"profile-change-net-teardown": true,
"profile-change-teardown": true,
"profile-before-change": true
}

View file

@ -1 +1,8 @@
{"code":200,"lang":"fr-en","text":["Football's 2014 World Cup","Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus diam sem, porttitor eget neque sit amet, ultricies posuere metus. Cras placerat rutrum risus, nec dignissim magna dictum vitae. Fusce eleifend fermentum lacinia. Nulla sagittis cursus nibh. Praesent adipiscing, elit at pulvinar dapibus, neque massa tincidunt sapien, eu consectetur lectus metus sit amet odio. Proin blandit consequat porttitor. Pellentesque vehicula justo sed luctus vestibulum. Donec metus."]}
{
"code": 200,
"lang": "fr-en",
"text": [
"Football's 2014 World Cup",
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus diam sem, porttitor eget neque sit amet, ultricies posuere metus. Cras placerat rutrum risus, nec dignissim magna dictum vitae. Fusce eleifend fermentum lacinia. Nulla sagittis cursus nibh. Praesent adipiscing, elit at pulvinar dapibus, neque massa tincidunt sapien, eu consectetur lectus metus sit amet odio. Proin blandit consequat porttitor. Pellentesque vehicula justo sed luctus vestibulum. Donec metus."
]
}

View file

@ -96,7 +96,7 @@
{
"name": "viewTemplate",
"type": "object",
"additionalProperties": true,
"additionalProperties": true,
"description": "The view template."
}
]

Some files were not shown because too many files have changed in this diff Show more