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 1668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1679 { "name": "databaseName", "type": "string", "description": " Database name." }, | 1679 { "name": "databaseName", "type": "string", "description": " Database name." }, |
1680 { "name": "objectStoreName", "type": "string", "description" : "Object store name." } | 1680 { "name": "objectStoreName", "type": "string", "description" : "Object store name." } |
1681 ], | 1681 ], |
1682 "returns": [ | 1682 "returns": [ |
1683 ], | 1683 ], |
1684 "description": "Clears all entries from an object store." | 1684 "description": "Clears all entries from an object store." |
1685 } | 1685 } |
1686 ] | 1686 ] |
1687 }, | 1687 }, |
1688 { | 1688 { |
1689 "domain": "ServiceWorkerCache", | 1689 "domain": "CacheStorage", |
1690 "hidden": true, | 1690 "hidden": true, |
1691 "types": [ | 1691 "types": [ |
1692 { | 1692 { |
1693 "id": "DataEntry", | 1693 "id": "DataEntry", |
1694 "type": "object", | 1694 "type": "object", |
1695 "description": "Data entry.", | 1695 "description": "Data entry.", |
1696 "properties": [ | 1696 "properties": [ |
1697 { "name": "request", "type": "string", "description": "JSON- stringified request object." }, | 1697 { "name": "request", "type": "string", "description": "JSON- stringified request object." }, |
1698 { "name": "response", "type": "string", "description": "JSON -stringified response object." } | 1698 { "name": "response", "type": "string", "description": "JSON -stringified response object." } |
1699 ] | 1699 ] |
1700 }, | |
1701 { | |
1702 "id": "CacheId", | |
pfeldman
2015/04/17 07:57:36
Rename this to "Cache"
dmurph
2015/04/18 00:59:31
Done.
| |
1703 "type": "object", | |
pfeldman
2015/04/16 10:22:53
Identifiers must be opaque strings, you should do
dmurph
2015/04/18 00:59:31
Done.
| |
1704 "description": "Cache identifier.", | |
1705 "properties": [ | |
1706 { "name": "securityOrigin", "type": "string", "description": "Security origin of the cache." }, | |
pfeldman
2015/04/17 07:57:36
You already have an origin, cache name here. Add c
dmurph
2015/04/18 00:59:32
Cone.
| |
1707 { "name": "cacheName", "type": "string", "description": "The name of the cache." } | |
1708 ] | |
1700 } | 1709 } |
1701 ], | 1710 ], |
1702 "commands": [ | 1711 "commands": [ |
1703 { | 1712 { |
1704 "name": "requestCacheNames", | 1713 "name": "requestCacheNames", |
1705 "async": true, | 1714 "async": true, |
1715 "parameters": [ | |
1716 { "name": "securityOrigin", "type": "string", "description": "Security origin." } | |
1717 ], | |
1706 "returns": [ | 1718 "returns": [ |
1707 { "name": "cacheNames", "type": "array", "items": { "type": "string" }, "description": "Cache names for origin." } | 1719 { "name": "cacheIds", "type": "array", "items": { "$ref": "C acheId" }, "description": "Cache ids for the security origin." } |
1708 ], | 1720 ], |
1709 "description": "Requests cache names." | 1721 "description": "Requests cache names." |
1710 }, | 1722 }, |
1711 { | 1723 { |
1712 "name": "requestEntries", | 1724 "name": "requestEntries", |
1713 "async": true, | 1725 "async": true, |
1714 "parameters": [ | 1726 "parameters": [ |
1715 { "name": "cacheName", "type": "string", "description": "Cac he name." }, | 1727 { "name": "cacheId", "$ref": "CacheId", "description": "Cach e to get entries from." }, |
1716 { "name": "skipCount", "type": "integer", "description": "Nu mber of records to skip." }, | 1728 { "name": "skipCount", "type": "integer", "description": "Nu mber of records to skip." }, |
1717 { "name": "pageSize", "type": "integer", "description": "Num ber of records to fetch." } | 1729 { "name": "pageSize", "type": "integer", "description": "Num ber of records to fetch." } |
1718 ], | 1730 ], |
1719 "returns": [ | 1731 "returns": [ |
1720 { "name": "cacheDataEntries", "type": "array", "items": { "$ ref": "DataEntry" }, "description": "Array of object store data entries." }, | 1732 { "name": "cacheDataEntries", "type": "array", "items": { "$ ref": "DataEntry" }, "description": "Array of object store data entries." }, |
1721 { "name": "hasMore", "type": "boolean", "description": "If t rue, there are more entries to fetch in the given range." } | 1733 { "name": "hasMore", "type": "boolean", "description": "If t rue, there are more entries to fetch in the given range." } |
1722 ], | 1734 ], |
1723 "description": "Requests data from cache." | 1735 "description": "Requests data from cache." |
1724 }, | 1736 }, |
1725 { | 1737 { |
1726 "name": "deleteCache", | 1738 "name": "deleteCache", |
1727 "async": true, | 1739 "async": true, |
1728 "parameters": [ | 1740 "parameters": [ |
1729 { "name": "cacheName", "type": "string", "description": "Cac he name." } | 1741 { "name": "cacheId", "$ref": "CacheId", "description": "Id o f cache for deletion." } |
1730 ], | 1742 ], |
1731 "description": "Deletes a cache." | 1743 "description": "Deletes a cache." |
1732 } | 1744 } |
1733 ] | 1745 ] |
1734 }, | 1746 }, |
1735 { | 1747 { |
1736 "domain": "DOMStorage", | 1748 "domain": "DOMStorage", |
1737 "hidden": true, | 1749 "hidden": true, |
1738 "description": "Query and modify DOM storage.", | 1750 "description": "Query and modify DOM storage.", |
1739 "types": [ | 1751 "types": [ |
(...skipping 3344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5084 ], | 5096 ], |
5085 "returns": [ | 5097 "returns": [ |
5086 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 5098 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
5087 ], | 5099 ], |
5088 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 5100 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
5089 "hidden": true | 5101 "hidden": true |
5090 } | 5102 } |
5091 ] | 5103 ] |
5092 }] | 5104 }] |
5093 } | 5105 } |
OLD | NEW |