aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/storagemanager/index.md
diff options
context:
space:
mode:
authorjulieng <julien.gattelier@gmail.com>2021-10-02 17:20:24 +0200
committerSphinxKnight <SphinxKnight@users.noreply.github.com>2021-10-02 17:30:20 +0200
commit1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde (patch)
tree30a56efd3eff3a01bd1611e1840fdbbfacf544a4 /files/fr/web/api/storagemanager/index.md
parentc05efa8d7ae464235cf83d7c0956e42dc6974103 (diff)
downloadtranslated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.gz
translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.bz2
translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.zip
convert content to md
Diffstat (limited to 'files/fr/web/api/storagemanager/index.md')
-rw-r--r--files/fr/web/api/storagemanager/index.md45
1 files changed, 15 insertions, 30 deletions
diff --git a/files/fr/web/api/storagemanager/index.md b/files/fr/web/api/storagemanager/index.md
index afc0bd77ad..f2d0ddb3ae 100644
--- a/files/fr/web/api/storagemanager/index.md
+++ b/files/fr/web/api/storagemanager/index.md
@@ -16,40 +16,25 @@ tags:
- Usage
translation_of: Web/API/StorageManager
---
-<p>{{securecontext_header}}{{SeeCompatTable}}{{APIRef("Storage")}}</p>
+{{securecontext_header}}{{SeeCompatTable}}{{APIRef("Storage")}}
-<p>The <strong><code>StorageManager</code></strong> interface of the the <a href="/en-US/docs/Web/API/Storage_API">Storage API</a> provides an interface for managing persistance permissions and estimating available storage. You can get a reference to this interface using either {{domxref("navigator.storage")}} or {{domxref("WorkerNavigator.storage")}}.</p>
+The **`StorageManager`** interface of the the [Storage API](/en-US/docs/Web/API/Storage_API) provides an interface for managing persistance permissions and estimating available storage. You can get a reference to this interface using either {{domxref("navigator.storage")}} or {{domxref("WorkerNavigator.storage")}}.
-<h2 id="Methods">Methods</h2>
+## Methods
-<dl>
- <dt>{{domxref("StorageManager.estimate()")}} {{securecontext_inline}}</dt>
- <dd>Returns a {{domxref("StorageEstimate")}} object containing usage and quota numbers for your origin.</dd>
- <dt>{{domxref("StorageManager.persist()")}} {{securecontext_inline}}</dt>
- <dd>Returns a {{jsxref('Promise')}} that resolves to <code>true</code> if the user agent is able to persist your site's storage.</dd>
- <dt>{{domxref("StorageManager.persisted()")}} {{securecontext_inline}}</dt>
- <dd>Returns a {{jsxref('Promise')}} that resolves to <code>true</code> if persistence has already been granted for your site's storage.</dd>
-</dl>
+- {{domxref("StorageManager.estimate()")}} {{securecontext_inline}}
+ - : Returns a {{domxref("StorageEstimate")}} object containing usage and quota numbers for your origin.
+- {{domxref("StorageManager.persist()")}} {{securecontext_inline}}
+ - : Returns a {{jsxref('Promise')}} that resolves to `true` if the user agent is able to persist your site's storage.
+- {{domxref("StorageManager.persisted()")}} {{securecontext_inline}}
+ - : Returns a {{jsxref('Promise')}} that resolves to `true` if persistence has already been granted for your site's storage.
-<h2 id="Specifications">Specifications</h2>
+## Specifications
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>{{SpecName('Storage','#storagemanager','StorageManger')}}</td>
- <td>{{Spec2('Storage')}}</td>
- <td>Initial definition.</td>
- </tr>
- </tbody>
-</table>
+| Specification | Status | Comment |
+| ---------------------------------------------------------------------------- | ---------------------------- | ------------------- |
+| {{SpecName('Storage','#storagemanager','StorageManger')}} | {{Spec2('Storage')}} | Initial definition. |
-<h2 id="Browser_compatibility">Browser compatibility</h2>
+## Browser compatibility
-
-
-<p>{{Compat("api.StorageManager")}}</p>
+{{Compat("api.StorageManager")}}