зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1595931 fix page_action onClickedData type schema r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D54187 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
e662646742
Коммит
bbf2f205ed
|
@ -54,6 +54,21 @@
|
|||
"optional": true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"namespace": "pageAction",
|
||||
"description": "Use the <code>browser.pageAction</code> API to put icons inside the address bar. Page actions represent actions that can be taken on the current page, but that aren't applicable to all pages.",
|
||||
"permissions": ["manifest:page_action"],
|
||||
"types": [
|
||||
{
|
||||
"id": "ImageDataType",
|
||||
"type": "object",
|
||||
"isInstanceOf": "ImageData",
|
||||
"additionalProperties": { "type": "any" },
|
||||
"postprocess": "convertImageDataToURL",
|
||||
"description": "Pixel data for an image. Must be an ImageData object (for example, from a <code>canvas</code> element)."
|
||||
},
|
||||
{
|
||||
"id": "OnClickData",
|
||||
|
@ -75,21 +90,6 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"namespace": "pageAction",
|
||||
"description": "Use the <code>browser.pageAction</code> API to put icons inside the address bar. Page actions represent actions that can be taken on the current page, but that aren't applicable to all pages.",
|
||||
"permissions": ["manifest:page_action"],
|
||||
"types": [
|
||||
{
|
||||
"id": "ImageDataType",
|
||||
"type": "object",
|
||||
"isInstanceOf": "ImageData",
|
||||
"additionalProperties": { "type": "any" },
|
||||
"postprocess": "convertImageDataToURL",
|
||||
"description": "Pixel data for an image. Must be an ImageData object (for example, from a <code>canvas</code> element)."
|
||||
}
|
||||
],
|
||||
"functions": [
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче