Align IDL to Typed Array Specification
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Apr 2012 20:46:07 +0000 (20:46 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Apr 2012 20:46:07 +0000 (20:46 +0000)
https://bugs.webkit.org/show_bug.cgi?id=82919

Patch by Seo Sanghyeon <sh4.seo@samsung.com> on 2012-04-02
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:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112933 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/canvas/Float32Array.idl
Source/WebCore/html/canvas/Float64Array.idl
Source/WebCore/html/canvas/Int16Array.idl
Source/WebCore/html/canvas/Int32Array.idl
Source/WebCore/html/canvas/Int8Array.idl
Source/WebCore/html/canvas/Uint16Array.idl
Source/WebCore/html/canvas/Uint32Array.idl
Source/WebCore/html/canvas/Uint8Array.idl
Source/WebCore/html/canvas/Uint8ClampedArray.idl

index d08e4ba..10a2fef 100644 (file)
@@ -1,3 +1,22 @@
+2012-04-02  Seo Sanghyeon  <sh4.seo@samsung.com>
+
+        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  <msaboff@apple.com>
 
         WebKit should throttle memory pressure notifications in proportion to handler time
index 55491b1..8eaebe4 100644 (file)
@@ -35,7 +35,7 @@ module html {
         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, 
index e9d7ef0..abfeb21 100644 (file)
@@ -35,7 +35,7 @@ module html {
         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, 
index 8616846..f6d089e 100644 (file)
@@ -34,7 +34,7 @@ module html {
         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, 
index 3f928fe..f98835a 100644 (file)
@@ -35,7 +35,7 @@ module html {
         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, 
index 0d4fb82..00faa4f 100644 (file)
@@ -35,7 +35,7 @@ module html {
         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, 
index 72fa9b3..79e05ef 100644 (file)
@@ -35,7 +35,7 @@ module html {
         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);
index b56c0e5..67e61b2 100644 (file)
@@ -35,7 +35,7 @@ module html {
         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);
index 3e4141c..260a327 100644 (file)
@@ -35,7 +35,7 @@ module html {
         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);
index 6c3587a..cadd663 100644 (file)
@@ -35,7 +35,7 @@ module html {
         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);