timeout
timeout
이벤트는 미리 설정한 시간이 만료되어 진행이 종료되면 시작합니다.
Bubbles | No |
Cancelable | No |
Target objects | XMLHttpRequest |
Interface | ProgressEvent (en-US) |
Examples
var client = new XMLHttpRequest();
client.open("GET", "http://www.example.org/example.txt");
client.ontimeout = function(e) {
console.error("Timeout!!");
}
client.send();
Inheritance
timeout
이벤트는 Event
에서 상속받은 ProgressEvent
(en-US) 인터페이스를 구현합니다. 이 인터페이스에 선언된 속성(property)과 메서드를 사용할 수 있습니다.
Specifications
Specification | Status | Comment |
---|---|---|
XMLHttpRequest | Living Standard |
Browser compatibility
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic support | 1.0 | (Yes) | 3.5 (1.9.1) | 10.0 | (Yes) | (Yes) |
Feature | Android | Android Webview | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | (Yes) | 1.0 (1.9.1) | 10.0 | (Yes) | (Yes) | (Yes) |