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

Side by Side Diff: LayoutTests/fast/canvas/webgl/texImageTest-expected.txt

Issue 284163002: Better arity checks for overloads (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Return properly Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 Test of texImage2d and texSubImage2d 1 Test of texImage2d and texSubImage2d
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 context.texImage2D(context.TEXTURE_2D) threw exception TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': 6 arguments required, but only 1 present.. 5 PASS context.texImage2D(context.TEXTURE_2D) threw exception TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': 6 arguments required, but only 1 present..
6 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, 64, 64, 0, context. RGBA, context.UNSIGNED_BYTE, null) is undefined. 6 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, 64, 64, 0, context. RGBA, context.UNSIGNED_BYTE, null) is undefined.
7 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, 0, context.RGBA, co ntext.UNSIGNED_BYTE, 0) threw exception TypeError: Failed to execute 'texImage2D ' on 'WebGLRenderingContext': No function was found that matched the signature p rovided.. 7 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, 0, context.RGBA, co ntext.UNSIGNED_BYTE, 0) threw exception TypeError: Failed to execute 'texImage2D ' on 'WebGLRenderingContext': Valid arities are: [6, 9], but 7 arguments provide d..
8 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, 0, context.RGBA, co ntext.UNSIGNED_BYTE, 0, 0) threw exception TypeError: Failed to execute 'texImag e2D' on 'WebGLRenderingContext': Valid arities are: [6, 9], but 8 arguments prov ided..
8 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, 2, 2, 0, context.RG BA, context.UNSIGNED_BYTE, array) is undefined. 9 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, 2, 2, 0, context.RG BA, context.UNSIGNED_BYTE, array) is undefined.
9 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, true) is undefined. 10 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, true) is undefined.
10 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, context.RGBA, conte xt.UNSIGNED_BYTE, imageData) is undefined. 11 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, context.RGBA, conte xt.UNSIGNED_BYTE, imageData) is undefined.
11 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, false) is undefined. 12 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, false) is undefined.
12 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, context.RGBA, conte xt.UNSIGNED_BYTE, image) is undefined. 13 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, context.RGBA, conte xt.UNSIGNED_BYTE, image) is undefined.
13 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, context.RGBA, conte xt.UNSIGNED_BYTE, canvas2d) is undefined. 14 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, context.RGBA, conte xt.UNSIGNED_BYTE, canvas2d) is undefined.
14 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, true) is undefined. 15 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, true) is undefined.
15 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, context.RGBA, conte xt.UNSIGNED_BYTE, video) is undefined. 16 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, context.RGBA, conte xt.UNSIGNED_BYTE, video) is undefined.
16 PASS context.texSubImage2D(context.TEXTURE_2D) threw exception TypeError: Failed to execute 'texSubImage2D' on 'WebGLRenderingContext': 7 arguments required, bu t only 1 present.. 17 PASS context.texSubImage2D(context.TEXTURE_2D) threw exception TypeError: Failed to execute 'texSubImage2D' on 'WebGLRenderingContext': 7 arguments required, bu t only 1 present..
17 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, 0, 0, context.RGBA, co ntext.UNSIGNED_BYTE, null) is undefined. 18 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, 0, 0, context.RGBA, co ntext.UNSIGNED_BYTE, null) is undefined.
18 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, 0, 0, context.RGBA, co ntext.UNSIGNED_BYTE, 0) threw exception TypeError: Failed to execute 'texSubImag e2D' on 'WebGLRenderingContext': parameter 9 is not of type 'ArrayBufferView'.. 19 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, 0, 0, context.RGBA, co ntext.UNSIGNED_BYTE, 0) threw exception TypeError: Failed to execute 'texSubImag e2D' on 'WebGLRenderingContext': parameter 9 is not of type 'ArrayBufferView'..
19 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, 0, context.UNSIGNED_BY TE, 0) threw exception TypeError: Failed to execute 'texSubImage2D' on 'WebGLRen deringContext': No function was found that matched the signature provided.. 20 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, 0, context.UNSIGNED_BY TE, 0) threw exception TypeError: Failed to execute 'texSubImage2D' on 'WebGLRen deringContext': No function was found that matched the signature provided..
20 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, false) is undefined. 21 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, false) is undefined.
21 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, context.RGBA, context. UNSIGNED_BYTE, imageData) is undefined. 22 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, context.RGBA, context. UNSIGNED_BYTE, imageData) is undefined.
22 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, context.RGBA, context. UNSIGNED_BYTE, image) is undefined. 23 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, context.RGBA, context. UNSIGNED_BYTE, image) is undefined.
23 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, true) is undefined. 24 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, true) is undefined.
24 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, context.RGBA, context. UNSIGNED_BYTE, canvas2d) is undefined. 25 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, context.RGBA, context. UNSIGNED_BYTE, canvas2d) is undefined.
25 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, false) is undefined. 26 PASS context.pixelStorei(context.UNPACK_FLIP_Y_WEBGL, false) is undefined.
26 PASS context.pixelStorei(context.UNPACK_PREMULTIPLY_ALPHA_WEBGL, true) is undefi ned. 27 PASS context.pixelStorei(context.UNPACK_PREMULTIPLY_ALPHA_WEBGL, true) is undefi ned.
27 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, context.RGBA, context. UNSIGNED_BYTE, video) is undefined. 28 PASS context.texSubImage2D(context.TEXTURE_2D, 0, 10, 20, context.RGBA, context. UNSIGNED_BYTE, video) is undefined.
28 PASS successfullyParsed is true 29 PASS successfullyParsed is true
29 30
30 TEST COMPLETE 31 TEST COMPLETE
31 32
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/webgl/script-tests/texImageTest.js ('k') | LayoutTests/fast/js/select-options-remove-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698