| Index: client/dom/idl/dart/dart.idl
|
| diff --git a/client/dom/idl/dart/dart.idl b/client/dom/idl/dart/dart.idl
|
| index 17b53df0757c7b03f9e1f4414876490ade407d3e..0009ef6f739fe75b4bd15ef5a72e4736906c7a76 100644
|
| --- a/client/dom/idl/dart/dart.idl
|
| +++ b/client/dom/idl/dart/dart.idl
|
| @@ -18,6 +18,9 @@ module default {
|
| Uint8Array implements sequence<int>;
|
| Uint16Array implements sequence<int>;
|
| Uint32Array implements sequence<int>;
|
| +
|
| + // Is List<int> because inherits from Uint8Array:
|
| + // Uint8ClampedArray implements sequence<int>;
|
| }
|
|
|
| module dom {
|
| @@ -151,6 +154,15 @@ module canvas {
|
| interface Uint8Array {
|
| [DartName=setElements] void set(in any array, in optional unsigned long offset);
|
| };
|
| +
|
| + [Supplemental]
|
| + interface Uint8ClampedArray {
|
| + // Avoid 'overriding static member BYTES_PER_ELEMENT'.
|
| + [Suppressed] const unsigned int BYTES_PER_ELEMENT = 1;
|
| +
|
| + [Suppressed] void set();
|
| + [DartName=setElements] void set(in any array, in optional unsigned long offset);
|
| + };
|
| };
|
|
|
| module storage {
|
|
|