Title: [92443] trunk/Source/WebCore
Revision
92443
Author
[email protected]
Date
2011-08-04 20:50:17 -0700 (Thu, 04 Aug 2011)

Log Message

Remove LegacyDefaultOptionalArguments flag from canvas IDL files
https://bugs.webkit.org/show_bug.cgi?id=65737

Patch by Mark Pilgrim <[email protected]> on 2011-08-04
Reviewed by Adam Barth.

No new tests, all existing tests pass.

* html/canvas/CanvasGradient.idl:
* html/canvas/Float32Array.idl:
* html/canvas/Float64Array.idl:
* html/canvas/Int16Array.idl:
* html/canvas/Int32Array.idl:
* html/canvas/Int8Array.idl:
* html/canvas/OESVertexArrayObject.idl:
* html/canvas/Uint16Array.idl:
* html/canvas/Uint32Array.idl:
* html/canvas/Uint8Array.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (92442 => 92443)


--- trunk/Source/WebCore/ChangeLog	2011-08-05 03:26:02 UTC (rev 92442)
+++ trunk/Source/WebCore/ChangeLog	2011-08-05 03:50:17 UTC (rev 92443)
@@ -1,3 +1,23 @@
+2011-08-04  Mark Pilgrim  <[email protected]>
+
+        Remove LegacyDefaultOptionalArguments flag from canvas IDL files
+        https://bugs.webkit.org/show_bug.cgi?id=65737
+
+        Reviewed by Adam Barth.
+
+        No new tests, all existing tests pass.
+
+        * html/canvas/CanvasGradient.idl:
+        * html/canvas/Float32Array.idl:
+        * html/canvas/Float64Array.idl:
+        * html/canvas/Int16Array.idl:
+        * html/canvas/Int32Array.idl:
+        * html/canvas/Int8Array.idl:
+        * html/canvas/OESVertexArrayObject.idl:
+        * html/canvas/Uint16Array.idl:
+        * html/canvas/Uint32Array.idl:
+        * html/canvas/Uint8Array.idl:
+
 2011-08-04  MORITA Hajime  <[email protected]>
 
         Reviewed by Ryosuke Niwa.

Modified: trunk/Source/WebCore/html/canvas/CanvasGradient.idl (92442 => 92443)


