1 Verifies that out-of-range parameters for creation, slicing and setting of WebGL arrays are caught
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5 PASS Construction of Int8Array with null buffer threw exception
6 PASS Construction of Int8Array with out-of-range values threw exception
7 PASS Construction of Int8Array with negative out-of-range values threw exception
8 Testing subarray of Int8Array
9 PASS array.length is 32 / typeSize
10 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4
11 PASS array.subarray(4, -2147483648).length is 0
12 PASS Setting Int8Array from array with out-of-range offset was caught
13 PASS Setting Int8Array from fake array with invalid length was caught
14 PASS Setting Int8Array from Int8Array with out-of-range offset was caught
15 PASS Construction of Uint8Array with null buffer threw exception
16 PASS Construction of Uint8Array with out-of-range values threw exception
17 PASS Construction of Uint8Array with negative out-of-range values threw exception
18 Testing subarray of Uint8Array
19 PASS array.length is 32 / typeSize
20 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4
21 PASS array.subarray(4, -2147483648).length is 0
22 PASS Setting Uint8Array from array with out-of-range offset was caught
23 PASS Setting Uint8Array from fake array with invalid length was caught
24 PASS Setting Uint8Array from Uint8Array with out-of-range offset was caught
25 PASS Construction of Int16Array with null buffer threw exception
26 PASS Construction of Int16Array with out-of-range values threw exception
27 PASS Construction of Int16Array with negative out-of-range values threw exception
28 Testing subarray of Int16Array
29 PASS array.length is 32 / typeSize
30 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4
31 PASS array.subarray(4, -2147483648).length is 0
32 PASS Setting Int16Array from array with out-of-range offset was caught
33 PASS Setting Int16Array from fake array with invalid length was caught
34 PASS Setting Int16Array from Int16Array with out-of-range offset was caught
35 PASS Construction of Uint16Array with null buffer threw exception
36 PASS Construction of Uint16Array with out-of-range values threw exception
37 PASS Construction of Uint16Array with negative out-of-range values threw exception
38 Testing subarray of Uint16Array
39 PASS array.length is 32 / typeSize
40 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4
41 PASS array.subarray(4, -2147483648).length is 0
42 PASS Setting Uint16Array from array with out-of-range offset was caught
43 PASS Setting Uint16Array from fake array with invalid length was caught
44 PASS Setting Uint16Array from Uint16Array with out-of-range offset was caught
45 PASS Construction of Int32Array with null buffer threw exception
46 PASS Construction of Int32Array with out-of-range values threw exception
47 PASS Construction of Int32Array with negative out-of-range values threw exception
48 Testing subarray of Int32Array
49 PASS array.length is 32 / typeSize
50 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4
51 PASS array.subarray(4, -2147483648).length is 0
52 PASS Setting Int32Array from array with out-of-range offset was caught
53 PASS Setting Int32Array from fake array with invalid length was caught
54 PASS Setting Int32Array from Int32Array with out-of-range offset was caught
55 PASS Construction of Uint32Array with null buffer threw exception
56 PASS Construction of Uint32Array with out-of-range values threw exception
57 PASS Construction of Uint32Array with negative out-of-range values threw exception
58 Testing subarray of Uint32Array
59 PASS array.length is 32 / typeSize
60 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4
61 PASS array.subarray(4, -2147483648).length is 0
62 PASS Setting Uint32Array from array with out-of-range offset was caught
63 PASS Setting Uint32Array from fake array with invalid length was caught
64 PASS Setting Uint32Array from Uint32Array with out-of-range offset was caught
65 PASS Construction of Float32Array with null buffer threw exception
66 PASS Construction of Float32Array with out-of-range values threw exception
67 PASS Construction of Float32Array with negative out-of-range values threw exception
68 Testing subarray of Float32Array
69 PASS array.length is 32 / typeSize
70 PASS array.subarray(4, 0x3FFFFFFF).length is (32 / typeSize) - 4
71 PASS array.subarray(4, -2147483648).length is 0
72 PASS Setting Float32Array from array with out-of-range offset was caught
73 PASS Setting Float32Array from fake array with invalid length was caught
74 PASS Setting Float32Array from Float32Array with out-of-range offset was caught
75 PASS isNaN(floats[0]) is true
76 PASS successfullyParsed is true