aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/filereader/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/filereader/index.html')
-rw-r--r--files/zh-cn/web/api/filereader/index.html92
1 files changed, 1 insertions, 91 deletions
diff --git a/files/zh-cn/web/api/filereader/index.html b/files/zh-cn/web/api/filereader/index.html
index 316b42f53e..331522ab36 100644
--- a/files/zh-cn/web/api/filereader/index.html
+++ b/files/zh-cn/web/api/filereader/index.html
@@ -119,97 +119,7 @@ translation_of: Web/API/FileReader
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td>
- <td>7</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10</td>
- <td>12.02<sup>[2]</sup></td>
- <td>6.0</td>
- </tr>
- <tr>
- <td>Support in Web Workers</td>
- <td>{{CompatGeckoDesktop(46)}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>error</code> property uses {{domxref("DOMException")}}, not {{domxref("DOMError")}}</td>
- <td>{{CompatGeckoDesktop(58)}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>Edge</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>32</td>
- <td>3</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10</td>
- <td>11.5</td>
- <td>6.1</td>
- </tr>
- <tr>
- <td>Support in Web Workers</td>
- <td>{{CompatGeckoMobile(46)}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>error</code> property uses {{domxref("DOMException")}}, not {{domxref("DOMError")}}</td>
- <td>{{CompatGeckoMobile(58)}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Prior to Gecko 2.0 beta 7 (Firefox 4.0 beta 7), all {{domxref("Blob")}} parameters below were {{domxref("File")}} parameters; this has since been updated to match the specification correctly. Prior to Gecko 13.0 {{geckoRelease("13.0")}} the <code>FileReader.error</code> property returned a {{domxref("FileError")}} object. This interface has been removed and <code>FileReader.error</code> is now returning the {{domxref("DOMError")}} object as defined in the latest FileAPI draft.</p>
-
-<p>[2] Opera has <a href="http://www.opera.com/docs/specs/presto28/file/">partial support</a> in 11.1.</p>
+{{Compat("api.FileReader")}}
<h2 id="See_also" name="See_also">相关链接</h2>