| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 CustomConstructor, | 27 CustomConstructor, |
| 28 ConstructorParameters=3, | 28 ConstructorParameters=3, |
| 29 CustomToJSObject, | 29 CustomToJSObject, |
| 30 JSNoStaticTables | 30 JSNoStaticTables |
| 31 ] interface DataView : ArrayBufferView { | 31 ] interface DataView : ArrayBufferView { |
| 32 // All these methods raise an exception if they would read or write beyond t
he end of the view. | 32 // All these methods raise an exception if they would read or write beyond t
he end of the view. |
| 33 | 33 |
| 34 // We have to use custom code because our code generator does not support in
t8_t type. | 34 // We have to use custom code because our code generator does not support in
t8_t type. |
| 35 // int8_t getInt8(in unsigned long byteOffset); | 35 // int8_t getInt8(in unsigned long byteOffset); |
| 36 // uint8_t getUint8(in unsigned long byteOffset); | 36 // uint8_t getUint8(in unsigned long byteOffset); |
| 37 [Custom] DOMObject getInt8() | 37 [Custom] any getInt8() |
| 38 raises (DOMException); | 38 raises (DOMException); |
| 39 [Custom] DOMObject getUint8() | 39 [Custom] any getUint8() |
| 40 raises (DOMException); | 40 raises (DOMException); |
| 41 | 41 |
| 42 [StrictTypeChecking] short getInt16(in unsigned long byteOffset, in [Optiona
l] boolean littleEndian) | 42 [StrictTypeChecking] short getInt16(in unsigned long byteOffset, in [Optiona
l] boolean littleEndian) |
| 43 raises (DOMException); | 43 raises (DOMException); |
| 44 [StrictTypeChecking] unsigned short getUint16(in unsigned long byteOffset, i
n [Optional] boolean littleEndian) | 44 [StrictTypeChecking] unsigned short getUint16(in unsigned long byteOffset, i
n [Optional] boolean littleEndian) |
| 45 raises (DOMException); | 45 raises (DOMException); |
| 46 [StrictTypeChecking] long getInt32(in unsigned long byteOffset, in [Optional
] boolean littleEndian) | 46 [StrictTypeChecking] long getInt32(in unsigned long byteOffset, in [Optional
] boolean littleEndian) |
| 47 raises (DOMException); | 47 raises (DOMException); |
| 48 [StrictTypeChecking] unsigned long getUint32(in unsigned long byteOffset, in
[Optional] boolean littleEndian) | 48 [StrictTypeChecking] unsigned long getUint32(in unsigned long byteOffset, in
[Optional] boolean littleEndian) |
| 49 raises (DOMException); | 49 raises (DOMException); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 69 [StrictTypeChecking] void setInt32(in unsigned long byteOffset, in long valu
e, in [Optional] boolean littleEndian) | 69 [StrictTypeChecking] void setInt32(in unsigned long byteOffset, in long valu
e, in [Optional] boolean littleEndian) |
| 70 raises (DOMException); | 70 raises (DOMException); |
| 71 [StrictTypeChecking] void setUint32(in unsigned long byteOffset, in unsigned
long value, in [Optional] boolean littleEndian) | 71 [StrictTypeChecking] void setUint32(in unsigned long byteOffset, in unsigned
long value, in [Optional] boolean littleEndian) |
| 72 raises (DOMException); | 72 raises (DOMException); |
| 73 [StrictTypeChecking] void setFloat32(in unsigned long byteOffset, in float v
alue, in [Optional] boolean littleEndian) | 73 [StrictTypeChecking] void setFloat32(in unsigned long byteOffset, in float v
alue, in [Optional] boolean littleEndian) |
| 74 raises (DOMException); | 74 raises (DOMException); |
| 75 [StrictTypeChecking] void setFloat64(in unsigned long byteOffset, in double
value, in [Optional] boolean littleEndian) | 75 [StrictTypeChecking] void setFloat64(in unsigned long byteOffset, in double
value, in [Optional] boolean littleEndian) |
| 76 raises (DOMException); | 76 raises (DOMException); |
| 77 }; | 77 }; |
| 78 | 78 |
| OLD | NEW |