CodeGeneratorJS.pm has been updated to support overloaded methods in bug 38920. The custom JSC bindings for WebGLRenderingContext's bufferData, texImage2D and texSubImage2D should now be deleted. This will simplify needed work to update the signatures for texImage2D and texSubImage2D for recent spec changes.
*** Bug 38024 has been marked as a duplicate of this bug. ***
Created attachment 58412 [details]
From the ChangeLog:
Deleted custom JSC bindings for bufferData, texImage2D and texSubImage2D and fixed minor associated issues in code generator and IDL. Updated fast/canvas/webgl/texImageTest-expected.txt, which now runs as intended. Ran all layout tests, including WebGL tests, in Safari.
Note: full layout tests run still ongoing; will not commit until successfully completed.
(In reply to comment #2)
> Note: full layout tests run still ongoing; will not commit until successfully completed.
Layout tests all pass with the changes to the code generator.
Comment on attachment 58412 [details]
Awesome! Thanks kbr.
Committed r60979: <http://trac.webkit.org/changeset/60979>
The first patch broke the Leopard build due to bugs in the JSC code generation for overloaded methods, and I rolled it out in https://bugs.webkit.org/show_bug.cgi?id=40450 . Reopening this and determining a revised fix.
Created attachment 58427 [details]
Added JSValue::encode to exception return path, needed on Leopard in particular.
Built on Leopard and Snow Leopard; reran WebGL layout tests.
Comment on attachment 58427 [details]
Committed r61027: <http://trac.webkit.org/changeset/61027>
*** Bug 32002 has been marked as a duplicate of this bug. ***