Changeset 73669 in webkit
- Timestamp:
- Dec 9, 2010 5:58:47 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r73663 r73669 1 2010-12-09 Zhenyao Mo <zmo@google.com> 2 3 Reviewed by Kenneth Russell. 4 5 Expose constructor functions for instanceof checks of WebGL objects 6 https://bugs.webkit.org/show_bug.cgi?id=36512 7 8 * fast/canvas/webgl/instanceof-test-expected.txt: Added. 9 * fast/canvas/webgl/instanceof-test.html: Added. 10 * fast/dom/Window/script-tests/window-property-descriptors.js: Register newly added WebGL objects. 11 * fast/dom/Window/window-properties.html: Ditto. 12 * fast/dom/script-tests/prototype-inheritance-2.js: Ditto. 13 (constructorNamesForWindow): 14 * fast/dom/script-tests/prototype-inheritance.js: Ditto. 15 * fast/js/script-tests/global-constructors.js: Ditto. 16 1 17 2010-12-09 James Robinson <jamesr@chromium.org> 2 18 -
trunk/LayoutTests/fast/dom/Window/script-tests/window-property-descriptors.js
r72718 r73669 21 21 // Ignore these properties because they do not exist in all implementations. They will be tested separately 22 22 "WebGLRenderingContext" : 1, 23 "WebGLActiveInfo" : 1, 24 "WebGLBuffer" : 1, 25 "WebGLFramebuffer" : 1, 26 "WebGLProgram" : 1, 27 "WebGLRenderbuffer" : 1, 28 "WebGLShader" : 1, 29 "WebGLTexture" : 1, 30 "WebGLUniformLocation" : 1, 23 31 "ArrayBuffer" : 1, 24 32 "DataView" : 1, -
trunk/LayoutTests/fast/dom/Window/window-properties.html
r72718 r73669 63 63 // Ignore these properties because they do not exist in all implementations. They will be tested separately 64 64 "window.WebGLRenderingContext" : 1, 65 "window.WebGLActiveInfo" : 1, 66 "window.WebGLBuffer" : 1, 67 "window.WebGLFramebuffer" : 1, 68 "window.WebGLProgram" : 1, 69 "window.WebGLRenderbuffer" : 1, 70 "window.WebGLShader" : 1, 71 "window.WebGLTexture" : 1, 72 "window.WebGLUniformLocation" : 1, 65 73 "window.ArrayBuffer" : 1, 66 74 "window.DataView" : 1, -
trunk/LayoutTests/fast/dom/script-tests/prototype-inheritance-2.js
r72718 r73669 60 60 var type = classNameForObject(value); 61 61 // Ignore these properties because they do not exist in all implementations. They will be tested separately 62 if (type == "WebGLRenderingContextConstructor" || 62 if (type == "WebGLRenderingContextConstructor" || 63 type == "WebGLActiveInfoConstructor" || 64 type == "WebGLBufferConstructor" || 65 type == "WebGLFramebufferConstructor" || 66 type == "WebGLProgramConstructor" || 67 type == "WebGLRenderbufferConstructor" || 68 type == "WebGLShaderConstructor" || 69 type == "WebGLTextureConstructor" || 70 type == "WebGLUniformLocationConstructor" || 63 71 type == "ArrayBufferConstructor" || 64 72 type == "DataViewConstructor" || -
trunk/LayoutTests/fast/dom/script-tests/prototype-inheritance.js
r72718 r73669 16 16 "webkitNotifications", 17 17 "webkitPerformance", 18 "WebGLRenderingContext", 18 "WebGLRenderingContext", "WebGLActiveInfo", "WebGLBuffer", "WebGLFramebuffer", "WebGLProgram", "WebGLRenderbuffer", "WebGLShader", "WebGLTexture", "WebGLUniformLocation", 19 19 "ArrayBuffer", 20 20 "DataView", "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", -
trunk/LayoutTests/fast/js/script-tests/global-constructors.js
r72718 r73669 19 19 // Ignore these properties because they do not exist in all implementations. They will be tested separately 20 20 if (name == "WebGLRenderingContext" || 21 name == "WebGLActiveInfo" || 22 name == "WebGLBuffer" || 23 name == "WebGLFramebuffer" || 24 name == "WebGLProgram" || 25 name == "WebGLRenderbuffer" || 26 name == "WebGLShader" || 27 name == "WebGLTexture" || 28 name == "WebGLUniformLocation" || 21 29 name == "ArrayBuffer" || 22 30 name == "DataView" || -
trunk/WebCore/ChangeLog
r73666 r73669 1 2010-12-09 Zhenyao Mo <zmo@google.com> 2 3 Reviewed by Kenneth Russell. 4 5 Expose constructor functions for instanceof checks of WebGL objects 6 https://bugs.webkit.org/show_bug.cgi?id=36512 7 8 Test: fast/canvas/webgl/instanceof-test.html 9 10 * bindings/generic/RuntimeEnabledFeatures.h: 11 (WebCore::RuntimeEnabledFeatures::webGLActiveInfoEnabled): 12 (WebCore::RuntimeEnabledFeatures::webGLBufferEnabled): 13 (WebCore::RuntimeEnabledFeatures::webGLFramebufferEnabled): 14 (WebCore::RuntimeEnabledFeatures::webGLProgramEnabled): 15 (WebCore::RuntimeEnabledFeatures::webGLRenderbufferEnabled): 16 (WebCore::RuntimeEnabledFeatures::webGLShaderEnabled): 17 (WebCore::RuntimeEnabledFeatures::webGLTextureEnabled): 18 (WebCore::RuntimeEnabledFeatures::webGLUniformLocationEnabled): 19 * html/canvas/WebGLActiveInfo.idl: Remove OmitConstructor. 20 * html/canvas/WebGLBuffer.idl: Ditto. 21 * html/canvas/WebGLFramebuffer.idl: Ditto. 22 * html/canvas/WebGLProgram.idl: Ditto. 23 * html/canvas/WebGLRenderbuffer.idl: Ditto. 24 * html/canvas/WebGLShader.idl: Ditto. 25 * html/canvas/WebGLTexture.idl: Ditto. 26 * html/canvas/WebGLUniformLocation.idl: Ditto. 27 * page/DOMWindow.idl: Expose constructors for WebGL objects in DOMWindow. 28 1 29 2010-12-09 Timothy Hatcher <timothy@apple.com> 2 30 -
trunk/WebCore/bindings/generic/RuntimeEnabledFeatures.h
r72718 r73669 113 113 static bool webGLUnsignedIntArrayEnabled() { return isWebGLEnabled; } 114 114 static bool webGLFloatArrayEnabled() { return isWebGLEnabled; } 115 static bool webGLActiveInfoEnabled() { return isWebGLEnabled; } 116 static bool webGLBufferEnabled() { return isWebGLEnabled; } 117 static bool webGLFramebufferEnabled() { return isWebGLEnabled; } 118 static bool webGLProgramEnabled() { return isWebGLEnabled; } 119 static bool webGLRenderbufferEnabled() { return isWebGLEnabled; } 120 static bool webGLShaderEnabled() { return isWebGLEnabled; } 121 static bool webGLTextureEnabled() { return isWebGLEnabled; } 122 static bool webGLUniformLocationEnabled() { return isWebGLEnabled; } 115 123 #endif 116 124 -
trunk/WebCore/html/canvas/WebGLActiveInfo.idl
r52534 r73669 27 27 28 28 interface [ 29 Conditional=3D_CANVAS, 30 OmitConstructor 29 Conditional=3D_CANVAS 31 30 ] WebGLActiveInfo { 32 31 readonly attribute int size; -
trunk/WebCore/html/canvas/WebGLBuffer.idl
r52534 r73669 25 25 26 26 module html { 27 interface [Conditional=3D_CANVAS , OmitConstructor] WebGLBuffer {27 interface [Conditional=3D_CANVAS] WebGLBuffer { 28 28 }; 29 29 } -
trunk/WebCore/html/canvas/WebGLFramebuffer.idl
r52534 r73669 25 25 26 26 module html { 27 interface [Conditional=3D_CANVAS , OmitConstructor] WebGLFramebuffer {27 interface [Conditional=3D_CANVAS] WebGLFramebuffer { 28 28 }; 29 29 } -
trunk/WebCore/html/canvas/WebGLProgram.idl
r52534 r73669 25 25 26 26 module html { 27 interface [Conditional=3D_CANVAS , OmitConstructor] WebGLProgram {27 interface [Conditional=3D_CANVAS] WebGLProgram { 28 28 }; 29 29 } -
trunk/WebCore/html/canvas/WebGLRenderbuffer.idl
r52534 r73669 25 25 26 26 module html { 27 interface [Conditional=3D_CANVAS , OmitConstructor] WebGLRenderbuffer {27 interface [Conditional=3D_CANVAS] WebGLRenderbuffer { 28 28 }; 29 29 } -
trunk/WebCore/html/canvas/WebGLShader.idl
r52534 r73669 25 25 26 26 module html { 27 interface [Conditional=3D_CANVAS , OmitConstructor] WebGLShader {27 interface [Conditional=3D_CANVAS] WebGLShader { 28 28 }; 29 29 } -
trunk/WebCore/html/canvas/WebGLTexture.idl
r52534 r73669 25 25 26 26 module html { 27 interface [Conditional=3D_CANVAS , OmitConstructor] WebGLTexture {27 interface [Conditional=3D_CANVAS] WebGLTexture { 28 28 }; 29 29 } -
trunk/WebCore/html/canvas/WebGLUniformLocation.idl
r52534 r73669 26 26 27 27 module html { 28 interface [Conditional=3D_CANVAS , OmitConstructor] WebGLUniformLocation {28 interface [Conditional=3D_CANVAS] WebGLUniformLocation { 29 29 }; 30 30 } -
trunk/WebCore/page/DOMWindow.idl
r73283 r73669 486 486 attribute CanvasRenderingContext2DConstructor CanvasRenderingContext2D; 487 487 attribute ImageDataConstructor ImageData; 488 attribute [Conditional=3D_CANVAS,EnabledAtRuntime] WebGLActiveInfoConstructor WebGLActiveInfo; 489 attribute [Conditional=3D_CANVAS,EnabledAtRuntime] WebGLBufferConstructor WebGLBuffer; 490 attribute [Conditional=3D_CANVAS,EnabledAtRuntime] WebGLFramebufferConstructor WebGLFramebuffer; 491 attribute [Conditional=3D_CANVAS,EnabledAtRuntime] WebGLProgramConstructor WebGLProgram; 492 attribute [Conditional=3D_CANVAS,EnabledAtRuntime] WebGLRenderbufferConstructor WebGLRenderbuffer; 488 493 attribute [Conditional=3D_CANVAS,EnabledAtRuntime] WebGLRenderingContextConstructor WebGLRenderingContext; 494 attribute [Conditional=3D_CANVAS,EnabledAtRuntime] WebGLShaderConstructor WebGLShader; 495 attribute [Conditional=3D_CANVAS,EnabledAtRuntime] WebGLTextureConstructor WebGLTexture; 496 attribute [Conditional=3D_CANVAS,EnabledAtRuntime] WebGLUniformLocationConstructor WebGLUniformLocation; 489 497 attribute TextMetricsConstructor TextMetrics; 490 498
Note: See TracChangeset
for help on using the changeset viewer.