aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/blobbuilder
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/blobbuilder
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/blobbuilder')
-rw-r--r--files/zh-cn/web/api/blobbuilder/index.html74
1 files changed, 2 insertions, 72 deletions
diff --git a/files/zh-cn/web/api/blobbuilder/index.html b/files/zh-cn/web/api/blobbuilder/index.html
index 1750cc61c1..219cd8f858 100644
--- a/files/zh-cn/web/api/blobbuilder/index.html
+++ b/files/zh-cn/web/api/blobbuilder/index.html
@@ -92,78 +92,8 @@ void append(
<h6 id="返回值_2">返回值</h6>
<p>一个{{ domxref("File") }}对象.</p>
<h2 id="浏览器兼容性">浏览器兼容性</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</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>8<br>
- As <code>WebKitBlobBuilder</code> †</td>
- <td>{{ CompatGeckoDesktop("6.0") }}<br>
- As <code>MozBlobBuilder</code></td>
- <td>10<br>
- As <code>MSBlobBuilder</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}†</td>
- </tr>
- <tr>
- <td><code>getfile()</code> {{ non-standard_inline() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop("8.0") }}</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>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3<br>
- As <code>WebKitBlobBuilder</code></td>
- <td>{{ CompatGeckoMobile("6.0") }}<br>
- As <code>MozBlobBuilder</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>getfile()</code> {{ non-standard_inline() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("8.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<h3 id="注BlobBuilder已被废弃">注:BlobBuilder已被废弃</h3>
-<ul>
- <li>从Firefox 14开始,使用<code>MozBlobBuilder</code>会在Web控制台显示一条警告消息: <code>MozBlobBuilder</code>已被废弃,请使用{{ domxref("Blob") }}来代替.</li>
- <li>从Firefox 18开始,<code>MozBlobBuilder</code>已被删除.</li>
- <li>WebKit has deprecated <code>WebKitBlobBuilder</code> and has made its support configurable. Currently Safari disables the feature in Nightly, so it will never likely to ship in the final version. On the other hand, Chrome, which has supported it since Chrome 8, still enables the feature. So Chrome might continue to support the feature. (See this <a class="external" href="http://trac.webkit.org/changeset/115666">WebKit changeset</a> for details).</li>
-</ul>
+{{Compat("api.BlobBuilder")}}
+
<h2 id="相关链接">相关链接</h2>
<ul>
<li>{{ spec("http://dev.w3.org/2009/dap/file-system/file-writer.html#idl-def-BlobBuilder", "File API Specification: BlobBuilder", "ED") }}</li>