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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/oes-element-index-uint-expected.txt

Issue 1601093008: Remove duplicated WebGL layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
(Empty)
1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec ause of its detrimental effects to the end user's experience. For more help, che ck https://xhr.spec.whatwg.org/.
2 Tests that index validation for drawElements does not examine too many indices
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5
6
7 PASS WebGL context exists
8 PASS Successfully enabled OES_element_index_uint extension
9 PASS OES_element_index_uint listed as supported and getExtension succeeded
10 Test that draws with unsigned integer indices produce the expected results
11 PASS Draw 0 passed pixel test
12 Testing with valid indices
13 PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE
14 PASS getError was expected value: NO_ERROR :
15 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_INT, 0) is undefined.
16 PASS getError was expected value: NO_ERROR :
17 Testing with out-of-range indices
18 Enable vertices, valid
19 PASS getError was expected value: NO_ERROR :
20 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_INT, 0) is undefined.
21 PASS getError was expected value: NO_ERROR :
22 Enable normals, out-of-range
23 PASS getError was expected value: NO_ERROR :
24 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_INT, 0) is undefined.
25 PASS getError was expected value: INVALID_OPERATION :
26 Test with enabled attribute that does not belong to current program
27 Enable an extra attribute with null
28 PASS getError was expected value: NO_ERROR :
29 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_INT, 0) is undefined.
30 PASS getError was expected value: INVALID_OPERATION :
31 Enable an extra attribute with insufficient data buffer
32 PASS getError was expected value: NO_ERROR :
33 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_INT, 0) is undefined.
34 Pass large negative index to vertexAttribPointer
35 PASS getError was expected value: INVALID_VALUE :
36 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_INT, 0) is undefined.
37 Test that client data is always copied during bufferData and bufferSubData calls
38 PASS gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 4) generated expecte d GL error: NO_ERROR.
39 PASS gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 0) generated expecte d GL error: INVALID_OPERATION.
40 PASS gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 8) generated expecte d GL error: INVALID_OPERATION.
41 PASS gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 4) generated expecte d GL error: NO_ERROR.
42 PASS gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 0) generated expecte d GL error: INVALID_OPERATION.
43 PASS gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 8) generated expecte d GL error: INVALID_OPERATION.
44 Test that updating the size of a vertex buffer is properly noticed by the WebGL implementation.
45 PASS getError was expected value: NO_ERROR : after initialization
46 PASS getError was expected value: NO_ERROR : after vertex setup
47 PASS getError was expected value: NO_ERROR : after texture coord setup
48 PASS getError was expected value: NO_ERROR : after vertex redefinition
49 PASS getError was expected value: NO_ERROR : after texture coordinate / color re definition
50 PASS getError was expected value: NO_ERROR : after setting up indices
51 PASS getError was expected value: NO_ERROR : after drawing
52 Test out of range indices
53 PASS gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 4) generated expecte d GL error: NO_ERROR.
54 PASS gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 0) generated expecte d GL error: INVALID_OPERATION.
55 PASS gl.drawElements(gl.TRIANGLE_STRIP, 4, gl.UNSIGNED_INT, 8) generated expecte d GL error: INVALID_OPERATION.
56 Verifies that the index validation code which is within bufferSubData does not c rash.
57 PASS getError was expected value: INVALID_VALUE : after attempting to update a b uffer outside of the allocated bounds
58 PASS bufferSubData, when buffer object was initialized with null, did not crash
59 PASS getError was expected value: NO_ERROR : there should be no errors
60
61 PASS successfullyParsed is true
62
63 TEST COMPLETE
64 PASS successfullyParsed is true
65
66 TEST COMPLETE
67
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698