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

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

Issue 14246006: Implementing timeout support for XHR (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@timeoutResourceHandle
Patch Set: Created 7 years, 8 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/WebCore/xml/XMLHttpRequest.idl
diff --git a/Source/WebCore/xml/XMLHttpRequest.idl b/Source/WebCore/xml/XMLHttpRequest.idl
index 51ba51de78450dff071a3841c8bddda9845aafe4..a5582695dd5cba2564b2353bc0f93ff260a1455e 100644
--- a/Source/WebCore/xml/XMLHttpRequest.idl
+++ b/Source/WebCore/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;

Powered by Google App Engine
This is Rietveld 408576698