From 20c7fd773df964681f7dd9d7a305293abd5a04ad Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 27 Jul 2021 14:15:05 -0400 Subject: remove link 'title' attributes that's just the 'href' (ru, part 3) (#1746) --- files/ru/web/api/xmlhttprequest/index.html | 2 +- files/ru/web/api/xmlhttprequest/using_xmlhttprequest/index.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'files/ru/web/api/xmlhttprequest') diff --git a/files/ru/web/api/xmlhttprequest/index.html b/files/ru/web/api/xmlhttprequest/index.html index 9a0ccbad3d..dc94d8668c 100644 --- a/files/ru/web/api/xmlhttprequest/index.html +++ b/files/ru/web/api/xmlhttprequest/index.html @@ -595,7 +595,7 @@ if (!XMLHttpRequest.prototype.sendAsBinary) {
  • XMLHttpRequest references from W3C and browser vendors: diff --git a/files/ru/web/api/xmlhttprequest/using_xmlhttprequest/index.html b/files/ru/web/api/xmlhttprequest/using_xmlhttprequest/index.html index 4238188e55..f2628fa1fa 100644 --- a/files/ru/web/api/xmlhttprequest/using_xmlhttprequest/index.html +++ b/files/ru/web/api/xmlhttprequest/using_xmlhttprequest/index.html @@ -61,7 +61,7 @@ oReq.overrideMimeType("text/plain; charset=x-user-defined"); /* ... */ -

    Спецификация XMLHttpRequest Level 2 добавляет новые атрибуты responseType, значительно облегчающие работу с двоичными данными:

    +

    Спецификация XMLHttpRequest Level 2 добавляет новые атрибуты responseType, значительно облегчающие работу с двоичными данными:

    var oReq = new XMLHttpRequest();
     
    @@ -80,7 +80,7 @@ oReq.send();
     
     

    XMLHttpRequest позволяет подписываться на различные события, которые могут произойти в процессе обработки запроса. Сюда входят периодические уведомления о состоянии запроса, сообщения об ошибках и так далее. 

    -

    Отслеживание событий процесса загрузки  следует спецификации Web API progress events: эти события реализуют интерфейс {{domxref("ProgressEvent")}}.

    +

    Отслеживание событий процесса загрузки  следует спецификации Web API progress events: эти события реализуют интерфейс {{domxref("ProgressEvent")}}.

    var oReq = new XMLHttpRequest();
     
    @@ -712,7 +712,7 @@ oReq.send(null);

    XMLHttpRequests being stopped

    -

    If you end up with an XMLHttpRequest having status=0 and statusText=null, it means that the request was not allowed to be performed. It was UNSENT. A likely cause for this is when the XMLHttpRequest origin (at the creation of the XMLHttpRequest) has changed when the XMLHttpRequest is then open(). This case can happen for example when one has an XMLHttpRequest that gets fired on an onunload event for a window: the XMLHttpRequest gets in fact created when the window to be closed is still there, and then the request is sent (ie open()) when this window has lost its focus and potentially different window has gained focus. The way to avoid this problem is to set a listener on the new window "activate" event that gets set when the old window has its "unload" event fired.

    +

    If you end up with an XMLHttpRequest having status=0 and statusText=null, it means that the request was not allowed to be performed. It was UNSENT. A likely cause for this is when the XMLHttpRequest origin (at the creation of the XMLHttpRequest) has changed when the XMLHttpRequest is then open(). This case can happen for example when one has an XMLHttpRequest that gets fired on an onunload event for a window: the XMLHttpRequest gets in fact created when the window to be closed is still there, and then the request is sent (ie open()) when this window has lost its focus and potentially different window has gained focus. The way to avoid this problem is to set a listener on the new window "activate" event that gets set when the old window has its "unload" event fired.

    Using XMLHttpRequest from JavaScript modules / XPCOM components

    @@ -739,5 +739,5 @@ var oReq = new XMLHttpRequest();
  • Apple developers' reference
  • "Using the XMLHttpRequest Object" (jibbering.com)
  • The XMLHttpRequest Object: W3C Specification
  • -
  • Web Progress Events specification
  • +
  • Web Progress Events specification
  • -- cgit v1.2.3-54-g00ecf