OLD | NEW |
| (Empty) |
1 Verifies that attempting to set invalid elements to a Typed Array throws an exce
ption | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. | |
6 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. | |
7 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. | |
8 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. | |
9 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. | |
10 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. | |
11 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. | |
12 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. | |
13 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. | |
14 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. | |
15 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. | |
16 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. | |
17 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. | |
18 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. | |
19 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. | |
20 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. | |
21 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. | |
22 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. | |
23 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. | |
24 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. | |
25 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. | |
26 PASS successfullyParsed is true | |
27 | |
28 TEST COMPLETE | |
29 | |
OLD | NEW |