diff options
Diffstat (limited to 'files/ru/web/api/xmlhttprequest')
9 files changed, 9 insertions, 576 deletions
diff --git a/files/ru/web/api/xmlhttprequest/getresponseheader/index.html b/files/ru/web/api/xmlhttprequest/getresponseheader/index.html index 0252529c17..2b97ea7b1f 100644 --- a/files/ru/web/api/xmlhttprequest/getresponseheader/index.html +++ b/files/ru/web/api/xmlhttprequest/getresponseheader/index.html @@ -58,58 +58,7 @@ client.onreadystatechange = function() { <h2 id="Совместимость_браузеров">Совместимость браузеров</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Свойство</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Базовая поддержка</td> - <td>{{CompatChrome(1)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatIe('5')}}<sup>[1]</sup><br> - {{CompatIe('7')}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('1.2')}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Chrome для 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>{{CompatUnknown}}</td> - <td>1.0</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Это свойство обеспечивалось посредством ActiveXObject(). Internet Explorer поддерживает стандарт XMLHttpRequest начиная с версии 7.</p> +<p>{{Compat("api.XMLHttpRequest.getResponseHeader")}}</p> <h2 id="Смотрите_также">Смотрите также</h2> diff --git a/files/ru/web/api/xmlhttprequest/onreadystatechange/index.html b/files/ru/web/api/xmlhttprequest/onreadystatechange/index.html index d9e578dc9c..e57460984f 100644 --- a/files/ru/web/api/xmlhttprequest/onreadystatechange/index.html +++ b/files/ru/web/api/xmlhttprequest/onreadystatechange/index.html @@ -64,54 +64,4 @@ xhr.send();</pre> <h2 id="Совместимость_браузеров">Совместимость браузеров</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Свойство</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Базовая поддержка</td> - <td>{{CompatChrome(1)}}</td> - <td>{{CompatGeckoDesktop(1.0)}}</td> - <td>{{CompatIe(7)}}<sup>[1]</sup></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari(1.2)}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Свойство</th> - <th>Android</th> - <th>Chrome for Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Базовая поддержка</td> - <td>{{CompatUnknown}}</td> - <td>1.0</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Internet Explorer версий 5 и 6 поддерживают запросы ajax при использовании <code>ActiveXObject()</code>.</p> +<p>{{Compat("api.XMLHttpRequest.onreadystatechange")}}</p> diff --git a/files/ru/web/api/xmlhttprequest/readystate/index.html b/files/ru/web/api/xmlhttprequest/readystate/index.html index a585b31e8b..f914bb81ca 100644 --- a/files/ru/web/api/xmlhttprequest/readystate/index.html +++ b/files/ru/web/api/xmlhttprequest/readystate/index.html @@ -102,52 +102,4 @@ xhr.send(null); <h2 id="Совместимость_браузеров">Совместимость браузеров</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Свойство</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Базовая поддержка</td> - <td>{{CompatChrome(1)}}</td> - <td>{{CompatGeckoDesktop("1.0")}}<sup>[1]</sup></td> - <td>{{CompatIe(7)}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari("1.2")}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Свойство</th> - <th>Android</th> - <th>Chrome для Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Базовая поддержка</td> - <td>{{CompatUnknown}}</td> - <td>1.0</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.XMLHttpRequest.readyState")}}</p> diff --git a/files/ru/web/api/xmlhttprequest/responsetype/index.html b/files/ru/web/api/xmlhttprequest/responsetype/index.html index 80d5b3bf9f..3bd56daaf4 100644 --- a/files/ru/web/api/xmlhttprequest/responsetype/index.html +++ b/files/ru/web/api/xmlhttprequest/responsetype/index.html @@ -75,63 +75,4 @@ translation_of: Web/API/XMLHttpRequest/responseType <h2 id="Поддержка_браузерами">Поддержка браузерами</h2> -<div>{{CompatibilityTable}}</div> - -<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>31</td> - <td>{{CompatVersionUnknown}}</td> - <td>12<sup>[1]</sup></td> - <td>10</td> - <td>18</td> - <td>7.1</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 Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td> - <p>4.0.3 [2]<br> - 4.4</p> - </td> - <td>55</td> - <td>{{CompatVersionUnknown}}</td> - <td>50<sup>[1]</sup></td> - <td>10</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Проприетарный <code>moz-blob</code> и <code>moz-chunked-text</code> значения полностью удалены в Firefox 58.</p> - -<p>[2] Поддерживается только <code>text</code> и <code>arraybuffer</code>.</p> +<p>{{Compat("api.XMLHttpRequest.responseType")}}</p> diff --git a/files/ru/web/api/xmlhttprequest/responsexml/index.html b/files/ru/web/api/xmlhttprequest/responsexml/index.html index 950d731c0d..f266055cef 100644 --- a/files/ru/web/api/xmlhttprequest/responsexml/index.html +++ b/files/ru/web/api/xmlhttprequest/responsexml/index.html @@ -79,59 +79,7 @@ xhr.send(null);</pre> <h2 id="Браузерная_совместимость">Браузерная совместимость</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Chrome</th> - <th>Firefox (Gecko)<sup>[1]</sup></th> - <th>Microsoft Edge</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Базовая поддержка</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</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>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Базовая поддержка</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] До Firefox 51, обработка ошибок полученных данных добавляла узел <code><parsererror></code> в верх {{domxref("Document")}} и затем возвращала <code>Document</code> в каком бы состоянии он ни оказывался. Это было расхождение со спецификацией. Начиная с Firefox 51 сейчас в этом случае возвращается <code>null,</code> как и указано в спецификации.</p> +<p>{{Compat("api.XMLHttpRequest.responseXML")}}</p> <h2 id="Смотрите_также">Смотрите также</h2> diff --git a/files/ru/web/api/xmlhttprequest/send/index.html b/files/ru/web/api/xmlhttprequest/send/index.html index ec462f241c..f0717c8e40 100644 --- a/files/ru/web/api/xmlhttprequest/send/index.html +++ b/files/ru/web/api/xmlhttprequest/send/index.html @@ -129,159 +129,7 @@ xhr.send("foo=bar&lorem=ipsum"); <h2 id="Поддержка_браузерами">Поддержка браузерами</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Возможность</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>Базовая поддержка</td> - <td>{{CompatChrome(1)}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("1.0")}}</td> - <td>{{CompatIe('5')}}<sup>[1]</sup><br> - {{CompatIe('7')}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('1.2')}}</td> - </tr> - <tr> - <td><code>send(ArrayBuffer)</code></td> - <td>{{CompatChrome(9)}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("9.0")}}</td> - <td>{{CompatIe('10')}}</td> - <td>{{CompatOpera('11.60')}}</td> - <td>{{compatUnknown}}</td> - </tr> - <tr> - <td><code>send(ArrayBufferView)</code></td> - <td>{{CompatChrome(22)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoDesktop("20.0")}}</td> - <td>{{compatUnknown}}</td> - <td>{{compatUnknown}}</td> - <td>{{compatUnknown}}</td> - </tr> - <tr> - <td><code>send(Blob)</code></td> - <td>{{CompatChrome(7)}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("1.9.2")}}</td> - <td>{{CompatIe('10')}}</td> - <td>{{CompatOpera('12')}}</td> - <td>{{compatUnknown}}</td> - </tr> - <tr> - <td><code>send(FormData)</code></td> - <td>{{CompatChrome(6)}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("2.0")}}</td> - <td>{{CompatIe('10')}}</td> - <td>{{CompatOpera('12')}}</td> - <td>{{compatUnknown}}</td> - </tr> - <tr> - <td><code>send(URLSearchParams)</code></td> - <td>{{CompatChrome(59)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoDesktop("44.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Возможность</th> - <th>Android Webview</th> - <th>Chrome for Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Базовая поддержка</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatChrome(1)}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td><code>send(ArrayBuffer)</code></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{compatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td><code>send(ArrayBufferView)</code></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{compatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td><code>send(Blob)</code></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{compatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td><code>send(FormData)</code></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{compatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td><code>send(URLSearchParams)</code></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatChrome(59)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("44.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Возможность реализуется с помощью <code>ActiveXObject()</code>. Начиная с версии 7 Internet Explorer реализует стандарт <code>XMLHttpRequest</code>.</p> - - +<p>{{Compat("api.XMLHttpRequest.send")}}</p> <h2 id="Смотрите_также">Смотрите также</h2> diff --git a/files/ru/web/api/xmlhttprequest/setrequestheader/index.html b/files/ru/web/api/xmlhttprequest/setrequestheader/index.html index 24951fda1c..7e34cbed3b 100644 --- a/files/ru/web/api/xmlhttprequest/setrequestheader/index.html +++ b/files/ru/web/api/xmlhttprequest/setrequestheader/index.html @@ -48,62 +48,7 @@ translation_of: Web/API/XMLHttpRequest/setRequestHeader <h2 id="Совместимость_браузеров">Совместимость браузеров</h2> -<div>{{CompatibilityTable}}</div> - -<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(1)}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatIe('5')}}<sup>[1]</sup><br> - {{CompatIe('7')}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatSafari('1.2')}}</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 Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatUnknown}}</td> - <td>1.0</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Эта особенность была реализована через ActiveXObject(). Internet Explorer реализует стандарт XMLHttpRequest начиная с версии 7.</p> +<p>{{Compat("api.XMLHttpRequest.setRequestHeader")}}</p> <h2 id="Смотрите_также">Смотрите также</h2> diff --git a/files/ru/web/api/xmlhttprequest/upload/index.html b/files/ru/web/api/xmlhttprequest/upload/index.html index 81006b8810..550fe98a93 100644 --- a/files/ru/web/api/xmlhttprequest/upload/index.html +++ b/files/ru/web/api/xmlhttprequest/upload/index.html @@ -65,52 +65,4 @@ translation_of: Web/API/XMLHttpRequest/upload <h2 id="Поддержка_браузерами">Поддержка браузерами</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Свойство</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Начальная поддержка</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Свойство</th> - <th>Android</th> - <th>Chrome for Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Начальная поддержка</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.XMLHttpRequest.upload")}}</p> diff --git a/files/ru/web/api/xmlhttprequest/withcredentials/index.html b/files/ru/web/api/xmlhttprequest/withcredentials/index.html index e8aad1306a..499790bcf9 100644 --- a/files/ru/web/api/xmlhttprequest/withcredentials/index.html +++ b/files/ru/web/api/xmlhttprequest/withcredentials/index.html @@ -49,56 +49,4 @@ xhr.send(null);</pre> <h2 id="Браузерная_совместимость">Браузерная совместимость</h2> -<div>{{CompatibilityTable}}</div> - -<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>Базовая поддержка</td> - <td>{{CompatChrome(3)}}</td> - <td>{{CompatGeckoDesktop("1.9.1")}}<sup>[2]</sup></td> - <td>{{CompatIe(10)}}<sup>[1]</sup></td> - <td>{{CompatOpera(12)}}</td> - <td>{{CompatSafari("4")}}</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>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Базовая поддержка</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}<sup>[2]</sup></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Internet Explorer версий 8 и 9 поддерживает кросс-доменные запросы (CORS) используя <a href="https://msdn.microsoft.com/en-us/library/cc288060%28VS.85%29.aspx">XDomainRequest</a>.</p> - -<p>[2] Начиная с Gecko 11.0 (Firefox 11.0 / Thunderbird 11.0 / SeaMonkey 2.8), Gecko больше не позволяет использовать атрибут <code>withCredentials</code> при проведении синхронных запросов. Попытки это сделать выбросят исключение <code>NS_ERROR_DOM_INVALID_ACCESS_ERR</code>.</p> +<p>{{Compat("api.XMLHttpRequest.withCredentials")}}</p> |