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:
Shane Caraveo 2019-11-22 11:11:57 +00:00
Родитель e662646742
Коммит bbf2f205ed
1 изменённых файлов: 15 добавлений и 15 удалений

Просмотреть файл

@ -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": [
{