From 70f026a42cf1bee061389fa6ce790ea1186f0703 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine LaFayette Date: Thu, 29 Dec 2011 15:13:33 +0100 Subject: WebGL implementation for Android Implementation of WebGL in Android WebKit. Exposes a low level 3D graphics API based on OpenGL ES 2.0 to JavaScript. WebGL is not compiled by default. It can be enabled by setting ENABLE_WEBGL = true in your device BoardConfig.mk or directly in external/webkit/Android.mk. Includes runtime enablement through Browser Settings -> Labs menu. Enable WebGL debug logs and FPS timing with: adb shell setprop debug.webgl 1 Includes Cross-origin resource sharing support. Includes fixes for the following Khronos WebGL 1.0.1. tests: - premultiplyalpha-test.html - struct-nesting-exceeds-maximum.html - index-validation.html - context-attributes-alpha-depth-stencil-antialias.html - program-test.html - object-deletion-behaviour.html Squashed patches: ----------------------------------------------------------- WebGL implementation for Android Implementation of WebGL in Android WebKit. Exposes a low level 3D graphics API based on OpenGL ES 2.0 to JavaScript. WebGL is not compiled by default. It can be enabled by setting ENABLE_WEBGL = true in your device BoardConfig.mk or directly in external/webkit/Android.mk. It is also disabled by default (in WebSettings.cpp) as required by Khronos until it reaches 100% conformance. -- From: Anders Edenbrandt Date: Thu, 26 Jan 2012 11:48:41 +0100 WebGL bug fixes and updates Some updates: - stability fixes - image decoder - redesign of how the FBOs are used - other bug fixes -- From: Anders Edenbrandt Date: Tue, 31 Jan 2012 17:20:13 +0100 WebGL code cleanup and bug fixes -- From: Anders Edenbrandt Date: Thu Mar 15 10:15:33 2012 +0100 More improvements and bug fixes Updates: - cleaned up buffer handling, allowing for arbitrary number of buffers - removed rect from invalidation - removed screen update request from drawGL - releasing buffers when the browser is paused - added missing method 'slice' for typed arrays - fixed bug in bindFramebuffer https://www.codeaurora.org/gitweb/quic/la/?p=platform/external/webkit.git;a=commit;h=c72ff2aa562941d94ceb51ba685d60809ca882a6 Updates to fix some test failures in Khronos Conformance Test Suite: - Increase max identifier length in shaders to 256 - Add length check on uniforms and attributes - Add minimal support for compressed textures (that is, just return the correct error codes) - Add support for Uint8ClampedByteArray - Modify how error checking is done on framebuffer operations - Activate the GL_OES_packed_depth_stencil extension - Activate the GL_OES_texture_float extension https://www.codeaurora.org/gitweb/quic/la/?p=platform/external/webkit.git;a=commit;h=5bfe05848c12a2894697fbb503cfa79981eb96bd Fix WebGL 1.0.1 premultiplyalpha-test conformance test Fixing bug with toDataURL when called against a Canvas in which WebGL content is being rendered and make sure paintRenderingResultsToImageData isn't used for the premultiplied case. ihttps://www.codeaurora.org/gitweb/quic/la/?p=platform/external/webkit.git;a=commit;h=5834a1e00f89d898a7a0039d47916b196e40a2c8 Update ANGLE to r1009 to fix WebGL 1.0.1 conformance test Fixes struct-nesting-exceeds-maximum Khronos WebGL conformance test. https://www.codeaurora.org/gitweb/quic/la/?p=platform/external/webkit.git;a=commit;h=ae2392db6360b41a5717f3770a9e63b1bcea45d6 vertexAttribPointer needs to reject large negative offsets https://bugs.webkit.org/show_bug.cgi?id=85117 Reviewed by Kenneth Russell. Source/WebCore: * html/canvas/WebGLRenderingContext.cpp: Use long long for GLsizeiptr and GLintptr (WebCore): (WebCore::WebGLRenderingContext::bufferData): (WebCore::WebGLRenderingContext::bufferSubData): (WebCore::WebGLRenderingContext::drawElements): (WebCore::WebGLRenderingContext::getVertexAttribOffset): (WebCore::WebGLRenderingContext::vertexAttribPointer): * html/canvas/WebGLRenderingContext.h: Ditto (WebGLRenderingContext): * html/canvas/WebGLRenderingContext.idl: Ditto LayoutTests: * fast/canvas/webgl/index-validation-expected.txt: * fast/canvas/webgl/index-validation.html: Add a test case for large negative offset. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116374 268f45cc-cd09-0410-ab3c-d52691b4dbfc https://www.codeaurora.org/gitweb/quic/la/?p=platform/external/webkit.git;a=commit;h=b3a02a0942a0e2c44d23961382145fad6016b2ef Fix for context-attributes-alpha-depth-stencil-antialias Support for alpha, depth and stencil to fix WebGL Khronos 1.0.1 conformance test. Report back that antialiasing is not supported on our platform. https://www.codeaurora.org/gitweb/quic/la/?p=platform/external/webkit.git;a=commit;h=22e98195ac73e7e12a59d5b9a42dfc4e2252b475 WebGLRenderingContext should defer caching program info https://bugs.webkit.org/show_bug.cgi?id=83513 Reviewed by Kenneth Russell. * html/canvas/WebGLProgram.cpp: (WebCore::WebGLProgram::WebGLProgram): (WebCore::WebGLProgram::numActiveAttribLocations): call cacheInfoIfNeeded(); (WebCore::WebGLProgram::getActiveAttribLocation): Ditto. (WebCore::WebGLProgram::isUsingVertexAttrib0): Ditto. (WebCore::WebGLProgram::getLinkStatus): Ditto. (WebCore): (WebCore::WebGLProgram::cacheActiveAttribLocations): (WebCore::WebGLProgram::cacheInfoIfNeeded): Cache link status, active attire locations, etc if needed. (WebCore::WebGLProgram::increaseLinkCount): also invalidate cached info. * html/canvas/WebGLProgram.h: (WebGLProgram): * html/canvas/WebGLRenderingContext.cpp: (WebCore): (WebCore::WebGLRenderingContext::linkProgram): Do not cache program info immediately. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113915 268f45cc-cd09-0410-ab3c-d52691b4dbfc https://www.codeaurora.org/gitweb/quic/la/?p=platform/external/webkit.git;a=commit;h=66bc9c1b9eb5151b1b236199d0eeb17df0557b47 Runtime enablement of WebGL Hooks up with the Java side to enable/disable WebGL through the debug menu. https://www.codeaurora.org/gitweb/quic/la/?p=platform/external/webkit.git;a=commit;h=75aab57859de45a0aaec5a7cad41a12111e9a82e Support the usage of CORS for WebGL and the 2D canvas Factor CORS request preparation out of DocumentThreadableLoader https://bugs.webkit.org/show_bug.cgi?id=61209 2011-05-20 Adam Barth Reviewed by Alexey Proskuryakov. Factor CORS request preparation out of DocumentThreadableLoader https://bugs.webkit.org/show_bug.cgi?id=61209 DocumentThreadableLoader has two jobs: 1) Proxy loads between threads. 2) Run the CORS state machine. This patch begins the work of separating those concerns, allowing CORS to be used elsewhere in the loading pipeline. In particular, this patch moves knowledge of how to prepare CORS requests out of DocumentThreadableLoder. * loader/CrossOriginAccessControl.cpp: (WebCore::isOnAccessControlSimpleRequestHeaderWhitelist): (WebCore::updateRequestForAccessControl): (WebCore::createAccessControlPreflightRequest): * loader/CrossOriginAccessControl.h: * loader/DocumentThreadableLoader.cpp: (WebCore::DocumentThreadableLoader::DocumentThreadableLoader): (WebCore::DocumentThreadableLoader::makeSimpleCrossOriginAccessRequest): (WebCore::DocumentThreadableLoader::makeCrossOriginAccessRequestWithPreflight): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86980 268f45cc-cd09-0410-ab3c-d52691b4dbfc Add rel type prerender to distinguish prerender from prefetch https://bugs.webkit.org/show_bug.cgi?id=61079 2011-05-21 Gavin Peters Reviewed by Adam Barth. Add rel type prerender to distinguish prerender from prefetch https://bugs.webkit.org/show_bug.cgi?id=61079 Chrome right now uses for one of two things, to warm the cache in the same way as firefox, or to launch a speculative rendering of a web page, for faster "loading" when the user navigates to it. This new rel type will let us distinguish the two cases; the rel type prerender isn't used on the web today, but the Google Web Search example prerendering application is ready to experiment with it. * fast/dom/HTMLLinkElement/prerender-expected.txt: Added. * fast/dom/HTMLLinkElement/prerender.html: Added. * platform/gtk/Skipped: * platform/mac/Skipped: * platform/qt/Skipped: * platform/win/Skipped: 2011-05-21 Gavin Peters Reviewed by Adam Barth. Add rel type prerender to distinguish prerender from prefetch https://bugs.webkit.org/show_bug.cgi?id=61079 Chrome right now uses for one of two things, to warm the cache in the same way as firefox, or to launch a speculative rendering of a web page, for faster "loading" when the user navigates to it. This new rel type will let us distinguish the two cases; the rel type prerender isn't used on the web today, but the Google Web Search example prerendering application is ready to experiment with it. Test: fast/dom/HTMLLinkElement/prerender.html * html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::tokenizeRelAttribute): (WebCore::HTMLLinkElement::process): * html/HTMLLinkElement.h: (WebCore::HTMLLinkElement::RelAttribute::RelAttribute): * loader/cache/CachedResource.cpp: (WebCore::defaultPriorityForResourceType): * loader/cache/CachedResource.h: (WebCore::CachedResource::isLinkResource): * loader/cache/CachedResourceLoader.cpp: (WebCore::createResource): (WebCore::CachedResourceLoader::requestLinkResource): (WebCore::CachedResourceLoader::canRequest): * loader/cache/CachedResourceLoader.h: * loader/cache/CachedResourceRequest.cpp: (WebCore::cachedResourceTypeToTargetType): (WebCore::CachedResourceRequest::load): * platform/network/ResourceRequestBase.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87020 268f45cc-cd09-0410-ab3c-d52691b4dbfc Make CachedResource take a ResourceRequest instead of just a url string. 2011-05-24 Nate Chapin Reviewed by Adam Barth. Change CachedResources to take a ResourceRequest instead of a url in their constructors and provide a very minimal set of cases for avoiding reusing a CachedResource. The ResourceRequest part of this change requires pushing responsibility for calling Document::completeURL() to the caller, instead of CachedResourceLoader, since ResourceRequest ASSERTs if it is constructed with an invalid url. https://bugs.webkit.org/show_bug.cgi?id=61318 Refactor, no new tests. * css/CSSFontSelector.cpp: (WebCore::CSSFontSelector::addFontFaceRule): * css/CSSImageValue.cpp: (WebCore::CSSImageValue::cachedImage): * css/CSSImportRule.cpp: (WebCore::CSSImportRule::insertedIntoParent): * dom/ProcessingInstruction.cpp: (WebCore::ProcessingInstruction::checkStyleSheet): * dom/ScriptElement.cpp: (WebCore::ScriptElement::requestScript): * html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::process): * loader/ImageLoader.cpp: (WebCore::ImageLoader::updateFromElement): * loader/cache/CachedCSSStyleSheet.cpp: (WebCore::CachedCSSStyleSheet::CachedCSSStyleSheet): (WebCore::CachedCSSStyleSheet::didAddClient): (WebCore::CachedCSSStyleSheet::checkNotify): * loader/cache/CachedCSSStyleSheet.h: * loader/cache/CachedFont.cpp: (WebCore::CachedFont::CachedFont): * loader/cache/CachedFont.h: * loader/cache/CachedImage.cpp: (WebCore::CachedImage::CachedImage): (WebCore::CachedImage::checkShouldPaintBrokenImage): * loader/cache/CachedImage.h: * loader/cache/CachedResource.cpp: (WebCore::CachedResource::CachedResource): (WebCore::reuseRequest): (WebCore::CachedResource::allowReuseOfRequest): (WebCore::CachedResource::removeClient): (WebCore::CachedResource::canUseCacheValidator): * loader/cache/CachedResource.h: (WebCore::CachedResource::resourceRequest): (WebCore::CachedResource::url): * loader/cache/CachedResourceLoader.cpp: * loader/cache/CachedResourceLoader.h: * loader/cache/CachedResourceRequest.cpp: (WebCore::CachedResourceRequest::load): * loader/cache/CachedScript.cpp: (WebCore::CachedScript::CachedScript): * loader/cache/CachedScript.h: * loader/cache/CachedXSLStyleSheet.cpp: (WebCore::CachedXSLStyleSheet::CachedXSLStyleSheet): (WebCore::CachedXSLStyleSheet::didAddClient): (WebCore::CachedXSLStyleSheet::checkNotify): * loader/cache/CachedXSLStyleSheet.h: * svg/SVGFEImageElement.cpp: (WebCore::SVGFEImageElement::requestImageResource): * svg/SVGFontFaceUriElement.cpp: (WebCore::SVGFontFaceUriElement::loadFont): * xml/XSLImportRule.cpp: (WebCore::XSLImportRule::loadSheet): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87239 268f45cc-cd09-0410-ab3c-d52691b4dbfc Support cross-origin property for images 2011-05-26 Adam Barth Reviewed by Eric Seidel. Support cross-origin property for images https://bugs.webkit.org/show_bug.cgi?id=61015 Test various cases involving CORS requests and canvas tainting. * http/tests/security/canvas-remote-read-remote-image-allowed-expected.txt: Added. * http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials-expected.txt: Added. * http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials.html: Added. * http/tests/security/canvas-remote-read-remote-image-allowed.html: Added. * http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin-expected.txt: Added. * http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin.html: Added. * http/tests/security/resources/abe-allow-credentials.php: Added. * http/tests/security/resources/abe-allow-star.php: Added. 2011-05-26 Adam Barth Reviewed by Eric Seidel. Support cross-origin property for images https://bugs.webkit.org/show_bug.cgi?id=61015 This patch add support for the crossorigin attribute of images and teaches 2D canvas to respect that flag and not taint a canvas if the image drawn on the canvas is allowed by CORS. While I was editing this code, I couldn't resist a couple touch-up changes. Tests: http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials.html http/tests/security/canvas-remote-read-remote-image-allowed.html http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin.html * html/HTMLAttributeNames.in: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::securityOrigin): * html/HTMLCanvasElement.h: * html/HTMLImageElement.idl: * html/canvas/CanvasRenderingContext.cpp: (WebCore::CanvasRenderingContext::checkOrigin): * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::createPattern): * loader/ImageLoader.cpp: (WebCore::ImageLoader::updateFromElement): * loader/cache/CachedResource.cpp: (WebCore::CachedResource::passesAccessControlCheck): * loader/cache/CachedResource.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87473 268f45cc-cd09-0410-ab3c-d52691b4dbfc HTMLVideoElement::currentSrc() should return a KURL 2011-05-27 Adam Barth Reviewed by Eric Seidel. HTMLVideoElement::currentSrc() should return a KURL https://bugs.webkit.org/show_bug.cgi?id=61578 I suspect we got into this mess because the author of this code didn't know about the URL attribute in WebKit IDL, which is super useful! Bad news: The line of code in question seems to have another bug, which I've documented in a FIXME. Let the yak shaving continue! * html/HTMLMediaElement.cpp: (WebCore::urlForLogging): (WebCore::HTMLMediaElement::loadResource): (WebCore::HTMLMediaElement::isSafeToLoadURL): (WebCore::HTMLMediaElement::selectNextSourceChild): (WebCore::HTMLMediaElement::getPluginProxyParams): * html/HTMLMediaElement.h: (WebCore::HTMLMediaElement::currentSrc): (WebCore::HTMLMediaElement::currentURL): * html/canvas/CanvasRenderingContext.cpp: (WebCore::CanvasRenderingContext::checkOrigin): * rendering/HitTestResult.cpp: (WebCore::HitTestResult::absoluteMediaURL): - This complete URL call was unnecessary because currentSrc is already absolute. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87539 268f45cc-cd09-0410-ab3c-d52691b4dbfc Disallow use of cross-domain media (images, video) in WebGL 2011-06-09 Kenneth Russell Reviewed by Adam Barth. Disallow use of cross-domain media (images, video) in WebGL https://bugs.webkit.org/show_bug.cgi?id=62257 Updated WebGL implementation to track recent spec updates in this area. Tests: http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html http/tests/security/webgl-remote-read-remote-image-allowed.html http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html * html/canvas/CanvasRenderingContext.cpp: (WebCore::CanvasRenderingContext::wouldTaintOrigin): (WebCore::CanvasRenderingContext::checkOrigin): * html/canvas/CanvasRenderingContext.h: (WebCore::CanvasRenderingContext::checkOrigin): * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::readPixels): (WebCore::WebGLRenderingContext::texImage2D): (WebCore::WebGLRenderingContext::videoFrameToImage): (WebCore::WebGLRenderingContext::texSubImage2D): * html/canvas/WebGLRenderingContext.h: 2011-06-09 Kenneth Russell Reviewed by Adam Barth. Disallow use of cross-domain media (images, video) in WebGL https://bugs.webkit.org/show_bug.cgi?id=62257 Updated origin-clean-conformance.html to track upstream version in Khronos repository. Added new layout tests mirroring those added in bug 61015 which verify that new CORS support for images is working in the context of WebGL. Verified new tests in WebKit and Chromium. Skipped tests on platforms where WebGL is disabled. * http/tests/canvas/webgl/origin-clean-conformance-expected.txt: * http/tests/canvas/webgl/origin-clean-conformance.html: * http/tests/security/webgl-remote-read-remote-image-allowed-expected.txt: Added. * http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials-expected.txt: Added. * http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html: Added. * http/tests/security/webgl-remote-read-remote-image-allowed.html: Added. * http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt: Added. * http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html: Added. * platform/gtk/Skipped: * platform/mac-leopard/Skipped: * platform/mac-wk2/Skipped: * platform/qt/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88489 268f45cc-cd09-0410-ab3c-d52691b4dbfc https://www.codeaurora.org/gitweb/quic/la/?p=platform/external/webkit.git;a=commit;h=0ddd7c1d91c08fbee6c99b79fa9971a7ac914384 Runtime enablement of WebGL logs Allows enabling WebGL method level logging using: adb shell setprop debug.webgl 1 https://www.codeaurora.org/gitweb/quic/la/?p=platform/external/webkit.git;a=commit;h=307d4a2b5b20f2609497ceaea1eca2e29a8a781f Adding WebGL FPS timing to logs Samples WebGL average FPS every 15 frames and outputs to WebGL debug log. TODO: Add setting to browser debug settings that overlays FPS on web pages. Postpone deleteRenderbuffer/deleteTexture until all framebuffer attachment points are removed. https://bugs.webkit.org/show_bug.cgi?id=74741 Reviewed by Kenneth Russell. Source/WebCore: Use WebGLObject's attachment count mechanism to track if a renderbuffer/texture is still attached to framebuffers, and if its deletion should be delated or not. * html/canvas/WebGLFramebuffer.cpp: (WebCore::WebGLFramebuffer::setAttachmentForBoundFramebuffer): (WebCore::WebGLFramebuffer::getAttachment): (WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer): (WebCore::WebGLFramebuffer::deleteObjectImpl): (WebCore::WebGLFramebuffer::isBound): * html/canvas/WebGLFramebuffer.h: LayoutTests: * fast/canvas/webgl/object-deletion-behaviour-expected.txt: * fast/canvas/webgl/object-deletion-behaviour.html: synced with khronos side. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103272 268f45cc-cd09-0410-ab3c-d52691b4dbfc https://www.codeaurora.org/gitweb/quic/la/?p=platform/external/webkit.git;a=commit;h=9def386340c74f2a745fb041b1cb11daa30d1a82 ----------------------------------------------------------- (cherry-picked from commit 6d9d732ff06a6b265d02b18d7034068a68ef0fde) Conflicts: Android.mk Source/WebCore/ChangeLog Change-Id: I3bbf993fe5a3d6cea53e019c8fa3912ecd2bd429 --- Android.mk | 49 +- LayoutTests/ChangeLog | 98699 +++++++++++++++++++ .../webgl/object-deletion-behaviour-expected.txt | 322 + .../canvas/webgl/object-deletion-behaviour.html | 419 + .../webgl/origin-clean-conformance-expected.txt | 29 + .../canvas/webgl/origin-clean-conformance.html | 218 + ...s-remote-read-remote-image-allowed-expected.txt | 15 + ...ote-image-allowed-with-credentials-expected.txt | 15 + ...read-remote-image-allowed-with-credentials.html | 108 + .../canvas-remote-read-remote-image-allowed.html | 108 + ...emote-image-blocked-no-crossorigin-expected.txt | 15 + ...e-read-remote-image-blocked-no-crossorigin.html | 108 + .../security/resources/abe-allow-credentials.php | 12 + .../tests/security/resources/abe-allow-star.php | 11 + ...l-remote-read-remote-image-allowed-expected.txt | 13 + ...ote-image-allowed-with-credentials-expected.txt | 13 + ...read-remote-image-allowed-with-credentials.html | 101 + .../webgl-remote-read-remote-image-allowed.html | 101 + ...emote-image-blocked-no-crossorigin-expected.txt | 13 + ...e-read-remote-image-blocked-no-crossorigin.html | 103 + Source/JavaScriptCore/wtf/Platform.h | 4 + .../ANGLE/ANGLE.xcodeproj/project.pbxproj | 68 +- Source/ThirdParty/ANGLE/Android.mk | 77 + Source/ThirdParty/ANGLE/ChangeLog | 1725 + .../ThirdParty/ANGLE/Configurations/Base.xcconfig | 66 +- .../ANGLE/Configurations/CompilerVersion.xcconfig | 84 + .../ANGLE/Configurations/DebugRelease.xcconfig | 9 +- Source/ThirdParty/ANGLE/include/EGL/eglext.h | 142 +- Source/ThirdParty/ANGLE/include/EGL/eglplatform.h | 23 +- Source/ThirdParty/ANGLE/include/GLES2/gl2ext.h | 787 +- .../ThirdParty/ANGLE/include/GLSLANG/ShaderLang.h | 119 +- .../src/build_angle.xcodeproj/project.pbxproj | 450 +- .../ThirdParty/ANGLE/src/common/RefCountObject.cpp | 47 + .../ThirdParty/ANGLE/src/common/RefCountObject.h | 65 + Source/ThirdParty/ANGLE/src/common/debug.cpp | 147 +- Source/ThirdParty/ANGLE/src/common/debug.h | 78 +- Source/ThirdParty/ANGLE/src/common/version.h | 10 + Source/ThirdParty/ANGLE/src/compiler/BaseTypes.h | 5 + .../ANGLE/src/compiler/BuiltInFunctionEmulator.cpp | 437 + .../ANGLE/src/compiler/BuiltInFunctionEmulator.h | 103 + .../ThirdParty/ANGLE/src/compiler/CodeGenGLSL.cpp | 13 +- .../ThirdParty/ANGLE/src/compiler/CodeGenHLSL.cpp | 10 +- Source/ThirdParty/ANGLE/src/compiler/Compiler.cpp | 97 +- .../ThirdParty/ANGLE/src/compiler/ConstantUnion.h | 68 +- .../ANGLE/src/compiler/DetectRecursion.cpp | 125 + .../ANGLE/src/compiler/DetectRecursion.h | 60 + .../ANGLE/src/compiler/ExtensionBehavior.h | 19 +- .../ANGLE/src/compiler/ForLoopUnroll.cpp | 215 + .../ThirdParty/ANGLE/src/compiler/ForLoopUnroll.h | 48 + .../ThirdParty/ANGLE/src/compiler/Initialize.cpp | 54 +- .../ThirdParty/ANGLE/src/compiler/Intermediate.cpp | 10 +- .../ANGLE/src/compiler/MapLongVariableNames.cpp | 120 + .../ANGLE/src/compiler/MapLongVariableNames.h | 60 + .../ThirdParty/ANGLE/src/compiler/OutputESSL.cpp | 22 + Source/ThirdParty/ANGLE/src/compiler/OutputESSL.h | 22 + .../ThirdParty/ANGLE/src/compiler/OutputGLSL.cpp | 679 +- Source/ThirdParty/ANGLE/src/compiler/OutputGLSL.h | 36 +- .../ANGLE/src/compiler/OutputGLSLBase.cpp | 720 + .../ThirdParty/ANGLE/src/compiler/OutputGLSLBase.h | 54 + .../ThirdParty/ANGLE/src/compiler/OutputHLSL.cpp | 421 +- Source/ThirdParty/ANGLE/src/compiler/OutputHLSL.h | 23 +- .../ThirdParty/ANGLE/src/compiler/ParseHelper.cpp | 76 +- Source/ThirdParty/ANGLE/src/compiler/ParseHelper.h | 61 +- Source/ThirdParty/ANGLE/src/compiler/PoolAlloc.cpp | 11 +- Source/ThirdParty/ANGLE/src/compiler/PoolAlloc.h | 20 +- Source/ThirdParty/ANGLE/src/compiler/ShHandle.h | 23 +- .../ThirdParty/ANGLE/src/compiler/ShaderLang.cpp | 69 +- .../ThirdParty/ANGLE/src/compiler/SymbolTable.cpp | 20 + Source/ThirdParty/ANGLE/src/compiler/SymbolTable.h | 6 + .../ANGLE/src/compiler/TranslatorESSL.cpp | 40 + .../ThirdParty/ANGLE/src/compiler/TranslatorESSL.h | 23 + .../ANGLE/src/compiler/TranslatorGLSL.cpp | 4 + Source/ThirdParty/ANGLE/src/compiler/Types.h | 26 +- .../ThirdParty/ANGLE/src/compiler/UnfoldSelect.cpp | 47 +- .../ThirdParty/ANGLE/src/compiler/UnfoldSelect.h | 3 +- .../ANGLE/src/compiler/ValidateLimitations.cpp | 93 +- .../ANGLE/src/compiler/ValidateLimitations.h | 5 +- .../ThirdParty/ANGLE/src/compiler/VariableInfo.cpp | 24 +- .../ThirdParty/ANGLE/src/compiler/VariableInfo.h | 9 +- .../ThirdParty/ANGLE/src/compiler/VersionGLSL.cpp | 35 +- Source/ThirdParty/ANGLE/src/compiler/VersionGLSL.h | 6 +- .../ANGLE/src/compiler/generate_parser.sh | 27 + Source/ThirdParty/ANGLE/src/compiler/glslang.l | 20 +- Source/ThirdParty/ANGLE/src/compiler/glslang.y | 185 +- .../ThirdParty/ANGLE/src/compiler/glslang_lex.cpp | 744 +- .../ThirdParty/ANGLE/src/compiler/glslang_tab.cpp | 1503 +- Source/ThirdParty/ANGLE/src/compiler/glslang_tab.h | 210 +- Source/ThirdParty/ANGLE/src/compiler/intermOut.cpp | 2 + .../ThirdParty/ANGLE/src/compiler/intermediate.h | 43 +- Source/ThirdParty/ANGLE/src/compiler/osinclude.h | 3 +- .../ANGLE/src/compiler/preprocessor/atom.c | 5 +- .../ANGLE/src/compiler/preprocessor/compile.h | 3 +- .../ANGLE/src/compiler/preprocessor/cpp.c | 109 +- .../ANGLE/src/compiler/preprocessor/cppstruct.c | 12 +- .../src/compiler/preprocessor/length_limits.h | 21 + .../ANGLE/src/compiler/preprocessor/memory.c | 4 + .../src/compiler/preprocessor/new/Context.cpp | 139 + .../ANGLE/src/compiler/preprocessor/new/Context.h | 60 + .../ANGLE/src/compiler/preprocessor/new/Input.cpp | 165 + .../ANGLE/src/compiler/preprocessor/new/Input.h | 74 + .../ANGLE/src/compiler/preprocessor/new/Macro.cpp | 45 + .../ANGLE/src/compiler/preprocessor/new/Macro.h | 51 + .../src/compiler/preprocessor/new/Preprocessor.cpp | 53 + .../src/compiler/preprocessor/new/Preprocessor.h | 42 + .../ANGLE/src/compiler/preprocessor/new/Token.cpp | 55 + .../ANGLE/src/compiler/preprocessor/new/Token.h | 48 + .../compiler/preprocessor/new/generate_parser.sh | 27 + .../ANGLE/src/compiler/preprocessor/new/pp.l | 181 + .../ANGLE/src/compiler/preprocessor/new/pp.y | 225 + .../ANGLE/src/compiler/preprocessor/new/pp_lex.cpp | 2268 + .../ANGLE/src/compiler/preprocessor/new/pp_tab.cpp | 2072 + .../ANGLE/src/compiler/preprocessor/new/pp_tab.h | 119 + .../src/compiler/preprocessor/new/stl_utils.h | 29 + .../src/compiler/preprocessor/new/token_type.h | 13 + .../ANGLE/src/compiler/preprocessor/scanner.c | 15 +- .../ANGLE/src/compiler/preprocessor/scanner.h | 5 +- .../ANGLE/src/compiler/preprocessor/symbols.c | 4 + .../ANGLE/src/compiler/preprocessor/tokens.c | 5 + Source/ThirdParty/ANGLE/src/libEGL/Config.cpp | 41 +- Source/ThirdParty/ANGLE/src/libEGL/Config.h | 6 +- Source/ThirdParty/ANGLE/src/libEGL/Display.cpp | 721 +- Source/ThirdParty/ANGLE/src/libEGL/Display.h | 59 +- Source/ThirdParty/ANGLE/src/libEGL/Surface.cpp | 596 +- Source/ThirdParty/ANGLE/src/libEGL/Surface.h | 48 +- Source/ThirdParty/ANGLE/src/libEGL/libEGL.cpp | 453 +- Source/ThirdParty/ANGLE/src/libEGL/libEGL.rc | 102 + Source/ThirdParty/ANGLE/src/libEGL/libEGL.vcproj | 195 +- Source/ThirdParty/ANGLE/src/libEGL/main.cpp | 20 +- Source/ThirdParty/ANGLE/src/libEGL/main.h | 1 + Source/ThirdParty/ANGLE/src/libEGL/resource.h | 14 + Source/ThirdParty/ANGLE/src/libGLESv2/Blit.cpp | 57 +- Source/ThirdParty/ANGLE/src/libGLESv2/Blit.h | 4 + Source/ThirdParty/ANGLE/src/libGLESv2/Buffer.cpp | 65 +- Source/ThirdParty/ANGLE/src/libGLESv2/Buffer.h | 14 +- Source/ThirdParty/ANGLE/src/libGLESv2/Context.cpp | 1926 +- Source/ThirdParty/ANGLE/src/libGLESv2/Context.h | 217 +- Source/ThirdParty/ANGLE/src/libGLESv2/Fence.cpp | 26 +- Source/ThirdParty/ANGLE/src/libGLESv2/Fence.h | 8 +- .../ThirdParty/ANGLE/src/libGLESv2/Framebuffer.cpp | 108 +- .../ThirdParty/ANGLE/src/libGLESv2/Framebuffer.h | 11 +- .../ANGLE/src/libGLESv2/HandleAllocator.cpp | 63 + .../ANGLE/src/libGLESv2/HandleAllocator.h | 45 + .../ANGLE/src/libGLESv2/IndexDataManager.cpp | 473 + .../ANGLE/src/libGLESv2/IndexDataManager.h | 149 + Source/ThirdParty/ANGLE/src/libGLESv2/Program.cpp | 1447 +- Source/ThirdParty/ANGLE/src/libGLESv2/Program.h | 95 +- Source/ThirdParty/ANGLE/src/libGLESv2/Query.cpp | 128 + Source/ThirdParty/ANGLE/src/libGLESv2/Query.h | 48 + .../ANGLE/src/libGLESv2/Renderbuffer.cpp | 440 +- .../ThirdParty/ANGLE/src/libGLESv2/Renderbuffer.h | 176 +- .../ANGLE/src/libGLESv2/ResourceManager.cpp | 46 +- .../ANGLE/src/libGLESv2/ResourceManager.h | 34 +- Source/ThirdParty/ANGLE/src/libGLESv2/Shader.cpp | 177 +- Source/ThirdParty/ANGLE/src/libGLESv2/Shader.h | 45 +- Source/ThirdParty/ANGLE/src/libGLESv2/Texture.cpp | 2967 +- Source/ThirdParty/ANGLE/src/libGLESv2/Texture.h | 452 +- .../ANGLE/src/libGLESv2/VertexDataManager.cpp | 782 + .../ANGLE/src/libGLESv2/VertexDataManager.h | 169 + .../ThirdParty/ANGLE/src/libGLESv2/libGLESv2.cpp | 1840 +- .../ThirdParty/ANGLE/src/libGLESv2/libGLESv2.def | 19 +- Source/ThirdParty/ANGLE/src/libGLESv2/libGLESv2.rc | 102 + .../ANGLE/src/libGLESv2/libGLESv2.vcproj | 258 +- Source/ThirdParty/ANGLE/src/libGLESv2/main.cpp | 43 +- Source/ThirdParty/ANGLE/src/libGLESv2/main.h | 3 + Source/ThirdParty/ANGLE/src/libGLESv2/mathutil.h | 55 +- Source/ThirdParty/ANGLE/src/libGLESv2/resource.h | 14 + .../ThirdParty/ANGLE/src/libGLESv2/utilities.cpp | 398 +- Source/ThirdParty/ANGLE/src/libGLESv2/utilities.h | 47 +- .../ANGLE/src/libGLESv2/vertexconversion.h | 208 + Source/WebCore/Android.derived.v8bindings.mk | 10 + Source/WebCore/Android.mk | 39 +- Source/WebCore/Android.v8bindings.mk | 8 + Source/WebCore/ChangeLog | 155 + .../bindings/v8/custom/V8ArrayBufferViewCustom.h | 10 +- .../v8/custom/V8Uint8ClampedArrayCustom.cpp | 67 + .../v8/custom/V8WebGLRenderingContextCustom.cpp | 3 + Source/WebCore/css/CSSFontSelector.cpp | 3 +- Source/WebCore/css/CSSImageValue.cpp | 4 +- Source/WebCore/css/CSSImportRule.cpp | 5 +- Source/WebCore/dom/Document.cpp | 31 + Source/WebCore/dom/Document.h | 17 + Source/WebCore/dom/Element.h | 7 + Source/WebCore/dom/ProcessingInstruction.cpp | 5 +- Source/WebCore/dom/ScriptElement.cpp | 3 +- Source/WebCore/history/PageCache.cpp | 4 + Source/WebCore/html/HTMLAttributeNames.in | 1 + Source/WebCore/html/HTMLCanvasElement.cpp | 55 +- Source/WebCore/html/HTMLCanvasElement.h | 11 +- Source/WebCore/html/HTMLImageElement.idl | 3 +- Source/WebCore/html/HTMLLinkElement.cpp | 39 +- Source/WebCore/html/HTMLLinkElement.h | 2 + Source/WebCore/html/HTMLMediaElement.cpp | 39 +- Source/WebCore/html/HTMLMediaElement.h | 6 +- Source/WebCore/html/HTMLMediaElement.idl | 2 +- Source/WebCore/html/canvas/ArrayBuffer.cpp | 38 +- Source/WebCore/html/canvas/ArrayBuffer.h | 10 +- Source/WebCore/html/canvas/ArrayBuffer.idl | 3 + Source/WebCore/html/canvas/ArrayBufferView.h | 2 + .../WebCore/html/canvas/CanvasRenderingContext.cpp | 63 +- .../WebCore/html/canvas/CanvasRenderingContext.h | 21 +- .../html/canvas/CanvasRenderingContext2D.cpp | 10 +- Source/WebCore/html/canvas/Uint8Array.h | 3 +- Source/WebCore/html/canvas/Uint8ClampedArray.cpp | 73 + Source/WebCore/html/canvas/Uint8ClampedArray.h | 64 + Source/WebCore/html/canvas/Uint8ClampedArray.idl | 49 + Source/WebCore/html/canvas/WebGLFramebuffer.cpp | 210 +- Source/WebCore/html/canvas/WebGLFramebuffer.h | 21 +- Source/WebCore/html/canvas/WebGLGetInfo.cpp | 17 + Source/WebCore/html/canvas/WebGLGetInfo.h | 6 + Source/WebCore/html/canvas/WebGLProgram.cpp | 84 +- Source/WebCore/html/canvas/WebGLProgram.h | 21 +- .../WebCore/html/canvas/WebGLRenderingContext.cpp | 434 +- Source/WebCore/html/canvas/WebGLRenderingContext.h | 54 +- .../WebCore/html/canvas/WebGLRenderingContext.idl | 31 +- Source/WebCore/html/canvas/WebKitLoseContext.cpp | 9 +- Source/WebCore/html/canvas/WebKitLoseContext.h | 2 + Source/WebCore/html/canvas/WebKitLoseContext.idl | 2 + Source/WebCore/html/parser/CSSPreloadScanner.cpp | 6 +- Source/WebCore/html/parser/HTMLPreloadScanner.cpp | 7 +- Source/WebCore/loader/CrossOriginAccessControl.cpp | 41 +- Source/WebCore/loader/CrossOriginAccessControl.h | 20 +- Source/WebCore/loader/DocumentThreadableLoader.cpp | 38 +- Source/WebCore/loader/ImageLoader.cpp | 13 +- .../WebCore/loader/cache/CachedCSSStyleSheet.cpp | 8 +- Source/WebCore/loader/cache/CachedCSSStyleSheet.h | 2 +- Source/WebCore/loader/cache/CachedFont.cpp | 4 +- Source/WebCore/loader/cache/CachedFont.h | 2 +- Source/WebCore/loader/cache/CachedImage.cpp | 10 +- Source/WebCore/loader/cache/CachedImage.h | 2 +- Source/WebCore/loader/cache/CachedResource.cpp | 17 +- Source/WebCore/loader/cache/CachedResource.h | 49 +- .../WebCore/loader/cache/CachedResourceLoader.cpp | 195 +- Source/WebCore/loader/cache/CachedResourceLoader.h | 24 +- .../WebCore/loader/cache/CachedResourceRequest.cpp | 25 +- Source/WebCore/loader/cache/CachedScript.cpp | 4 +- Source/WebCore/loader/cache/CachedScript.h | 2 +- .../WebCore/loader/cache/CachedXSLStyleSheet.cpp | 8 +- Source/WebCore/loader/cache/CachedXSLStyleSheet.h | 2 +- Source/WebCore/loader/cache/MemoryCache.cpp | 4 +- Source/WebCore/page/DOMWindow.idl | 2 + .../platform/graphics/ANGLEWebKitBridge.cpp | 12 +- .../WebCore/platform/graphics/ANGLEWebKitBridge.h | 3 +- .../platform/graphics/GraphicsContext3D.cpp | 9 +- .../WebCore/platform/graphics/GraphicsContext3D.h | 30 +- Source/WebCore/platform/graphics/ImageBuffer.h | 9 +- .../graphics/android/Extensions3DAndroid.cpp | 102 + .../graphics/android/Extensions3DAndroid.h | 64 + .../graphics/android/GraphicsContext3DAndroid.cpp | 1368 + .../graphics/android/GraphicsContext3DInternal.cpp | 1104 + .../graphics/android/GraphicsContext3DInternal.h | 221 + .../graphics/android/GraphicsContext3DProxy.cpp | 98 + .../graphics/android/GraphicsContext3DProxy.h | 64 + .../graphics/android/GraphicsLayerAndroid.cpp | 34 + .../graphics/android/GraphicsLayerAndroid.h | 14 + .../graphics/android/ImageBufferAndroid.cpp | 35 +- .../platform/graphics/android/WebGLLayer.cpp | 85 + .../WebCore/platform/graphics/android/WebGLLayer.h | 61 + .../graphics/android/layers/LayerAndroid.cpp | 14 +- .../graphics/android/layers/LayerAndroid.h | 1 + .../graphics/android/layers/VideoLayerManager.h | 2 +- .../platform/image-decoders/ImageDecoder.cpp | 8 +- .../WebCore/platform/network/ResourceRequestBase.h | 1 + .../platform/network/android/ResourceRequest.h | 1 - Source/WebCore/rendering/HitTestResult.cpp | 2 +- Source/WebCore/rendering/RenderLayerBacking.cpp | 124 +- Source/WebCore/rendering/RenderLayerCompositor.cpp | 10 +- Source/WebCore/svg/SVGFEImageElement.cpp | 3 +- Source/WebCore/svg/SVGFontFaceUriElement.cpp | 3 +- Source/WebCore/xml/XSLImportRule.cpp | 4 +- Source/WebKit/android/jni/WebSettings.cpp | 30 +- Source/WebKit/android/jni/WebViewCore.cpp | 21 + 271 files changed, 130353 insertions(+), 7821 deletions(-) create mode 100644 LayoutTests/ChangeLog create mode 100644 LayoutTests/fast/canvas/webgl/object-deletion-behaviour-expected.txt create mode 100644 LayoutTests/fast/canvas/webgl/object-deletion-behaviour.html create mode 100644 LayoutTests/http/tests/canvas/webgl/origin-clean-conformance-expected.txt create mode 100644 LayoutTests/http/tests/canvas/webgl/origin-clean-conformance.html create mode 100644 LayoutTests/http/tests/security/canvas-remote-read-remote-image-allowed-expected.txt create mode 100644 LayoutTests/http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials-expected.txt create mode 100644 LayoutTests/http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials.html create mode 100644 LayoutTests/http/tests/security/canvas-remote-read-remote-image-allowed.html create mode 100644 LayoutTests/http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin-expected.txt create mode 100644 LayoutTests/http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin.html create mode 100644 LayoutTests/http/tests/security/resources/abe-allow-credentials.php create mode 100644 LayoutTests/http/tests/security/resources/abe-allow-star.php create mode 100644 LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-expected.txt create mode 100644 LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials-expected.txt create mode 100644 LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html create mode 100644 LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed.html create mode 100644 LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt create mode 100644 LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html create mode 100644 Source/ThirdParty/ANGLE/Android.mk create mode 100644 Source/ThirdParty/ANGLE/Configurations/CompilerVersion.xcconfig create mode 100644 Source/ThirdParty/ANGLE/src/common/RefCountObject.cpp create mode 100644 Source/ThirdParty/ANGLE/src/common/RefCountObject.h create mode 100644 Source/ThirdParty/ANGLE/src/common/version.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/BuiltInFunctionEmulator.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/BuiltInFunctionEmulator.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/DetectRecursion.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/DetectRecursion.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/ForLoopUnroll.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/ForLoopUnroll.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/MapLongVariableNames.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/MapLongVariableNames.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/OutputESSL.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/OutputESSL.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/OutputGLSLBase.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/OutputGLSLBase.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/TranslatorESSL.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/TranslatorESSL.h create mode 100755 Source/ThirdParty/ANGLE/src/compiler/generate_parser.sh create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/length_limits.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/Context.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/Context.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/Input.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/Input.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/Macro.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/Macro.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/Preprocessor.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/Preprocessor.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/Token.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/Token.h create mode 100755 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/generate_parser.sh create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/pp.l create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/pp.y create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/pp_lex.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/pp_tab.cpp create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/pp_tab.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/stl_utils.h create mode 100644 Source/ThirdParty/ANGLE/src/compiler/preprocessor/new/token_type.h create mode 100644 Source/ThirdParty/ANGLE/src/libEGL/libEGL.rc create mode 100644 Source/ThirdParty/ANGLE/src/libEGL/resource.h create mode 100644 Source/ThirdParty/ANGLE/src/libGLESv2/HandleAllocator.cpp create mode 100644 Source/ThirdParty/ANGLE/src/libGLESv2/HandleAllocator.h create mode 100644 Source/ThirdParty/ANGLE/src/libGLESv2/IndexDataManager.cpp create mode 100644 Source/ThirdParty/ANGLE/src/libGLESv2/IndexDataManager.h create mode 100644 Source/ThirdParty/ANGLE/src/libGLESv2/Query.cpp create mode 100644 Source/ThirdParty/ANGLE/src/libGLESv2/Query.h create mode 100644 Source/ThirdParty/ANGLE/src/libGLESv2/VertexDataManager.cpp create mode 100644 Source/ThirdParty/ANGLE/src/libGLESv2/VertexDataManager.h create mode 100644 Source/ThirdParty/ANGLE/src/libGLESv2/libGLESv2.rc create mode 100644 Source/ThirdParty/ANGLE/src/libGLESv2/resource.h create mode 100644 Source/ThirdParty/ANGLE/src/libGLESv2/vertexconversion.h create mode 100644 Source/WebCore/bindings/v8/custom/V8Uint8ClampedArrayCustom.cpp create mode 100644 Source/WebCore/html/canvas/Uint8ClampedArray.cpp create mode 100644 Source/WebCore/html/canvas/Uint8ClampedArray.h create mode 100644 Source/WebCore/html/canvas/Uint8ClampedArray.idl create mode 100644 Source/WebCore/platform/graphics/android/Extensions3DAndroid.cpp create mode 100644 Source/WebCore/platform/graphics/android/Extensions3DAndroid.h create mode 100644 Source/WebCore/platform/graphics/android/GraphicsContext3DAndroid.cpp create mode 100644 Source/WebCore/platform/graphics/android/GraphicsContext3DInternal.cpp create mode 100644 Source/WebCore/platform/graphics/android/GraphicsContext3DInternal.h create mode 100644 Source/WebCore/platform/graphics/android/GraphicsContext3DProxy.cpp create mode 100644 Source/WebCore/platform/graphics/android/GraphicsContext3DProxy.h create mode 100644 Source/WebCore/platform/graphics/android/WebGLLayer.cpp create mode 100644 Source/WebCore/platform/graphics/android/WebGLLayer.h diff --git a/Android.mk b/Android.mk index ecff19e..59fd131 100644 --- a/Android.mk +++ b/Android.mk @@ -23,6 +23,11 @@ ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## +# Control WebGL compiling in webkit. +ifneq ($(ENABLE_WEBGL),true) + ENABLE_WEBGL = false +endif + # Control SVG compiling in webkit. # Default is true unless explictly disabled. ifneq ($(ENABLE_SVG),false) @@ -92,6 +97,14 @@ LOCAL_C_INCLUDES := \ frameworks/base/core/jni/android/graphics \ frameworks/base/include +LOCAL_C_INCLUDES += external/libpng \ + external/zlib + +ifeq ($(ENABLE_WEBGL),true) +LOCAL_C_INCLUDES += frameworks/native/include/gui \ + frameworks/native/include/private/gui +endif + # Add Source/ for the include of from WebCore/config.h LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \ $(SOURCE_PATH) @@ -144,6 +157,7 @@ LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \ $(WEBCORE_PATH)/platform/image-decoders/jpeg \ $(WEBCORE_PATH)/platform/image-decoders/png \ $(WEBCORE_PATH)/platform/image-decoders/webp \ + $(WEBCORE_PATH)/platform/image-encoders/skia \ $(WEBCORE_PATH)/platform/mock \ $(WEBCORE_PATH)/platform/network \ $(WEBCORE_PATH)/platform/network/android \ @@ -200,6 +214,10 @@ LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \ LOCAL_CFLAGS += -DWEBKIT_IMPLEMENTATION=1 +# Needed for ANGLE +LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \ + $(SOURCE_PATH)/ThirdParty/ANGLE/include/GLSLANG + # Include WTF source file. d := Source/JavaScriptCore LOCAL_PATH := $(BASE_PATH)/$d @@ -278,6 +296,12 @@ ifeq ($(ENABLE_WTF_USE_ACCELERATED_COMPOSITING),true) LOCAL_CFLAGS += -DWTF_USE_ACCELERATED_COMPOSITING=1 endif +LOCAL_CFLAGS += -DENABLE_REQUEST_ANIMATION_FRAME=1 + +ifeq ($(ENABLE_WEBGL),true) +LOCAL_CFLAGS += -DENABLE_WEBGL +endif + # LOCAL_LDLIBS is used in simulator builds only and simulator builds are only # valid on Linux LOCAL_LDLIBS += -lpthread -ldl @@ -318,13 +342,17 @@ ifeq ($(SUPPORT_COMPLEX_SCRIPTS),true) LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \ external/harfbuzz/src \ external/harfbuzz/contrib -LOCAL_SHARED_LIBRARIES += libharfbuzz +LOCAL_SHARED_LIBRARIES += libharfbuzz libjpeg LOCAL_CFLAGS += -DSUPPORT_COMPLEX_SCRIPTS=1 endif # Build the list of static libraries LOCAL_STATIC_LIBRARIES := libxml2 libxslt libhyphenation libskiagpu libv8 +ifeq ($(ENABLE_WEBGL),true) +LOCAL_STATIC_LIBRARIES += libpng +endif + ifeq ($(ENABLE_AUTOFILL),true) LOCAL_SHARED_LIBRARIES += libexpat endif @@ -349,6 +377,24 @@ endif # Build the library all at once include $(BUILD_STATIC_LIBRARY) +# Build ANGLE as a static library. +include $(CLEAR_VARS) +LOCAL_MODULE := libangle +LOCAL_MODULE_CLASS := STATIC_LIBRARIES +LOCAL_MODULE_TAGS := optional +ANGLE_PATH := $(SOURCE_PATH)/ThirdParty/ANGLE +LOCAL_SHARED_LIBRARIES := $(WEBKIT_SHARED_LIBRARIES) +include $(ANGLE_PATH)/Android.mk +# Redefine LOCAL_SRC_FILES with the correct prefix +LOCAL_SRC_FILES := $(addprefix Source/ThirdParty/ANGLE/src/compiler/,$(LOCAL_SRC_FILES)) +# Append angle intermediate include paths to the WebKit include list. +LOCAL_C_INCLUDES := $(WEBKIT_C_INCLUDES) \ + $(ANGLE_PATH)/include \ + $(ANGLE_PATH)/src +LOCAL_CFLAGS += -Wno-error=non-virtual-dtor +# Build libangle +include $(BUILD_STATIC_LIBRARY) + # Now build the shared library using only the exported jni entry point. This # will strip out any unused code from the entry point. include $(CLEAR_VARS) @@ -360,6 +406,7 @@ LOCAL_MODULE := libwebcore LOCAL_LDLIBS := $(WEBKIT_LDLIBS) LOCAL_SHARED_LIBRARIES := $(WEBKIT_SHARED_LIBRARIES) LOCAL_STATIC_LIBRARIES := libwebcore $(WEBKIT_STATIC_LIBRARIES) +LOCAL_STATIC_LIBRARIES += libangle LOCAL_LDFLAGS := -fvisibility=hidden LOCAL_CFLAGS := $(WEBKIT_CFLAGS) LOCAL_CPPFLAGS := $(WEBKIT_CPPFLAGS) diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog new file mode 100644 index 0000000..1956b6e --- /dev/null +++ b/LayoutTests/ChangeLog @@ -0,0 +1,98699 @@ +2011-12-16 Zhenyao Mo + + Postpone deleteRenderbuffer/deleteTexture until all framebuffer attachment points are removed. + https://bugs.webkit.org/show_bug.cgi?id=74741 + + Reviewed by Kenneth Russell. + + * fast/canvas/webgl/object-deletion-behaviour-expected.txt: + * fast/canvas/webgl/object-deletion-behaviour.html: synced with khronos side. + +2011-12-19 Adrienne Walker + + [chromium] Rebaseline table-cell-collapsed-border after r103251. + + Unreviewed gardening. + + mwenge asked for this test to be rebaselined. Also, marking a failing + border-conflict-element-001d failure on CG only as WONTFIX, as + Chromium's CG configurations are going away soon. + + * platform/chromium-cg-mac-leopard/fast/repaint/table-cell-collapsed-border-expected.png: + * platform/chromium-cg-mac-snowleopard/fast/repaint/table-cell-collapsed-border-expected.png: + * platform/chromium-linux/fast/repaint/table-cell-collapsed-border-expected.png: + * platform/chromium-mac-leopard/fast/repaint/table-cell-collapsed-border-expected.png: + * platform/chromium-mac-snowleopard/fast/repaint/table-cell-collapsed-border-expected.png: + * platform/chromium-win/fast/repaint/table-cell-collapsed-border-expected.png: + * platform/chromium/test_expectations.txt: + +2011-12-19 Tony Chang + + [chromium] Unreviewed, according to the flakiness dashboard, + fast/body-propagation/overflow/003-xhtml.xhtml consistently passes. + + * platform/chromium/test_expectations.txt: + +2011-12-19 Csaba Osztrogonác + + [Qt] Unreviewed gardening. + + * platform/qt-wk2/Skipped: Unskip now passing tests. + +2011-12-19 Tony Chang + + [chromium] Unreviewed, according to the flakiness dashboard, + http/tests/security/mixedContent/insecure-css-in-main-frame.html + consistently passes. + + * platform/chromium/test_expectations.txt: + +2011-12-19 Adrienne Walker + + [chromium] Mark all the media-controller-playback tests as failing. + + Unreviewed gardening. + + * platform/chromium/test_expectations.txt: + +2011-12-19 Adrienne Walker + + [chromium] Mark unreachable-overflow-rtl-bug as failing after r103245. + https://bugs.webkit.org/show_bug.cgi?id=74881 + + Unreviewed gardening. + + Also, make expectation file pass linting. + + * platform/chromium/test_expectations.txt: + +2011-12-19 Robert Hogan + + Update suppressions for r103251 + + Unreviewed, expectaions update - missed suppressing a few of the border conflict tests that need rebaselining. + + * platform/chromium/test_expectations.txt: + * platform/gtk/test_expectations.txt: + * platform/mac/test_expectations.txt: + * platform/qt/test_expectations.txt: + +2011-12-04 Robert Hogan + + CSS 2.1 failure: border-conflict-element-* + https://bugs.webkit.org/show_bug.cgi?id=71244 + + Reviewed by Darin Adler. + + Add all the passing border-conflict-element* tests from the CSS 2.1 test suite. + + Add a corrected version of the CSS suite test border-conflict-element-002.htm, which can sit here until + the corrected version is landed upstream. See http://lists.w3.org/Archives/Public/public-css-testsuite/2011Nov/0002.html + + Rebaseline all t170602-bdr-conflct-w-* tests. The rendering of the collapsed borders in these + tests now obeys the order of precedence for the position of the cell and the precendece of the position + of the borders within the same cell. + + Rebaseline two border-conflict-style-* tests: ditto + + Rebaseline fast/borders/border-antialiasing.html, the result is too small to confirm the difference but + presume it is one of the above. + + Rebaseline floating-replaced-height-008.html as the support file it uses is added by this patch (in order to + support border-conflict-element-001d.htm). + + * css2.1/20110323/border-conflict-element-001-expected.html: Added. + * css2.1/20110323/border-conflict-element-001.htm: Added. + * css2.1/20110323/border-conflict-element-001d-expected.html: Added. + * css2.1/20110323/border-conflict-element-001d.htm: Added. + * css2.1/20110323/border-conflict-element-003-expected.html: Added. + * css2.1/20110323/border-conflict-element-003.htm: Added. + * css2.1/20110323/border-conflict-element-004-expected.html: Added. + * css2.1/20110323/border-conflict-element-004.htm: Added. + * css2.1/20110323/border-conflict-element-005-expected.html: Added. + * css2.1/20110323/border-conflict-element-005.htm: Added. + * css2.1/20110323/border-conflict-element-006-expected.html: Added. + * css2.1/20110323/border-conflict-element-006.htm: Added. + * css2.1/20110323/border-conflict-element-007-expected.html: Added. + * css2.1/20110323/border-conflict-element-007.htm: Added. + * css2.1/20110323/border-conflict-element-008-expected.html: Added. + * css2.1/20110323/border-conflict-element-008.htm: Added. + * css2.1/20110323/border-conflict-element-009-expected.html: Added. + * css2.1/20110323/border-conflict-element-009.htm: Added. + * css2.1/20110323/border-conflict-element-010-expected.html: Added. + * css2.1/20110323/border-conflict-element-010.htm: Added. + * css2.1/20110323/border-conflict-element-011-expected.html: Added. + * css2.1/20110323/border-conflict-element-011.htm: Added. + * css2.1/20110323/border-conflict-element-012-expected.html: Added. + * css2.1/20110323/border-conflict-element-012.htm: Added. + * css2.1/20110323/border-conflict-element-013-expected.html: Added. + * css2.1/20110323/border-conflict-element-013.htm: Added. + * css2.1/20110323/border-conflict-element-014-expected.html: Added. + * css2.1/20110323/border-conflict-element-014.htm: Added. + * css2.1/20110323/border-conflict-element-015-expected.html: Added. + * css2.1/20110323/border-conflict-element-015.htm: Added. + * css2.1/20110323/border-conflict-element-016-expected.html: Added. + * css2.1/20110323/border-conflict-element-016.htm: Added. + * css2.1/20110323/border-conflict-element-017-expected.html: Added. + * css2.1/20110323/border-conflict-element-017.htm: Added. + * css2.1/20110323/border-conflict-element-018-expected.html: Added. + * css2.1/20110323/border-conflict-element-018.htm: Added. + * css2.1/20110323/border-conflict-element-019-expected.html: Added. + * css2.1/20110323/border-conflict-element-019.htm: Added. + * css2.1/20110323/border-conflict-element-020-expected.html: Added. + * css2.1/20110323/border-conflict-element-020.htm: Added. + * css2.1/20110323/border-conflict-element-021-expected.html: Added. + * css2.1/20110323/border-conflict-element-021.htm: Added. + * css2.1/20110323/border-conflict-element-022-expected.html: Added. + * css2.1/20110323/border-conflict-element-022.htm: Added. + * css2.1/20110323/border-conflict-element-023-expected.html: Added. + * css2.1/20110323/border-conflict-element-023.htm: Added. + * css2.1/20110323/border-conflict-element-024-expected.html: Added. + * css2.1/20110323/border-conflict-element-024.htm: Added. + * css2.1/20110323/border-conflict-element-025-expected.html: Added. + * css2.1/20110323/border-conflict-element-025.htm: Added. + * css2.1/20110323/border-conflict-element-026-expected.html: Added. + * css2.1/20110323/border-conflict-element-026.htm: Added. + * css2.1/20110323/border-conflict-element-027-expected.html: Added. + * css2.1/20110323/border-conflict-element-027.htm: Added. + * css2.1/20110323/border-conflict-element-028-expected.html: Added. + * css2.1/20110323/border-conflict-element-028.htm: Added. + * css2.1/20110323/border-conflict-element-029-expected.html: Added. + * css2.1/20110323/border-conflict-element-029.htm: Added. + * css2.1/20110323/border-conflict-element-030-expected.html: Added. + * css2.1/20110323/border-conflict-element-030.htm: Added. + * css2.1/20110323/border-conflict-element-031-expected.html: Added. + * css2.1/20110323/border-conflict-element-031.htm: Added. + * css2.1/20110323/border-conflict-element-032-expected.html: Added. + * css2.1/20110323/border-conflict-element-032.htm: Added. + * css2.1/20110323/border-conflict-element-033-expected.html: Added. + * css2.1/20110323/border-conflict-element-033.htm: Added. + * css2.1/20110323/border-conflict-element-034-expected.html: Added. + * css2.1/20110323/border-conflict-element-034.htm: Added. + * css2.1/20110323/border-conflict-element-035-expected.html: Added. + * css2.1/20110323/border-conflict-element-035.htm: Added. + * css2.1/20110323/border-conflict-element-036-expected.html: Added. + * css2.1/20110323/border-conflict-element-036.htm: Added. + * css2.1/20110323/border-conflict-element-037-expected.html: Added. + * css2.1/20110323/border-conflict-element-037.htm: Added. + * css2.1/20110323/border-conflict-element-038-expected.html: Added. + * css2.1/20110323/border-conflict-element-038.htm: Added. + * css2.1/20110323/border-conflict-element-039-expected.html: Added. + * css2.1/20110323/border-conflict-element-039.htm: Added. + * css2.1/20110323/support/swatch-blue.png: Added. + * css2.1/20110323/support/swatch-green.png: Added. + * css2.1/20110323/support/swatch-lime.png: Added. + * css2.1/20110323/support/swatch-orange.png: Added. + * css2.1/20110323/support/swatch-red.png: Added. + * css2.1/20110323/support/swatch-teal.png: Added. + * css2.1/20110323/support/swatch-white.png: Added. + * css2.1/20110323/support/swatch-yellow.png: Added. + * fast/css/border-conflict-element-002-expected.html: Added. + * fast/css/border-conflict-element-002.htm: Added. + * platform/chromium-linux/css2.1/20110323/border-conflict-style-079-expected.png: + * platform/chromium-linux/css2.1/20110323/floating-replaced-height-008-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-05-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-06-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-07-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-08-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-15-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-16-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-17-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-18-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-51-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-52-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-53-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-54-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-55-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-56-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-57-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-58-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-59-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-61-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-62-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-63-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-64-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-65-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-66-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-67-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-68-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-69-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-71-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-72-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-73-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-74-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-75-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-76-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-77-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-78-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-79-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-81-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-82-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-83-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-84-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-85-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-86-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-87-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-88-d-expected.png: + * platform/chromium-linux/css2.1/t170602-bdr-conflct-w-89-d-expected.png: + * platform/chromium-linux/fast/borders/border-antialiasing-expected.png: + +2011-12-19 Jer Noble + + MediaController: cannot scrub while playing. + https://bugs.webkit.org/show_bug.cgi?id=74870 + rdar://problem/10602037 + + Reviewed by Eric Carlson. + + * media/media-controller-playback.html: + +2011-12-19 Adrienne Walker + + [chromium] Mark more worker tests as being flaky crashers + https://bugs.webkit.org/show_bug.cgi?id=74746 + + Unreviewed gardening. + + * platform/chromium/test_expectations.txt: + +2011-12-19 Adam Barth + + We don't pass all of the html5lib unsafe-text.dat tests + https://bugs.webkit.org/show_bug.cgi?id=74825 + + Reviewed by Eric Seidel. + + Show test progression. + + * html5lib/runner-expected.txt: + * platform/chromium/html5lib/runner-expected.txt: + +2011-12-19 Adam Barth + + WebKit should support HTML entities that expand to more than one character + https://bugs.webkit.org/show_bug.cgi?id=74826 + + Reviewed by Darin Adler. + + Show test progression. + + * html5lib/runner-expected.txt: + * platform/chromium/html5lib/runner-expected.txt: + +2011-12-19 Eric Carlson + + Render text tracks + https://bugs.webkit.org/show_bug.cgi?id=62886 + + Reviewed by Sam Weinig. + + * media/media-controls.js: + (mediaControlsElement): Don't always look for a controller element. + (mediaControlsButtonCoordinates): + (textTrackDisplayElement): Find the cue display element. + + * media/track/track-cue-rendering-expected.txt: Added. + * media/track/track-cue-rendering.html: Added. + +2011-12-19 Csaba Osztrogonác + + [Qt] Test fonts are not used with Qt5 + https://bugs.webkit.org/show_bug.cgi?id=72513 + + * platform/qt-5.0/Skipped: Unskip now passing tests. + +2011-12-19 Csaba Osztrogonác + + [Qt] Test fonts are not used with Qt5 + https://bugs.webkit.org/show_bug.cgi?id=72513 + + * platform/qt-5.0/Skipped: Unskip now passing tests. + * platform/qt-wk2/Skipped: Skip unskipped qt-5.0 tests fail on qt-wk2. + +2011-12-19 Mikhail Naganov + + [Chromium] Removing suppressions from: + https://bugs.webkit.org/show_bug.cgi?id=74726. + + Tests pass on bots: + http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Mac10.5%20%28CG%29/builds/1832/steps/webkit_tests/logs/stdio + http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Mac10.6%20%28CG%29%28dbg%29/builds/2097/steps/webkit_tests/logs/stdio + + * platform/chromium/test_expectations.txt: + +2011-12-19 Csaba Osztrogonác + + [Qt] Unreviewed gardening. + + * platform/qt/Skipped: Skip a new failing test. + * platform/qt/fast/dom/Window/window-properties-expected.txt: Updated after r103217. + * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt: Updated after r103217. + * platform/qt/fast/dom/prototype-inheritance-2-expected.txt: Updated after r103217. + +2011-12-19 Adam Barth + + The HTML parser doesn't enforce the "Noah's Ark condition" from the HTML5 spec + https://bugs.webkit.org/show_bug.cgi?id=74828 + + Reviewed by Darin Adler. + + Show test progression. + + * fast/parser/residual-style-dom-expected.txt: + - This isn't a great test because it's hard to see how changes + affect the output. However, we have good coverage of these + topics in the HTML5lib tests. + * html5lib/runner-expected.txt: + * platform/chromium/html5lib/runner-expected.txt: + +2011-12-19 Benjamin Poulain + + Add support for 8 bits strings to Document::isValidName() + https://bugs.webkit.org/show_bug.cgi?id=74784 + + Reviewed by Darin Adler. + + Add tests for valid and invalid names for nodes. + + * fast/dom/Document/createElement-invalid-names-expected.txt: Added. + * fast/dom/Document/createElement-invalid-names.html: Added. + * fast/dom/Document/createElement-valid-names-expected.txt: Added. + * fast/dom/Document/createElement-valid-names.html: Added. + +2011-12-18 Shinya Kawanaka + + A test that mutation happens when asynchronous spell checking is in process. + https://bugs.webkit.org/show_bug.cgi?id=72940 + + Reviewed by Hajime Morita. + + Added a test that mutation happens when spellchecking. + This test confirms crash won't happen, and how markers are used. + + * editing/spelling/spellcheck-async-mutation-expected.txt: Added. + * editing/spelling/spellcheck-async-mutation.html: Added. + * platform/gtk/Skipped: + * platform/mac-leopard/Skipped: + * platform/qt/Skipped: + +2011-12-18 Darin Adler + + Fixed some test expectations the best I could using my Lion machine. + Some of these may require additional tuning. + + * fast/dom/Window/script-tests/window-property-descriptors.js: Added webkitNotifications to the list of properties + to not dump, since it's different in different configurations. Also re-sorted the list and improved comments. + * fast/dom/Window/window-properties.html: Ditto. + * fast/dom/script-tests/prototype-inheritance-2.js: Ditto. + + * platform/mac/fast/dom/Window/window-properties-expected.txt: Updated for the change in WebKitCSSFilterValue constants. + * platform/win/fast/dom/Window/window-properties-expected.txt: Ditto. + + * platform/mac-snowleopard/fast/regions/region-style-block-background-color-expected.png: Removed. + * platform/mac-snowleopard/fast/regions/region-style-block-background-color-expected.txt: Removed. + * platform/mac-snowleopard/fast/regions/region-style-block-background-color2-expected.png: Removed. + * platform/mac-snowleopard/fast/regions/region-style-block-background-color2-expected.txt: Removed. + * platform/mac-snowleopard/fast/regions/region-style-image-background-color-expected.png: Removed. + * platform/mac-snowleopard/fast/regions/region-style-image-background-color-expected.txt: Removed. + * platform/mac-snowleopard/fast/regions/region-style-inline-background-color-expected.png: Removed. + * platform/mac-snowleopard/fast/regions/region-style-inline-background-color-expected.txt: Removed. + * platform/mac-snowleopard/printing: Removed. + * platform/mac-snowleopard/printing/width-overflow-expected.png: Removed. + * platform/mac-snowleopard/printing/width-overflow-expected.txt: Removed. + * platform/mac/fast/regions/region-style-block-background-color-expected.png: Copied from platform/mac-snowleopard/fast/regions/region-style-block-background-color-expected.png. + * platform/mac/fast/regions/region-style-block-background-color-expected.txt: Copied from platform/mac-snowleopard/fast/regions/region-style-block-background-color-expected.txt. + * platform/mac/fast/regions/region-style-block-background-color2-expected.png: Copied from platform/mac-snowleopard/fast/regions/region-style-block-background-color2-expected.png. + * platform/mac/fast/regions/region-style-block-background-color2-expected.txt: Copied from platform/mac-snowleopard/fast/regions/region-style-block-background-color2-expected.txt. + * platform/mac/fast/regions/region-style-image-background-color-expected.png: Copied from platform/mac-snowleopard/fast/regions/region-style-image-background-color-expected.png. + * platform/mac/fast/regions/region-style-image-background-color-expected.txt: Copied from platform/mac-snowleopard/fast/regions/region-style-image-background-color-expected.txt. + * platform/mac/fast/regions/region-style-inline-background-color-expected.png: Copied from platform/mac-snowleopard/fast/regions/region-style-inline-background-color-expected.png. + * platform/mac/fast/regions/region-style-inline-background-color-expected.txt: Copied from platform/mac-snowleopard/fast/regions/region-style-inline-background-color-expected.txt. + * platform/mac/printing/width-overflow-expected.png: Copied from platform/mac-snowleopard/printing/width-overflow-expected.png. + * platform/mac/printing/width-overflow-expected.txt: Copied from platform/mac-snowleopard/printing/width-overflow-expected.txt. + Moved these test results from mac-snowleopard to mac. There's no reason to assume the results are + different post-Snow-Leopard. + + * platform/mac/fast/text/unicode-variation-selector-expected.txt: Added. + Landed the result generated on my computer. + +2011-12-18 Hajime Morrita + + Unreviewed expectations update. + + * platform/chromium-win-xp/svg/W3C-I18N/g-dirLTR-ubNone-expected.png: Added. + * platform/chromium-win-xp/svg/W3C-I18N/g-dirLTR-ubOverride-expected.png: Added. + * platform/chromium-win-xp/svg/W3C-I18N/g-dirRTL-ubNone-expected.png: Added. + * platform/chromium-win-xp/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png: Added. + * platform/chromium-win-xp/svg/W3C-I18N/text-dirLTR-ubNone-expected.png: Added. + * platform/chromium-win-xp/svg/W3C-I18N/text-dirRTL-ubNone-expected.png: Added. + * platform/chromium-win-xp/svg/W3C-I18N/text-dirRTL-ubOverride-expected.png: Added. + * platform/chromium-win-xp/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.png: Added. + * platform/chromium-win-xp/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.png: Added. + * platform/chromium-win-xp/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.png: Added. + * platform/chromium-win-xp/svg/W3C-I18N/tspan-direction-rtl-expected.png: Added. + * platform/chromium-win-xp/svg/text/bidi-tspans-expected.png: Added. + * platform/chromium-win-xp/tables/mozilla/bugs/bug2479-4-expected.png: Added. + +2011-12-18 Hajime Morrita + + Unreviewed test_expectations.txt update. + + * platform/chromium/test_expectations.txt: + +2011-12-18 David Barton + + , , , and baseline positions are wrong + https://bugs.webkit.org/show_bug.cgi?id=72821 + + Reviewed by Darin Adler. + + * platform/mac/mathml/presentation/msup-base-changed-expected.png: + * platform/mac/mathml/presentation/msup-base-changed-expected.txt: + * platform/mac/mathml/presentation/msup-sup-changed-expected.png: + * platform/mac/mathml/presentation/msup-sup-changed-expected.txt: + * platform/mac/mathml/presentation/over-expected.png: + * platform/mac/mathml/presentation/over-expected.txt: + * platform/mac/mathml/presentation/roots-expected.png: + * platform/mac/mathml/presentation/roots-expected.txt: + * platform/mac/mathml/presentation/row-alignment-expected.png: + * platform/mac/mathml/presentation/row-alignment-expected.txt: + * platform/mac/mathml/presentation/sup-expected.png: + * platform/mac/mathml/presentation/sup-expected.txt: + * platform/mac/mathml/presentation/under-expected.png: + * platform/mac/mathml/presentation/under-expected.txt: + * platform/mac/mathml/presentation/underover-expected.png: + * platform/mac/mathml/presentation/underover-expected.txt: + +2011-12-18 Dan Bernstein + + Positioned Floats: Assertion hit in fast/block/positioning/positioned-float-layout-after-image-load.html + https://bugs.webkit.org/show_bug.cgi?id=67759 + + Reviewed by Darin Adler. + + Re-added this test from r94695. + + * fast/block/positioning/positioned-float-layout-after-image-load-expected.txt: Copied from LayoutTests/fast/block/positioning/positioned-float-layout-after-image-load-expected.txt. + * fast/block/positioning/positioned-float-layout-after-image-load.html: Copied from LayoutTests/fast/block/positioning/positioned-float-layout-after-image-load.html. + * fast/block/positioning/resources/positioned-float-layout-after-image-load-2.html: Copied from LayoutTests/fast/block/positioning/resources/positioned-float-layout-after-image-load-2.html. + +2011-12-18 Hajime Morrita + + Unreviewed expectations update. + + * platform/chromium-cg-mac-snowleopard/fast/text/drawBidiText-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac/fast/text/drawBidiText-expected.png. + * platform/chromium-mac-snowleopard/fast/text/drawBidiText-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/text/drawBidiText-expected.png. + * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug2479-4-expected.png: Renamed from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug2479-4-expected.png. + * platform/chromium-win-vista/fast/text/drawBidiText-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/g-dirLTR-ubNone-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/g-dirLTR-ubOverride-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/g-dirRTL-ubNone-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/text-dirLTR-ubNone-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/text-dirLTR-ubOverride-expected.png: + * platform/chromium-win-vista/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/text-dirRTL-ubNone-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/text-dirRTL-ubOverride-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.png: + * platform/chromium-win-vista/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt: + * platform/chromium-win-vista/svg/W3C-I18N/tspan-direction-rtl-expected.png: Removed. + * platform/chromium-win-vista/svg/W3C-I18N/tspan-direction-rtl-expected.txt: + * platform/chromium-win-vista/svg/text/bidi-tspans-expected.png: Removed. + * platform/chromium-win-vista/svg/text/bidi-tspans-expected.txt: + * platform/chromium-win-vista/tables/mozilla/bugs/bug2479-4-expected.png: Removed. + +2011-12-18 Alice Boxhall + + Make AccessibilityObject::lineForPosition return the correct value for cases where the position is not within the current object. + https://bugs.webkit.org/show_bug.cgi?id=71348 + + Reviewed by Chris Fleizach. + + * accessibility/textarea-insertion-point-line-number-expected.txt: + * accessibility/textarea-insertion-point-line-number.html: + +2011-12-18 Adam Barth + + Adoption agency iteration limits in HTML parser don't match HTML5 spec + https://bugs.webkit.org/show_bug.cgi?id=74822 + + Reviewed by Eric Seidel. + + Show test progression. + + * fast/parser/residual-style-dom-expected.txt: + * html5lib/runner-expected.txt: + * platform/chromium/html5lib/runner-expected.txt: + +2011-12-18 Antti Koivisto + + https://bugs.webkit.org/show_bug.cgi?id=73954 + REGRESSION (r97745): Transitions don't work on links + + Reviewed by Andreas Kling. + + Unfortunately the automatic test provides code coverage only as reading back the properties + from the style always gives back non-visited values. The bug is visible running the test + manually. + + * transitions/visited-link-color-expected.txt: Added. + * transitions/visited-link-color.html: Added. + +2011-12-18 Andreas Kling + + HTMLAllCollection: Get rid of stateful namedItem traversal. + + + Reviewed by Sam Weinig. + + * fast/dom/htmlallcollection-call-with-index-caching-bug-expected.txt: Added. + * fast/dom/htmlallcollection-call-with-index-caching-bug.html: Added. + +2011-12-18 Peter Rybin + + Web Inspector: Switch to type-safe JSON ConsoleMessage.cpp, InspectorDOMAgent.cpp, InspectorDebuggerAgent.cpp, ScriptCallFrame.cpp + https://bugs.webkit.org/show_bug.cgi?id=74549 + + Reviewed by Pavel Feldman. + + Expected file modified as JSON properties are now in different + order. + + * inspector/protocol/console-agent-expected.txt: + +2011-12-18 Alexandru Chiculita + + [CSS Shaders] Add FECustomFilter that renders custom filters + https://bugs.webkit.org/show_bug.cgi?id=73317 + + WebKit2 doesn't support the WebGL flag in layoutTestController.overridePreference. + Skipping the test like all the other WebGL tests do. + + Reviewed by Chris Marrin. + + * css3/filters/effect-custom-expected.png: Added. + * css3/filters/effect-custom-expected.txt: Added. + * css3/filters/effect-custom.html: Added. + * css3/filters/resources/color-offset.fs: Added. + * css3/filters/resources/vertex-explode-detached.vs: Added. + * css3/filters/resources/vertex-offset.vs: Added. + * platform/wk2/Skipped: Skipping the test until WebGL can be enabled from layoutTestController. + +2011-12-17 Andreas Kling + + Cache and reuse the HTMLAllCollection returned by document.all. + + + Reviewed by Antti Koivisto. + + Update tests to document the new behavior of document.all. + + * fast/dom/document-collection-idempotence-expected.txt: + * fast/dom/document-collection-idempotence.html: + * fast/dom/gc-9-expected.txt: + * fast/dom/gc-9.html: + +2011-12-17 Adrienne Walker + + [chromium] Mark svg/W3C-SVG-1.1/animate-elem* tests as flaky crashers + https://bugs.webkit.org/show_bug.cgi?id=74788 + + Unreviewed gardening. + + There are only about a dozen tests that have been seen to fail on the + bots, but the set keeps changing. Rather than just marking known + failures, mark all these tests to avoid further gardening fallout. + + * platform/chromium/test_expectations.txt: + +2011-12-17 Kenichi Ishibashi + + Text dispappear when SVG font has no latin character + https://bugs.webkit.org/show_bug.cgi?id=71765 + + Reviewed by Nikolas Zimmermann. + + Test that text can be displayed with a SVG font which has no latin character. + + * svg/custom/svg-fonts-no-latin-glyph-expected.txt: Added. + * svg/custom/resources/no-latin-glyph-font.svg: Added. + * svg/custom/svg-fonts-no-latin-glyph.html: Added. + +2011-12-17 Adrienne Walker + + [chromium] Rebaseline huge-layer-rotated after r103129. + https://bugs.webkit.org/show_bug.cgi?id=72686 + + Unreviewed gardening. + + I don't understand why this would have changed rendering on any test, + but there are only small diffences in the lower left, so rebaselining. + It's also possible, but far less likely, that this was from r103130. + + * platform/chromium-cg-mac-snowleopard/platform/chromium/compositing/huge-layer-rotated-expected.png: + +2011-12-17 Adrienne Walker + + [chromium] Mark more worker tests as flaky crashers after r103095. + https://bugs.webkit.org/show_bug.cgi?id=74746 + + Unreviewed gardening. + + * platform/chromium/test_expectations.txt: + +2011-12-17 Adrienne Walker + + [chromium] Mark fast/js/dfg-poison-fuzz.html as slow in debug. + https://bugs.webkit.org/show_bug.cgi?id=74787 + + Unreviewed gardening. + + * platform/chromium/test_expectations.txt: + +2011-12-17 Adrienne Walker + + [chromium] Reverting r103011, r103135 due to Aura test failures + + Unreviewed gardening. + + * platform/chromium/test_expectations.txt: + +2011-12-16 Chris Marrin + + Hardware acceleration of W3C Filter Effects + https://bugs.webkit.org/show_bug.cgi?id=68479 + + Reviewed by Simon Fraser. + + Equivalent tests to the non-hardware versions + + * css3/filters/effect-blur-hw-expected.png: Added. + * css3/filters/effect-blur-hw-expected.txt: Added. + * css3/filters/effect-blur-hw.html: Added. + * css3/filters/effect-combined-hw-expected.png: Added. + * css3/filters/effect-combined-hw-expected.txt: Added. + * css3/filters/effect-combined-hw.html: Added. + * css3/filters/effect-drop-shadow-hw-expected.png: Added. + * css3/filters/effect-drop-shadow-hw-expected.txt: Added. + * css3/filters/effect-drop-shadow-hw.html: Added. + * css3/filters/effect-grayscale-hw-expected.png: Added. + * css3/filters/effect-grayscale-hw-expected.txt: Added. + * css3/filters/effect-grayscale-hw.html: Added. + * css3/filters/effect-hue-rotate-hw-expected.png: Added. + * css3/filters/effect-hue-rotate-hw-expected.txt: Added. + * css3/filters/effect-hue-rotate-hw.html: Added. + * css3/filters/effect-invert-hw-expected.png: Added. + * css3/filters/effect-invert-hw-expected.txt: Added. + * css3/filters/effect-invert-hw.html: Added. + * css3/filters/effect-opacity-hw-expected.png: Added. + * css3/filters/effect-opacity-hw-expected.txt: Added. + * css3/filters/effect-opacity-hw.html: Added. + * css3/filters/effect-saturate-hw-expected.png: Added. + * css3/filters/effect-saturate-hw-expected.txt: Added. + * css3/filters/effect-saturate-hw.html: Added. + * css3/filters/effect-sepia-hw-expected.png: Added. + * css3/filters/effect-sepia-hw-expected.txt: Added. + * css3/filters/effect-sepia-hw.html: Added. + * platform/win/Skipped: + +2011-12-17 Csaba Osztrogonác + + [Qt] fast/canvas/2d.text.draw.fill.maxWidth.gradient.html fails with newer Qt5 + https://bugs.webkit.org/show_bug.cgi?id=74785 + + * platform/qt-5.0/Skipped: Skip fast/canvas/2d.text.draw.fill.maxWidth.gradient.html. + +2011-12-16 Ami Fischman + + Layout Test media/controls-right-click-on-timebar.html is flaky - Crash on LEOPARD CG DEBUG + ffmpeg_video_decoder.cc has been reworked extensively since the reported crashes + and the test is 0% flaky now. + https://bugs.webkit.org/show_bug.cgi?id=68747 + + Reviewed by Eric Carlson. + + * platform/chromium/test_expectations.txt: + +2011-12-16 Tony Chang + + [chromium] 2 repaint test failures on mac + https://bugs.webkit.org/show_bug.cgi?id=66338 + + Unreviewed. These are expected differences between Apple DRT and Chromium DRT on Mac + caused by different code paths for drawing scrollbars. + + * platform/chromium-cg-mac-snowleopard/fast/repaint/background-scaling-expected.png: Added. + * platform/chromium-cg-mac-snowleopard/fast/repaint/scale-page-shrink-expected.png: Added. + * platform/chromium-mac-leopard/fast/repaint/scale-page-shrink-expected.png: Added. + * platform/chromium-mac-snowleopard/fast/repaint/background-scaling-expected.png: Added. + * platform/chromium-mac-snowleopard/fast/repaint/scale-page-shrink-expected.png: Added. + * platform/chromium-win/fast/repaint/background-scaling-expected.png: Renamed from LayoutTests/platform/chromium/fast/repaint/background-scaling-expected.png. + * platform/chromium/fast/repaint/background-scaling-expected.txt: Removed. + * platform/chromium/test_expectations.txt: + +2011-12-16 Adam Barth + +