Title: [95165] trunk/Source/WebCore
Revision
95165
Author
par...@webkit.org
Date
2011-09-14 21:46:29 -0700 (Wed, 14 Sep 2011)

Log Message

Replace ENABLE_XHR_RESPONSE_BLOB preprocessor statements in IDL files with Conditional attribute
https://bugs.webkit.org/show_bug.cgi?id=64960

Reviewed by Ryosuke Niwa.

* xml/XMLHttpRequest.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (95164 => 95165)


--- trunk/Source/WebCore/ChangeLog	2011-09-15 04:43:16 UTC (rev 95164)
+++ trunk/Source/WebCore/ChangeLog	2011-09-15 04:46:29 UTC (rev 95165)
@@ -1,3 +1,12 @@
+2011-09-14  Patrick Gansterer  <par...@webkit.org>
+
+        Replace ENABLE_XHR_RESPONSE_BLOB preprocessor statements in IDL files with Conditional attribute
+        https://bugs.webkit.org/show_bug.cgi?id=64960
+
+        Reviewed by Ryosuke Niwa.
+
+        * xml/XMLHttpRequest.idl:
+
 2011-09-14  Alexei Svitkine  <asvitk...@chromium.org>
 
         Chromium: Add a layer for rubber-band overhang painting to the hardware path.

Modified: trunk/Source/WebCore/xml/XMLHttpRequest.idl (95164 => 95165)


--- trunk/Source/WebCore/xml/XMLHttpRequest.idl	2011-09-15 04:43:16 UTC (rev 95164)
+++ trunk/Source/WebCore/xml/XMLHttpRequest.idl	2011-09-15 04:46:29 UTC (rev 95165)
@@ -58,10 +58,8 @@
         readonly attribute unsigned short readyState;
 
         // request
-#if defined(ENABLE_XHR_RESPONSE_BLOB) && ENABLE_XHR_RESPONSE_BLOB
-        attribute [EnabledAtRuntime] boolean asBlob
+        attribute [Conditional=XHR_RESPONSE_BLOB, EnabledAtRuntime] boolean asBlob
             setter raises(DOMException);
-#endif
 
         attribute boolean withCredentials
             setter raises(DOMException);
@@ -92,10 +90,8 @@
             getter raises(DOMException);
         readonly attribute Document responseXML
             getter raises(DOMException);
-#if defined(ENABLE_XHR_RESPONSE_BLOB) && ENABLE_XHR_RESPONSE_BLOB
-        readonly attribute [EnabledAtRuntime] Blob responseBlob
+        readonly attribute [Conditional=XHR_RESPONSE_BLOB, EnabledAtRuntime] Blob responseBlob
             getter raises(DOMException);
-#endif
 
         attribute DOMString responseType
             setter raises(DOMException);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to