diff options
-rw-r--r-- | chrome/common/extensions/api/storage.json | 22 | ||||
-rw-r--r-- | chrome/common/extensions/docs/apps/storage.html | 22 | ||||
-rw-r--r-- | chrome/common/extensions/docs/extensions/storage.html | 22 |
3 files changed, 33 insertions, 33 deletions
diff --git a/chrome/common/extensions/api/storage.json b/chrome/common/extensions/api/storage.json index 28c0ead..5ec9560 100644 --- a/chrome/common/extensions/api/storage.json +++ b/chrome/common/extensions/api/storage.json @@ -49,7 +49,7 @@ { "name": "callback", "type": "function", - "description": "Callback with storage items, or on failure (in which case <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set).", + "description": "Callback with storage items, or on failure (in which case <a href='runtime.html#property-lastError'>chrome.runtime.lastError</a> will be set).", "parameters": [ { "name": "items", @@ -78,7 +78,7 @@ { "name": "callback", "type": "function", - "description": "Callback with the amount of space being used by storage, or on failure (in which case <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set).", + "description": "Callback with the amount of space being used by storage, or on failure (in which case <a href='runtime.html#property-lastError'>chrome.runtime.lastError</a> will be set).", "parameters": [ { "name": "bytesInUse", @@ -103,7 +103,7 @@ { "name": "callback", "type": "function", - "description": "Callback on success, or on failure (in which case <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set).", + "description": "Callback on success, or on failure (in which case <a href='runtime.html#property-lastError'>chrome.runtime.lastError</a> will be set).", "parameters": [], "optional": true } @@ -125,7 +125,7 @@ { "name": "callback", "type": "function", - "description": "Callback on success, or on failure (in which case <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set).", + "description": "Callback on success, or on failure (in which case <a href='runtime.html#property-lastError'>chrome.runtime.lastError</a> will be set).", "parameters": [], "optional": true } @@ -139,7 +139,7 @@ { "name": "callback", "type": "function", - "description": "Callback on success, or on failure (in which case <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set).", + "description": "Callback on success, or on failure (in which case <a href='runtime.html#property-lastError'>chrome.runtime.lastError</a> will be set).", "parameters": [], "optional": true } @@ -176,23 +176,23 @@ "properties": { "QUOTA_BYTES": { "value": 102400, - "description": "The maximum total amount (in bytes) of data that can be stored in sync storage. Updates that would cause this limit to be exceeded fail immediately and set chrome.extension.lastError." + "description": "The maximum total amount (in bytes) of data that can be stored in sync storage, as measured by the JSON stringification of every value plus every key's length. Updates that would cause this limit to be exceeded fail immediately and set <a href='runtime.html#property-lastError'>chrome.runtime.lastError</a>." }, "QUOTA_BYTES_PER_ITEM": { "value": 4096, - "description": "The maximum size (in bytes) of each individual item in sync storage. Updates containing items larger than this limit will fail." + "description": "The maximum size (in bytes) of each individual item in sync storage, as measured by the JSON stringification of its value plus its key length. Updates containing items larger than this limit will fail immediately and set <a href='runtime.html#property-lastError'>chrome.runtime.lastError</a>." }, "MAX_ITEMS": { "value": 512, - "description": "The maximum number of items that can be stored in sync storage. Updates that would cause this limit to be exceeded will fail" + "description": "The maximum number of items that can be stored in sync storage. Updates that would cause this limit to be exceeded will fail immediately and set <a href='runtime.html#property-lastError'>chrome.runtime.lastError</a>." }, "MAX_WRITE_OPERATIONS_PER_HOUR": { "value": 1000, - "description": "The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each hour. Updates that would cause this limit to be exceeded fail." + "description": "The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each hour. Updates that would cause this limit to be exceeded fail immediately and set <a href='runtime.html#property-lastError'>chrome.runtime.lastError</a>." }, "MAX_SUSTAINED_WRITE_OPERATIONS_PER_MINUTE": { "value": 10, - "description": "The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each minute, sustained over 10 minutes. Updates that would cause this limit to be exceeded fail." + "description": "The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each minute, sustained over 10 minutes. Updates that would cause this limit to be exceeded fail immediately and set <a href='runtime.html#property-lastError'>chrome.runtime.lastError</a>." } } }, @@ -203,7 +203,7 @@ "properties": { "QUOTA_BYTES": { "value": 5242880, - "description": "The maximum amount (in bytes) of data that can be stored in local storage. This value will be ignored if the extension has the <code>unlimitedStorage</code> permission. Updates that would cause this limit to be exceeded fail." + "description": "The maximum amount (in bytes) of data that can be stored in local storage, as measured by the JSON stringification of every value plus every key's length. This value will be ignored if the extension has the <code>unlimitedStorage</code> permission. Updates that would cause this limit to be exceeded fail immediately and set <a href='runtime.html#property-lastError'>chrome.runtime.lastError</a>." } } }, diff --git a/chrome/common/extensions/docs/apps/storage.html b/chrome/common/extensions/docs/apps/storage.html index 74bfd0e..c93e649 100644 --- a/chrome/common/extensions/docs/apps/storage.html +++ b/chrome/common/extensions/docs/apps/storage.html @@ -412,7 +412,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum total amount (in bytes) of data that can be stored in sync storage. Updates that would cause this limit to be exceeded fail immediately and set chrome.extension.lastError.</dd> + <dd>The maximum total amount (in bytes) of data that can be stored in sync storage, as measured by the JSON stringification of every value plus every key's length. Updates that would cause this limit to be exceeded fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -433,7 +433,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum size (in bytes) of each individual item in sync storage. Updates containing items larger than this limit will fail.</dd> + <dd>The maximum size (in bytes) of each individual item in sync storage, as measured by the JSON stringification of its value plus its key length. Updates containing items larger than this limit will fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -454,7 +454,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum number of items that can be stored in sync storage. Updates that would cause this limit to be exceeded will fail</dd> + <dd>The maximum number of items that can be stored in sync storage. Updates that would cause this limit to be exceeded will fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -475,7 +475,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each hour. Updates that would cause this limit to be exceeded fail.</dd> + <dd>The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each hour. Updates that would cause this limit to be exceeded fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -496,7 +496,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each minute, sustained over 10 minutes. Updates that would cause this limit to be exceeded fail.</dd> + <dd>The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each minute, sustained over 10 minutes. Updates that would cause this limit to be exceeded fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -551,7 +551,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum amount (in bytes) of data that can be stored in local storage. This value will be ignored if the extension has the <code>unlimitedStorage</code> permission. Updates that would cause this limit to be exceeded fail.</dd> + <dd>The maximum amount (in bytes) of data that can be stored in local storage, as measured by the JSON stringification of every value plus every key's length. This value will be ignored if the extension has the <code>unlimitedStorage</code> permission. Updates that would cause this limit to be exceeded fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -785,7 +785,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>Callback on success, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd> + <dd>Callback on success, or on failure (in which case <a href="runtime.html#property-lastError">chrome.runtime.lastError</a> will be set).</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -853,7 +853,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>Callback with storage items, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd> + <dd>Callback with storage items, or on failure (in which case <a href="runtime.html#property-lastError">chrome.runtime.lastError</a> will be set).</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -921,7 +921,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>Callback with the amount of space being used by storage, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd> + <dd>Callback with the amount of space being used by storage, or on failure (in which case <a href="runtime.html#property-lastError">chrome.runtime.lastError</a> will be set).</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -989,7 +989,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>Callback on success, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd> + <dd>Callback on success, or on failure (in which case <a href="runtime.html#property-lastError">chrome.runtime.lastError</a> will be set).</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -1057,7 +1057,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>Callback on success, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd> + <dd>Callback on success, or on failure (in which case <a href="runtime.html#property-lastError">chrome.runtime.lastError</a> will be set).</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> diff --git a/chrome/common/extensions/docs/extensions/storage.html b/chrome/common/extensions/docs/extensions/storage.html index 3a3a118..50e8a87 100644 --- a/chrome/common/extensions/docs/extensions/storage.html +++ b/chrome/common/extensions/docs/extensions/storage.html @@ -443,7 +443,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum total amount (in bytes) of data that can be stored in sync storage. Updates that would cause this limit to be exceeded fail immediately and set chrome.extension.lastError.</dd> + <dd>The maximum total amount (in bytes) of data that can be stored in sync storage, as measured by the JSON stringification of every value plus every key's length. Updates that would cause this limit to be exceeded fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -464,7 +464,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum size (in bytes) of each individual item in sync storage. Updates containing items larger than this limit will fail.</dd> + <dd>The maximum size (in bytes) of each individual item in sync storage, as measured by the JSON stringification of its value plus its key length. Updates containing items larger than this limit will fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -485,7 +485,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum number of items that can be stored in sync storage. Updates that would cause this limit to be exceeded will fail</dd> + <dd>The maximum number of items that can be stored in sync storage. Updates that would cause this limit to be exceeded will fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -506,7 +506,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each hour. Updates that would cause this limit to be exceeded fail.</dd> + <dd>The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each hour. Updates that would cause this limit to be exceeded fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -527,7 +527,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each minute, sustained over 10 minutes. Updates that would cause this limit to be exceeded fail.</dd> + <dd>The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each minute, sustained over 10 minutes. Updates that would cause this limit to be exceeded fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -582,7 +582,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>The maximum amount (in bytes) of data that can be stored in local storage. This value will be ignored if the extension has the <code>unlimitedStorage</code> permission. Updates that would cause this limit to be exceeded fail.</dd> + <dd>The maximum amount (in bytes) of data that can be stored in local storage, as measured by the JSON stringification of every value plus every key's length. This value will be ignored if the extension has the <code>unlimitedStorage</code> permission. Updates that would cause this limit to be exceeded fail immediately and set <a href="runtime.html#property-lastError">chrome.runtime.lastError</a>.</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -817,7 +817,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>Callback on success, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd> + <dd>Callback on success, or on failure (in which case <a href="runtime.html#property-lastError">chrome.runtime.lastError</a> will be set).</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -898,7 +898,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>Callback with storage items, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd> + <dd>Callback with storage items, or on failure (in which case <a href="runtime.html#property-lastError">chrome.runtime.lastError</a> will be set).</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -1003,7 +1003,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>Callback with the amount of space being used by storage, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd> + <dd>Callback with the amount of space being used by storage, or on failure (in which case <a href="runtime.html#property-lastError">chrome.runtime.lastError</a> will be set).</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -1108,7 +1108,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>Callback on success, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd> + <dd>Callback on success, or on failure (in which case <a href="runtime.html#property-lastError">chrome.runtime.lastError</a> will be set).</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> @@ -1189,7 +1189,7 @@ You can find examples that use this API on the </div> </em> </dt> - <dd>Callback on success, or on failure (in which case <a href="extension.html#property-lastError">chrome.extension.lastError</a> will be set).</dd> + <dd>Callback on success, or on failure (in which case <a href="runtime.html#property-lastError">chrome.runtime.lastError</a> will be set).</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> |