Bug 1287852 - Mark tabs.highlight as unsupported in schema. r=kmag,zombie

MozReview-Commit-ID: JKLWwECmGVw

--HG--
extra : rebase_source : d8ccbb847d20799d668d32d8a35860353b43435e
This commit is contained in:
Tushar Saini (:shatur) 2017-05-29 13:44:52 +05:30
Родитель c1a3be3fdc
Коммит 54a89a2e9b
2 изменённых файлов: 6 добавлений и 4 удалений

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

@ -61,7 +61,7 @@
"windowId": {"type": "integer", "minimum": 0, "description": "The ID of the window the tab is contained within."}, "windowId": {"type": "integer", "minimum": 0, "description": "The ID of the window the tab is contained within."},
"openerTabId": {"unsupported": true, "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."}, "openerTabId": {"unsupported": true, "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."},
"selected": {"type": "boolean", "description": "Whether the tab is selected.", "deprecated": "Please use $(ref:tabs.Tab.highlighted).", "unsupported": true}, "selected": {"type": "boolean", "description": "Whether the tab is selected.", "deprecated": "Please use $(ref:tabs.Tab.highlighted).", "unsupported": true},
"highlighted": {"type": "boolean", "description": "Whether the tab is highlighted."}, "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.)"}, "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."}, "pinned": {"type": "boolean", "description": "Whether the tab is pinned."},
"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."}, "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."},
@ -474,7 +474,7 @@
"highlighted": { "highlighted": {
"type": "boolean", "type": "boolean",
"optional": true, "optional": true,
"description": "Whether the tabs are highlighted." "description": "Whether the tabs are highlighted. Works as an alias of active."
}, },
"currentWindow": { "currentWindow": {
"type": "boolean", "type": "boolean",
@ -548,6 +548,7 @@
"type": "function", "type": "function",
"description": "Highlights the given tabs.", "description": "Highlights the given tabs.",
"async": "callback", "async": "callback",
"unsupported": "true",
"parameters": [ "parameters": [
{ {
"type": "object", "type": "object",

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

@ -61,7 +61,7 @@
"windowId": {"type": "integer", "minimum": 0, "description": "The ID of the window the tab is contained within."}, "windowId": {"type": "integer", "minimum": 0, "description": "The ID of the window the tab is contained within."},
"openerTabId": {"unsupported": true, "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."}, "openerTabId": {"unsupported": true, "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."},
"selected": {"type": "boolean", "description": "Whether the tab is selected.", "deprecated": "Please use $(ref:tabs.Tab.highlighted).", "unsupported": true}, "selected": {"type": "boolean", "description": "Whether the tab is selected.", "deprecated": "Please use $(ref:tabs.Tab.highlighted).", "unsupported": true},
"highlighted": {"type": "boolean", "description": "Whether the tab is highlighted."}, "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.)"}, "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."}, "pinned": {"type": "boolean", "description": "Whether the tab is pinned."},
"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."}, "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."},
@ -475,7 +475,7 @@
"highlighted": { "highlighted": {
"type": "boolean", "type": "boolean",
"optional": true, "optional": true,
"description": "Whether the tabs are highlighted." "description": "Whether the tabs are highlighted. Works as an alias of active."
}, },
"currentWindow": { "currentWindow": {
"type": "boolean", "type": "boolean",
@ -549,6 +549,7 @@
"type": "function", "type": "function",
"description": "Highlights the given tabs.", "description": "Highlights the given tabs.",
"async": "callback", "async": "callback",
"unsupported": true,
"parameters": [ "parameters": [
{ {
"type": "object", "type": "object",