Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1897)

Unified Diff: Source/core/xml/XMLHttpRequest.idl

Issue 14246006: Implementing timeout support for XHR (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@timeoutResourceHandle
Patch Set: Timeout support in DocumentThreadableLoader (rebased after eb2eb02c34d16c) Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/xml/XMLHttpRequest.idl
diff --git a/Source/core/xml/XMLHttpRequest.idl b/Source/core/xml/XMLHttpRequest.idl
index cb0dc9e0fd38065642fd9a458e508bedfaef9307..e002b2e6e5e91e9b19218dc0467557562aaeb248 100644
--- a/Source/core/xml/XMLHttpRequest.idl
+++ b/Source/core/xml/XMLHttpRequest.idl
@@ -51,7 +51,7 @@ enum XMLHttpRequestResponseType {
attribute EventListener onloadend;
attribute EventListener onloadstart;
attribute EventListener onprogress;
- [Conditional=XHR_TIMEOUT] attribute EventListener ontimeout;
+ attribute EventListener ontimeout;
// event handler attributes
attribute EventListener onreadystatechange;
@@ -63,7 +63,7 @@ enum XMLHttpRequestResponseType {
const unsigned short LOADING = 3;
const unsigned short DONE = 4;
- [Conditional=XHR_TIMEOUT, SetterRaisesException] attribute unsigned long timeout;
+ [SetterRaisesException] attribute unsigned long timeout;
readonly attribute unsigned short readyState;
[SetterRaisesException] attribute boolean withCredentials;
« Source/core/loader/DocumentThreadableLoader.cpp ('K') | « Source/core/xml/XMLHttpRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698