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