| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "tabs", | 3 "namespace": "tabs", |
| 4 "compile": true, | |
| 5 "types": [ | 4 "types": [ |
| 6 { | 5 { |
| 7 "id": "Tab", | 6 "id": "Tab", |
| 8 "type": "object", | 7 "type": "object", |
| 9 "properties": { | 8 "properties": { |
| 10 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
tab. Tab IDs are unique within a browser session."}, | 9 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
tab. Tab IDs are unique within a browser session."}, |
| 11 "index": {"type": "integer", "minimum": 0, "description": "The zero-ba
sed index of the tab within its window."}, | 10 "index": {"type": "integer", "minimum": 0, "description": "The zero-ba
sed index of the tab within its window."}, |
| 12 "windowId": {"type": "integer", "minimum": 0, "description": "The ID o
f the window the tab is contained within."}, | 11 "windowId": {"type": "integer", "minimum": 0, "description": "The ID o
f the window the tab is contained within."}, |
| 13 "selected": {"type": "boolean", "description": "Whether the tab is sel
ected.", "nodoc": true}, | 12 "selected": {"type": "boolean", "description": "Whether the tab is sel
ected.", "nodoc": true}, |
| 14 "highlighted": {"type": "boolean", "description": "Whether the tab is
highlighted."}, | 13 "highlighted": {"type": "boolean", "description": "Whether the tab is
highlighted."}, |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 "minimum": 0, | 330 "minimum": 0, |
| 332 "optional": true, | 331 "optional": true, |
| 333 "description": "Defaults to the selected tab of the <a href='windows
.html#current-window'>current window</a>." | 332 "description": "Defaults to the selected tab of the <a href='windows
.html#current-window'>current window</a>." |
| 334 }, | 333 }, |
| 335 { | 334 { |
| 336 "type": "object", | 335 "type": "object", |
| 337 "name": "updateProperties", | 336 "name": "updateProperties", |
| 338 "properties": { | 337 "properties": { |
| 339 "url": { | 338 "url": { |
| 340 "optional": true, | 339 "optional": true, |
| 340 "type": "string", |
| 341 "description": "A URL to navigate the tab to." | 341 "description": "A URL to navigate the tab to." |
| 342 }, | 342 }, |
| 343 "active": { | 343 "active": { |
| 344 "type": "boolean", | 344 "type": "boolean", |
| 345 "optional": true, | 345 "optional": true, |
| 346 "description": "Whether the tab should be active." | 346 "description": "Whether the tab should be active." |
| 347 }, | 347 }, |
| 348 "highlighted": { | 348 "highlighted": { |
| 349 "type": "boolean", | 349 "type": "boolean", |
| 350 "optional": true, | 350 "optional": true, |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 "name": "removeInfo", | 760 "name": "removeInfo", |
| 761 "properties": { | 761 "properties": { |
| 762 "isWindowClosing": {"type": "boolean", "description": "True when t
he tab is being closed because its window is being closed." } | 762 "isWindowClosing": {"type": "boolean", "description": "True when t
he tab is being closed because its window is being closed." } |
| 763 } | 763 } |
| 764 } | 764 } |
| 765 ] | 765 ] |
| 766 } | 766 } |
| 767 ] | 767 ] |
| 768 } | 768 } |
| 769 ] | 769 ] |
| OLD | NEW |