Index: Source/bindings/tests/idls/core/DataView.idl |
diff --git a/Source/bindings/tests/idls/core/DataView.idl b/Source/bindings/tests/idls/core/DataView.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e26468d3459c1efe33156a3809b50e692dceff4e |
--- /dev/null |
+++ b/Source/bindings/tests/idls/core/DataView.idl |
@@ -0,0 +1,15 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://www.khronos.org/registry/typedarray/specs/latest/#DATAVIEW |
+ |
+[ |
+ ImplementedAs=TestDataView, |
+] interface DataView : ArrayBufferView { |
+ [RaisesException] octet getUint8(unsigned long byteOffset); |
+ [RaisesException] double getFloat64(unsigned long byteOffset, optional boolean littleEndian); |
+ |
+ [RaisesException] void setUint8(unsigned long byteOffset, octet value); |
+ [RaisesException] void setFloat64(unsigned long byteOffset, double value, optional boolean littleEndian); |
+}; |