aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/filesystemfileentry
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/filesystemfileentry
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/filesystemfileentry')
-rw-r--r--files/zh-cn/web/api/filesystemfileentry/index.html80
1 files changed, 1 insertions, 79 deletions
diff --git a/files/zh-cn/web/api/filesystemfileentry/index.html b/files/zh-cn/web/api/filesystemfileentry/index.html
index 8fcca325a1..de0f33c260 100644
--- a/files/zh-cn/web/api/filesystemfileentry/index.html
+++ b/files/zh-cn/web/api/filesystemfileentry/index.html
@@ -86,85 +86,7 @@ window.requestFileSystem(window.TEMPORARY, 1024*1024, onInitFs, errorHandler);</
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Microsoft Edge</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>13 {{ property_prefix("webkit") }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(50) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}<sup>[2]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- <tr>
- <td><code>createWriter()</code></td>
- <td>13 {{ property_prefix("webkit") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatNo }}<sup>[1]</sup></td>
- <td>{{ CompatNo }}</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>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>0.16{{ property_prefix("webkit") }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(50)}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- <tr>
- <td><code>createWriter()</code></td>
- <td>{{ CompatNo }}</td>
- <td>0.16{{ property_prefix("webkit") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatNo }}<sup>[1]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 虽然从 Firefox 50 开始,存在 <code>createWriter()</code> 方法,它是不受支持的,并且会立即报告 <code>NS_ERROR_DOM_SECURITY_ERR </code>错误给错误回调。这个方法在 Firefox 52 中彻底移除。</p>
-
-<p>[2] Microsoft Edge 实现了这个接口,作为 <code>WebKitEntry</code> 接口的一部分,它是用于 {{domxref("FileSystemEntry")}} 的名称。</p>
+{{Compat("api.FileSystemFileEntry")}}
<h2 id="另见">另见</h2>