Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: LayoutTests/fast/canvas/webgl/array-set-out-of-bounds-expected.txt

Issue 19230002: Use V8 implementation of TypedArrays and DataView in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased for relanding Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Verifies that attempting to set out-of-bounds elements of a WebGLArray from a Ja vaScript array throws an exception 1 Verifies that attempting to set out-of-bounds elements of a WebGLArray from a Ja vaScript array throws an exception
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 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 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 6 Testing Int8Array
7 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Index is out of range .. 7 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large.
8 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Index is out of range .. 8 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large.
9 Testing Uint8Array 9 Testing Uint8Array
10 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Index is out of range .. 10 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large.
11 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Index is out of range .. 11 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large.
12 Testing Int16Array 12 Testing Int16Array
13 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Index is out of range .. 13 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large.
14 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Index is out of range .. 14 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large.
15 Testing Uint16Array 15 Testing Uint16Array
16 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Index is out of range .. 16 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large.
17 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Index is out of range .. 17 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large.
18 Testing Int32Array 18 Testing Int32Array
19 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Index is out of range .. 19 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large.
20 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Index is out of range .. 20 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large.
21 Testing Uint32Array 21 Testing Uint32Array
22 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Index is out of range .. 22 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large.
23 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Index is out of range .. 23 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large.
24 Testing Float32Array 24 Testing Float32Array
25 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Index is out of range .. 25 PASS webGLArray.set([4, 5], 1) threw exception RangeError: Source is too large.
26 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Index is out of range .. 26 PASS webGLArray.set([4, 5, 6]) threw exception RangeError: Source is too large.
27 PASS successfullyParsed is true 27 PASS successfullyParsed is true
28 28
29 TEST COMPLETE 29 TEST COMPLETE
30 30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698