-
zimmermann@webkit.org authored
Reviewed by Dimitri Glazkov. Convert SVGAngle to the new SVGPropertyTearOff concept, reimplement it properly https://bugs.webkit.org/show_bug.cgi?id=48179 Fix WebGL tests. Accept 'boolean' as valid numeric type in StrictTypeChecking mode. * bindings/scripts/CodeGeneratorJS.pm: * bindings/scripts/CodeGeneratorV8.pm: 2010-10-24 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Dimitri Glazkov. Convert SVGAngle to the new SVGPropertyTearOff concept, reimplement it properly https://bugs.webkit.org/show_bug.cgi?id=48179 It turns out the CodeGenerator changes are right, and the webgl tests have a problem, since StrictTypeChecking was enabled for numeric types. When calling gl.bindAttribLocation() be sure to pass the second argument as integer, not as string. Fixes all failing webgl tests on the snow leopard bot. * fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html: * fast/canvas/webgl/resources/webgl-test-utils.js: (WebGLTestUtils): * fast/canvas/webgl/resources/webgl-test.js: (createProgram): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
zimmermann@webkit.org authoredReviewed by Dimitri Glazkov. Convert SVGAngle to the new SVGPropertyTearOff concept, reimplement it properly https://bugs.webkit.org/show_bug.cgi?id=48179 Fix WebGL tests. Accept 'boolean' as valid numeric type in StrictTypeChecking mode. * bindings/scripts/CodeGeneratorJS.pm: * bindings/scripts/CodeGeneratorV8.pm: 2010-10-24 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Dimitri Glazkov. Convert SVGAngle to the new SVGPropertyTearOff concept, reimplement it properly https://bugs.webkit.org/show_bug.cgi?id=48179 It turns out the CodeGenerator changes are right, and the webgl tests have a problem, since StrictTypeChecking was enabled for numeric types. When calling gl.bindAttribLocation() be sure to pass the second argument as integer, not as string. Fixes all failing webgl tests on the snow leopard bot. * fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html: * fast/canvas/webgl/resources/webgl-test-utils.js: (WebGLTestUtils): * fast/canvas/webgl/resources/webgl-test.js: (createProgram): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Loading