aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/idbindex
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-02 20:22:51 +0900
committerIrvin <irvinfly@gmail.com>2022-03-04 01:03:17 +0800
commit9a110dee28ae2ef12ee014b98fda6bae6ee48edb (patch)
tree6525763f4313d7d8f42aefa699765f61ee1c63df /files/zh-cn/web/api/idbindex
parenteeddb651b6e8deb8ecabc2bc5bc28c8ead25cca5 (diff)
downloadtranslated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.gz
translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.bz2
translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.zip
Migrate to Compat macro (zh-cn)
Diffstat (limited to 'files/zh-cn/web/api/idbindex')
-rw-r--r--files/zh-cn/web/api/idbindex/index.html92
1 files changed, 1 insertions, 91 deletions
diff --git a/files/zh-cn/web/api/idbindex/index.html b/files/zh-cn/web/api/idbindex/index.html
index cb32afc0c0..3111773787 100644
--- a/files/zh-cn/web/api/idbindex/index.html
+++ b/files/zh-cn/web/api/idbindex/index.html
@@ -110,97 +110,7 @@ request.onsuccess = function(event) {
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>12{{ property_prefix("-webkit") }}<br>
- 23</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>10</td>
- <td>17</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>count()</code></td>
- <td>23</td>
- <td>{{ CompatGeckoDesktop("10.0") }}</td>
- <td>10</td>
- <td>17</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>getAll()</code> and <code>getAllKeys()</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop("24.0") }}<br>
- behind <code>dom.indexedDB.experimental</code>  pref</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>17</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>count()</code></td>
- <td>4.4</td>
- <td>{{ CompatGeckoMobile("10.0") }}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>17</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>getAll()</code> and <code>getAllKeys()</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop("24.0") }}<br>
- behind <code>dom.indexedDB.experimental</code>  pref</td>
- <td>1.1 behind<br>
- <code>dom.indexedDB.experimental</code>  pref</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div class="warning">
-<p>Be careful in Chrome as it still implements the old specification along the new one. Similarly it still has the prefixed <code>webkitIndexedDB</code> property even if the unprefixed <code>indexedDB</code> is present.</p>
-</div>
+{{Compat("api.IDBIndex")}}
<h2 id="See_also">See also</h2>