-
zmo@google.com authored
Reviewed by Kenneth Russell. Expose constructor functions for instanceof checks of WebGL objects https://bugs.webkit.org/show_bug.cgi?id=36512 Test: fast/canvas/webgl/instanceof-test.html * bindings/generic/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::webGLActiveInfoEnabled): (WebCore::RuntimeEnabledFeatures::webGLBufferEnabled): (WebCore::RuntimeEnabledFeatures::webGLFramebufferEnabled): (WebCore::RuntimeEnabledFeatures::webGLProgramEnabled): (WebCore::RuntimeEnabledFeatures::webGLRenderbufferEnabled): (WebCore::RuntimeEnabledFeatures::webGLShaderEnabled): (WebCore::RuntimeEnabledFeatures::webGLTextureEnabled): (WebCore::RuntimeEnabledFeatures::webGLUniformLocationEnabled): * html/canvas/WebGLActiveInfo.idl: Remove OmitConstructor. * html/canvas/WebGLBuffer.idl: Ditto. * html/canvas/WebGLFramebuffer.idl: Ditto. * html/canvas/WebGLProgram.idl: Ditto. * html/canvas/WebGLRenderbuffer.idl: Ditto. * html/canvas/WebGLShader.idl: Ditto. * html/canvas/WebGLTexture.idl: Ditto. * html/canvas/WebGLUniformLocation.idl: Ditto. * page/DOMWindow.idl: Expose constructors for WebGL objects in DOMWindow. 2010-12-09 Zhenyao Mo <zmo@google.com> Reviewed by Kenneth Russell. Expose constructor functions for instanceof checks of WebGL objects https://bugs.webkit.org/show_bug.cgi?id=36512 * fast/canvas/webgl/instanceof-test-expected.txt: Added. * fast/canvas/webgl/instanceof-test.html: Added. * fast/dom/Window/script-tests/window-property-descriptors.js: Register newly added WebGL objects. * fast/dom/Window/window-properties.html: Ditto. * fast/dom/script-tests/prototype-inheritance-2.js: Ditto. (constructorNamesForWindow): * fast/dom/script-tests/prototype-inheritance.js: Ditto. * fast/js/script-tests/global-constructors.js: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1cfa85c9