Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 Verifies the functionality of the new array-like objects in the TypedArray spec | 1 Verifies the functionality of the new array-like objects in the TypedArray spec |
| 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 PASS testSlice | 5 PASS testSlice |
| 6 test inheritance hierarchy of typed array views | 6 test inheritance hierarchy of typed array views |
| 7 PASS ArrayBufferView has [NoInterfaceObject] extended attribute and was (correct ly) not defined | 7 PASS ArrayBufferView has [NoInterfaceObject] extended attribute and was (correct ly) not defined |
| 8 PASS new Uint8ClampedArray(1) instanceof Uint8Array is true | |
|
Dmitry Lomov (no reviews)
2013/07/15 16:58:05
Uint8ClampedArray is not a sub-type of Uint8Array
| |
| 9 PASS test Float32Array SetAndGetPos10ToNeg10 | 8 PASS test Float32Array SetAndGetPos10ToNeg10 |
| 10 PASS test Float32Array ConstructWithArrayOfSignedValues | 9 PASS test Float32Array ConstructWithArrayOfSignedValues |
| 11 PASS test Float32Array ConstructWithTypedArrayOfSignedValues | 10 PASS test Float32Array ConstructWithTypedArrayOfSignedValues |
| 12 Testing Float32Array GetWithOutOfRangeIndices | 11 Testing Float32Array GetWithOutOfRangeIndices |
| 13 PASS array[2] is undefined. | 12 PASS array[2] is undefined. |
| 14 PASS array[-1] is undefined. | 13 PASS array[-1] is undefined. |
| 15 PASS array[0x20000000] is undefined. | 14 PASS array[0x20000000] is undefined. |
| 16 PASS test Float32Array OffsetsAndSizes | 15 PASS test Float32Array OffsetsAndSizes |
| 17 PASS test Float32Array SetFromTypedArray | 16 PASS test Float32Array SetFromTypedArray |
| 18 PASS negativeTest Float32Array SetFromTypedArray | 17 PASS negativeTest Float32Array SetFromTypedArray |
| 19 PASS test Float32Array SetFromArray | 18 PASS test Float32Array SetFromArray |
| 20 PASS negativeTest Float32Array SetFromArray | 19 PASS negativeTest Float32Array SetFromArray |
| 21 PASS test Float32Array Subarray | 20 PASS test Float32Array Subarray |
| 22 PASS test Float32Array Subarray offset and length clamping | 21 PASS test Float32Array Subarray offset and length clamping |
| 23 PASS negativeTest Float32Array Subarray | 22 PASS negativeTest Float32Array Subarray |
| 24 PASS test Float32Array SetBoundaryConditions | 23 PASS test Float32Array SetBoundaryConditions |
| 25 PASS test Float32Array ConstructionBoundaryConditions | 24 PASS test Float32Array ConstructionBoundaryConditions |
| 26 PASS Construction of Float32Array with null buffer threw exception | 25 PASS Construction of Float32Array with null buffer threw exception |
| 27 PASS Construction of Float32Array with (null buffer, 0) threw exception | 26 PASS Construction of Float32Array with (null buffer, 0) threw exception |
| 28 PASS Construction of Float32Array with (null buffer, 0, 0) threw exception | 27 PASS Construction of Float32Array with (null buffer, 0, 0) threw exception |
| 29 PASS Construction of Float32Array with exception-throwing array-like object didn 't crash unexpectedly | 28 PASS Construction of Float32Array with exception-throwing array-like object didn 't crash unexpectedly |
| 30 PASS Construction of Float32Array with out-of-range number of elements threw an exception | 29 PASS Construction of Float32Array with out-of-range number of elements threw an exception |
| 31 PASS Construction of Float32Array with out-of-range offset threw an exception | 30 PASS Construction of Float32Array with out-of-range offset threw an exception |
| 32 PASS Construction of ArrayBuffer with negative size threw exception | 31 PASS Construction of ArrayBuffer with negative size threw exception |
| 33 PASS Construction of Float32Array with negative size threw exception | 32 PASS Construction of Float32Array with negative size threw exception |
| 34 PASS Construction of Float32Array with negative out-of-range values threw an exc eption | 33 PASS Construction of Float32Array with negative out-of-range values threw an exc eption |
| 35 PASS Construction of Float32Array with unaligned offset threw an exception | 34 PASS Construction of Float32Array with unaligned offset threw an exception |
| 36 PASS Construction of Float32Array with unaligned length threw an exception | 35 PASS Construction of Float32Array with unaligned length threw an exception |
| 37 PASS Construction of huge Float32Array threw exception | |
| 38 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer | 36 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer |
| 39 PASS new Float32Array(new ArrayBuffer(18), 0, 2) succeeded | 37 PASS new Float32Array(new ArrayBuffer(18), 0, 2) succeeded |
| 40 Testing subarray of Float32Array | 38 Testing subarray of Float32Array |
| 41 PASS array.length is 32 / typeSize | 39 PASS array.length is 32 / typeSize |
| 42 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 | 40 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 |
| 43 PASS array.subarray(4, -2147483648).length is 0 | 41 PASS array.subarray(4, -2147483648).length is 0 |
| 44 PASS array.length is 0 | 42 PASS array.length is 0 |
| 45 Testing subarray with default inputs of Float32Array | 43 Testing subarray with default inputs of Float32Array |
| 46 PASS array.length is 32 / typeSize | 44 PASS array.length is 32 / typeSize |
| 47 PASS array.subarray(0).length is (32 / typeSize) | 45 PASS array.subarray(0).length is (32 / typeSize) |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 83 PASS Construction of Float64Array with (null buffer, 0) threw exception | 81 PASS Construction of Float64Array with (null buffer, 0) threw exception |
| 84 PASS Construction of Float64Array with (null buffer, 0, 0) threw exception | 82 PASS Construction of Float64Array with (null buffer, 0, 0) threw exception |
| 85 PASS Construction of Float64Array with exception-throwing array-like object didn 't crash unexpectedly | 83 PASS Construction of Float64Array with exception-throwing array-like object didn 't crash unexpectedly |
| 86 PASS Construction of Float64Array with out-of-range number of elements threw an exception | 84 PASS Construction of Float64Array with out-of-range number of elements threw an exception |
| 87 PASS Construction of Float64Array with out-of-range offset threw an exception | 85 PASS Construction of Float64Array with out-of-range offset threw an exception |
| 88 PASS Construction of ArrayBuffer with negative size threw exception | 86 PASS Construction of ArrayBuffer with negative size threw exception |
| 89 PASS Construction of Float64Array with negative size threw exception | 87 PASS Construction of Float64Array with negative size threw exception |
| 90 PASS Construction of Float64Array with negative out-of-range values threw an exc eption | 88 PASS Construction of Float64Array with negative out-of-range values threw an exc eption |
| 91 PASS Construction of Float64Array with unaligned offset threw an exception | 89 PASS Construction of Float64Array with unaligned offset threw an exception |
| 92 PASS Construction of Float64Array with unaligned length threw an exception | 90 PASS Construction of Float64Array with unaligned length threw an exception |
| 93 PASS Construction of huge Float64Array threw exception | |
| 94 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer | 91 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer |
| 95 PASS new Float64Array(new ArrayBuffer(36), 0, 2) succeeded | 92 PASS new Float64Array(new ArrayBuffer(36), 0, 2) succeeded |
| 96 Testing subarray of Float64Array | 93 Testing subarray of Float64Array |
| 97 PASS array.length is 32 / typeSize | 94 PASS array.length is 32 / typeSize |
| 98 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 | 95 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 |
| 99 PASS array.subarray(4, -2147483648).length is 0 | 96 PASS array.subarray(4, -2147483648).length is 0 |
| 100 PASS array.length is 0 | 97 PASS array.length is 0 |
| 101 Testing subarray with default inputs of Float64Array | 98 Testing subarray with default inputs of Float64Array |
| 102 PASS array.length is 32 / typeSize | 99 PASS array.length is 32 / typeSize |
| 103 PASS array.subarray(0).length is (32 / typeSize) | 100 PASS array.subarray(0).length is (32 / typeSize) |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 192 PASS Construction of Int16Array with (null buffer, 0) threw exception | 189 PASS Construction of Int16Array with (null buffer, 0) threw exception |
| 193 PASS Construction of Int16Array with (null buffer, 0, 0) threw exception | 190 PASS Construction of Int16Array with (null buffer, 0, 0) threw exception |
| 194 PASS Construction of Int16Array with exception-throwing array-like object didn't crash unexpectedly | 191 PASS Construction of Int16Array with exception-throwing array-like object didn't crash unexpectedly |
| 195 PASS Construction of Int16Array with out-of-range number of elements threw an ex ception | 192 PASS Construction of Int16Array with out-of-range number of elements threw an ex ception |
| 196 PASS Construction of Int16Array with out-of-range offset threw an exception | 193 PASS Construction of Int16Array with out-of-range offset threw an exception |
| 197 PASS Construction of ArrayBuffer with negative size threw exception | 194 PASS Construction of ArrayBuffer with negative size threw exception |
| 198 PASS Construction of Int16Array with negative size threw exception | 195 PASS Construction of Int16Array with negative size threw exception |
| 199 PASS Construction of Int16Array with negative out-of-range values threw an excep tion | 196 PASS Construction of Int16Array with negative out-of-range values threw an excep tion |
| 200 PASS Construction of Int16Array with unaligned offset threw an exception | 197 PASS Construction of Int16Array with unaligned offset threw an exception |
| 201 PASS Construction of Int16Array with unaligned length threw an exception | 198 PASS Construction of Int16Array with unaligned length threw an exception |
| 202 PASS Construction of huge Int16Array threw exception | |
| 203 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer | 199 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer |
| 204 PASS new Int16Array(new ArrayBuffer(9), 0, 2) succeeded | 200 PASS new Int16Array(new ArrayBuffer(9), 0, 2) succeeded |
| 205 Testing subarray of Int16Array | 201 Testing subarray of Int16Array |
| 206 PASS array.length is 32 / typeSize | 202 PASS array.length is 32 / typeSize |
| 207 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 | 203 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 |
| 208 PASS array.subarray(4, -2147483648).length is 0 | 204 PASS array.subarray(4, -2147483648).length is 0 |
| 209 PASS array.length is 0 | 205 PASS array.length is 0 |
| 210 Testing subarray with default inputs of Int16Array | 206 Testing subarray with default inputs of Int16Array |
| 211 PASS array.length is 32 / typeSize | 207 PASS array.length is 32 / typeSize |
| 212 PASS array.subarray(0).length is (32 / typeSize) | 208 PASS array.subarray(0).length is (32 / typeSize) |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 249 PASS Construction of Int32Array with (null buffer, 0) threw exception | 245 PASS Construction of Int32Array with (null buffer, 0) threw exception |
| 250 PASS Construction of Int32Array with (null buffer, 0, 0) threw exception | 246 PASS Construction of Int32Array with (null buffer, 0, 0) threw exception |
| 251 PASS Construction of Int32Array with exception-throwing array-like object didn't crash unexpectedly | 247 PASS Construction of Int32Array with exception-throwing array-like object didn't crash unexpectedly |
| 252 PASS Construction of Int32Array with out-of-range number of elements threw an ex ception | 248 PASS Construction of Int32Array with out-of-range number of elements threw an ex ception |
| 253 PASS Construction of Int32Array with out-of-range offset threw an exception | 249 PASS Construction of Int32Array with out-of-range offset threw an exception |
| 254 PASS Construction of ArrayBuffer with negative size threw exception | 250 PASS Construction of ArrayBuffer with negative size threw exception |
| 255 PASS Construction of Int32Array with negative size threw exception | 251 PASS Construction of Int32Array with negative size threw exception |
| 256 PASS Construction of Int32Array with negative out-of-range values threw an excep tion | 252 PASS Construction of Int32Array with negative out-of-range values threw an excep tion |
| 257 PASS Construction of Int32Array with unaligned offset threw an exception | 253 PASS Construction of Int32Array with unaligned offset threw an exception |
| 258 PASS Construction of Int32Array with unaligned length threw an exception | 254 PASS Construction of Int32Array with unaligned length threw an exception |
| 259 PASS Construction of huge Int32Array threw exception | |
| 260 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer | 255 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer |
| 261 PASS new Int32Array(new ArrayBuffer(18), 0, 2) succeeded | 256 PASS new Int32Array(new ArrayBuffer(18), 0, 2) succeeded |
| 262 Testing subarray of Int32Array | 257 Testing subarray of Int32Array |
| 263 PASS array.length is 32 / typeSize | 258 PASS array.length is 32 / typeSize |
| 264 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 | 259 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 |
| 265 PASS array.subarray(4, -2147483648).length is 0 | 260 PASS array.subarray(4, -2147483648).length is 0 |
| 266 PASS array.length is 0 | 261 PASS array.length is 0 |
| 267 Testing subarray with default inputs of Int32Array | 262 Testing subarray with default inputs of Int32Array |
| 268 PASS array.length is 32 / typeSize | 263 PASS array.length is 32 / typeSize |
| 269 PASS array.subarray(0).length is (32 / typeSize) | 264 PASS array.subarray(0).length is (32 / typeSize) |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 410 PASS Construction of Uint16Array with (null buffer, 0) threw exception | 405 PASS Construction of Uint16Array with (null buffer, 0) threw exception |
| 411 PASS Construction of Uint16Array with (null buffer, 0, 0) threw exception | 406 PASS Construction of Uint16Array with (null buffer, 0, 0) threw exception |
| 412 PASS Construction of Uint16Array with exception-throwing array-like object didn' t crash unexpectedly | 407 PASS Construction of Uint16Array with exception-throwing array-like object didn' t crash unexpectedly |
| 413 PASS Construction of Uint16Array with out-of-range number of elements threw an e xception | 408 PASS Construction of Uint16Array with out-of-range number of elements threw an e xception |
| 414 PASS Construction of Uint16Array with out-of-range offset threw an exception | 409 PASS Construction of Uint16Array with out-of-range offset threw an exception |
| 415 PASS Construction of ArrayBuffer with negative size threw exception | 410 PASS Construction of ArrayBuffer with negative size threw exception |
| 416 PASS Construction of Uint16Array with negative size threw exception | 411 PASS Construction of Uint16Array with negative size threw exception |
| 417 PASS Construction of Uint16Array with negative out-of-range values threw an exce ption | 412 PASS Construction of Uint16Array with negative out-of-range values threw an exce ption |
| 418 PASS Construction of Uint16Array with unaligned offset threw an exception | 413 PASS Construction of Uint16Array with unaligned offset threw an exception |
| 419 PASS Construction of Uint16Array with unaligned length threw an exception | 414 PASS Construction of Uint16Array with unaligned length threw an exception |
| 420 PASS Construction of huge Uint16Array threw exception | |
| 421 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer | 415 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer |
| 422 PASS new Uint16Array(new ArrayBuffer(9), 0, 2) succeeded | 416 PASS new Uint16Array(new ArrayBuffer(9), 0, 2) succeeded |
| 423 Testing subarray of Uint16Array | 417 Testing subarray of Uint16Array |
| 424 PASS array.length is 32 / typeSize | 418 PASS array.length is 32 / typeSize |
| 425 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 | 419 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 |
| 426 PASS array.subarray(4, -2147483648).length is 0 | 420 PASS array.subarray(4, -2147483648).length is 0 |
| 427 PASS array.length is 0 | 421 PASS array.length is 0 |
| 428 Testing subarray with default inputs of Uint16Array | 422 Testing subarray with default inputs of Uint16Array |
| 429 PASS array.length is 32 / typeSize | 423 PASS array.length is 32 / typeSize |
| 430 PASS array.subarray(0).length is (32 / typeSize) | 424 PASS array.subarray(0).length is (32 / typeSize) |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 467 PASS Construction of Uint32Array with (null buffer, 0) threw exception | 461 PASS Construction of Uint32Array with (null buffer, 0) threw exception |
| 468 PASS Construction of Uint32Array with (null buffer, 0, 0) threw exception | 462 PASS Construction of Uint32Array with (null buffer, 0, 0) threw exception |
| 469 PASS Construction of Uint32Array with exception-throwing array-like object didn' t crash unexpectedly | 463 PASS Construction of Uint32Array with exception-throwing array-like object didn' t crash unexpectedly |
| 470 PASS Construction of Uint32Array with out-of-range number of elements threw an e xception | 464 PASS Construction of Uint32Array with out-of-range number of elements threw an e xception |
| 471 PASS Construction of Uint32Array with out-of-range offset threw an exception | 465 PASS Construction of Uint32Array with out-of-range offset threw an exception |
| 472 PASS Construction of ArrayBuffer with negative size threw exception | 466 PASS Construction of ArrayBuffer with negative size threw exception |
| 473 PASS Construction of Uint32Array with negative size threw exception | 467 PASS Construction of Uint32Array with negative size threw exception |
| 474 PASS Construction of Uint32Array with negative out-of-range values threw an exce ption | 468 PASS Construction of Uint32Array with negative out-of-range values threw an exce ption |
| 475 PASS Construction of Uint32Array with unaligned offset threw an exception | 469 PASS Construction of Uint32Array with unaligned offset threw an exception |
| 476 PASS Construction of Uint32Array with unaligned length threw an exception | 470 PASS Construction of Uint32Array with unaligned length threw an exception |
| 477 PASS Construction of huge Uint32Array threw exception | |
| 478 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer | 471 PASS Array lengths matched with explicit and implicit creation of ArrayBuffer |
| 479 PASS new Uint32Array(new ArrayBuffer(18), 0, 2) succeeded | 472 PASS new Uint32Array(new ArrayBuffer(18), 0, 2) succeeded |
| 480 Testing subarray of Uint32Array | 473 Testing subarray of Uint32Array |
| 481 PASS array.length is 32 / typeSize | 474 PASS array.length is 32 / typeSize |
| 482 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 | 475 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4 |
| 483 PASS array.subarray(4, -2147483648).length is 0 | 476 PASS array.subarray(4, -2147483648).length is 0 |
| 484 PASS array.length is 0 | 477 PASS array.length is 0 |
| 485 Testing subarray with default inputs of Uint32Array | 478 Testing subarray with default inputs of Uint32Array |
| 486 PASS array.length is 32 / typeSize | 479 PASS array.length is 32 / typeSize |
| 487 PASS array.subarray(0).length is (32 / typeSize) | 480 PASS array.subarray(0).length is (32 / typeSize) |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 500 PASS Setting Uint32Array from Uint32Array with non-integer offset | 493 PASS Setting Uint32Array from Uint32Array with non-integer offset |
| 501 PASS Setting Uint32Array from fake array with invalid length was caught | 494 PASS Setting Uint32Array from fake array with invalid length was caught |
| 502 PASS array.get is undefined. | 495 PASS array.get is undefined. |
| 503 PASS array.set(0, 1) threw exception. | 496 PASS array.set(0, 1) threw exception. |
| 504 PASS test storing NaN in Uint32Array | 497 PASS test storing NaN in Uint32Array |
| 505 Test passed. | 498 Test passed. |
| 506 PASS successfullyParsed is true | 499 PASS successfullyParsed is true |
| 507 | 500 |
| 508 TEST COMPLETE | 501 TEST COMPLETE |
| 509 | 502 |
| OLD | NEW |