OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 ] | 203 ] |
204 }, | 204 }, |
205 { | 205 { |
206 "namespace": "experimental.extension", | 206 "namespace": "experimental.extension", |
207 "nodoc": true, | 207 "nodoc": true, |
208 "types": [], | 208 "types": [], |
209 "functions": [ | 209 "functions": [ |
210 { | 210 { |
211 "name": "getPopupView", | 211 "name": "getPopupView", |
212 "type": "function", | 212 "type": "function", |
213 "description": "Returns a reference to the window object of the popup vi
ew.", | 213 "description": "Returns a reference to the window object of the popup vi
ew. Returns undefined if no popup presently shown.", |
214 "parameters": [], | 214 "parameters": [], |
215 "returns": { | 215 "returns": { |
216 "type": "object", | 216 "type": "object", |
217 "isInstanceOf": "DOMWindow", | 217 "isInstanceOf": "DOMWindow", |
218 "properties": {}, | 218 "properties": {}, |
219 "additionalProperties": { "type": "any" } | 219 "additionalProperties": { "type": "any" }, |
| 220 "optional": true |
220 } | 221 } |
221 } | 222 } |
222 ], | 223 ], |
223 "events": [] | 224 "events": [] |
224 }, | 225 }, |
225 { | 226 { |
226 "namespace": "windows", | 227 "namespace": "windows", |
227 "types": [ | 228 "types": [ |
228 { | 229 { |
229 "id": "Window", | 230 "id": "Window", |
(...skipping 1441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1671 { | 1672 { |
1672 "type": "function", | 1673 "type": "function", |
1673 "name": "callback", | 1674 "name": "callback", |
1674 "parameters": [] | 1675 "parameters": [] |
1675 } | 1676 } |
1676 ] | 1677 ] |
1677 }, | 1678 }, |
1678 { | 1679 { |
1679 "name": "getParentWindow", | 1680 "name": "getParentWindow", |
1680 "type": "function", | 1681 "type": "function", |
1681 "description": "Returns a reference to the window object of the extensio
n view that launched the popup.", | 1682 "description": "Returns a reference to the window object of the extensio
n view that launched the popup. Returns undefined if called outside of a popup
window.", |
1682 "parameters": [], | 1683 "parameters": [], |
1683 "returns": { | 1684 "returns": { |
1684 "type": "object", | 1685 "type": "object", |
1685 "isInstanceOf": "DOMWindow", | 1686 "isInstanceOf": "DOMWindow", |
1686 "properties": {}, | 1687 "properties": {}, |
1687 "additionalProperties": { "type": "any" } | 1688 "additionalProperties": { "type": "any" }, |
| 1689 "optional": true |
1688 } | 1690 } |
1689 } | 1691 } |
1690 ], | 1692 ], |
1691 "events": [ | 1693 "events": [ |
1692 { | 1694 { |
1693 "name": "onClosed", | 1695 "name": "onClosed", |
1694 "type": "function", | 1696 "type": "function", |
1695 "description": "Fired when the popup view is closed.", | 1697 "description": "Fired when the popup view is closed.", |
1696 "parameters": [] | 1698 "parameters": [] |
1697 } | 1699 } |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1746 "type": "function", | 1748 "type": "function", |
1747 "description": "Logs a message during internal unit testing.", | 1749 "description": "Logs a message during internal unit testing.", |
1748 "parameters": [ | 1750 "parameters": [ |
1749 {"type": "string", "name": "message"} | 1751 {"type": "string", "name": "message"} |
1750 ] | 1752 ] |
1751 } | 1753 } |
1752 ], | 1754 ], |
1753 "events": [] | 1755 "events": [] |
1754 } | 1756 } |
1755 ] | 1757 ] |
OLD | NEW |