Backed out changeset 1c40cef0e222 (bug 1469318) for mochitest failures on test_ext_all_apis.html CLOSED TREE

This commit is contained in:
Brindusan Cristian 2018-06-18 22:18:28 +03:00
Родитель 434e9b076a
Коммит 3a8ff4c5d9
3 изменённых файлов: 7 добавлений и 2 удалений

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

@ -585,6 +585,7 @@
{
"namespace": "theme",
"description": "The theme API allows customizing of visual elements of the browser.",
"permissions": ["theme"],
"types": [
{
"id": "ThemeUpdateInfo",
@ -637,7 +638,6 @@
"type": "function",
"async": true,
"description": "Make complete updates to the theme. Resolves when the update has completed.",
"permissions": ["theme"],
"parameters": [
{
"type": "integer",
@ -657,7 +657,6 @@
"type": "function",
"async": true,
"description": "Removes the updates made to the theme.",
"permissions": ["theme"],
"parameters": [
{
"type": "integer",

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

@ -29,6 +29,9 @@ add_task(async function test_getcurrent() {
});
});
},
manifest: {
permissions: ["theme"],
},
});
await extension.startup();

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

@ -27,6 +27,9 @@ add_task(async function test_on_updated() {
browser.test.sendMessage("theme-updated", updateInfo);
});
},
manifest: {
permissions: ["theme"],
},
});
await extension.startup();