--- trunk/Source/WebCore/html/canvas/CanvasGradient.idl	2011-08-05 03:26:02 UTC (rev 92442)
+++ trunk/Source/WebCore/html/canvas/CanvasGradient.idl	2011-08-05 03:50:17 UTC (rev 92443)
@@ -26,12 +26,12 @@
 module html {
 
     interface [
-        LegacyDefaultOptionalArguments,
         InterfaceUUID=bb1108ea-6b8c-4a08-894a-218628630cdb,
         ImplementationUUID=a2942ae6-2731-4286-98cc-9d5e79e20de1
     ] CanvasGradient {
 
-        void addColorStop(in float offset, in DOMString color)
+        void addColorStop(in [Optional=CallWithDefaultValue] float offset, 
+                          in [Optional=CallWithDefaultValue] DOMString color)
             raises (DOMException);
 
     };

Modified: trunk/Source/WebCore/html/canvas/Float32Array.idl (92442 => 92443)


--- trunk/Source/WebCore/html/canvas/Float32Array.idl	2011-08-05 03:26:02 UTC (rev 92442)
+++ trunk/Source/WebCore/html/canvas/Float32Array.idl	2011-08-05 03:50:17 UTC (rev 92443)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
@@ -40,7 +39,8 @@
         const unsigned int BYTES_PER_ELEMENT = 4;
 
         readonly attribute unsigned long length;
-        Float32Array subarray(in long start, in [Optional] long end);
+        Float32Array subarray(in [Optional=CallWithDefaultValue] long start, 
+                              in [Optional] long end);
 
         // void set(in Float32Array array, [Optional] in unsigned long offset);
         // void set(in sequence<long> array, [Optional] in unsigned long offset);

Modified: trunk/Source/WebCore/html/canvas/Float64Array.idl (92442 => 92443)


--- trunk/Source/WebCore/html/canvas/Float64Array.idl	2011-08-05 03:26:02 UTC (rev 92442)
+++ trunk/Source/WebCore/html/canvas/Float64Array.idl	2011-08-05 03:50:17 UTC (rev 92443)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
@@ -40,7 +39,8 @@
         const unsigned int BYTES_PER_ELEMENT = 8;
 
         readonly attribute unsigned long length;
-        Float64Array subarray(in long start, in [Optional] long end);
+        Float64Array subarray(in [Optional=CallWithDefaultValue] long start, 
+                              in [Optional] long end);
 
         // void set(in Float64Array array, [Optional] in unsigned long offset);
         // void set(in sequence<long> array, [Optional] in unsigned long offset);

Modified: trunk/Source/WebCore/html/canvas/Int16Array.idl (92442 => 92443)


--- trunk/Source/WebCore/html/canvas/Int16Array.idl	2011-08-05 03:26:02 UTC (rev 92442)
+++ trunk/Source/WebCore/html/canvas/Int16Array.idl	2011-08-05 03:50:17 UTC (rev 92443)
@@ -25,7 +25,6 @@
 
 module html {
     interface [
-        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
@@ -39,7 +38,8 @@
         const unsigned int BYTES_PER_ELEMENT = 2;
 
         readonly attribute unsigned long length;
-        Int16Array subarray(in long start, in [Optional] long end);
+        Int16Array subarray(in [Optional=CallWithDefaultValue] long start, 
+                            in [Optional] long end);
 
         // void set(in Int16Array array, [Optional] in unsigned long offset);
         // void set(in sequence<long> array, [Optional] in unsigned long offset);

Modified: trunk/Source/WebCore/html/canvas/Int32Array.idl (92442 => 92443)


--- trunk/Source/WebCore/html/canvas/Int32Array.idl	2011-08-05 03:26:02 UTC (rev 92442)
+++ trunk/Source/WebCore/html/canvas/Int32Array.idl	2011-08-05 03:50:17 UTC (rev 92443)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
@@ -40,7 +39,8 @@
         const unsigned int BYTES_PER_ELEMENT = 4;
 
         readonly attribute unsigned long length;
-        Int32Array subarray(in long start, in [Optional] long end);
+        Int32Array subarray(in [Optional=CallWithDefaultValue] long start, 
+                            in [Optional] long end);
 
         // void set(in Int32Array array, [Optional] in unsigned long offset);
         // void set(in sequence<long> array, [Optional] in unsigned long offset);

Modified: trunk/Source/WebCore/html/canvas/Int8Array.idl (92442 => 92443)


--- trunk/Source/WebCore/html/canvas/Int8Array.idl	2011-08-05 03:26:02 UTC (rev 92442)
+++ trunk/Source/WebCore/html/canvas/Int8Array.idl	2011-08-05 03:50:17 UTC (rev 92443)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
@@ -40,7 +39,8 @@
         const unsigned int BYTES_PER_ELEMENT = 1;
 
         readonly attribute unsigned long length;
-        Int8Array subarray(in long start, in [Optional] long end);
+        Int8Array subarray(in [Optional=CallWithDefaultValue] long start, 
+                           in [Optional] long end);
 
         // void set(in Int8Array array, [Optional] in unsigned long offset);
         // void set(in sequence<long> array, [Optional] in unsigned long offset);

Modified: trunk/Source/WebCore/html/canvas/OESVertexArrayObject.idl (92442 => 92443)


--- trunk/Source/WebCore/html/canvas/OESVertexArrayObject.idl	2011-08-05 03:26:02 UTC (rev 92442)
+++ trunk/Source/WebCore/html/canvas/OESVertexArrayObject.idl	2011-08-05 03:50:17 UTC (rev 92443)
@@ -26,7 +26,6 @@
 module html {
     interface [
         Conditional=WEBGL, 
-        LegacyDefaultOptionalArguments,
         GenerateIsReachable=ImplContext,
         OmitConstructor, 
         DontCheckEnums
@@ -34,8 +33,8 @@
         const unsigned int VERTEX_ARRAY_BINDING_OES = 0x85B5;
         
         [StrictTypeChecking] WebGLVertexArrayObjectOES createVertexArrayOES();
-        [StrictTypeChecking] void         deleteVertexArrayOES(in WebGLVertexArrayObjectOES arrayObject);
-        [StrictTypeChecking] boolean      isVertexArrayOES(in WebGLVertexArrayObjectOES arrayObject);
-        [StrictTypeChecking] void         bindVertexArrayOES(in WebGLVertexArrayObjectOES arrayObject) raises(DOMException);
+        [StrictTypeChecking] void         deleteVertexArrayOES(in [Optional=CallWithDefaultValue] WebGLVertexArrayObjectOES arrayObject);
+        [StrictTypeChecking] boolean      isVertexArrayOES(in [Optional=CallWithDefaultValue] WebGLVertexArrayObjectOES arrayObject);
+        [StrictTypeChecking] void         bindVertexArrayOES(in [Optional=CallWithDefaultValue] WebGLVertexArrayObjectOES arrayObject) raises(DOMException);
     };
 }

Modified: trunk/Source/WebCore/html/canvas/Uint16Array.idl (92442 => 92443)


--- trunk/Source/WebCore/html/canvas/Uint16Array.idl	2011-08-05 03:26:02 UTC (rev 92442)
+++ trunk/Source/WebCore/html/canvas/Uint16Array.idl	2011-08-05 03:50:17 UTC (rev 92443)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
@@ -40,7 +39,7 @@
         const unsigned int BYTES_PER_ELEMENT = 2;
 
         readonly attribute unsigned long length;
-        Uint16Array subarray(in long start, in [Optional] long end);
+        Uint16Array subarray(in [Optional=CallWithDefaultValue] long start, in [Optional] long end);
 
         // void set(in Uint16Array array, [Optional] in unsigned long offset);
         // void set(in sequence<long> array, [Optional] in unsigned long offset);

Modified: trunk/Source/WebCore/html/canvas/Uint32Array.idl (92442 => 92443)


--- trunk/Source/WebCore/html/canvas/Uint32Array.idl	2011-08-05 03:26:02 UTC (rev 92442)
+++ trunk/Source/WebCore/html/canvas/Uint32Array.idl	2011-08-05 03:50:17 UTC (rev 92443)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
@@ -40,7 +39,7 @@
         const unsigned int BYTES_PER_ELEMENT = 4;
 
         readonly attribute unsigned long length;
-        Uint32Array subarray(in long start, in [Optional] long end);
+        Uint32Array subarray(in [Optional=CallWithDefaultValue] long start, in [Optional] long end);
 
         // void set(in Uint32Array array, [Optional] in unsigned long offset);
         // void set(in sequence<long> array, [Optional] in unsigned long offset);

Modified: trunk/Source/WebCore/html/canvas/Uint8Array.idl (92442 => 92443)


--- trunk/Source/WebCore/html/canvas/Uint8Array.idl	2011-08-05 03:26:02 UTC (rev 92442)
+++ trunk/Source/WebCore/html/canvas/Uint8Array.idl	2011-08-05 03:50:17 UTC (rev 92443)
@@ -26,7 +26,6 @@
 
 module html {
     interface [
-        LegacyDefaultOptionalArguments,
         CanBeConstructed,
         CustomConstructFunction,
         V8CustomConstructor,
@@ -40,7 +39,7 @@
         const unsigned int BYTES_PER_ELEMENT = 1;
 
         readonly attribute unsigned long length;
-        Uint8Array subarray(in long start, in [Optional] long end);
+        Uint8Array subarray(in [Optional=CallWithDefaultValue] long start, in [Optional] long end);
 
         // void set(in Uint8Array array, [Optional] in unsigned long offset);
         // void set(in sequence<long> array, [Optional] in unsigned long offset);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to