OLD | NEW |
---|---|
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "hidden": true, | 5 "hidden": true, |
6 "types": [], | 6 "types": [], |
7 "commands": [ | 7 "commands": [ |
8 { | 8 { |
9 "name": "enable", | 9 "name": "enable", |
10 "description": "Enables inspector domain notifications." | 10 "description": "Enables inspector domain notifications." |
(...skipping 1663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1674 { "name": "databaseName", "type": "string", "description": " Database name." }, | 1674 { "name": "databaseName", "type": "string", "description": " Database name." }, |
1675 { "name": "objectStoreName", "type": "string", "description" : "Object store name." } | 1675 { "name": "objectStoreName", "type": "string", "description" : "Object store name." } |
1676 ], | 1676 ], |
1677 "returns": [ | 1677 "returns": [ |
1678 ], | 1678 ], |
1679 "description": "Clears all entries from an object store." | 1679 "description": "Clears all entries from an object store." |
1680 } | 1680 } |
1681 ] | 1681 ] |
1682 }, | 1682 }, |
1683 { | 1683 { |
1684 "domain": "ServiceWorkerCache", | 1684 "domain": "CacheStorage", |
1685 "hidden": true, | 1685 "hidden": true, |
1686 "types": [ | 1686 "types": [ |
1687 { | 1687 { |
1688 "id": "DataEntry", | 1688 "id": "DataEntry", |
1689 "type": "object", | 1689 "type": "object", |
1690 "description": "Data entry.", | 1690 "description": "Data entry.", |
1691 "properties": [ | 1691 "properties": [ |
1692 { "name": "request", "type": "string", "description": "JSON- stringified request object." }, | 1692 { "name": "request", "type": "string", "description": "JSON- stringified request object." }, |
1693 { "name": "response", "type": "string", "description": "JSON -stringified response object." } | 1693 { "name": "response", "type": "string", "description": "JSON -stringified response object." } |
1694 ] | 1694 ] |
1695 } | 1695 } |
1696 ], | 1696 ], |
1697 "commands": [ | 1697 "commands": [ |
1698 { | 1698 { |
1699 "name": "requestCacheNames", | 1699 "name": "requestCacheNames", |
1700 "async": true, | 1700 "async": true, |
1701 "parameters": [ | |
1702 { "name": "securityOrigin", "type": "string", "description": "Security origin." } | |
pfeldman
2015/04/09 10:31:12
Now sure why fetching by origin is important, lets
| |
1703 ], | |
1701 "returns": [ | 1704 "returns": [ |
1702 { "name": "cacheNames", "type": "array", "items": { "type": "string" }, "description": "Cache names for origin." } | 1705 { "name": "cacheNames", "type": "array", "items": { "type": "string" }, "description": "Cache names for origin." } |
1703 ], | 1706 ], |
1704 "description": "Requests cache names." | 1707 "description": "Requests cache names." |
1705 }, | 1708 }, |
1706 { | 1709 { |
1707 "name": "requestEntries", | 1710 "name": "requestEntries", |
1708 "async": true, | 1711 "async": true, |
1709 "parameters": [ | 1712 "parameters": [ |
1713 { "name": "securityOrigin", "type": "string", "description": "Security origin." }, | |
pfeldman
2015/04/03 09:15:58
Composite ids is hard to work with for the clients
dmurph
2015/04/08 19:35:35
Just to clarify, you want me to remove the securit
pfeldman
2015/04/09 10:31:12
Yes.
| |
1710 { "name": "cacheName", "type": "string", "description": "Cac he name." }, | 1714 { "name": "cacheName", "type": "string", "description": "Cac he name." }, |
1711 { "name": "skipCount", "type": "integer", "description": "Nu mber of records to skip." }, | 1715 { "name": "skipCount", "type": "integer", "description": "Nu mber of records to skip." }, |
1712 { "name": "pageSize", "type": "integer", "description": "Num ber of records to fetch." } | 1716 { "name": "pageSize", "type": "integer", "description": "Num ber of records to fetch." } |
1713 ], | 1717 ], |
1714 "returns": [ | 1718 "returns": [ |
1715 { "name": "cacheDataEntries", "type": "array", "items": { "$ ref": "DataEntry" }, "description": "Array of object store data entries." }, | 1719 { "name": "cacheDataEntries", "type": "array", "items": { "$ ref": "DataEntry" }, "description": "Array of object store data entries." }, |
1716 { "name": "hasMore", "type": "boolean", "description": "If t rue, there are more entries to fetch in the given range." } | 1720 { "name": "hasMore", "type": "boolean", "description": "If t rue, there are more entries to fetch in the given range." } |
1717 ], | 1721 ], |
1718 "description": "Requests data from cache." | 1722 "description": "Requests data from cache." |
1719 }, | 1723 }, |
1720 { | 1724 { |
1721 "name": "deleteCache", | 1725 "name": "deleteCache", |
1722 "async": true, | 1726 "async": true, |
1723 "parameters": [ | 1727 "parameters": [ |
1728 { "name": "securityOrigin", "type": "string", "description": "Security origin." }, | |
1724 { "name": "cacheName", "type": "string", "description": "Cac he name." } | 1729 { "name": "cacheName", "type": "string", "description": "Cac he name." } |
1725 ], | 1730 ], |
1726 "description": "Deletes a cache." | 1731 "description": "Deletes a cache." |
1727 } | 1732 } |
1728 ] | 1733 ] |
1729 }, | 1734 }, |
1730 { | 1735 { |
1731 "domain": "DOMStorage", | 1736 "domain": "DOMStorage", |
1732 "hidden": true, | 1737 "hidden": true, |
1733 "description": "Query and modify DOM storage.", | 1738 "description": "Query and modify DOM storage.", |
(...skipping 3335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5069 ], | 5074 ], |
5070 "returns": [ | 5075 "returns": [ |
5071 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 5076 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
5072 ], | 5077 ], |
5073 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 5078 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
5074 "hidden": true | 5079 "hidden": true |
5075 } | 5080 } |
5076 ] | 5081 ] |
5077 }] | 5082 }] |
5078 } | 5083 } |
OLD | NEW |