OLD | NEW |
| (Empty) |
1 Verifies that attempting to set out-of-bounds elements of a WebGLArray from a Ja
vaScript array throws an exception | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 Regression test for https://bugs.webkit.org/show_bug.cgi?id=33352 : Passing arra
y that is too large to set method of WebGLArrays does not throw an exception | |
6 Testing Int8Array | |
7 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large. | |
8 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large. | |
9 Testing Uint8Array | |
10 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large. | |
11 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large. | |
12 Testing Int16Array | |
13 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large. | |
14 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large. | |
15 Testing Uint16Array | |
16 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large. | |
17 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large. | |
18 Testing Int32Array | |
19 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large. | |
20 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large. | |
21 Testing Uint32Array | |
22 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large. | |
23 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large. | |
24 Testing Float32Array | |
25 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large. | |
26 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large. | |
27 PASS successfullyParsed is true | |
28 | |
29 TEST COMPLETE | |
30 | |
OLD | NEW |