| OLD | NEW |
| 1 Verifies that attempting to set invalid elements to a Typed Array throws an exce
ption | 1 Verifies that attempting to set invalid elements to a Typed Array throws an exce
ption |
| 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 typedArray.set() threw exception TypeError: Not enough arguments. | 5 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. |
| 6 PASS typedArray.set('hello world') threw exception TypeError: Invalid argument. | 6 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. |
| 7 PASS typedArray.set(otherArray, 1) threw exception RangeError: Index is out of r
ange.. | 7 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. |
| 8 PASS typedArray.set() threw exception TypeError: Not enough arguments. | 8 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. |
| 9 PASS typedArray.set('hello world') threw exception TypeError: Invalid argument. | 9 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. |
| 10 PASS typedArray.set(otherArray, 1) threw exception RangeError: Index is out of r
ange.. | 10 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. |
| 11 PASS typedArray.set() threw exception TypeError: Not enough arguments. | 11 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. |
| 12 PASS typedArray.set('hello world') threw exception TypeError: Invalid argument. | 12 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. |
| 13 PASS typedArray.set(otherArray, 1) threw exception RangeError: Index is out of r
ange.. | 13 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. |
| 14 PASS typedArray.set() threw exception TypeError: Not enough arguments. | 14 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. |
| 15 PASS typedArray.set('hello world') threw exception TypeError: Invalid argument. | 15 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. |
| 16 PASS typedArray.set(otherArray, 1) threw exception RangeError: Index is out of r
ange.. | 16 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. |
| 17 PASS typedArray.set() threw exception TypeError: Not enough arguments. | 17 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. |
| 18 PASS typedArray.set('hello world') threw exception TypeError: Invalid argument. | 18 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. |
| 19 PASS typedArray.set(otherArray, 1) threw exception RangeError: Index is out of r
ange.. | 19 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. |
| 20 PASS typedArray.set() threw exception TypeError: Not enough arguments. | 20 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. |
| 21 PASS typedArray.set('hello world') threw exception TypeError: Invalid argument. | 21 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. |
| 22 PASS typedArray.set(otherArray, 1) threw exception RangeError: Index is out of r
ange.. | 22 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. |
| 23 PASS typedArray.set() threw exception TypeError: Not enough arguments. | 23 PASS typedArray.set() threw exception TypeError: Cannot read property 'length' o
f undefined. |
| 24 PASS typedArray.set('hello world') threw exception TypeError: Invalid argument. | 24 PASS typedArray.set('hello world') threw exception RangeError: Source is too lar
ge. |
| 25 PASS typedArray.set(otherArray, 1) threw exception RangeError: Index is out of r
ange.. | 25 PASS typedArray.set(otherArray, 1) threw exception RangeError: Source is too lar
ge. |
| 26 PASS successfullyParsed is true | 26 PASS successfullyParsed is true |
| 27 | 27 |
| 28 TEST COMPLETE | 28 TEST COMPLETE |
| 29 | 29 |
| OLD | NEW |