| OLD | NEW |
| 1 Test DataView. | 1 Test DataView. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 Test for constructor not called as a function | 6 Test for constructor not called as a function |
| 7 PASS DataView(new ArrayBuffer) threw exception | 7 PASS DataView(new ArrayBuffer) threw exception |
| 8 | 8 |
| 9 Test for constructor taking 1 argument | 9 Test for constructor taking 1 argument |
| 10 PASS view = new DataView(arayBuffer) is defined. | 10 PASS view = new DataView(arayBuffer) is defined. |
| 11 PASS view.byteOffset is 0 | 11 PASS view.byteOffset is 0 |
| 12 PASS view.byteLength is 2 | 12 PASS view.byteLength is 2 |
| 13 | 13 |
| 14 Test for constructor taking 2 arguments | 14 Test for constructor taking 2 arguments |
| 15 PASS view = new DataView(arayBuffer, 1) is defined. | 15 PASS view = new DataView(arayBuffer, 1) is defined. |
| 16 PASS view.byteOffset is 1 | 16 PASS view.byteOffset is 1 |
| 17 PASS view.byteLength is 1 | 17 PASS view.byteLength is 1 |
| 18 | 18 |
| 19 Test for constructor taking 3 arguments | 19 Test for constructor taking 3 arguments |
| 20 PASS view = new DataView(arayBuffer, 0, 1) is defined. | 20 PASS view = new DataView(arayBuffer, 0, 1) is defined. |
| 21 PASS view.byteOffset is 0 | 21 PASS view.byteOffset is 0 |
| 22 PASS view.byteLength is 1 | 22 PASS view.byteLength is 1 |
| 23 | 23 |
| 24 Test for constructor throwing exception | 24 Test for constructor throwing exception |
| 25 PASS view = new DataView(arayBuffer, 0, 3) threw exception RangeError: Size is t
oo large (or is negative).. | 25 PASS view = new DataView(arayBuffer, 0, 3) threw exception RangeError: Invalid d
ata view length. |
| 26 PASS view = new DataView(arayBuffer, 1, 2) threw exception RangeError: Size is t
oo large (or is negative).. | 26 PASS view = new DataView(arayBuffer, 1, 2) threw exception RangeError: Invalid d
ata view length. |
| 27 PASS view = new DataView(arayBuffer, 2, 1) threw exception RangeError: Size is t
oo large (or is negative).. | 27 PASS view = new DataView(arayBuffer, 2, 1) threw exception RangeError: Invalid d
ata view length. |
| 28 | 28 |
| 29 Test for get methods that work | 29 Test for get methods that work |
| 30 PASS view.getInt8(0) is 0 | 30 PASS view.getInt8(0) is 0 |
| 31 PASS view.getInt8(8) is -128 | 31 PASS view.getInt8(8) is -128 |
| 32 PASS view.getInt8(15) is -1 | 32 PASS view.getInt8(15) is -1 |
| 33 PASS view.getUint8(0) is 0 | 33 PASS view.getUint8(0) is 0 |
| 34 PASS view.getUint8(8) is 128 | 34 PASS view.getUint8(8) is 128 |
| 35 PASS view.getUint8(15) is 255 | 35 PASS view.getUint8(15) is 255 |
| 36 PASS view.getInt16(0, true) is 256 | 36 PASS view.getInt16(0, true) is 256 |
| 37 PASS view.getInt16(5, true) is 26213 | 37 PASS view.getInt16(5, true) is 26213 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 PASS view.getFloat64(3, true) is -NaN | 145 PASS view.getFloat64(3, true) is -NaN |
| 146 PASS view.getFloat64(7, true) is -NaN | 146 PASS view.getFloat64(7, true) is -NaN |
| 147 PASS view.getFloat64(10, true) is -NaN | 147 PASS view.getFloat64(10, true) is -NaN |
| 148 PASS view.getFloat64(0, false) is -NaN | 148 PASS view.getFloat64(0, false) is -NaN |
| 149 PASS view.getFloat64(3, false) is -NaN | 149 PASS view.getFloat64(3, false) is -NaN |
| 150 PASS view.getFloat64(7, false) is -NaN | 150 PASS view.getFloat64(7, false) is -NaN |
| 151 PASS view.getFloat64(10, false) is -NaN | 151 PASS view.getFloat64(10, false) is -NaN |
| 152 | 152 |
| 153 Test for get methods that might read beyond range | 153 Test for get methods that might read beyond range |
| 154 PASS view.getInt8(0) is 0 | 154 PASS view.getInt8(0) is 0 |
| 155 PASS view.getInt8(8) threw exception IndexSizeError: Index or size was negative,
or greater than the allowed value.. | 155 PASS view.getInt8(8) threw exception RangeError: Offset is outside the bounds of
the DataView. |
| 156 PASS view.getInt8(15) threw exception IndexSizeError: Index or size was negative
, or greater than the allowed value.. | 156 PASS view.getInt8(15) threw exception RangeError: Offset is outside the bounds o
f the DataView. |
| 157 PASS view.getUint8(0) is 0 | 157 PASS view.getUint8(0) is 0 |
| 158 PASS view.getUint8(8) threw exception IndexSizeError: Index or size was negative
, or greater than the allowed value.. | 158 PASS view.getUint8(8) threw exception RangeError: Offset is outside the bounds o
f the DataView. |
| 159 PASS view.getUint8(15) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 159 PASS view.getUint8(15) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 160 PASS view.getInt16(0, true) is 256 | 160 PASS view.getInt16(0, true) is 256 |
| 161 PASS view.getInt16(5, true) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 161 PASS view.getInt16(5, true) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 162 PASS view.getInt16(9, true) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 162 PASS view.getInt16(9, true) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 163 PASS view.getInt16(14, true) threw exception IndexSizeError: Index or size was n
egative, or greater than the allowed value.. | 163 PASS view.getInt16(14, true) threw exception RangeError: Offset is outside the b
ounds of the DataView. |
| 164 PASS view.getInt16(0) is 1 | 164 PASS view.getInt16(0) is 1 |
| 165 PASS view.getInt16(5) threw exception IndexSizeError: Index or size was negative
, or greater than the allowed value.. | 165 PASS view.getInt16(5) threw exception RangeError: Offset is outside the bounds o
f the DataView. |
| 166 PASS view.getInt16(9) threw exception IndexSizeError: Index or size was negative
, or greater than the allowed value.. | 166 PASS view.getInt16(9) threw exception RangeError: Offset is outside the bounds o
f the DataView. |
| 167 PASS view.getInt16(14) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 167 PASS view.getInt16(14) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 168 PASS view.getUint16(0, true) is 256 | 168 PASS view.getUint16(0, true) is 256 |
| 169 PASS view.getUint16(5, true) threw exception IndexSizeError: Index or size was n
egative, or greater than the allowed value.. | 169 PASS view.getUint16(5, true) threw exception RangeError: Offset is outside the b
ounds of the DataView. |
| 170 PASS view.getUint16(9, true) threw exception IndexSizeError: Index or size was n
egative, or greater than the allowed value.. | 170 PASS view.getUint16(9, true) threw exception RangeError: Offset is outside the b
ounds of the DataView. |
| 171 PASS view.getUint16(14, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 171 PASS view.getUint16(14, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 172 PASS view.getUint16(0) is 1 | 172 PASS view.getUint16(0) is 1 |
| 173 PASS view.getUint16(5) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 173 PASS view.getUint16(5) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 174 PASS view.getUint16(9) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 174 PASS view.getUint16(9) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 175 PASS view.getUint16(14) threw exception IndexSizeError: Index or size was negati
ve, or greater than the allowed value.. | 175 PASS view.getUint16(14) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 176 PASS view.getInt32(0, true) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 176 PASS view.getInt32(0, true) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 177 PASS view.getInt32(3, true) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 177 PASS view.getInt32(3, true) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 178 PASS view.getInt32(6, true) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 178 PASS view.getInt32(6, true) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 179 PASS view.getInt32(9, true) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 179 PASS view.getInt32(9, true) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 180 PASS view.getInt32(12, true) threw exception IndexSizeError: Index or size was n
egative, or greater than the allowed value.. | 180 PASS view.getInt32(12, true) threw exception RangeError: Offset is outside the b
ounds of the DataView. |
| 181 PASS view.getInt32(0) threw exception IndexSizeError: Index or size was negative
, or greater than the allowed value.. | 181 PASS view.getInt32(0) threw exception RangeError: Offset is outside the bounds o
f the DataView. |
| 182 PASS view.getInt32(3) threw exception IndexSizeError: Index or size was negative
, or greater than the allowed value.. | 182 PASS view.getInt32(3) threw exception RangeError: Offset is outside the bounds o
f the DataView. |
| 183 PASS view.getInt32(6) threw exception IndexSizeError: Index or size was negative
, or greater than the allowed value.. | 183 PASS view.getInt32(6) threw exception RangeError: Offset is outside the bounds o
f the DataView. |
| 184 PASS view.getInt32(9) threw exception IndexSizeError: Index or size was negative
, or greater than the allowed value.. | 184 PASS view.getInt32(9) threw exception RangeError: Offset is outside the bounds o
f the DataView. |
| 185 PASS view.getInt32(12) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 185 PASS view.getInt32(12) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 186 PASS view.getUint32(0, true) threw exception IndexSizeError: Index or size was n
egative, or greater than the allowed value.. | 186 PASS view.getUint32(0, true) threw exception RangeError: Offset is outside the b
ounds of the DataView. |
| 187 PASS view.getUint32(3, true) threw exception IndexSizeError: Index or size was n
egative, or greater than the allowed value.. | 187 PASS view.getUint32(3, true) threw exception RangeError: Offset is outside the b
ounds of the DataView. |
| 188 PASS view.getUint32(6, true) threw exception IndexSizeError: Index or size was n
egative, or greater than the allowed value.. | 188 PASS view.getUint32(6, true) threw exception RangeError: Offset is outside the b
ounds of the DataView. |
| 189 PASS view.getUint32(9, true) threw exception IndexSizeError: Index or size was n
egative, or greater than the allowed value.. | 189 PASS view.getUint32(9, true) threw exception RangeError: Offset is outside the b
ounds of the DataView. |
| 190 PASS view.getUint32(12, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 190 PASS view.getUint32(12, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 191 PASS view.getUint32(0) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 191 PASS view.getUint32(0) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 192 PASS view.getUint32(3) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 192 PASS view.getUint32(3) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 193 PASS view.getUint32(6) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 193 PASS view.getUint32(6) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 194 PASS view.getUint32(9) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 194 PASS view.getUint32(9) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 195 PASS view.getUint32(12) threw exception IndexSizeError: Index or size was negati
ve, or greater than the allowed value.. | 195 PASS view.getUint32(12) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 196 PASS view.getFloat32(0, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 196 PASS view.getFloat32(0, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 197 PASS view.getFloat32(3, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 197 PASS view.getFloat32(3, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 198 PASS view.getFloat32(7, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 198 PASS view.getFloat32(7, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 199 PASS view.getFloat32(10, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 199 PASS view.getFloat32(10, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 200 PASS view.getFloat32(0, false) is 10 | 200 PASS view.getFloat32(0, false) is 10 |
| 201 PASS view.getFloat32(3, false) is 10 | 201 PASS view.getFloat32(3, false) is 10 |
| 202 PASS view.getFloat32(7, false) is 10 | 202 PASS view.getFloat32(7, false) is 10 |
| 203 PASS view.getFloat32(10, false) is 10 | 203 PASS view.getFloat32(10, false) is 10 |
| 204 PASS view.getFloat32(0, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 204 PASS view.getFloat32(0, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 205 PASS view.getFloat32(3, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 205 PASS view.getFloat32(3, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 206 PASS view.getFloat32(7, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 206 PASS view.getFloat32(7, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 207 PASS view.getFloat32(10, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 207 PASS view.getFloat32(10, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 208 PASS view.getFloat32(0, false) is 1.2300000190734863 | 208 PASS view.getFloat32(0, false) is 1.2300000190734863 |
| 209 PASS view.getFloat32(3, false) is 1.2300000190734863 | 209 PASS view.getFloat32(3, false) is 1.2300000190734863 |
| 210 PASS view.getFloat32(7, false) is 1.2300000190734863 | 210 PASS view.getFloat32(7, false) is 1.2300000190734863 |
| 211 PASS view.getFloat32(10, false) is 1.2300000190734863 | 211 PASS view.getFloat32(10, false) is 1.2300000190734863 |
| 212 PASS view.getFloat32(0, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 212 PASS view.getFloat32(0, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 213 PASS view.getFloat32(3, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 213 PASS view.getFloat32(3, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 214 PASS view.getFloat32(7, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 214 PASS view.getFloat32(7, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 215 PASS view.getFloat32(10, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 215 PASS view.getFloat32(10, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 216 PASS view.getFloat32(0, false) is -45621.37109375 | 216 PASS view.getFloat32(0, false) is -45621.37109375 |
| 217 PASS view.getFloat32(3, false) is -45621.37109375 | 217 PASS view.getFloat32(3, false) is -45621.37109375 |
| 218 PASS view.getFloat32(7, false) is -45621.37109375 | 218 PASS view.getFloat32(7, false) is -45621.37109375 |
| 219 PASS view.getFloat32(10, false) is -45621.37109375 | 219 PASS view.getFloat32(10, false) is -45621.37109375 |
| 220 PASS view.getFloat32(0, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 220 PASS view.getFloat32(0, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 221 PASS view.getFloat32(3, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 221 PASS view.getFloat32(3, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 222 PASS view.getFloat32(7, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 222 PASS view.getFloat32(7, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 223 PASS view.getFloat32(10, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 223 PASS view.getFloat32(10, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 224 PASS view.getFloat32(0, false) is NaN | 224 PASS view.getFloat32(0, false) is NaN |
| 225 PASS view.getFloat32(3, false) is NaN | 225 PASS view.getFloat32(3, false) is NaN |
| 226 PASS view.getFloat32(7, false) is NaN | 226 PASS view.getFloat32(7, false) is NaN |
| 227 PASS view.getFloat32(10, false) is NaN | 227 PASS view.getFloat32(10, false) is NaN |
| 228 PASS view.getFloat32(0, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 228 PASS view.getFloat32(0, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 229 PASS view.getFloat32(3, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 229 PASS view.getFloat32(3, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 230 PASS view.getFloat32(7, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 230 PASS view.getFloat32(7, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 231 PASS view.getFloat32(10, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 231 PASS view.getFloat32(10, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 232 PASS view.getFloat32(0, false) is -NaN | 232 PASS view.getFloat32(0, false) is -NaN |
| 233 PASS view.getFloat32(3, false) is -NaN | 233 PASS view.getFloat32(3, false) is -NaN |
| 234 PASS view.getFloat32(7, false) is -NaN | 234 PASS view.getFloat32(7, false) is -NaN |
| 235 PASS view.getFloat32(10, false) is -NaN | 235 PASS view.getFloat32(10, false) is -NaN |
| 236 PASS view.getFloat64(0, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 236 PASS view.getFloat64(0, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 237 PASS view.getFloat64(3, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 237 PASS view.getFloat64(3, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 238 PASS view.getFloat64(7, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 238 PASS view.getFloat64(7, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 239 PASS view.getFloat64(10, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 239 PASS view.getFloat64(10, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 240 PASS view.getFloat64(0, false) is 10 | 240 PASS view.getFloat64(0, false) is 10 |
| 241 PASS view.getFloat64(3, false) is 10 | 241 PASS view.getFloat64(3, false) is 10 |
| 242 PASS view.getFloat64(7, false) is 10 | 242 PASS view.getFloat64(7, false) is 10 |
| 243 PASS view.getFloat64(10, false) is 10 | 243 PASS view.getFloat64(10, false) is 10 |
| 244 PASS view.getFloat64(0, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 244 PASS view.getFloat64(0, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 245 PASS view.getFloat64(3, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 245 PASS view.getFloat64(3, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 246 PASS view.getFloat64(7, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 246 PASS view.getFloat64(7, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 247 PASS view.getFloat64(10, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 247 PASS view.getFloat64(10, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 248 PASS view.getFloat64(0, false) is 1.23 | 248 PASS view.getFloat64(0, false) is 1.23 |
| 249 PASS view.getFloat64(3, false) is 1.23 | 249 PASS view.getFloat64(3, false) is 1.23 |
| 250 PASS view.getFloat64(7, false) is 1.23 | 250 PASS view.getFloat64(7, false) is 1.23 |
| 251 PASS view.getFloat64(10, false) is 1.23 | 251 PASS view.getFloat64(10, false) is 1.23 |
| 252 PASS view.getFloat64(0, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 252 PASS view.getFloat64(0, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 253 PASS view.getFloat64(3, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 253 PASS view.getFloat64(3, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 254 PASS view.getFloat64(7, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 254 PASS view.getFloat64(7, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 255 PASS view.getFloat64(10, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 255 PASS view.getFloat64(10, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 256 PASS view.getFloat64(0, false) is -6213576.4839 | 256 PASS view.getFloat64(0, false) is -6213576.4839 |
| 257 PASS view.getFloat64(3, false) is -6213576.4839 | 257 PASS view.getFloat64(3, false) is -6213576.4839 |
| 258 PASS view.getFloat64(7, false) is -6213576.4839 | 258 PASS view.getFloat64(7, false) is -6213576.4839 |
| 259 PASS view.getFloat64(10, false) is -6213576.4839 | 259 PASS view.getFloat64(10, false) is -6213576.4839 |
| 260 PASS view.getFloat64(0, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 260 PASS view.getFloat64(0, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 261 PASS view.getFloat64(3, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 261 PASS view.getFloat64(3, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 262 PASS view.getFloat64(7, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 262 PASS view.getFloat64(7, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 263 PASS view.getFloat64(10, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 263 PASS view.getFloat64(10, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 264 PASS view.getFloat64(0, false) is NaN | 264 PASS view.getFloat64(0, false) is NaN |
| 265 PASS view.getFloat64(3, false) is NaN | 265 PASS view.getFloat64(3, false) is NaN |
| 266 PASS view.getFloat64(7, false) is NaN | 266 PASS view.getFloat64(7, false) is NaN |
| 267 PASS view.getFloat64(10, false) is NaN | 267 PASS view.getFloat64(10, false) is NaN |
| 268 PASS view.getFloat64(0, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 268 PASS view.getFloat64(0, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 269 PASS view.getFloat64(3, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 269 PASS view.getFloat64(3, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 270 PASS view.getFloat64(7, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 270 PASS view.getFloat64(7, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 271 PASS view.getFloat64(10, true) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 271 PASS view.getFloat64(10, true) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 272 PASS view.getFloat64(0, false) is -NaN | 272 PASS view.getFloat64(0, false) is -NaN |
| 273 PASS view.getFloat64(3, false) is -NaN | 273 PASS view.getFloat64(3, false) is -NaN |
| 274 PASS view.getFloat64(7, false) is -NaN | 274 PASS view.getFloat64(7, false) is -NaN |
| 275 PASS view.getFloat64(10, false) is -NaN | 275 PASS view.getFloat64(10, false) is -NaN |
| 276 | 276 |
| 277 Test for get methods that read from negative index | 277 Test for get methods that read from negative index |
| 278 PASS view.getInt8(-1) threw exception IndexSizeError: Index or size was negative
, or greater than the allowed value.. | 278 PASS view.getInt8(-1) threw exception RangeError: Offset is outside the bounds o
f the DataView. |
| 279 PASS view.getInt8(-2) threw exception IndexSizeError: Index or size was negative
, or greater than the allowed value.. | 279 PASS view.getInt8(-2) threw exception RangeError: Offset is outside the bounds o
f the DataView. |
| 280 PASS view.getUint8(-1) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 280 PASS view.getUint8(-1) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 281 PASS view.getUint8(-2) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 281 PASS view.getUint8(-2) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 282 PASS view.getInt16(-1) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 282 PASS view.getInt16(-1) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 283 PASS view.getInt16(-2) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 283 PASS view.getInt16(-2) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 284 PASS view.getInt16(-3) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 284 PASS view.getInt16(-3) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 285 PASS view.getUint16(-1) threw exception IndexSizeError: Index or size was negati
ve, or greater than the allowed value.. | 285 PASS view.getUint16(-1) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 286 PASS view.getUint16(-2) threw exception IndexSizeError: Index or size was negati
ve, or greater than the allowed value.. | 286 PASS view.getUint16(-2) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 287 PASS view.getUint16(-3) threw exception IndexSizeError: Index or size was negati
ve, or greater than the allowed value.. | 287 PASS view.getUint16(-3) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 288 PASS view.getInt32(-1) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 288 PASS view.getInt32(-1) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 289 PASS view.getInt32(-3) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 289 PASS view.getInt32(-3) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 290 PASS view.getInt32(-5) threw exception IndexSizeError: Index or size was negativ
e, or greater than the allowed value.. | 290 PASS view.getInt32(-5) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 291 PASS view.getUint32(-1) threw exception IndexSizeError: Index or size was negati
ve, or greater than the allowed value.. | 291 PASS view.getUint32(-1) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 292 PASS view.getUint32(-3) threw exception IndexSizeError: Index or size was negati
ve, or greater than the allowed value.. | 292 PASS view.getUint32(-3) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 293 PASS view.getUint32(-5) threw exception IndexSizeError: Index or size was negati
ve, or greater than the allowed value.. | 293 PASS view.getUint32(-5) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 294 PASS view.getFloat32(-1) threw exception IndexSizeError: Index or size was negat
ive, or greater than the allowed value.. | 294 PASS view.getFloat32(-1) threw exception RangeError: Offset is outside the bound
s of the DataView. |
| 295 PASS view.getFloat32(-3) threw exception IndexSizeError: Index or size was negat
ive, or greater than the allowed value.. | 295 PASS view.getFloat32(-3) threw exception RangeError: Offset is outside the bound
s of the DataView. |
| 296 PASS view.getFloat32(-5) threw exception IndexSizeError: Index or size was negat
ive, or greater than the allowed value.. | 296 PASS view.getFloat32(-5) threw exception RangeError: Offset is outside the bound
s of the DataView. |
| 297 PASS view.getFloat64(-1) threw exception IndexSizeError: Index or size was negat
ive, or greater than the allowed value.. | 297 PASS view.getFloat64(-1) threw exception RangeError: Offset is outside the bound
s of the DataView. |
| 298 PASS view.getFloat64(-5) threw exception IndexSizeError: Index or size was negat
ive, or greater than the allowed value.. | 298 PASS view.getFloat64(-5) threw exception RangeError: Offset is outside the bound
s of the DataView. |
| 299 PASS view.getFloat64(-9) threw exception IndexSizeError: Index or size was negat
ive, or greater than the allowed value.. | 299 PASS view.getFloat64(-9) threw exception RangeError: Offset is outside the bound
s of the DataView. |
| 300 | 300 |
| 301 Test for wrong arguments passed to get methods | 301 Test for wrong arguments passed to get methods |
| 302 PASS view.getInt8() threw exception TypeError: Not enough arguments. | 302 PASS view.getInt8() threw exception TypeError: invalid_argument. |
| 303 PASS view.getUint8() threw exception TypeError: Not enough arguments. | 303 PASS view.getUint8() threw exception TypeError: invalid_argument. |
| 304 PASS view.getInt16() threw exception TypeError: Not enough arguments. | 304 PASS view.getInt16() threw exception TypeError: invalid_argument. |
| 305 PASS view.getUint16() threw exception TypeError: Not enough arguments. | 305 PASS view.getUint16() threw exception TypeError: invalid_argument. |
| 306 PASS view.getInt32() threw exception TypeError: Not enough arguments. | 306 PASS view.getInt32() threw exception TypeError: invalid_argument. |
| 307 PASS view.getUint32() threw exception TypeError: Not enough arguments. | 307 PASS view.getUint32() threw exception TypeError: invalid_argument. |
| 308 PASS view.getFloat32() threw exception TypeError: Not enough arguments. | 308 PASS view.getFloat32() threw exception TypeError: invalid_argument. |
| 309 PASS view.getFloat64() threw exception TypeError: Not enough arguments. | 309 PASS view.getFloat64() threw exception TypeError: invalid_argument. |
| 310 | 310 |
| 311 Test for set methods that work | 311 Test for set methods that work |
| 312 PASS view.setInt8(0, 0) is undefined. | 312 PASS view.setInt8(0, 0) is undefined. |
| 313 PASS view.getInt8(0) is 0 | 313 PASS view.getInt8(0) is 0 |
| 314 PASS view.setInt8(8, -128) is undefined. | 314 PASS view.setInt8(8, -128) is undefined. |
| 315 PASS view.getInt8(8) is -128 | 315 PASS view.getInt8(8) is -128 |
| 316 PASS view.setInt8(15, -1) is undefined. | 316 PASS view.setInt8(15, -1) is undefined. |
| 317 PASS view.getInt8(15) is -1 | 317 PASS view.getInt8(15) is -1 |
| 318 PASS view.setUint8(0, 0) is undefined. | 318 PASS view.setUint8(0, 0) is undefined. |
| 319 PASS view.getUint8(0) is 0 | 319 PASS view.getUint8(0) is 0 |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 PASS view.setFloat64(3, -NaN, false) is undefined. | 550 PASS view.setFloat64(3, -NaN, false) is undefined. |
| 551 PASS view.getFloat64(3, false) is -NaN | 551 PASS view.getFloat64(3, false) is -NaN |
| 552 PASS view.setFloat64(7, -NaN, false) is undefined. | 552 PASS view.setFloat64(7, -NaN, false) is undefined. |
| 553 PASS view.getFloat64(7, false) is -NaN | 553 PASS view.getFloat64(7, false) is -NaN |
| 554 PASS view.setFloat64(10, -NaN, false) is undefined. | 554 PASS view.setFloat64(10, -NaN, false) is undefined. |
| 555 PASS view.getFloat64(10, false) is -NaN | 555 PASS view.getFloat64(10, false) is -NaN |
| 556 | 556 |
| 557 Test for set methods that might write beyond the range | 557 Test for set methods that might write beyond the range |
| 558 PASS view.setInt8(0, 0) is undefined. | 558 PASS view.setInt8(0, 0) is undefined. |
| 559 PASS view.getInt8(0) is 0 | 559 PASS view.getInt8(0) is 0 |
| 560 PASS view.setInt8(8, -128) threw exception IndexSizeError: Index or size was neg
ative, or greater than the allowed value.. | 560 PASS view.setInt8(8, -128) threw exception RangeError: Offset is outside the bou
nds of the DataView. |
| 561 PASS view.setInt8(15, -1) threw exception IndexSizeError: Index or size was nega
tive, or greater than the allowed value.. | 561 PASS view.setInt8(15, -1) threw exception RangeError: Offset is outside the boun
ds of the DataView. |
| 562 PASS view.setUint8(0, 0) is undefined. | 562 PASS view.setUint8(0, 0) is undefined. |
| 563 PASS view.getUint8(0) is 0 | 563 PASS view.getUint8(0) is 0 |
| 564 PASS view.setUint8(8, 128) threw exception IndexSizeError: Index or size was neg
ative, or greater than the allowed value.. | 564 PASS view.setUint8(8, 128) threw exception RangeError: Offset is outside the bou
nds of the DataView. |
| 565 PASS view.setUint8(15, 255) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 565 PASS view.setUint8(15, 255) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 566 PASS view.setInt16(0, 256, true) is undefined. | 566 PASS view.setInt16(0, 256, true) is undefined. |
| 567 PASS view.getInt16(0, true) is 256 | 567 PASS view.getInt16(0, true) is 256 |
| 568 PASS view.setInt16(5, 26213, true) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. | 568 PASS view.setInt16(5, 26213, true) threw exception RangeError: Offset is outside
the bounds of the DataView. |
| 569 PASS view.setInt16(9, -32127, true) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. | 569 PASS view.setInt16(9, -32127, true) threw exception RangeError: Offset is outsid
e the bounds of the DataView. |
| 570 PASS view.setInt16(14, -2, true) threw exception IndexSizeError: Index or size w
as negative, or greater than the allowed value.. | 570 PASS view.setInt16(14, -2, true) threw exception RangeError: Offset is outside t
he bounds of the DataView. |
| 571 PASS view.setInt16(0, 1) is undefined. | 571 PASS view.setInt16(0, 1) is undefined. |
| 572 PASS view.getInt16(0) is 1 | 572 PASS view.getInt16(0) is 1 |
| 573 PASS view.setInt16(5, 25958) threw exception IndexSizeError: Index or size was n
egative, or greater than the allowed value.. | 573 PASS view.setInt16(5, 25958) threw exception RangeError: Offset is outside the b
ounds of the DataView. |
| 574 PASS view.setInt16(9, -32382) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 574 PASS view.setInt16(9, -32382) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 575 PASS view.setInt16(14, -257) threw exception IndexSizeError: Index or size was n
egative, or greater than the allowed value.. | 575 PASS view.setInt16(14, -257) threw exception RangeError: Offset is outside the b
ounds of the DataView. |
| 576 PASS view.setUint16(0, 256, true) is undefined. | 576 PASS view.setUint16(0, 256, true) is undefined. |
| 577 PASS view.getUint16(0, true) is 256 | 577 PASS view.getUint16(0, true) is 256 |
| 578 PASS view.setUint16(5, 26213, true) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. | 578 PASS view.setUint16(5, 26213, true) threw exception RangeError: Offset is outsid
e the bounds of the DataView. |
| 579 PASS view.setUint16(9, 33409, true) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. | 579 PASS view.setUint16(9, 33409, true) threw exception RangeError: Offset is outsid
e the bounds of the DataView. |
| 580 PASS view.setUint16(14, 65534, true) threw exception IndexSizeError: Index or si
ze was negative, or greater than the allowed value.. | 580 PASS view.setUint16(14, 65534, true) threw exception RangeError: Offset is outsi
de the bounds of the DataView. |
| 581 PASS view.setUint16(0, 1) is undefined. | 581 PASS view.setUint16(0, 1) is undefined. |
| 582 PASS view.getUint16(0) is 1 | 582 PASS view.getUint16(0) is 1 |
| 583 PASS view.setUint16(5, 25958) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 583 PASS view.setUint16(5, 25958) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 584 PASS view.setUint16(9, 33154) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 584 PASS view.setUint16(9, 33154) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 585 PASS view.setUint16(14, 65279) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 585 PASS view.setUint16(14, 65279) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 586 PASS view.setInt32(0, 50462976, true) threw exception IndexSizeError: Index or s
ize was negative, or greater than the allowed value.. | 586 PASS view.setInt32(0, 50462976, true) threw exception RangeError: Offset is outs
ide the bounds of the DataView. |
| 587 PASS view.setInt32(3, 1717920771, true) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. | 587 PASS view.setInt32(3, 1717920771, true) threw exception RangeError: Offset is ou
tside the bounds of the DataView. |
| 588 PASS view.setInt32(6, -2122291354, true) threw exception IndexSizeError: Index o
r size was negative, or greater than the allowed value.. | 588 PASS view.setInt32(6, -2122291354, true) threw exception RangeError: Offset is o
utside the bounds of the DataView. |
| 589 PASS view.setInt32(9, -58490239, true) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. | 589 PASS view.setInt32(9, -58490239, true) threw exception RangeError: Offset is out
side the bounds of the DataView. |
| 590 PASS view.setInt32(12, -66052, true) threw exception IndexSizeError: Index or si
ze was negative, or greater than the allowed value.. | 590 PASS view.setInt32(12, -66052, true) threw exception RangeError: Offset is outsi
de the bounds of the DataView. |
| 591 PASS view.setInt32(0, 66051) threw exception IndexSizeError: Index or size was n
egative, or greater than the allowed value.. | 591 PASS view.setInt32(0, 66051) threw exception RangeError: Offset is outside the b
ounds of the DataView. |
| 592 PASS view.setInt32(3, 56911206) threw exception IndexSizeError: Index or size wa
s negative, or greater than the allowed value.. | 592 PASS view.setInt32(3, 56911206) threw exception RangeError: Offset is outside th
e bounds of the DataView. |
| 593 PASS view.setInt32(6, 1718059137) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. | 593 PASS view.setInt32(6, 1718059137) threw exception RangeError: Offset is outside
the bounds of the DataView. |
| 594 PASS view.setInt32(9, -2122152964) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. | 594 PASS view.setInt32(9, -2122152964) threw exception RangeError: Offset is outside
the bounds of the DataView. |
| 595 PASS view.setInt32(12, -50462977) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. | 595 PASS view.setInt32(12, -50462977) threw exception RangeError: Offset is outside
the bounds of the DataView. |
| 596 PASS view.setUint32(0, 50462976, true) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. | 596 PASS view.setUint32(0, 50462976, true) threw exception RangeError: Offset is out
side the bounds of the DataView. |
| 597 PASS view.setUint32(3, 1717920771, true) threw exception IndexSizeError: Index o
r size was negative, or greater than the allowed value.. | 597 PASS view.setUint32(3, 1717920771, true) threw exception RangeError: Offset is o
utside the bounds of the DataView. |
| 598 PASS view.setUint32(6, 2172675942, true) threw exception IndexSizeError: Index o
r size was negative, or greater than the allowed value.. | 598 PASS view.setUint32(6, 2172675942, true) threw exception RangeError: Offset is o
utside the bounds of the DataView. |
| 599 PASS view.setUint32(9, 4236477057, true) threw exception IndexSizeError: Index o
r size was negative, or greater than the allowed value.. | 599 PASS view.setUint32(9, 4236477057, true) threw exception RangeError: Offset is o
utside the bounds of the DataView. |
| 600 PASS view.setUint32(12, 4294901244, true) threw exception IndexSizeError: Index
or size was negative, or greater than the allowed value.. | 600 PASS view.setUint32(12, 4294901244, true) threw exception RangeError: Offset is
outside the bounds of the DataView. |
| 601 PASS view.setUint32(0, 66051) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 601 PASS view.setUint32(0, 66051) threw exception RangeError: Offset is outside the
bounds of the DataView. |
| 602 PASS view.setUint32(3, 56911206) threw exception IndexSizeError: Index or size w
as negative, or greater than the allowed value.. | 602 PASS view.setUint32(3, 56911206) threw exception RangeError: Offset is outside t
he bounds of the DataView. |
| 603 PASS view.setUint32(6, 1718059137) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. | 603 PASS view.setUint32(6, 1718059137) threw exception RangeError: Offset is outside
the bounds of the DataView. |
| 604 PASS view.setUint32(9, 2172814332) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. | 604 PASS view.setUint32(9, 2172814332) threw exception RangeError: Offset is outside
the bounds of the DataView. |
| 605 PASS view.setUint32(12, 4244504319) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. | 605 PASS view.setUint32(12, 4244504319) threw exception RangeError: Offset is outsid
e the bounds of the DataView. |
| 606 PASS view.setFloat32(0, 10, true) is undefined. | 606 PASS view.setFloat32(0, 10, true) is undefined. |
| 607 PASS view.getFloat32(0, true) is 10 | 607 PASS view.getFloat32(0, true) is 10 |
| 608 PASS view.setFloat32(3, 10, true) is undefined. | 608 PASS view.setFloat32(3, 10, true) is undefined. |
| 609 PASS view.getFloat32(3, true) is 10 | 609 PASS view.getFloat32(3, true) is 10 |
| 610 PASS view.setFloat32(7, 10, true) is undefined. | 610 PASS view.setFloat32(7, 10, true) is undefined. |
| 611 PASS view.getFloat32(7, true) is 10 | 611 PASS view.getFloat32(7, true) is 10 |
| 612 PASS view.setFloat32(10, 10, true) is undefined. | 612 PASS view.setFloat32(10, 10, true) is undefined. |
| 613 PASS view.getFloat32(10, true) is 10 | 613 PASS view.getFloat32(10, true) is 10 |
| 614 PASS view.setFloat32(0, 10, false) is undefined. | 614 PASS view.setFloat32(0, 10, false) is undefined. |
| 615 PASS view.getFloat32(0, false) is 10 | 615 PASS view.getFloat32(0, false) is 10 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 758 PASS view.setFloat64(0, -NaN, false) is undefined. | 758 PASS view.setFloat64(0, -NaN, false) is undefined. |
| 759 PASS view.getFloat64(0, false) is -NaN | 759 PASS view.getFloat64(0, false) is -NaN |
| 760 PASS view.setFloat64(3, -NaN, false) is undefined. | 760 PASS view.setFloat64(3, -NaN, false) is undefined. |
| 761 PASS view.getFloat64(3, false) is -NaN | 761 PASS view.getFloat64(3, false) is -NaN |
| 762 PASS view.setFloat64(7, -NaN, false) is undefined. | 762 PASS view.setFloat64(7, -NaN, false) is undefined. |
| 763 PASS view.getFloat64(7, false) is -NaN | 763 PASS view.getFloat64(7, false) is -NaN |
| 764 PASS view.setFloat64(10, -NaN, false) is undefined. | 764 PASS view.setFloat64(10, -NaN, false) is undefined. |
| 765 PASS view.getFloat64(10, false) is -NaN | 765 PASS view.getFloat64(10, false) is -NaN |
| 766 | 766 |
| 767 Test for set methods that write to negative index | 767 Test for set methods that write to negative index |
| 768 PASS view.setInt8(-1, 0) threw exception IndexSizeError: Index or size was negat
ive, or greater than the allowed value.. | 768 PASS view.setInt8(-1, 0) threw exception RangeError: Offset is outside the bound
s of the DataView. |
| 769 PASS view.setInt8(-2, 0) threw exception IndexSizeError: Index or size was negat
ive, or greater than the allowed value.. | 769 PASS view.setInt8(-2, 0) threw exception RangeError: Offset is outside the bound
s of the DataView. |
| 770 PASS view.setUint8(-1, 0) threw exception IndexSizeError: Index or size was nega
tive, or greater than the allowed value.. | 770 PASS view.setUint8(-1, 0) threw exception RangeError: Offset is outside the boun
ds of the DataView. |
| 771 PASS view.setUint8(-2, 0) threw exception IndexSizeError: Index or size was nega
tive, or greater than the allowed value.. | 771 PASS view.setUint8(-2, 0) threw exception RangeError: Offset is outside the boun
ds of the DataView. |
| 772 PASS view.setInt16(-1, 0) threw exception IndexSizeError: Index or size was nega
tive, or greater than the allowed value.. | 772 PASS view.setInt16(-1, 0) threw exception RangeError: Offset is outside the boun
ds of the DataView. |
| 773 PASS view.setInt16(-2, 0) threw exception IndexSizeError: Index or size was nega
tive, or greater than the allowed value.. | 773 PASS view.setInt16(-2, 0) threw exception RangeError: Offset is outside the boun
ds of the DataView. |
| 774 PASS view.setInt16(-3, 0) threw exception IndexSizeError: Index or size was nega
tive, or greater than the allowed value.. | 774 PASS view.setInt16(-3, 0) threw exception RangeError: Offset is outside the boun
ds of the DataView. |
| 775 PASS view.setUint16(-1, 0) threw exception IndexSizeError: Index or size was neg
ative, or greater than the allowed value.. | 775 PASS view.setUint16(-1, 0) threw exception RangeError: Offset is outside the bou
nds of the DataView. |
| 776 PASS view.setUint16(-2, 0) threw exception IndexSizeError: Index or size was neg
ative, or greater than the allowed value.. | 776 PASS view.setUint16(-2, 0) threw exception RangeError: Offset is outside the bou
nds of the DataView. |
| 777 PASS view.setUint16(-3, 0) threw exception IndexSizeError: Index or size was neg
ative, or greater than the allowed value.. | 777 PASS view.setUint16(-3, 0) threw exception RangeError: Offset is outside the bou
nds of the DataView. |
| 778 PASS view.setInt32(-1, 0) threw exception IndexSizeError: Index or size was nega
tive, or greater than the allowed value.. | 778 PASS view.setInt32(-1, 0) threw exception RangeError: Offset is outside the boun
ds of the DataView. |
| 779 PASS view.setInt32(-3, 0) threw exception IndexSizeError: Index or size was nega
tive, or greater than the allowed value.. | 779 PASS view.setInt32(-3, 0) threw exception RangeError: Offset is outside the boun
ds of the DataView. |
| 780 PASS view.setInt32(-5, 0) threw exception IndexSizeError: Index or size was nega
tive, or greater than the allowed value.. | 780 PASS view.setInt32(-5, 0) threw exception RangeError: Offset is outside the boun
ds of the DataView. |
| 781 PASS view.setUint32(-1, 0) threw exception IndexSizeError: Index or size was neg
ative, or greater than the allowed value.. | 781 PASS view.setUint32(-1, 0) threw exception RangeError: Offset is outside the bou
nds of the DataView. |
| 782 PASS view.setUint32(-3, 0) threw exception IndexSizeError: Index or size was neg
ative, or greater than the allowed value.. | 782 PASS view.setUint32(-3, 0) threw exception RangeError: Offset is outside the bou
nds of the DataView. |
| 783 PASS view.setUint32(-5, 0) threw exception IndexSizeError: Index or size was neg
ative, or greater than the allowed value.. | 783 PASS view.setUint32(-5, 0) threw exception RangeError: Offset is outside the bou
nds of the DataView. |
| 784 PASS view.setFloat32(-1, 0) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 784 PASS view.setFloat32(-1, 0) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 785 PASS view.setFloat32(-3, 0) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 785 PASS view.setFloat32(-3, 0) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 786 PASS view.setFloat32(-5, 0) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 786 PASS view.setFloat32(-5, 0) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 787 PASS view.setFloat64(-1, 0) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 787 PASS view.setFloat64(-1, 0) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 788 PASS view.setFloat64(-5, 0) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 788 PASS view.setFloat64(-5, 0) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 789 PASS view.setFloat64(-9, 0) threw exception IndexSizeError: Index or size was ne
gative, or greater than the allowed value.. | 789 PASS view.setFloat64(-9, 0) threw exception RangeError: Offset is outside the bo
unds of the DataView. |
| 790 | 790 |
| 791 Test for wrong arguments passed to set methods | 791 Test for wrong arguments passed to set methods |
| 792 PASS view.setInt8() threw exception TypeError: Not enough arguments. | 792 PASS view.setInt8() threw exception TypeError: invalid_argument. |
| 793 PASS view.setUint8() threw exception TypeError: Not enough arguments. | 793 PASS view.setUint8() threw exception TypeError: invalid_argument. |
| 794 PASS view.setInt16() threw exception TypeError: Not enough arguments. | 794 PASS view.setInt16() threw exception TypeError: invalid_argument. |
| 795 PASS view.setUint16() threw exception TypeError: Not enough arguments. | 795 PASS view.setUint16() threw exception TypeError: invalid_argument. |
| 796 PASS view.setInt32() threw exception TypeError: Not enough arguments. | 796 PASS view.setInt32() threw exception TypeError: invalid_argument. |
| 797 PASS view.setUint32() threw exception TypeError: Not enough arguments. | 797 PASS view.setUint32() threw exception TypeError: invalid_argument. |
| 798 PASS view.setFloat32() threw exception TypeError: Not enough arguments. | 798 PASS view.setFloat32() threw exception TypeError: invalid_argument. |
| 799 PASS view.setFloat64() threw exception TypeError: Not enough arguments. | 799 PASS view.setFloat64() threw exception TypeError: invalid_argument. |
| 800 PASS view.setInt8(1) threw exception TypeError: Not enough arguments. | 800 FAIL view.setInt8(1) should throw an exception. Was undefined. |
| 801 PASS view.setUint8(1) threw exception TypeError: Not enough arguments. | 801 FAIL view.setUint8(1) should throw an exception. Was undefined. |
| 802 PASS view.setInt16(1) threw exception TypeError: Not enough arguments. | 802 PASS view.setInt16(1) threw exception RangeError: Offset is outside the bounds o
f the DataView. |
| 803 PASS view.setUint16(1) threw exception TypeError: Not enough arguments. | 803 PASS view.setUint16(1) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 804 PASS view.setInt32(1) threw exception TypeError: Not enough arguments. | 804 PASS view.setInt32(1) threw exception TypeError: invalid_argument. |
| 805 PASS view.setUint32(1) threw exception TypeError: Not enough arguments. | 805 PASS view.setUint32(1) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 806 PASS view.setFloat32(1) threw exception TypeError: Not enough arguments. | 806 PASS view.setFloat32(1) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 807 PASS view.setFloat64(1) threw exception TypeError: Not enough arguments. | 807 PASS view.setFloat64(1) threw exception RangeError: Offset is outside the bounds
of the DataView. |
| 808 | 808 |
| 809 Test for indexing that should not work | 809 Test for indexing that should not work |
| 810 PASS view[0] is undefined. | 810 PASS view[0] is undefined. |
| 811 PASS view[0] = 3 is defined. | 811 PASS view[0] = 3 is defined. |
| 812 PASS view.getUint8(0) is 1 | 812 PASS view.getUint8(0) is 1 |
| 813 PASS successfullyParsed is true | 813 PASS successfullyParsed is true |
| 814 | 814 |
| 815 TEST COMPLETE | 815 TEST COMPLETE |
| 816 | 816 |
| OLD | NEW |