Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Unified Diff: Source/bindings/tests/idls/core/DataView.idl

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
+};
« no previous file with comments | « Source/bindings/tests/idls/core/ArrayBufferView.idl ('k') | Source/bindings/tests/idls/core/Uint8ClampedArray.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698