{"json_modified": "2016-10-24T21:50:02.462614", "uuid": "8e197011-bb56-4a44-a916-8d0bf2322c77", "title": "XMLHttpRequest.timeout", "url": "/en-US/docs/Web/API/XMLHttpRequest/timeout", "tags": ["AJAX", "Reference", "XMLHttpRequest", "Property"], "translations": [{"uuid": "a82a0034-7502-4a71-b303-7cdb6a81c030", "title": "XMLHttpRequest.timeout", "url": "/pt-BR/docs/Web/API/XMLHttpRequest/timeout", "tags": [], "summary": "A propriedade\u00a0XMLHttpRequest.timeout
\u00e9 um\u00a0unsigned long
\u00a0que representa o n\u00famero de milisegundos que uma requisi\u00e7\u00e3o deve esperar at\u00e9 ser automaticamente terminada. O valor padr\u00e3o para essa propriedade \u00e9 0, o que significa que o navegador dever\u00e1 esperar uma resposta indefinidamente. A propriedade Timeout n\u00e3o deveria ser usada para requisi\u00e7\u00f5es XMLHttpRequests s\u00edncronas em um\u00a0document environment ou uma exce\u00e7\u00e3o do tipo\u00a0InvalidAccessError
ser\u00e1 lan\u00e7ada. Quando um timeout ocorre, o evento\u00a0timeout \u00e9 disparado.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-09-06T15:53:56", "review_tags": []}, {"uuid": "f3e9e3eb-a392-4e86-bc8a-c4dea470f475", "title": "XMLHttpRequest.timeout", "url": "/ru/docs/Web/API/XMLHttpRequest/timeout", "tags": ["AJAX", "\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e", "XMLHttpRequest", "\u0421\u0441\u044b\u043b\u043a\u0430"], "summary": "\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e XMLHttpRequest.timeout
\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f, \u0434\u043e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0435\u0440\u0432\u0430\u043d. \u0418\u043c\u0435\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0440 unsigned long.
\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e - 0, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0447\u0442\u043e \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u0430 \u043d\u0435\u0442. \u0422\u0430\u0439\u043c\u0430\u0443\u0442 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0432 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u0445 XMLHttpRequests\u00a0 \u0432 \u0441\u0440\u0435\u0434\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430, \u0438\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0437\u0432\u0430\u043d\u043e \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 InvalidAccessError
. \u041a\u043e\u0433\u0434\u0430 \u0441\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u0439\u043c\u0430\u0443\u0442 - \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u0435 timeout.", "localization_tags": [], "locale": "ru", "last_edit": "2016-06-20T19:25:48", "review_tags": []}, {"uuid": "12e8269d-0ef1-465a-8a1b-e7d482ed192e", "title": "XMLHttpRequest.timeout", "url": "/zh-CN/docs/Web/API/XMLHttpRequest/timeout", "tags": [], "summary": "XMLHttpRequest.timeout
\u662f\u4e00\u4e2a\u65e0\u7b26\u53f7\u957f\u6574\u578b\u6570\uff0c\u4ee3\u8868\u7740\u4e00\u4e2a\u8bf7\u6c42\u5728\u88ab\u81ea\u52a8\u7ec8\u6b62\u524d\u6240\u6d88\u8017\u7684\u6beb\u79d2\u6570\u3002\u9ed8\u8ba4\u503c\u4e3a 0\uff0c\u610f\u5473\u7740\u6ca1\u6709\u8d85\u65f6\u3002\u8d85\u65f6\u5e76\u4e0d\u5e94\u8be5\u7528\u5728\u4e00\u4e2a \u6587\u6863\u73af\u5883 \u4e2d\u7684\u5f02\u6b65 XMLHttpRequests\u00a0 \u8bf7\u6c42\u4e2d\uff0c\u5426\u5219\u5c06\u4f1a\u629b\u51fa\u4e00\u4e2a InvalidAccessError
\u7c7b\u578b\u7684\u9519\u8bef\u3002\u5f53\u8d85\u65f6\u53d1\u751f\uff0c timeout \u4e8b\u4ef6\u5c06\u4f1a\u88ab\u89e6\u53d1\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-10-24T21:49:58", "review_tags": []}], "modified": "2016-07-09T04:03:49", "label": "XMLHttpRequest.timeout", "localization_tags": [], "locale": "en-US", "id": 165389, "last_edit": "2016-05-24T01:57:26", "summary": "The XMLHttpRequest.timeout
property is an unsigned long
representing the number of milliseconds a request can take before automatically being terminated. The default value is 0, which means there is no timeout. Timeout shouldn't be used for synchronous XMLHttpRequests requests used in a document environment or it will throw an InvalidAccessError
exception. When a timeout happens, a timeout event is fired.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}], "slug": "Web/API/XMLHttpRequest/timeout", "review_tags": []}