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 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1702 { "name": "databaseName", "type": "string", "description": "
Database name." }, | 1702 { "name": "databaseName", "type": "string", "description": "
Database name." }, |
1703 { "name": "objectStoreName", "type": "string", "description"
: "Object store name." } | 1703 { "name": "objectStoreName", "type": "string", "description"
: "Object store name." } |
1704 ], | 1704 ], |
1705 "returns": [ | 1705 "returns": [ |
1706 ], | 1706 ], |
1707 "description": "Clears all entries from an object store." | 1707 "description": "Clears all entries from an object store." |
1708 } | 1708 } |
1709 ] | 1709 ] |
1710 }, | 1710 }, |
1711 { | 1711 { |
1712 "domain": "ServiceWorkerCache", | 1712 "domain": "CacheStorage", |
1713 "hidden": true, | 1713 "hidden": true, |
1714 "types": [ | 1714 "types": [ |
1715 { | 1715 { |
| 1716 "id": "CacheId", |
| 1717 "type": "string", |
| 1718 "description": "Unique identifier of the Cache object." |
| 1719 }, |
| 1720 { |
1716 "id": "DataEntry", | 1721 "id": "DataEntry", |
1717 "type": "object", | 1722 "type": "object", |
1718 "description": "Data entry.", | 1723 "description": "Data entry.", |
1719 "properties": [ | 1724 "properties": [ |
1720 { "name": "request", "type": "string", "description": "JSON-
stringified request object." }, | 1725 { "name": "request", "type": "string", "description": "JSON-
stringified request object." }, |
1721 { "name": "response", "type": "string", "description": "JSON
-stringified response object." } | 1726 { "name": "response", "type": "string", "description": "JSON
-stringified response object." } |
1722 ] | 1727 ] |
| 1728 }, |
| 1729 { |
| 1730 "id": "Cache", |
| 1731 "type": "object", |
| 1732 "description": "Cache identifier.", |
| 1733 "properties": [ |
| 1734 { "name": "cacheId", "$ref": "CacheId", "description": "An o
paque unique id of the cache." }, |
| 1735 { "name": "securityOrigin", "type": "string", "description":
"Security origin of the cache." }, |
| 1736 { "name": "cacheName", "type": "string", "description": "The
name of the cache." } |
| 1737 ] |
1723 } | 1738 } |
1724 ], | 1739 ], |
1725 "commands": [ | 1740 "commands": [ |
1726 { | 1741 { |
1727 "name": "requestCacheNames", | 1742 "name": "requestCacheNames", |
1728 "async": true, | 1743 "async": true, |
| 1744 "parameters": [ |
| 1745 { "name": "securityOrigin", "type": "string", "description":
"Security origin." } |
| 1746 ], |
1729 "returns": [ | 1747 "returns": [ |
1730 { "name": "cacheNames", "type": "array", "items": { "type":
"string" }, "description": "Cache names for origin." } | 1748 { "name": "caches", "type": "array", "items": { "$ref": "Cac
he" }, "description": "Caches for the security origin." } |
1731 ], | 1749 ], |
1732 "description": "Requests cache names." | 1750 "description": "Requests cache names." |
1733 }, | 1751 }, |
1734 { | 1752 { |
1735 "name": "requestEntries", | 1753 "name": "requestEntries", |
1736 "async": true, | 1754 "async": true, |
1737 "parameters": [ | 1755 "parameters": [ |
1738 { "name": "cacheName", "type": "string", "description": "Cac
he name." }, | 1756 { "name": "cacheId", "$ref": "CacheId", "description": "ID o
f cache to get entries from." }, |
1739 { "name": "skipCount", "type": "integer", "description": "Nu
mber of records to skip." }, | 1757 { "name": "skipCount", "type": "integer", "description": "Nu
mber of records to skip." }, |
1740 { "name": "pageSize", "type": "integer", "description": "Num
ber of records to fetch." } | 1758 { "name": "pageSize", "type": "integer", "description": "Num
ber of records to fetch." } |
1741 ], | 1759 ], |
1742 "returns": [ | 1760 "returns": [ |
1743 { "name": "cacheDataEntries", "type": "array", "items": { "$
ref": "DataEntry" }, "description": "Array of object store data entries." }, | 1761 { "name": "cacheDataEntries", "type": "array", "items": { "$
ref": "DataEntry" }, "description": "Array of object store data entries." }, |
1744 { "name": "hasMore", "type": "boolean", "description": "If t
rue, there are more entries to fetch in the given range." } | 1762 { "name": "hasMore", "type": "boolean", "description": "If t
rue, there are more entries to fetch in the given range." } |
1745 ], | 1763 ], |
1746 "description": "Requests data from cache." | 1764 "description": "Requests data from cache." |
1747 }, | 1765 }, |
1748 { | 1766 { |
1749 "name": "deleteCache", | 1767 "name": "deleteCache", |
1750 "async": true, | 1768 "async": true, |
1751 "parameters": [ | 1769 "parameters": [ |
1752 { "name": "cacheName", "type": "string", "description": "Cac
he name." } | 1770 { "name": "cacheId", "$ref": "CacheId", "description": "Id o
f cache for deletion." } |
1753 ], | 1771 ], |
1754 "description": "Deletes a cache." | 1772 "description": "Deletes a cache." |
1755 } | 1773 } |
1756 ] | 1774 ] |
1757 }, | 1775 }, |
1758 { | 1776 { |
1759 "domain": "DOMStorage", | 1777 "domain": "DOMStorage", |
1760 "hidden": true, | 1778 "hidden": true, |
1761 "description": "Query and modify DOM storage.", | 1779 "description": "Query and modify DOM storage.", |
1762 "types": [ | 1780 "types": [ |
(...skipping 3350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5113 ], | 5131 ], |
5114 "returns": [ | 5132 "returns": [ |
5115 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } | 5133 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } |
5116 ], | 5134 ], |
5117 "description": "Fetches the accessibility node for this DOM node
, if it exists.", | 5135 "description": "Fetches the accessibility node for this DOM node
, if it exists.", |
5118 "hidden": true | 5136 "hidden": true |
5119 } | 5137 } |
5120 ] | 5138 ] |
5121 }] | 5139 }] |
5122 } | 5140 } |
OLD | NEW |