summaryrefslogtreecommitdiffstats
path: root/WebCore/html/canvas/Uint8Array.idl
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/canvas/Uint8Array.idl')
-rw-r--r--WebCore/html/canvas/Uint8Array.idl3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/html/canvas/Uint8Array.idl b/WebCore/html/canvas/Uint8Array.idl
index bd28023..7fe7e21 100644
--- a/WebCore/html/canvas/Uint8Array.idl
+++ b/WebCore/html/canvas/Uint8Array.idl
@@ -39,6 +39,9 @@ module html {
] Uint8Array : ArrayBufferView {
const unsigned int BYTES_PER_ELEMENT = 1;
+ readonly attribute unsigned long length;
+ Uint8Array slice(in 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);
[Custom] void set();