Index: Source/core/dom/DataView.idl |
diff --git a/Source/core/dom/DataView.idl b/Source/core/dom/DataView.idl |
index 7332c719208db3a20831882343aa1161ad3f8f46..957879b9d4829371e49284113e566dab15841689 100644 |
--- a/Source/core/dom/DataView.idl |
+++ b/Source/core/dom/DataView.idl |
@@ -28,7 +28,7 @@ |
[ |
Exposed=(Window,Worker), |
ImplementedAs=DOMDataView, |
- TypeChecking=Interface, |
+ TypeChecking=(Interface,Unrestricted), |
] interface DataView : ArrayBufferView { |
// All these methods raise an exception if they would read or write beyond the end of the view. |
@@ -40,7 +40,6 @@ |
[RaisesException] long getInt32(unsigned long byteOffset, optional boolean littleEndian); |
[RaisesException] unsigned long getUint32(unsigned long byteOffset, optional boolean littleEndian); |
- // Use custom code to handle NaN case for JSC. |
[RaisesException] float getFloat32(unsigned long byteOffset, optional boolean littleEndian); |
[RaisesException] double getFloat64(unsigned long byteOffset, optional boolean littleEndian); |
@@ -51,6 +50,6 @@ |
[RaisesException] void setUint16(unsigned long byteOffset, unsigned short value, optional boolean littleEndian); |
[RaisesException] void setInt32(unsigned long byteOffset, long value, optional boolean littleEndian); |
[RaisesException] void setUint32(unsigned long byteOffset, unsigned long value, optional boolean littleEndian); |
- [RaisesException] void setFloat32(unsigned long byteOffset, float value, optional boolean littleEndian); |
- [RaisesException] void setFloat64(unsigned long byteOffset, double value, optional boolean littleEndian); |
+ [RaisesException] void setFloat32(unsigned long byteOffset, unrestricted float value, optional boolean littleEndian); |
+ [RaisesException] void setFloat64(unsigned long byteOffset, unrestricted double value, optional boolean littleEndian); |
}; |