Diff
Modified: trunk/Source/WebCore/ChangeLog (112932 => 112933)
--- trunk/Source/WebCore/ChangeLog 2012-04-02 20:45:32 UTC (rev 112932)
+++ trunk/Source/WebCore/ChangeLog 2012-04-02 20:46:07 UTC (rev 112933)
@@ -1,3 +1,22 @@
+2012-04-02 Seo Sanghyeon <[email protected]>
+
+ Align IDL to Typed Array Specification
+ https://bugs.webkit.org/show_bug.cgi?id=82919
+
+ Reviewed by Darin Adler.
+
+ No tests. No change in behavior.
+
+ * html/canvas/Float32Array.idl:
+ * html/canvas/Float64Array.idl:
+ * html/canvas/Int16Array.idl:
+ * html/canvas/Int32Array.idl:
+ * html/canvas/Int8Array.idl:
+ * html/canvas/Uint16Array.idl:
+ * html/canvas/Uint32Array.idl:
+ * html/canvas/Uint8Array.idl:
+ * html/canvas/Uint8ClampedArray.idl:
+
2012-04-02 Michael Saboff <[email protected]>
WebKit should throttle memory pressure notifications in proportion to handler time
Modified: trunk/Source/WebCore/html/canvas/Float32Array.idl (112932 => 112933)
--- trunk/Source/WebCore/html/canvas/Float32Array.idl 2012-04-02 20:45:32 UTC (rev 112932)
+++ trunk/Source/WebCore/html/canvas/Float32Array.idl 2012-04-02 20:46:07 UTC (rev 112933)
@@ -35,7 +35,7 @@
CustomToJSObject,
DoNotCheckConstants
] Float32Array : ArrayBufferView {
- const unsigned int BYTES_PER_ELEMENT = 4;
+ const unsigned long BYTES_PER_ELEMENT = 4;
readonly attribute unsigned long length;
Float32Array subarray(in [Optional=DefaultIsUndefined] long start,
Modified: trunk/Source/WebCore/html/canvas/Float64Array.idl (112932 => 112933)
--- trunk/Source/WebCore/html/canvas/Float64Array.idl 2012-04-02 20:45:32 UTC (rev 112932)
+++ trunk/Source/WebCore/html/canvas/Float64Array.idl 2012-04-02 20:46:07 UTC (rev 112933)
@@ -35,7 +35,7 @@
CustomToJSObject,
DoNotCheckConstants
] Float64Array : ArrayBufferView {
- const unsigned int BYTES_PER_ELEMENT = 8;
+ const unsigned long BYTES_PER_ELEMENT = 8;
readonly attribute unsigned long length;
Float64Array subarray(in [Optional=DefaultIsUndefined] long start,
Modified: trunk/Source/WebCore/html/canvas/Int16Array.idl (112932 => 112933)
--- trunk/Source/WebCore/html/canvas/Int16Array.idl 2012-04-02 20:45:32 UTC (rev 112932)
+++ trunk/Source/WebCore/html/canvas/Int16Array.idl 2012-04-02 20:46:07 UTC (rev 112933)
@@ -34,7 +34,7 @@
CustomToJSObject,
DoNotCheckConstants
] Int16Array : ArrayBufferView {
- const unsigned int BYTES_PER_ELEMENT = 2;
+ const unsigned long BYTES_PER_ELEMENT = 2;
readonly attribute unsigned long length;
Int16Array subarray(in [Optional=DefaultIsUndefined] long start,
Modified: trunk/Source/WebCore/html/canvas/Int32Array.idl (112932 => 112933)
--- trunk/Source/WebCore/html/canvas/Int32Array.idl 2012-04-02 20:45:32 UTC (rev 112932)
+++ trunk/Source/WebCore/html/canvas/Int32Array.idl 2012-04-02 20:46:07 UTC (rev 112933)
@@ -35,7 +35,7 @@
CustomToJSObject,
DoNotCheckConstants
] Int32Array : ArrayBufferView {
- const unsigned int BYTES_PER_ELEMENT = 4;
+ const unsigned long BYTES_PER_ELEMENT = 4;
readonly attribute unsigned long length;
Int32Array subarray(in [Optional=DefaultIsUndefined] long start,
Modified: trunk/Source/WebCore/html/canvas/Int8Array.idl (112932 => 112933)
--- trunk/Source/WebCore/html/canvas/Int8Array.idl 2012-04-02 20:45:32 UTC (rev 112932)
+++ trunk/Source/WebCore/html/canvas/Int8Array.idl 2012-04-02 20:46:07 UTC (rev 112933)
@@ -35,7 +35,7 @@
CustomToJSObject,
DoNotCheckConstants
] Int8Array : ArrayBufferView {
- const unsigned int BYTES_PER_ELEMENT = 1;
+ const unsigned long BYTES_PER_ELEMENT = 1;
readonly attribute unsigned long length;
Int8Array subarray(in [Optional=DefaultIsUndefined] long start,
Modified: trunk/Source/WebCore/html/canvas/Uint16Array.idl (112932 => 112933)
--- trunk/Source/WebCore/html/canvas/Uint16Array.idl 2012-04-02 20:45:32 UTC (rev 112932)
+++ trunk/Source/WebCore/html/canvas/Uint16Array.idl 2012-04-02 20:46:07 UTC (rev 112933)
@@ -35,7 +35,7 @@
CustomToJSObject,
DoNotCheckConstants
] Uint16Array : ArrayBufferView {
- const unsigned int BYTES_PER_ELEMENT = 2;
+ const unsigned long BYTES_PER_ELEMENT = 2;
readonly attribute unsigned long length;
Uint16Array subarray(in [Optional=DefaultIsUndefined] long start, in [Optional] long end);
Modified: trunk/Source/WebCore/html/canvas/Uint32Array.idl (112932 => 112933)
--- trunk/Source/WebCore/html/canvas/Uint32Array.idl 2012-04-02 20:45:32 UTC (rev 112932)
+++ trunk/Source/WebCore/html/canvas/Uint32Array.idl 2012-04-02 20:46:07 UTC (rev 112933)
@@ -35,7 +35,7 @@
CustomToJSObject,
DoNotCheckConstants
] Uint32Array : ArrayBufferView {
- const unsigned int BYTES_PER_ELEMENT = 4;
+ const unsigned long BYTES_PER_ELEMENT = 4;
readonly attribute unsigned long length;
Uint32Array subarray(in [Optional=DefaultIsUndefined] long start, in [Optional] long end);
Modified: trunk/Source/WebCore/html/canvas/Uint8Array.idl (112932 => 112933)
--- trunk/Source/WebCore/html/canvas/Uint8Array.idl 2012-04-02 20:45:32 UTC (rev 112932)
+++ trunk/Source/WebCore/html/canvas/Uint8Array.idl 2012-04-02 20:46:07 UTC (rev 112933)
@@ -35,7 +35,7 @@
CustomToJSObject,
DoNotCheckConstants
] Uint8Array : ArrayBufferView {
- const unsigned int BYTES_PER_ELEMENT = 1;
+ const unsigned long BYTES_PER_ELEMENT = 1;
readonly attribute unsigned long length;
Uint8Array subarray(in [Optional=DefaultIsUndefined] long start, in [Optional] long end);
Modified: trunk/Source/WebCore/html/canvas/Uint8ClampedArray.idl (112932 => 112933)
--- trunk/Source/WebCore/html/canvas/Uint8ClampedArray.idl 2012-04-02 20:45:32 UTC (rev 112932)
+++ trunk/Source/WebCore/html/canvas/Uint8ClampedArray.idl 2012-04-02 20:46:07 UTC (rev 112933)
@@ -35,7 +35,7 @@
CustomToJSObject,
DoNotCheckConstants
] Uint8ClampedArray : Uint8Array {
- const unsigned int BYTES_PER_ELEMENT = 1;
+ const unsigned long BYTES_PER_ELEMENT = 1;
readonly attribute unsigned long length;
Uint8ClampedArray subarray(in [Optional=DefaultIsUndefined] long start, in [Optional] long end);