aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/response
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/response')
-rw-r--r--files/zh-cn/web/api/response/arraybuffer/index.html60
-rw-r--r--files/zh-cn/web/api/response/blob/index.html65
-rw-r--r--files/zh-cn/web/api/response/bodyused/index.html65
-rw-r--r--files/zh-cn/web/api/response/clone/index.html63
-rw-r--r--files/zh-cn/web/api/response/formdata/index.html64
-rw-r--r--files/zh-cn/web/api/response/ok/index.html59
-rw-r--r--files/zh-cn/web/api/response/status/index.html63
-rw-r--r--files/zh-cn/web/api/response/statustext/index.html63
-rw-r--r--files/zh-cn/web/api/response/type/index.html65
9 files changed, 9 insertions, 558 deletions
diff --git a/files/zh-cn/web/api/response/arraybuffer/index.html b/files/zh-cn/web/api/response/arraybuffer/index.html
index 48ec4e65a2..ff93782644 100644
--- a/files/zh-cn/web/api/response/arraybuffer/index.html
+++ b/files/zh-cn/web/api/response/arraybuffer/index.html
@@ -79,65 +79,7 @@ play.onclick = function() {
<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 (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(41) }}<sup>[1]</sup><br>
- {{ CompatChrome(42) }}<br>
-  </td>
- <td>34<sup>[1]</sup><br>
- {{ CompatGeckoDesktop(39)}}</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>28<sup>[1]</sup><br>
- 29</p>
- </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 (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] In Chrome 42, Firefox 34 and Opera 28 support for <code>arrayBuffer()</code> was hidden behind a preference.</p>
+{{Compat("api.Response.arrayBuffer")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/response/blob/index.html b/files/zh-cn/web/api/response/blob/index.html
index 89444de3d4..6a33604116 100644
--- a/files/zh-cn/web/api/response/blob/index.html
+++ b/files/zh-cn/web/api/response/blob/index.html
@@ -68,70 +68,7 @@ fetch(myRequest)
<h2 id="浏览器兼容性">浏览器兼容性</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>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(42) }} [1]<br>
-  </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(39)}} [2]</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>29 [3]</p>
- </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>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Behind a preference in version 41.</p>
-
-<p>[2] Behind a preference starting with version 34.</p>
-
-<p>[3] Behind a preference in version 28.</p>
+{{Compat("api.Response.blob")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/response/bodyused/index.html b/files/zh-cn/web/api/response/bodyused/index.html
index 2e9428b9c2..431aeb3070 100644
--- a/files/zh-cn/web/api/response/bodyused/index.html
+++ b/files/zh-cn/web/api/response/bodyused/index.html
@@ -68,70 +68,7 @@ fetch('https://upload.wikimedia.org/wikipedia/commons/7/77/Delete_key1.jpg').the
<h2 id="浏览器兼容性">浏览器兼容性</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>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(42) }} [1]<br>
-  </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(39)}} [2]</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>29 [3]</p>
- </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>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Behind a preference in version 41.</p>
-
-<p>[2] Behind a preference starting with version 34.</p>
-
-<p>[3] Behind a preference in version 28.</p>
+{{Compat("api.Response.bodyUsed")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/response/clone/index.html b/files/zh-cn/web/api/response/clone/index.html
index f43e881bca..6d7f9255e8 100644
--- a/files/zh-cn/web/api/response/clone/index.html
+++ b/files/zh-cn/web/api/response/clone/index.html
@@ -72,68 +72,7 @@ fetch(myRequest).then(function(response) {
<h2 id="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>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </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>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 此功能是在首选项后面实现的。</p>
+{{Compat("api.Response.clone")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/response/formdata/index.html b/files/zh-cn/web/api/response/formdata/index.html
index 26b61274fe..0c4c2a89fc 100644
--- a/files/zh-cn/web/api/response/formdata/index.html
+++ b/files/zh-cn/web/api/response/formdata/index.html
@@ -59,69 +59,7 @@ browser-compat: api.Response.formData
<h2 id="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>
- <p>{{CompatChrome(60)}}</p>
- </td>
- <td>{{ CompatGeckoDesktop(39)}} [1]</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>{{CompatOpera(47)}}</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatChrome(60)}}</p>
- </td>
- <td>
- <p>{{CompatChrome(60)}}</p>
- </td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>{{CompatOperaMobile(47)}}</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Behind a preference starting with version 34.</p>
+{{Compat("api.Response.formData")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/response/ok/index.html b/files/zh-cn/web/api/response/ok/index.html
index 63448df311..ef4ef7085d 100644
--- a/files/zh-cn/web/api/response/ok/index.html
+++ b/files/zh-cn/web/api/response/ok/index.html
@@ -52,64 +52,7 @@ fetch(myRequest).then(function(response) {
<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 (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </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 (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature is implemented behind a preference.</p>
+{{Compat("api.Response.ok")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/response/status/index.html b/files/zh-cn/web/api/response/status/index.html
index cd1ab13bca..76f249b096 100644
--- a/files/zh-cn/web/api/response/status/index.html
+++ b/files/zh-cn/web/api/response/status/index.html
@@ -55,68 +55,7 @@ fetch(myRequest).then(function(response) {
<h2 id="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>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </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>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature is implemented behind a preference.</p>
+{{Compat("api.Response.status")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/response/statustext/index.html b/files/zh-cn/web/api/response/statustext/index.html
index 812d698a3c..3fd1f844e2 100644
--- a/files/zh-cn/web/api/response/statustext/index.html
+++ b/files/zh-cn/web/api/response/statustext/index.html
@@ -54,68 +54,7 @@ fetch(myRequest).then(function(response) {
<h2 id="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>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </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>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature is implemented behind a preference.</p>
+{{Compat("api.Response.statusText")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/response/type/index.html b/files/zh-cn/web/api/response/type/index.html
index 1057083426..3b2ecb0861 100644
--- a/files/zh-cn/web/api/response/type/index.html
+++ b/files/zh-cn/web/api/response/type/index.html
@@ -63,70 +63,7 @@ fetch(myRequest).then(function(response) {
<h2 id="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>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </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>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] The implementation of this feature is behind the "Experimental Web Platform Features" preference in <code>chrome://flags</code>.</p>
-
-<p>[2] The implementation of this feature is behind the preference <code>dom.fetch.enabled</code> in <code>about:config</code>, defaulting to <code>false</code>.</p>
+{{Compat("api.Response.type")}}
<h2 id="See_also">See also</h2>