WebKit-https.git
9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 02:59:20 +0000 (02:59 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; yet another test expectations update.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75223 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Fri, 7 Jan 2011 02:52:42 +0000 (02:52 +0000)]
2011-01-06  Ojan Vafai  <ojan@chromium.org>

        Fix line context when replying to comments.

        * code-review.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75222 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 02:35:14 +0000 (02:35 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations update.

        Add new results for new tests introduced in r75097.

        * platform/chromium-mac/fast/gradients/css3-repeating-linear-gradients-expected.checksum: Added.
        * platform/chromium-mac/fast/gradients/css3-repeating-linear-gradients-expected.png: Added.
        * platform/chromium-win/fast/gradients/css3-repeating-linear-gradients-expected.checksum: Added.
        * platform/chromium-win/fast/gradients/css3-repeating-linear-gradients-expected.png: Added.
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75221 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Robert Hogan <robert@webkit.org>
robert@webkit.org [Fri, 7 Jan 2011 02:25:15 +0000 (02:25 +0000)]
2011-01-06  Robert Hogan  <robert@webkit.org>

        [Qt] Update expected results after r75177

        Unreviewed, update expected results.

        * platform/qt/fast/dom/prototype-inheritance-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75220 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 7 Jan 2011 02:11:29 +0000 (02:11 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Adam Barth.

        fast/dom/Window/window-postmessage-clone.html may fail on platforms with larger fonts
        https://bugs.webkit.org/show_bug.cgi?id=52027

        Move the console output div after the file input control in
        fast/dom/Window/window-postmessage-clone.html so that console
        text does not push it outside of the viewport.

        * fast/dom/Window/window-postmessage-clone-expected.txt: Updated results
        to match new text output.
        * fast/dom/Window/window-postmessage-clone.html: Moved console div.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75219 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 7 Jan 2011 02:06:32 +0000 (02:06 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Update GTK+-specific results after r75177.

        * platform/gtk/fast/dom/prototype-inheritance-expected.txt: Update results.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75218 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Jenn Braithwaite <jennb@chromium.org>
commit-queue@webkit.org [Fri, 7 Jan 2011 01:58:47 +0000 (01:58 +0000)]
2011-01-06  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        When a live frame is moved between pages, some plug-in DOM methods cease to function
        https://bugs.webkit.org/show_bug.cgi?id=45770

        * fast/frames/iframe-reparenting-plugins-expected.txt: Added.
        * fast/frames/iframe-reparenting-plugins.html: Added.
        * fast/frames/resources/iframe-reparenting-plugins-iframe-content.html: Added.
        * fast/frames/resources/iframe-reparenting-plugins-new-page.html: Added.
2011-01-06  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        When a live frame is moved between pages, some plug-in DOM methods cease to function
        https://bugs.webkit.org/show_bug.cgi?id=45770

        Test: fast/frames/iframe-reparenting-plugins.html

        * page/Frame.cpp:
        (WebCore::Frame::~Frame):
        (WebCore::Frame::addObserver):
        (WebCore::Frame::removeObserver):
        * page/Frame.h:
        (WebCore::FrameDestructionObserver::~FrameDestructionObserver):
        Added observer to be notified when frame is destroyed.
        * page/Page.cpp:
        (WebCore::Page::~Page):
        (WebCore::Page::refreshPlugins):
        PluginData no longer stores page pointer.
        * plugins/DOMMimeType.cpp:
        (WebCore::DOMMimeType::DOMMimeType):
        (WebCore::DOMMimeType::~DOMMimeType):
        (WebCore::DOMMimeType::enabledPlugin):
        * plugins/DOMMimeType.h:
        (WebCore::DOMMimeType::create):
        (WebCore::DOMMimeType::frameDestroyed):
        Store frame instead of page pointer in DOMMimeType.
        * plugins/DOMMimeTypeArray.cpp:
        (WebCore::DOMMimeTypeArray::item):
        (WebCore::DOMMimeTypeArray::namedItem):
        Provide frame to create DOMMimeType.
        * plugins/DOMPlugin.cpp:
        (WebCore::DOMPlugin::DOMPlugin):
        (WebCore::DOMPlugin::~DOMPlugin):
        (WebCore::DOMPlugin::item):
        (WebCore::DOMPlugin::namedItem):
        * plugins/DOMPlugin.h:
        (WebCore::DOMPlugin::create):
        (WebCore::DOMPlugin::frameDestroyed):
        Store frame instead of page pointer in DOMPlugin.
        * plugins/DOMPluginArray.cpp:
        (WebCore::DOMPluginArray::item):
        (WebCore::DOMPluginArray::namedItem):
        Provide frame to create DOMPlugin.
        * plugins/PluginData.cpp:
        (WebCore::PluginData::PluginData):
        (WebCore::PluginData::initPlugins):
        * plugins/PluginData.h:
        No longer stores a pointer to the page.
        Added page parameter to initPlugins.
        * plugins/PluginDataNone.cpp:
        (WebCore::PluginData::initPlugins):
        * plugins/chromium/PluginDataChromium.cpp:
        (WebCore::PluginData::initPlugins):
        * plugins/gtk/PluginDataGtk.cpp:
        (WebCore::PluginData::initPlugins):
        * plugins/wx/PluginDataWx.cpp:
        (WebCore::PluginData::initPlugins):
        Updated platforms to add (unused) page parameter to initPlugins.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75217 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 01:55:27 +0000 (01:55 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations update.

        * platform/chromium-gpu/test_expectations.txt:
        Remove duplicate expectations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75216 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 7 Jan 2011 01:45:53 +0000 (01:45 +0000)]
2011-01-06  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed, test expectation update.

        Add mac-leopard baselines for tests that currently have Snow Leopard
        baselines in platform/mac.

        * platform/mac-leopard/fast/multicol/client-rects-expected.checksum:
        * platform/mac-leopard/fast/multicol/client-rects-expected.png: Added.
        * platform/mac-leopard/fast/multicol/column-break-with-balancing-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/column-break-with-balancing-expected.png: Added.
        * platform/mac-leopard/fast/multicol/float-multicol-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/float-multicol-expected.png: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-complex-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-complex-expected.png: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-expected.png: Added.
        * platform/mac-leopard/fast/multicol/layers-in-multicol-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/layers-in-multicol-expected.png: Added.
        * platform/mac-leopard/fast/multicol/layers-split-across-columns-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/layers-split-across-columns-expected.png: Added.
        * platform/mac-leopard/fast/multicol/paginate-block-replaced-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/paginate-block-replaced-expected.png: Added.
        * platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.png: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.png: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-expected.png: Added.
        * platform/mac-leopard/fast/multicol/table-vertical-align-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/table-vertical-align-expected.png: Added.
        * platform/mac-leopard/fast/repaint/overflow-scroll-body-appear-expected.checksum: Added.
        * platform/mac-leopard/fast/repaint/overflow-scroll-body-appear-expected.png: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75215 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 7 Jan 2011 01:43:29 +0000 (01:43 +0000)]
2011-01-05  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Define GC3D types to match GL types and use them in GraphicsContext3D
        https://bugs.webkit.org/show_bug.cgi?id=45557

        * src/GraphicsContext3DChromium.cpp:
        (WebCore::GraphicsContext3DInternal::bindAttribLocation):
        (WebCore::GraphicsContext3DInternal::bufferData):
        (WebCore::GraphicsContext3DInternal::bufferSubData):
        (WebCore::GraphicsContext3DInternal::getActiveAttrib):
        (WebCore::GraphicsContext3DInternal::getActiveUniform):
        (WebCore::GraphicsContext3DInternal::getAttribLocation):
        (WebCore::GraphicsContext3DInternal::getString):
        (WebCore::GraphicsContext3DInternal::getUniformLocation):
        (WebCore::GraphicsContext3DInternal::texImage2D):
        (WebCore::GraphicsContext3DInternal::texSubImage2D):
        (WebCore::GraphicsContext3DInternal::uniform1fv):
        (WebCore::GraphicsContext3DInternal::uniform1iv):
        (WebCore::GraphicsContext3DInternal::uniform2fv):
        (WebCore::GraphicsContext3DInternal::uniform2iv):
        (WebCore::GraphicsContext3DInternal::uniform3fv):
        (WebCore::GraphicsContext3DInternal::uniform3iv):
        (WebCore::GraphicsContext3DInternal::uniform4fv):
        (WebCore::GraphicsContext3DInternal::uniform4iv):
        (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
        (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
        (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
        * src/GraphicsContext3DInternal.h:
2011-01-05  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Define GC3D types to match GL types and use them in GraphicsContext3D
        https://bugs.webkit.org/show_bug.cgi?id=45557

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::readPixels):
        (WebCore::WebGLRenderingContext::validateTexFuncData):
        * platform/graphics/GraphicsContext3D.cpp:
        (WebCore::GraphicsContext3D::texImage2DResourceSafe):
        (WebCore::GraphicsContext3D::computeFormatAndTypeParameters):
        (WebCore::GraphicsContext3D::extractImageData):
        (WebCore::GraphicsContext3D::extractTextureData):
        * platform/graphics/GraphicsContext3D.h:
        * platform/graphics/cg/GraphicsContext3DCG.cpp:
        (WebCore::GraphicsContext3D::getImageData):
        * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
        (WebCore::SharedGraphicsContext3D::enable):
        (WebCore::SharedGraphicsContext3D::disable):
        (WebCore::SharedGraphicsContext3D::clear):
        (WebCore::SharedGraphicsContext3D::drawArrays):
        (WebCore::SharedGraphicsContext3D::getError):
        (WebCore::SharedGraphicsContext3D::getIntegerv):
        (WebCore::SharedGraphicsContext3D::createFramebuffer):
        (WebCore::SharedGraphicsContext3D::createTexture):
        (WebCore::SharedGraphicsContext3D::deleteFramebuffer):
        (WebCore::SharedGraphicsContext3D::deleteTexture):
        (WebCore::SharedGraphicsContext3D::framebufferTexture2D):
        (WebCore::SharedGraphicsContext3D::texParameteri):
        (WebCore::SharedGraphicsContext3D::texImage2D):
        (WebCore::SharedGraphicsContext3D::texSubImage2D):
        (WebCore::SharedGraphicsContext3D::readPixels):
        (WebCore::SharedGraphicsContext3D::setActiveTexture):
        (WebCore::SharedGraphicsContext3D::bindTexture):
        (WebCore::SharedGraphicsContext3D::bindFramebuffer):
        * platform/graphics/gpu/SharedGraphicsContext3D.h:
        * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
        (WebCore::GraphicsContext3D::activeTexture):
        (WebCore::GraphicsContext3D::attachShader):
        (WebCore::GraphicsContext3D::bindAttribLocation):
        (WebCore::GraphicsContext3D::bindBuffer):
        (WebCore::GraphicsContext3D::bindFramebuffer):
        (WebCore::GraphicsContext3D::bindRenderbuffer):
        (WebCore::GraphicsContext3D::bindTexture):
        (WebCore::GraphicsContext3D::blendColor):
        (WebCore::GraphicsContext3D::blendEquation):
        (WebCore::GraphicsContext3D::blendEquationSeparate):
        (WebCore::GraphicsContext3D::blendFunc):
        (WebCore::GraphicsContext3D::blendFuncSeparate):
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):
        (WebCore::GraphicsContext3D::checkFramebufferStatus):
        (WebCore::GraphicsContext3D::clearColor):
        (WebCore::GraphicsContext3D::clear):
        (WebCore::GraphicsContext3D::clearDepth):
        (WebCore::GraphicsContext3D::clearStencil):
        (WebCore::GraphicsContext3D::colorMask):
        (WebCore::GraphicsContext3D::compileShader):
        (WebCore::GraphicsContext3D::copyTexImage2D):
        (WebCore::GraphicsContext3D::copyTexSubImage2D):
        (WebCore::GraphicsContext3D::cullFace):
        (WebCore::GraphicsContext3D::depthFunc):
        (WebCore::GraphicsContext3D::depthMask):
        (WebCore::GraphicsContext3D::depthRange):
        (WebCore::GraphicsContext3D::detachShader):
        (WebCore::GraphicsContext3D::disable):
        (WebCore::GraphicsContext3D::disableVertexAttribArray):
        (WebCore::GraphicsContext3D::drawArrays):
        (WebCore::GraphicsContext3D::drawElements):
        (WebCore::GraphicsContext3D::enable):
        (WebCore::GraphicsContext3D::enableVertexAttribArray):
        (WebCore::GraphicsContext3D::framebufferRenderbuffer):
        (WebCore::GraphicsContext3D::framebufferTexture2D):
        (WebCore::GraphicsContext3D::frontFace):
        (WebCore::GraphicsContext3D::generateMipmap):
        (WebCore::GraphicsContext3D::getActiveAttrib):
        (WebCore::GraphicsContext3D::getActiveUniform):
        (WebCore::GraphicsContext3D::getAttachedShaders):
        (WebCore::GraphicsContext3D::getAttribLocation):
        (WebCore::GraphicsContext3D::getError):
        (WebCore::GraphicsContext3D::getString):
        (WebCore::GraphicsContext3D::hint):
        (WebCore::GraphicsContext3D::isBuffer):
        (WebCore::GraphicsContext3D::isEnabled):
        (WebCore::GraphicsContext3D::isFramebuffer):
        (WebCore::GraphicsContext3D::isProgram):
        (WebCore::GraphicsContext3D::isRenderbuffer):
        (WebCore::GraphicsContext3D::isShader):
        (WebCore::GraphicsContext3D::isTexture):
        (WebCore::GraphicsContext3D::lineWidth):
        (WebCore::GraphicsContext3D::linkProgram):
        (WebCore::GraphicsContext3D::pixelStorei):
        (WebCore::GraphicsContext3D::polygonOffset):
        (WebCore::GraphicsContext3D::readPixels):
        (WebCore::GraphicsContext3D::renderbufferStorage):
        (WebCore::GraphicsContext3D::sampleCoverage):
        (WebCore::GraphicsContext3D::scissor):
        (WebCore::GraphicsContext3D::stencilFunc):
        (WebCore::GraphicsContext3D::stencilFuncSeparate):
        (WebCore::GraphicsContext3D::stencilMask):
        (WebCore::GraphicsContext3D::stencilMaskSeparate):
        (WebCore::GraphicsContext3D::stencilOp):
        (WebCore::GraphicsContext3D::stencilOpSeparate):
        (WebCore::GraphicsContext3D::texParameterf):
        (WebCore::GraphicsContext3D::texParameteri):
        (WebCore::GraphicsContext3D::uniform1f):
        (WebCore::GraphicsContext3D::uniform1fv):
        (WebCore::GraphicsContext3D::uniform2f):
        (WebCore::GraphicsContext3D::uniform2fv):
        (WebCore::GraphicsContext3D::uniform3f):
        (WebCore::GraphicsContext3D::uniform3fv):
        (WebCore::GraphicsContext3D::uniform4f):
        (WebCore::GraphicsContext3D::uniform4fv):
        (WebCore::GraphicsContext3D::uniform1i):
        (WebCore::GraphicsContext3D::uniform1iv):
        (WebCore::GraphicsContext3D::uniform2i):
        (WebCore::GraphicsContext3D::uniform2iv):
        (WebCore::GraphicsContext3D::uniform3i):
        (WebCore::GraphicsContext3D::uniform3iv):
        (WebCore::GraphicsContext3D::uniform4i):
        (WebCore::GraphicsContext3D::uniform4iv):
        (WebCore::GraphicsContext3D::uniformMatrix2fv):
        (WebCore::GraphicsContext3D::uniformMatrix3fv):
        (WebCore::GraphicsContext3D::uniformMatrix4fv):
        (WebCore::GraphicsContext3D::useProgram):
        (WebCore::GraphicsContext3D::validateProgram):
        (WebCore::GraphicsContext3D::vertexAttrib1f):
        (WebCore::GraphicsContext3D::vertexAttrib1fv):
        (WebCore::GraphicsContext3D::vertexAttrib2f):
        (WebCore::GraphicsContext3D::vertexAttrib2fv):
        (WebCore::GraphicsContext3D::vertexAttrib3f):
        (WebCore::GraphicsContext3D::vertexAttrib3fv):
        (WebCore::GraphicsContext3D::vertexAttrib4f):
        (WebCore::GraphicsContext3D::vertexAttrib4fv):
        (WebCore::GraphicsContext3D::vertexAttribPointer):
        (WebCore::GraphicsContext3D::viewport):
        (WebCore::GraphicsContext3D::getBooleanv):
        (WebCore::GraphicsContext3D::getBufferParameteriv):
        (WebCore::GraphicsContext3D::getFloatv):
        (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
        (WebCore::GraphicsContext3D::getIntegerv):
        (WebCore::GraphicsContext3D::getProgramiv):
        (WebCore::GraphicsContext3D::getProgramInfoLog):
        (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
        (WebCore::GraphicsContext3D::getShaderiv):
        (WebCore::GraphicsContext3D::getShaderInfoLog):
        (WebCore::GraphicsContext3D::getTexParameterfv):
        (WebCore::GraphicsContext3D::getTexParameteriv):
        (WebCore::GraphicsContext3D::getUniformfv):
        (WebCore::GraphicsContext3D::getUniformiv):
        (WebCore::GraphicsContext3D::getUniformLocation):
        (WebCore::GraphicsContext3D::getVertexAttribfv):
        (WebCore::GraphicsContext3D::getVertexAttribiv):
        (WebCore::GraphicsContext3D::getVertexAttribOffset):
        (WebCore::GraphicsContext3D::texImage2D):
        (WebCore::GraphicsContext3D::texSubImage2D):
        (WebCore::GraphicsContext3D::createBuffer):
        (WebCore::GraphicsContext3D::createFramebuffer):
        (WebCore::GraphicsContext3D::createProgram):
        (WebCore::GraphicsContext3D::createRenderbuffer):
        (WebCore::GraphicsContext3D::createShader):
        (WebCore::GraphicsContext3D::createTexture):
        (WebCore::GraphicsContext3D::deleteBuffer):
        (WebCore::GraphicsContext3D::deleteFramebuffer):
        (WebCore::GraphicsContext3D::deleteProgram):
        (WebCore::GraphicsContext3D::deleteRenderbuffer):
        (WebCore::GraphicsContext3D::deleteShader):
        (WebCore::GraphicsContext3D::deleteTexture):
        (WebCore::GraphicsContext3D::sizeInBytes):
        (WebCore::GraphicsContext3D::synthesizeGLError):
        * platform/graphics/qt/GraphicsContext3DQt.cpp:
        (WebCore::GraphicsContext3D::activeTexture):
        (WebCore::GraphicsContext3D::attachShader):
        (WebCore::GraphicsContext3D::getAttachedShaders):
        (WebCore::GraphicsContext3D::bindAttribLocation):
        (WebCore::GraphicsContext3D::bindBuffer):
        (WebCore::GraphicsContext3D::bindFramebuffer):
        (WebCore::GraphicsContext3D::bindRenderbuffer):
        (WebCore::GraphicsContext3D::bindTexture):
        (WebCore::GraphicsContext3D::blendColor):
        (WebCore::GraphicsContext3D::blendEquation):
        (WebCore::GraphicsContext3D::blendEquationSeparate):
        (WebCore::GraphicsContext3D::blendFunc):
        (WebCore::GraphicsContext3D::blendFuncSeparate):
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):
        (WebCore::GraphicsContext3D::checkFramebufferStatus):
        (WebCore::GraphicsContext3D::clearColor):
        (WebCore::GraphicsContext3D::clear):
        (WebCore::GraphicsContext3D::clearDepth):
        (WebCore::GraphicsContext3D::clearStencil):
        (WebCore::GraphicsContext3D::colorMask):
        (WebCore::GraphicsContext3D::compileShader):
        (WebCore::GraphicsContext3D::copyTexImage2D):
        (WebCore::GraphicsContext3D::copyTexSubImage2D):
        (WebCore::GraphicsContext3D::cullFace):
        (WebCore::GraphicsContext3D::depthFunc):
        (WebCore::GraphicsContext3D::depthMask):
        (WebCore::GraphicsContext3D::depthRange):
        (WebCore::GraphicsContext3D::detachShader):
        (WebCore::GraphicsContext3D::disable):
        (WebCore::GraphicsContext3D::disableVertexAttribArray):
        (WebCore::GraphicsContext3D::drawArrays):
        (WebCore::GraphicsContext3D::drawElements):
        (WebCore::GraphicsContext3D::enable):
        (WebCore::GraphicsContext3D::enableVertexAttribArray):
        (WebCore::GraphicsContext3D::framebufferRenderbuffer):
        (WebCore::GraphicsContext3D::framebufferTexture2D):
        (WebCore::GraphicsContext3D::frontFace):
        (WebCore::GraphicsContext3D::generateMipmap):
        (WebCore::GraphicsContext3D::getActiveAttrib):
        (WebCore::GraphicsContext3D::getActiveUniform):
        (WebCore::GraphicsContext3D::getAttribLocation):
        (WebCore::GraphicsContext3D::getError):
        (WebCore::GraphicsContext3D::getString):
        (WebCore::GraphicsContext3D::hint):
        (WebCore::GraphicsContext3D::isBuffer):
        (WebCore::GraphicsContext3D::isEnabled):
        (WebCore::GraphicsContext3D::isFramebuffer):
        (WebCore::GraphicsContext3D::isProgram):
        (WebCore::GraphicsContext3D::isRenderbuffer):
        (WebCore::GraphicsContext3D::isShader):
        (WebCore::GraphicsContext3D::isTexture):
        (WebCore::GraphicsContext3D::linkProgram):
        (WebCore::GraphicsContext3D::pixelStorei):
        (WebCore::GraphicsContext3D::polygonOffset):
        (WebCore::GraphicsContext3D::readPixels):
        (WebCore::GraphicsContext3D::renderbufferStorage):
        (WebCore::GraphicsContext3D::sampleCoverage):
        (WebCore::GraphicsContext3D::scissor):
        (WebCore::GraphicsContext3D::stencilFunc):
        (WebCore::GraphicsContext3D::stencilFuncSeparate):
        (WebCore::GraphicsContext3D::stencilMask):
        (WebCore::GraphicsContext3D::stencilMaskSeparate):
        (WebCore::GraphicsContext3D::stencilOp):
        (WebCore::GraphicsContext3D::stencilOpSeparate):
        (WebCore::GraphicsContext3D::texParameterf):
        (WebCore::GraphicsContext3D::texParameteri):
        (WebCore::GraphicsContext3D::uniform1f):
        (WebCore::GraphicsContext3D::uniform1fv):
        (WebCore::GraphicsContext3D::uniform2f):
        (WebCore::GraphicsContext3D::uniform2fv):
        (WebCore::GraphicsContext3D::uniform3f):
        (WebCore::GraphicsContext3D::uniform3fv):
        (WebCore::GraphicsContext3D::uniform4f):
        (WebCore::GraphicsContext3D::uniform4fv):
        (WebCore::GraphicsContext3D::uniform1i):
        (WebCore::GraphicsContext3D::uniform1iv):
        (WebCore::GraphicsContext3D::uniform2i):
        (WebCore::GraphicsContext3D::uniform2iv):
        (WebCore::GraphicsContext3D::uniform3i):
        (WebCore::GraphicsContext3D::uniform3iv):
        (WebCore::GraphicsContext3D::uniform4i):
        (WebCore::GraphicsContext3D::uniform4iv):
        (WebCore::GraphicsContext3D::uniformMatrix2fv):
        (WebCore::GraphicsContext3D::uniformMatrix3fv):
        (WebCore::GraphicsContext3D::uniformMatrix4fv):
        (WebCore::GraphicsContext3D::useProgram):
        (WebCore::GraphicsContext3D::validateProgram):
        (WebCore::GraphicsContext3D::vertexAttrib1f):
        (WebCore::GraphicsContext3D::vertexAttrib1fv):
        (WebCore::GraphicsContext3D::vertexAttrib2f):
        (WebCore::GraphicsContext3D::vertexAttrib2fv):
        (WebCore::GraphicsContext3D::vertexAttrib3f):
        (WebCore::GraphicsContext3D::vertexAttrib3fv):
        (WebCore::GraphicsContext3D::vertexAttrib4f):
        (WebCore::GraphicsContext3D::vertexAttrib4fv):
        (WebCore::GraphicsContext3D::vertexAttribPointer):
        (WebCore::GraphicsContext3D::viewport):
        (WebCore::GraphicsContext3D::getBooleanv):
        (WebCore::GraphicsContext3D::getBufferParameteriv):
        (WebCore::GraphicsContext3D::getFloatv):
        (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
        (WebCore::GraphicsContext3D::getIntegerv):
        (WebCore::GraphicsContext3D::getProgramiv):
        (WebCore::GraphicsContext3D::getProgramInfoLog):
        (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
        (WebCore::GraphicsContext3D::getShaderiv):
        (WebCore::GraphicsContext3D::getShaderInfoLog):
        (WebCore::GraphicsContext3D::getShaderSource):
        (WebCore::GraphicsContext3D::getTexParameterfv):
        (WebCore::GraphicsContext3D::getTexParameteriv):
        (WebCore::GraphicsContext3D::getUniformfv):
        (WebCore::GraphicsContext3D::getUniformiv):
        (WebCore::GraphicsContext3D::getUniformLocation):
        (WebCore::GraphicsContext3D::getVertexAttribfv):
        (WebCore::GraphicsContext3D::getVertexAttribiv):
        (WebCore::GraphicsContext3D::getVertexAttribOffset):
        (WebCore::GraphicsContext3D::texImage2D):
        (WebCore::GraphicsContext3D::texSubImage2D):
        (WebCore::GraphicsContext3D::createBuffer):
        (WebCore::GraphicsContext3D::createFramebuffer):
        (WebCore::GraphicsContext3D::createProgram):
        (WebCore::GraphicsContext3D::createRenderbuffer):
        (WebCore::GraphicsContext3D::createShader):
        (WebCore::GraphicsContext3D::createTexture):
        (WebCore::GraphicsContext3D::deleteBuffer):
        (WebCore::GraphicsContext3D::deleteFramebuffer):
        (WebCore::GraphicsContext3D::deleteProgram):
        (WebCore::GraphicsContext3D::deleteRenderbuffer):
        (WebCore::GraphicsContext3D::deleteShader):
        (WebCore::GraphicsContext3D::deleteTexture):
        (WebCore::GraphicsContext3D::sizeInBytes):
        (WebCore::GraphicsContext3D::synthesizeGLError):
        (WebCore::GraphicsContext3D::getImageData):
        * platform/graphics/skia/GraphicsContext3DSkia.cpp:
        (WebCore::GraphicsContext3D::getImageData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75214 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 01:03:18 +0000 (01:03 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        Add some expected "failing" tests post-r75205.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75213 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 00:47:25 +0000 (00:47 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        Remove duplicate expectations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75212 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Fri, 7 Jan 2011 00:39:04 +0000 (00:39 +0000)]
2011-01-06  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Stephanie Lewis.

        Fix syntax error in script.

        Windows bots need to archive/unarchive builds to/from configuration-specific directories
        https://bugs.webkit.org/show_bug.cgi?id=51996

        * BuildSlaveSupport/build.webkit.org-config/master.cfg:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75211 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoBug 52021 - zeroDouble broken on ARMv7
barraclough@apple.com [Fri, 7 Jan 2011 00:38:37 +0000 (00:38 +0000)]
Bug 52021 - zeroDouble broken on ARMv7

Reviewed by Darin Adler.

The bug here is that zeroDouble was working incorrectly,
leading to op_loop_if_true failing - specifically in the
case where the value being checked is 0.0 encoded as a
double (rather than an integer immediate).

Additionally this patch removes a redundant duplicate compare
in some (many) case.

* assembler/ARMv7Assembler.h:
(JSC::ARMv7Assembler::vcmp_F64):
(JSC::ARMv7Assembler::vcmpz_F64):
* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::branchDoubleNonZero):
(JSC::MacroAssemblerARM::branchDoubleZeroOrNaN):
* assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::branchDouble):
(JSC::MacroAssemblerARMv7::branchDoubleNonZero):
(JSC::MacroAssemblerARMv7::branchDoubleZeroOrNaN):
(JSC::MacroAssemblerARMv7::compare32):
* assembler/MacroAssemblerMIPS.h:
(JSC::MacroAssemblerMIPS::branchDoubleNonZero):
(JSC::MacroAssemblerMIPS::branchDoubleZeroOrNaN):
* assembler/MacroAssemblerX86Common.h:
(JSC::MacroAssemblerX86Common::branchDoubleNonZero):
(JSC::MacroAssemblerX86Common::branchDoubleZeroOrNaN):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_jfalse):
(JSC::JIT::emit_op_jtrue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75210 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 7 Jan 2011 00:24:05 +0000 (00:24 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Initial build support for WebGL
        https://bugs.webkit.org/show_bug.cgi?id=51716

        * configure.ac: Add a configure option for WebGL.
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Initial build support for WebGL
        https://bugs.webkit.org/show_bug.cgi?id=51716

        Add initial build support for WebGL and insert bits of implementation
        necessary for clean compilation into GraphicsContext3D.

        No new tests. This is just a build change.

        * GNUmakefile.am: Add missing files to the source lists.
        * platform/graphics/GraphicsContext3D.h: Include IntSize.h as it's used below.
        Include typedefs necessary for WebGL on GTK+ and consolidate typdefs which are the
        same across different platforms. X11 headers define the VERSION symbol, so it's
        necessary to undefine it, since it's used as an enum value.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75209 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Fri, 7 Jan 2011 00:17:23 +0000 (00:17 +0000)]
2011-01-06  Michael Saboff  <msaboff@apple.com>

        Reviewed by Gavin Barraclough.

        Enhancement: Add Regexp Debug Compare between JIT and Interpreter
        https://bugs.webkit.org/show_bug.cgi?id=51834

        * JavaScriptCore: Copied from JavaScriptCore.
2011-01-06  Michael Saboff  <msaboff@apple.com>

        Reviewed by Gavin Barraclough.

        Added debug code to compare the results of JIT regexp with
        interpreted regexp and displays discrepencies.  This debug code is
        controlled by the ENABLE_YARR_JIT_DEBUG macro in wtf/Platform.h and
        is only valid if ENABLE_YARR_JIT is enabled.

        Fixed a discovered problem in RegExp::printTraceData, changing
        m_pattern to the getter pattern().
        Also deleted an extraneous semicolon.

        Enhancement: Add Regexp Debug Compare between JIT and Interpreter
        https://bugs.webkit.org/show_bug.cgi?id=51834

        * runtime/RegExp.cpp:
        (JSC::RegExp::compile):
        (JSC::RegExp::match):
        (JSC::RegExp::printTraceData):
        * wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75208 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Fri, 7 Jan 2011 00:08:32 +0000 (00:08 +0000)]
2011-01-06  Helder Correia  <helder@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] GraphicsContext::drawConvexPolygon() has unnecessary code for shadow
        https://bugs.webkit.org/show_bug.cgi?id=52014

        The function is only used by RenderObject to draw box sides.
        The shadow branch is never used and thus can be removed.

        No new tests are necessary.

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::drawConvexPolygon):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75207 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Thu, 6 Jan 2011 23:39:50 +0000 (23:39 +0000)]
2011-01-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Make sure touch is disabled in the minimal configuration
        https://bugs.webkit.org/show_bug.cgi?id=51316

        No new tests as there is no new functionality.

        * features.pri:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75206 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd/update Windows-specific test results for recent regressions
aroben@apple.com [Thu, 6 Jan 2011 23:29:50 +0000 (23:29 +0000)]
Add/update Windows-specific test results for recent regressions

Bugs:
    http://webkit.org/b/52026
    http://webkit.org/b/52028
    http://webkit.org/b/52029

* platform/win/animations/animation-time-expected.txt: Added.
* platform/win/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Added.
* platform/win/fast/css/css3-nth-tokens-script-expected.txt: Added.
* platform/win/fast/css/css3-nth-tokens-style-expected.txt: Added.
* platform/win/fast/dom/Window/window-property-descriptors-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75205 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUpdate Windows results after r75177
aroben@apple.com [Thu, 6 Jan 2011 23:29:09 +0000 (23:29 +0000)]
Update Windows results after r75177

* platform/win/fast/dom/prototype-inheritance-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75204 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Thu, 6 Jan 2011 23:07:47 +0000 (23:07 +0000)]
2011-01-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Unreviewed, fixing WinCE build after r75196.

        WinCE port does not (yet) support NPAPI.

        * Scripts/build-webkit:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75203 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 6 Jan 2011 22:55:56 +0000 (22:55 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Freetype backend does not support WOFF
        https://bugs.webkit.org/show_bug.cgi?id=51904

        * platform/gtk/Skipped: Unskip passing WOFF test. Add results.
        * platform/gtk/fast/css/font-face-woff-expected.checksum: Added.
        * platform/gtk/fast/css/font-face-woff-expected.png: Added.
        * platform/gtk/fast/css/font-face-woff-expected.txt: Added.
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Freetype backend does not support WOFF
        https://bugs.webkit.org/show_bug.cgi?id=51904

        * CMakeListsEfl.txt: Add WOFF support to the sources list.
        * GNUmakefile.am: Add WOFF support to the sources list.
        * platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp:
        (WebCore::createFontCustomPlatformData): Call the WOFF decoder when appropriate.
        (WebCore::FontCustomPlatformData::supportsFormat): Advertise support for WOFF.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75202 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 6 Jan 2011 22:51:10 +0000 (22:51 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        GTK: AX: atk tests need to be updated after recent changes
        https://bugs.webkit.org/show_bug.cgi?id=51932

        Skip ATK unit tests until we can look into what is causing these failures.

        * tests/testatk.c:
        (main): Skip all tests.
        * tests/testatkroles.c:
        (main): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75201 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Thu, 6 Jan 2011 22:39:29 +0000 (22:39 +0000)]
2011-01-06  James Simonsen  <simonjam@chromium.org>

        Reviewed by Darin Fisher.

        [Web Timing] Remove vendor prefix
        https://bugs.webkit.org/show_bug.cgi?id=48922

        * fast/dom/Window/window-properties-performance-expected.txt: Test replaceability.
        * fast/dom/Window/window-properties-performance.html: Ditto.
        * fast/dom/Window/window-properties.html: Rename to performance.
        * fast/dom/resources/navigation-type-matches-querystring.html: Ditto.
        * fast/dom/script-tests/prototype-inheritance.js: Ditto.
        * fast/dom/script-tests/webtiming-document-open.js: Ditto.
        * fast/dom/script-tests/webtiming-navigate-within-document.js: Ditto.
        * fast/dom/script-tests/webtiming.js: Ditto.
        * http/tests/misc/resources/webtiming-one-redirect.html: Ditto.
        * http/tests/misc/resources/webtiming-two-redirects.html: Ditto.
2011-01-06  James Simonsen  <simonjam@chromium.org>

        Reviewed by Darin Fisher.

        [Web Timing] Remove vendor prefix
        https://bugs.webkit.org/show_bug.cgi?id=48922

        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::performance): Rename to performance.
        * page/DOMWindow.h:
        * page/DOMWindow.idl: Rename to performance and make replaceable.
2011-01-06  James Simonsen  <simonjam@chromium.org>

        Reviewed by Darin Fisher.

        [Web Timing] Remove vendor prefix
        https://bugs.webkit.org/show_bug.cgi?id=48922

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::performance): Rename to performance.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75200 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Thu, 6 Jan 2011 22:26:35 +0000 (22:26 +0000)]
2011-01-06  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
        https://bugs.webkit.org/show_bug.cgi?id=49388

        Changed PlatformCALayer API. Added PlatformCALayerClient abstract class which is
        used to communicate from PlatformCALayer to the owner. This replaces passing
        GraphicsLayerCA pointer when creating PlatformCALayer. It also includes the
        API that used to be in PlatformCALayerLayout. GraphicsLayerCA now implements
        the PlatformCALayerClient API.

        This change has little impact on the Mac side but makes the Windows
        interface simpler, especially when handling video layers on Windows.

        * WebCore.xcodeproj/project.pbxproj:
        * config.h:
        * platform/graphics/GraphicsLayer.h:
        (WebCore::GraphicsLayer::layerDidDisplay):
        (WebCore::GraphicsLayer::showDebugBorders):
        (WebCore::GraphicsLayer::showRepaintCounter):
        * platform/graphics/ca/GraphicsLayerCA.cpp:
        (WebCore::GraphicsLayerCA::platformCALayerAnimationStarted):
        (WebCore::GraphicsLayerCA::setContentsToImage):
        (WebCore::GraphicsLayerCA::setContentsToMedia):
        (WebCore::GraphicsLayerCA::layerDidDisplay):
        (WebCore::GraphicsLayerCA::updateSublayerList):
        * platform/graphics/ca/GraphicsLayerCA.h:
        (WebCore::GraphicsLayerCA::platformCALayerLayoutSublayersOfLayer):
        (WebCore::GraphicsLayerCA::platformCALayerRespondsToLayoutChanges):
        (WebCore::GraphicsLayerCA::platformCALayerContentsOrientation):
        (WebCore::GraphicsLayerCA::platformCALayerPaintContents):
        (WebCore::GraphicsLayerCA::platformCALayerShowDebugBorders):
        (WebCore::GraphicsLayerCA::platformCALayerShowRepaintCounter):
        (WebCore::GraphicsLayerCA::platformCALayerIncrementRepaintCount):
        (WebCore::GraphicsLayerCA::platformCALayerContentsOpaque):
        (WebCore::GraphicsLayerCA::platformCALayerDrawsContent):
        (WebCore::GraphicsLayerCA::platformCALayerLayerDidDisplay):
        (WebCore::GraphicsLayerCA::platformCALayer):
        * platform/graphics/ca/PlatformCALayer.h:
        (WebCore::PlatformCALayer::owner):
        (WebCore::PlatformCALayer::animationStarted):
        * platform/graphics/ca/PlatformCALayerClient.h: Added.
        (WebCore::PlatformCALayerClient::~PlatformCALayerClient):
        * platform/graphics/ca/mac/PlatformCALayerMac.mm:
        (PlatformCALayer::setOwner):
        (PlatformCALayer::create):
        (PlatformCALayer::PlatformCALayer):
        (PlatformCALayer::contents):
        (PlatformCALayer::setContents):
        * platform/graphics/mac/WebGLLayer.mm:
        (-[WebGLLayer display]):
        * platform/graphics/mac/WebLayer.h:
        * platform/graphics/mac/WebLayer.mm:
        (drawLayerContents):
        (setLayerNeedsDisplayInRect):
        (-[WebLayer setNeedsDisplay]):
        (-[WebLayer display]):
        * platform/graphics/mac/WebTiledLayer.mm:
        (-[WebTiledLayer setNeedsDisplay]):
        (-[WebTiledLayer display]):
        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::showDebugBorders):
        (WebCore::RenderLayerBacking::showRepaintCounter):
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::ensureRootPlatformLayer):
        * rendering/RenderLayerCompositor.h:
        (WebCore::RenderLayerCompositor::compositorShowDebugBorders):
        (WebCore::RenderLayerCompositor::compositorShowRepaintCounter):
        (WebCore::RenderLayerCompositor::notifyAnimationStarted):
        (WebCore::RenderLayerCompositor::notifySyncRequired):
        (WebCore::RenderLayerCompositor::paintContents):
        (WebCore::RenderLayerCompositor::showDebugBorders):
        (WebCore::RenderLayerCompositor::showRepaintCounter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75199 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Thu, 6 Jan 2011 22:07:41 +0000 (22:07 +0000)]
2011-01-06  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Allow framesets after hidden inputs
        https://bugs.webkit.org/show_bug.cgi?id=51998

        * html5lib/resources/webkit01.dat: Demonstrate that the value of the type attribute matters. An input with no type is tested in tests19.dat.
2011-01-06  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Allow framesets after hidden inputs
        https://bugs.webkit.org/show_bug.cgi?id=51998

        This implements the HTML5 spec update in response to:
        http://www.w3.org/Bugs/Public/show_bug.cgi?id=11156

        * html/parser/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::processStartTagForInBody):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75198 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 6 Jan 2011 22:01:35 +0000 (22:01 +0000)]
2011-01-06  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Darin Adler.

        File::Spec->rel2abs in sunspider-compare-results mangles parameters
        https://bugs.webkit.org/show_bug.cgi?id=52015

        * Scripts/sunspider-compare-results: call rel2abs on our arguments
        after the platform has been detected, otherwise the script will
        mangle things like '--gtk' into '/a/path/--gtk', breaking the
        detection.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75197 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Thu, 6 Jan 2011 21:49:39 +0000 (21:49 +0000)]
2011-01-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Eric Seidel.

        Add ENABLE_NETSCAPE_PLUGIN_API, ENABLE_ORIENTATION_EVENTS and ENABLE_TOUCH_EVENTS flags to build-webkit
        https://bugs.webkit.org/show_bug.cgi?id=51346

        * Scripts/build-webkit:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75196 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-12-29 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 6 Jan 2011 21:49:11 +0000 (21:49 +0000)]
2010-12-29  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        vertexAttribPointer should raise INVALID_OPERATION if stride/offset is not multiple of the type size
        https://bugs.webkit.org/show_bug.cgi?id=51725

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::vertexAttribPointer):
2010-12-29  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        vertexAttribPointer should raise INVALID_OPERATION if stride/offset is not multiple of the type size
        https://bugs.webkit.org/show_bug.cgi?id=51725

        * fast/canvas/webgl/gl-vertexattribpointer-expected.txt:
        * fast/canvas/webgl/gl-vertexattribpointer.html: Sync with khronos.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75195 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 6 Jan 2011 21:42:16 +0000 (21:42 +0000)]
2011-01-06  Zhenyao Mo  <zmo@google.com>

        Unreviewed, add glsl-conformance.html to test_expectations.txt temporarily.

        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75194 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Thu, 6 Jan 2011 21:32:44 +0000 (21:32 +0000)]
2011-01-06  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Windows bots need to archive/unarchive builds to/from configuration-specific directories
        https://bugs.webkit.org/show_bug.cgi?id=51996

        After the configuration directory change, we were archiving the incorrect directory for
        build product, so we were running tests on the wrong binaries.

        This change archives the correct directory, and also unarchives it into a configuration-
        specific directory.

        * BuildSlaveSupport/build.webkit.org-config/master.cfg: Use a configuration-specific directory on Windows.
        * BuildSlaveSupport/built-product-archive: Unarchive/archive to/from proper directory.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75192 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 6 Jan 2011 21:30:15 +0000 (21:30 +0000)]
2011-01-06  Eric Seidel  <eric@webkit.org>

        Reviewed by Mihai Parparita.

        commit-queue mentions "Text diff mismatch" 4 times instead of once per failure
        https://bugs.webkit.org/show_bug.cgi?id=52002

        See an example of this here:
        https://bugs.webkit.org/show_bug.cgi?id=51314#c2

        It's due to the fact that we pass around TestFailure() instance
        objects and yet expect them to all compare to be the same.

        This is bad.  We should either have shared instances of these values
        or we should just pass around the class names.  There are already hacks
        in place to make TestFailure objects pass equality tests, I just added
        a __hash__ implementation so they can be used in sets as expected.

        * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75191 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 6 Jan 2011 21:19:24 +0000 (21:19 +0000)]
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        [WINCE] Remove JSC::g_stackBase
        https://bugs.webkit.org/show_bug.cgi?id=51779

        * wtf/StackBounds.cpp:
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        [WINCE] Remove JSC::g_stackBase
        https://bugs.webkit.org/show_bug.cgi?id=51779

        * platform/wince/SharedTimerWinCE.cpp:
        (WebCore::TimerWindowWndProc):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75190 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Robert Hogan <robert@webkit.org>
robert@webkit.org [Thu, 6 Jan 2011 20:54:44 +0000 (20:54 +0000)]
2011-01-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge

        This allows LayoutTestController to pass WebCore::Node back to
        layout tests.

        Also amend nodesFromRect-links-and-text.html and
        nodesFromRect-inner-documents.html so that they do not produce
        platform-specific results.

        Unskip:
        fast/dom/nodesFromRect-links-and-text.html
        fast/dom/nodesFromRect-inner-documents.html

        https://bugs.webkit.org/show_bug.cgi?id=48957

        * fast/dom/nodesFromRect-inner-documents-expected.txt:
        * fast/dom/nodesFromRect-inner-documents.html:
        * fast/dom/nodesFromRect-links-and-text-expected.txt:
        * fast/dom/nodesFromRect-links-and-text.html:
        * fast/dom/resources/nodesFromRect.js:
        (check):
        (getTopFor):
        (getBottomFor):
        * platform/qt/Skipped:
2011-01-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge

        This allows LayoutTestController to pass WebCore::Node back to
        layout tests.

        Also amend nodesFromRect-links-and-text.html and
        nodesFromRect-inner-documents.html so that they do not produce
        platform-specific results.

        Unskip:
        fast/dom/nodesFromRect-links-and-text.html
        fast/dom/nodesFromRect-inner-documents.html

        https://bugs.webkit.org/show_bug.cgi?id=48957

        * bridge/qt/qt_runtime.cpp:
        (JSC::Bindings::QtDRTNodeRuntime::create):
        (JSC::Bindings::QtDRTNodeRuntime::get):
        (JSC::Bindings::convertValueToQVariant):
        (JSC::Bindings::convertQVariantToValue):
2011-01-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge

        This allows LayoutTestController to pass WebCore::Node back to
        layout tests.

        Also amend nodesFromRect-links-and-text.html and
        nodesFromRect-inner-documents.html so that they do not produce
        platform-specific results.

        Unskip:
        fast/dom/nodesFromRect-links-and-text.html
        fast/dom/nodesFromRect-inner-documents.html

        https://bugs.webkit.org/show_bug.cgi?id=48957

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (QDRTNode::QDRTNode):
        (QDRTNode::~QDRTNode):
        (DumpRenderTreeSupportQt::nodesFromRect):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75189 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Joone Hur <joone.hur@collabora.co.uk>
commit-queue@webkit.org [Thu, 6 Jan 2011 20:53:25 +0000 (20:53 +0000)]
2011-01-06  Joone Hur  <joone.hur@collabora.co.uk>

        Reviewed by Eric Seidel.

        WML Parser should treat line/column number in a consistent way
        https://bugs.webkit.org/show_bug.cgi?id=51601

        Add the equality operators to TextPosition class.

        * wtf/text/TextPosition.h:
        (WTF::TextPosition::operator==): Added.
        (WTF::TextPosition::operator!=): Added.
        (WTF::TextPosition::belowRangePosition): Use belowBase() instead of base().
        (WTF::ZeroBasedNumber::operator==): Added.
        (WTF::ZeroBasedNumber::operator!=): Added.
        (WTF::OneBasedNumber::operator==): Added.
        (WTF::OneBasedNumber::operator!=): Added.
2011-01-06  Joone Hur  <joone.hur@collabora.co.uk>

        Reviewed by Eric Seidel.

        WML Parser should treat line/column number in a consistent way
        https://bugs.webkit.org/show_bug.cgi?id=51601

        XML Parser treats line/column number as 1-based values, but WML ErrorHandler treat them as 0-based.
        Therefore, this patch allows WML ErrorHandler to use 1-based values.

        * dom/XMLDocumentParser.cpp:
        (WebCore::XMLDocumentParser::handleError): Treat line/column number as 1 based values.
        * dom/XMLDocumentParser.h: Make textPositionOneBased public and Add TextPosition1(m_lastErrorPosition) to keep error line/column number.
        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::XMLDocumentParser::XMLDocumentParser): Initialize m_lastErrorPosition.
        * dom/XMLDocumentParserQt.cpp:
        (WebCore::XMLDocumentParser::XMLDocumentParser): Initialize m_lastErrorPosition.
        * wml/WMLErrorHandling.cpp:
        (WebCore::reportWMLError): Use 1 based value instead of 0 based value to report error line/column number.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75188 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAlways show the arrow cursor when the web process has crashed
aroben@apple.com [Thu, 6 Jan 2011 20:49:30 +0000 (20:49 +0000)]
Always show the arrow cursor when the web process has crashed

Fixes <http://webkit.org/b/52006> WKView shows a stale cursor when the
web process crashes

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::processDidCrash):
(WebKit::WebView::didRelaunchProcess):
Update the cursor to reflect the new state.

(WebKit::WebView::cursorToShow): Always show the arrow cursor when the
web process has crashed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75187 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoReduce code duplication in WebView::updateNativeCursor
aroben@apple.com [Thu, 6 Jan 2011 20:49:02 +0000 (20:49 +0000)]
Reduce code duplication in WebView::updateNativeCursor

Fixes <http://webkit.org/b/52005> It's not easy to add new behavior to
WebView::updateNativeCursor

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::cursorToShow): Moved code to choose a cursor here...
(WebKit::WebView::updateNativeCursor): ...from here.

* UIProcess/win/WebView.h: Added cursorToShow.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75186 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoMake WKView fill with white when the web process has crashed
aroben@apple.com [Thu, 6 Jan 2011 20:48:33 +0000 (20:48 +0000)]
Make WKView fill with white when the web process has crashed

Previously we would just draw whatever we had last drawn into the
WKView (i.e., a stale picture of the web page), which was confusing
(because the web page would mysteriously not respond to input) and ugly
(because it wouldn't behave properly if the window was resized).

Fixes <http://webkit.org/b/52004> WKView keeps painting a stale
picture of the web page when the web process crashes

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::onPaintEvent): Ported code from -[WKView drawRect:]
to fill with white if the page is invalid or has no DrawingArea. As a
bonus, also ported the call to WebPageProxy::didDraw from that method.

(WebKit::WebView::processDidCrash):
(WebKit::WebView::didRelaunchProcess):
Invalidate our window so that we'll redraw with white or the new page.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75185 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoMake WKViews work on Windows after a crashed web process gets relaunched
aroben@apple.com [Thu, 6 Jan 2011 20:48:06 +0000 (20:48 +0000)]
Make WKViews work on Windows after a crashed web process gets relaunched

Fixes <http://webkit.org/b/52001> Relaunching the web process fails to
revivify WKViews on Windows

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::didRelaunchProcess): Implemented by porting code from
-[WKView _didRelaunchProcess].

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75184 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRemove WebView::m_rect
aroben@apple.com [Thu, 6 Jan 2011 20:47:38 +0000 (20:47 +0000)]
Remove WebView::m_rect

It was only used in the constructor, and wasn't even kept up-to-date as
the WebView's size changed.

Fixes <http://webkit.org/b/52000> WebView::m_rect is unnecessary

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
* UIProcess/win/WebView.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75183 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRemove some dead code from WKCACFLayerRenderer
aroben@apple.com [Thu, 6 Jan 2011 20:46:49 +0000 (20:46 +0000)]
Remove some dead code from WKCACFLayerRenderer

Fixes <http://webkit.org/b/51954> WKCACFLayerRenderer has dead and
redundant code for reacting to changes to the layer tree

Reviewed by Sam Weinig.

* platform/graphics/win/WKCACFLayerRenderer.cpp:
* platform/graphics/win/WKCACFLayerRenderer.h:
Removed didFlushContext and the HashMap it depended on. We react to
changes to the layer tree in layerTreeDidChange instead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75182 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Thu, 6 Jan 2011 20:44:24 +0000 (20:44 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations update.

        Update test_expectations.txt files to reflect reality on the canaries.

        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75181 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 6 Jan 2011 20:39:55 +0000 (20:39 +0000)]
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Gavin Barraclough.

        [WINCE] Determine stack extent
        https://bugs.webkit.org/show_bug.cgi?id=26276

        Scan the stack for writeable pages and use the limits.

        * wtf/StackBounds.cpp:
        (WTF::detectGrowingDownward):
        (WTF::isPageWritable):
        (WTF::getLowerStackBound):
        (WTF::getUpperStackBound):
        (WTF::StackBounds::initialize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75180 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAX: "AXExpanded" not exposed on most ARIA roles that use aria-expanded
cfleizach@apple.com [Thu, 6 Jan 2011 20:39:27 +0000 (20:39 +0000)]
AX: "AXExpanded" not exposed on most ARIA roles that use aria-expanded
https://bugs.webkit.org/show_bug.cgi?id=51995

Reviewed by Beth Dakin.

WebCore:

Test: platform/mac/accessibility/aria-expanded-standard-items.html

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::supportsARIAExpanded):
(WebCore::AccessibilityObject::isExpanded):
* accessibility/AccessibilityObject.h:
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::isVisited):
* accessibility/AccessibilityRenderObject.h:
* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper additionalAccessibilityAttributeNames]):

LayoutTests:

* platform/mac/accessibility/aria-expanded-standard-items-expected.txt: Added.
* platform/mac/accessibility/aria-expanded-standard-items.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75179 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Evan Martin <evan@chromium.org>
evan@chromium.org [Thu, 6 Jan 2011 20:34:01 +0000 (20:34 +0000)]
2011-01-06  Evan Martin  <evan@chromium.org>

        Reviewed by Tony Chang.

        [gdb] handle inaccessible memory and UChar*
        https://bugs.webkit.org/show_bug.cgi?id=52003

        To pretty-print a UChar*, we just grope around in the memory
        looking for a terminating NUL.  We need to handle the exception
        that can occur when we poke into an invalid location.

        Additionally, the logic for choosing which pretty-printer would
        early return before hitting the point where we'd use the UChar*
        printer.  (Did this ever work?  How did it regress?)

        * gdb/webkit.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75178 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 6 Jan 2011 20:28:58 +0000 (20:28 +0000)]
2011-01-06  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        prototype-inheritance prints FAIL when it shouldn't
        https://bugs.webkit.org/show_bug.cgi?id=52007

        Before this patch, we were testing the prototypes of primitive values,
        but the rules for primitive values are different than the rules for
        objects.  Primitive values get their prototypes from the current
        lexical scope when they get boxed.  This test is designed to test that
        objects get their prototypes from their original holder.

        In this patch, we skip testing non-object/non-functions.  We can add
        another test for primitives if we think that would be valuable.

        * fast/dom/prototype-inheritance-expected.txt:
        * fast/dom/script-tests/prototype-inheritance.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75177 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 6 Jan 2011 20:20:30 +0000 (20:20 +0000)]
2011-01-06  James Robinson  <jamesr@chromium.org>

        Update expectations for tests that enumerate properties on the window to reflect newly added property.

        * fast/dom/Window/window-properties-expected.txt:
        * fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/gtk/fast/dom/Window/window-properties-expected.txt:
        * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/qt/fast/dom/Window/window-properties-expected.txt:
        * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75176 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-12-28 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 6 Jan 2011 19:33:58 +0000 (19:33 +0000)]
2010-12-28  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Must generate INVALID_VALUE errors for strings containing out-of-range characters
        https://bugs.webkit.org/show_bug.cgi?id=50929

        * html/canvas/WebGLRenderingContext.cpp: Validate characters according to GLSL ES 1.0 spec section 3.1.
        (WebCore::WebGLRenderingContext::bindAttribLocation):
        (WebCore::WebGLRenderingContext::getAttribLocation):
        (WebCore::WebGLRenderingContext::getUniformLocation):
        (WebCore::WebGLRenderingContext::shaderSource):
        (WebCore::WebGLRenderingContext::validateString): Helper function to perform the character validation.
        * html/canvas/WebGLRenderingContext.h: Declare validateString().
2010-12-28  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Must generate INVALID_VALUE errors for strings containing out-of-range characters
        https://bugs.webkit.org/show_bug.cgi?id=50929

        * fast/canvas/webgl/invalid-passed-params-expected.txt: Add test cases for invalid characters.
        * fast/canvas/webgl/invalid-passed-params.html: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75175 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWebKit2: Should be able to call into injected bundle to ask if we should allow resour...
bweinstein@apple.com [Thu, 6 Jan 2011 19:27:23 +0000 (19:27 +0000)]
WebKit2: Should be able to call into injected bundle to ask if we should allow resource loads
https://bugs.webkit.org/show_bug.cgi?id=51969

Reviewed by Ada Chan.

Tools:

Add shouldLoadResourceForFrame to WTR::InjectedBundlePage.

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::InjectedBundlePage):
(WTR::InjectedBundlePage::shouldLoadResourceForFrame): Stub implementation.
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:

WebKit2:

Add the ability to call into the injected bundle to ask if we should allow resource loads.
If the injected bundle says we should cancel, we clear out the ResourceRequest that was
passed into willSendRequest, which cancels the resource load.

* WebProcess/InjectedBundle/API/c/WKBundlePage.h: Add the new callback for allowing/cancelling
    resource loads.
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
(WebKit::InjectedBundlePageLoaderClient::shouldLoadResourceForFrame): Calls through to the client.
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchWillSendRequest): Ask the InjectedBundlePageLoaderClient if we
    should load the resource or not.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75174 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Thu, 6 Jan 2011 19:23:58 +0000 (19:23 +0000)]
2011-01-06  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Improve the layouttests from r75168 and make sure that the parent stylesheet value is null
        before showing test passed.

        * fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html:
        * fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75173 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Yong Li <yoli@rim.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 19:14:07 +0000 (19:14 +0000)]
2011-01-06  Yong Li  <yoli@rim.com>

        Reviewed by Adam Barth.
        Add the test case that is missed in r75066.
        https://bugs.webkit.org/show_bug.cgi?id=48077

        Test case: WebCore/manual-tests/bugzilla-48077.html.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75172 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Jeff Miller <jeffm@apple.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 19:08:43 +0000 (19:08 +0000)]
2011-01-06  Jeff Miller  <jeffm@apple.com>

        Reviewed by Darin Adler.

        WebKit2: Add APIs to WKBundleFrame to get content bounds and scroll offset
        https://bugs.webkit.org/show_bug.cgi?id=51968

        * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
        (WKBundleFrameGetContentBounds):
        (WKBundleFrameGetScrollOffset):
        * WebProcess/InjectedBundle/API/c/WKBundleFrame.h:
        Add WKBundleFrameGetContentBounds() and WKBundleFrameGetScrollOffset().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75171 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 6 Jan 2011 19:07:36 +0000 (19:07 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        Include a new header in the static headers list. This is necessary
        so that "make install" installs the header.

        * GNUmakefile.am: Include webkitglobals.h in the header list.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75170 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 6 Jan 2011 19:07:25 +0000 (19:07 +0000)]
2011-01-06  James Robinson  <jamesr@chromium.org>

        Reviewed by Simon Fraser.

        Implement mozilla's animationTime property
        https://bugs.webkit.org/show_bug.cgi?id=51952

        Tests for window.webkitAnimationTime.

        * animations/animation-time-expected.txt: Added.
        * animations/animation-time.html: Added.
        * animations/script-tests/animation-time.js: Added.
2011-01-06  James Robinson  <jamesr@chromium.org>

        Reviewed by Simon Fraser.

        Implement mozilla's animationTime property
        https://bugs.webkit.org/show_bug.cgi?id=51952

        Chromium DRT support for webkitAnimationTime.

        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::paintInvalidatedRegion):
2011-01-06  James Robinson  <jamesr@chromium.org>

        Reviewed by Simon Fraser.

        Implement mozilla's animationTime property
        https://bugs.webkit.org/show_bug.cgi?id=51952

        Implements mozilla's animationTime property as described here:
        https://developer.mozilla.org/en/DOM/window.mozAnimationStartTime
        and http://hacks.mozilla.org/2010/08/more-efficient-javascript-animations-with-mozrequestanimationframe/
        The property is called webkitAnimationTime as calling it the 'Start' time is not very informative.
        This property exposes a notion of a 'current' time to use for declarative animations and allows
        scripts to synchronize imperative animations with declarative ones if they choose to.  Once queried
        this time is saved and used for all declarative animation updates until the embedder paints/composites
        the next frame and clears it, or 15ms elapse (in case the embedder isn't producing frames, for example
        if the page is in a background tab).

        This patch also ensures that all declarative animations started in the same script execution block
        are synchronized even if some time elapses while script is running.

        Test: fast/animation/animation-time.html

        * WebCore.gypi:
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::webkitAnimationTime):
        * page/DOMWindow.h:
        * page/DOMWindow.idl:
        * page/Frame.cpp:
        (WebCore::Frame::currentAnimationTime):
        * page/Frame.h:
        * page/Page.cpp:
        (WebCore::Page::Page):
        * page/Page.h:
        (WebCore::Page::animationTime):
        * page/animation/AnimationController.cpp:
        (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):
        * page/animation/AnimationTimeController.cpp: Added.
        (WebCore::AnimationTimeController::AnimationTimeController):
        (WebCore::AnimationTimeController::~AnimationTimeController):
        (WebCore::AnimationTimeController::currentAnimationTime):
        (WebCore::AnimationTimeController::clearCurrentAnimationTime):
        (WebCore::AnimationTimeController::clearCurrentAnimationTimeTimerFired):
        * page/animation/AnimationTimeController.h: Added.
        (WebCore::AnimationTimeController::create):
2011-01-06  James Robinson  <jamesr@chromium.org>

        Reviewed by Simon Fraser.

        Implement mozilla's animationTime property
        https://bugs.webkit.org/show_bug.cgi?id=51952

        WebKit API support for webkitAnimationTime.

        * public/WebWidget.h:
        * src/WebPopupMenuImpl.cpp:
        (WebKit::WebPopupMenuImpl::clearCurrentAnimationTime):
        * src/WebPopupMenuImpl.h:
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::clearCurrentAnimationTime):
        * src/WebViewImpl.h:
2011-01-06  James Robinson  <jamesr@chromium.org>

        Reviewed by Simon Fraser.

        Implement mozilla's animationTime property
        https://bugs.webkit.org/show_bug.cgi?id=51952

        Tells the page to clear the current animation time after producing a frame.

        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::drawRect):
        * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
        (WebKit::ChunkedUpdateDrawingArea::display):
        (WebKit::ChunkedUpdateDrawingArea::setSize):
        * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
        (WebKit::LayerBackedDrawingArea::syncCompositingLayers):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75169 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Thu, 6 Jan 2011 18:52:51 +0000 (18:52 +0000)]
2011-01-06  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Simon Fraser.

        Null out the parent stylesheet pointer when a css rule is removed.
        https://bugs.webkit.org/show_bug.cgi?id=51993

        Tests: fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html
               fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html

        * css/CSSRuleList.cpp:
        (WebCore::CSSRuleList::deleteRule):
        * css/CSSStyleSheet.cpp:
        (WebCore::CSSStyleSheet::deleteRule):
2011-01-06  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Simon Fraser.

        Tests that we do not crash when accessing a deleted parent stylesheet
        from a removed css rule.
        https://bugs.webkit.org/show_bug.cgi?id=51993

        * fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash-expected.txt: Added.
        * fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html: Added.
        * fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash-expected.txt: Added.
        * fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75168 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-04 Adrienne Walker <enne@google.com>
enne@google.com [Thu, 6 Jan 2011 18:47:50 +0000 (18:47 +0000)]
2011-01-04  Adrienne Walker  <enne@google.com>

        Reviewed by Kenneth Russell.

        Add test cases for storing NaN in typed arrays.
        https://bugs.webkit.org/show_bug.cgi?id=46990

        * fast/canvas/webgl/array-unit-tests-expected.txt:
        * fast/canvas/webgl/array-unit-tests.html:
2011-01-04  Adrienne Walker  <enne@google.com>

        Reviewed by Kenneth Russell.

        NaN in a TypedArray should be converted to zero only for Float32Array.
        https://bugs.webkit.org/show_bug.cgi?id=46990

        Test: LayoutTests/fast/canvas/webgl/array-unit-tests.html

        * bindings/js/JSArrayBufferViewHelper.h:
        (WebCore::convertArrayValue):
        (WebCore::constructArrayBufferView):
        * html/canvas/Float32Array.h:
        (WebCore::Float32Array::set):
        (WebCore::Float32Array::item):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75167 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Julie Parent <jparent@chromium.org>
jparent@chromium.org [Thu, 6 Jan 2011 18:42:44 +0000 (18:42 +0000)]
2011-01-06  Julie Parent  <jparent@chromium.org>

        Reviewed by Tony Chang.

        Test Result Server always truncates number of results to JSON_RESULTS_MAX_BUILDS
        https://bugs.webkit.org/show_bug.cgi?id=51217

        * TestResultServer/model/jsonresults.py:
        Pass num_runs through to _remove_items_over_max_number_of_builds, and use the value.
        Adds missing documentation.
        * TestResultServer/model/jsonresults_unittest.py:
        Add unit test to test that truncation happens at smaller value than JSON_RESULTS_MAX_BUILDS.
        Update test_merge to take a number of builds to truncate at.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75166 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 6 Jan 2011 18:21:27 +0000 (18:21 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Enable blob support by default
        https://bugs.webkit.org/show_bug.cgi?id=51994

        * configure.ac: Enable Blob support by default.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75165 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 18:19:29 +0000 (18:19 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, build fix.

        [Chromium] Add elliptical gradient support to GradientSkia
        https://bugs.webkit.org/show_bug.cgi?id=51841

        Marks fast/gradients/css3-radial-gradients3.html as expected to fail.
        Also marks
        canvas/philip/tests/2d.shadow.gradient.alpha.html
        canvas/philip/tests/2d.shadow.gradient.basic.html
        canvas/philip/tests/2d.shadow.gradient.transparent.2.html
        as passing on Chromium-mac as a result of r75139.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75164 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 6 Jan 2011 18:16:05 +0000 (18:16 +0000)]
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed Windows build fix for r75161.

        * platform/graphics/cg/GraphicsContextCG.cpp: Missing include added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75163 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 17:57:50 +0000 (17:57 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, rolling out r75152.

        [Chromium] fast/gradients/css3-radial-gradients3.html needs Chromium-specific results
        https://bugs.webkit.org/show_bug.cgi?id=51988

        Rolling out since, on closer inspection, the expectations are wrong and the corresponding test really fails.

        * platform/chromium-mac/fast/gradients/css3-radial-gradients3-expected.checksum: Removed.
        * platform/chromium-mac/fast/gradients/css3-radial-gradients3-expected.png: Removed.
        * platform/chromium-win/fast/gradients/css3-radial-gradients3-expected.checksum: Removed.
        * platform/chromium-win/fast/gradients/css3-radial-gradients3-expected.png: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75162 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 6 Jan 2011 17:36:49 +0000 (17:36 +0000)]
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed WinCE build fix for r75139.

        Try to remove include after adding forward-declaration in r75145.

        * platform/graphics/Gradient.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75161 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=51811
reni@webkit.org [Thu, 6 Jan 2011 16:50:45 +0000 (16:50 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=51811
Merge m_height and m_width members of ImageData into the new m_size member.

Patch by Renata Hodovan <reni@webkit.org> on 2011-01-06
Reviewed by Andreas Kling.

Image (BitmapImage, ImageSource) types in WebKit use IntSize to store their
width and height argument, except ImageData. This patch refactors ImageData
to follow the style of other Image types in WebKit.
Using of PassRefPtrs other than argument passing is not allowed in WebKit anymore.
This patch also refactors the PassRefPtr usages of ImageData.

It's just a refactoring, so we don't need any new tests.

* bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneSerializer::write):
(WebCore::CloneDeserializer::readTerminal):
* bindings/v8/SerializedScriptValue.cpp:
(WebCore::ZigZag::Reader::readImageData):
* html/ImageData.cpp:
(WebCore::ImageData::create):
(WebCore::ImageData::ImageData):
* html/ImageData.h:
(WebCore::ImageData::size):
(WebCore::ImageData::width):
(WebCore::ImageData::height):
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::createEmptyImageData):
(WebCore::CanvasRenderingContext2D::createImageData):
(WebCore::CanvasRenderingContext2D::getImageData):
* html/canvas/CanvasRenderingContext2D.h:
* platform/graphics/haiku/ImageBufferHaiku.cpp:
(WebCore::getImageData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75160 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWebCore: document.querySelector(':nth-child(foo)') should throw a syntax error
yael.aharon@nokia.com [Thu, 6 Jan 2011 16:46:36 +0000 (16:46 +0000)]
WebCore: document.querySelector(':nth-child(foo)') should throw a syntax error
https://bugs.webkit.org/show_bug.cgi?id=51231

Reviewed by Darin Adler.

Also fixes
CSSNthSelector parsing code is illegible and buggy (allows "n3" as a valid selector)
https://bugs.webkit.org/show_bug.cgi?id=21815

Add a check in the parser that other than an+b, only "odd" or "even" would be allowed
as parameters to nth selector.

Tests: fast/css/css3-nth-tokens-script.html
       fast/css/css3-nth-tokens-style.html

* css/CSSGrammar.y:
* css/CSSParser.cpp:
(WebCore::isValidNthToken):
* css/CSSParser.h:

LayoutTests: document.querySelector(':nth-child(foo)') should throw a syntax error
https://bugs.webkit.org/show_bug.cgi?id=51231
CSSNthSelector parsing code is illegible and buggy (allows "n3" as a valid selector)
https://bugs.webkit.org/show_bug.cgi?id=21815

Reviewed by Darin Adler.

* fast/css/css3-nth-tokens-script-expected.txt: Added.
* fast/css/css3-nth-tokens-script.html: Added.
* fast/css/css3-nth-tokens-style-expected.txt: Added.
* fast/css/css3-nth-tokens-style.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75158 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Jan Erik Hanssen <jhanssen@sencha.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 16:31:47 +0000 (16:31 +0000)]
2011-01-06  Jan Erik Hanssen  <jhanssen@sencha.com>

        Reviewed by Andreas Kling.

        [Qt] crash in QNetworkReplyHandler::sendResponseIfNeeded()
        https://bugs.webkit.org/show_bug.cgi?id=51453

        Check if m_reply is NULL before accessing.

        * manual-tests/load-deferrer-resume-crash.html: Added.
        * platform/network/qt/QNetworkReplyHandler.cpp:
        (WebCore::QNetworkReplyHandler::setLoadMode):
        (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75157 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRedo the half-done rename from the last check-in.
darin@apple.com [Thu, 6 Jan 2011 16:24:42 +0000 (16:24 +0000)]
Redo the half-done rename from the last check-in.
Sorry for the broken build last night.

* WebProcess/WebPage/WebBackForwardListProxy.cpp:
(WebKit::WebBackForwardListProxy::removeItem): Renamed.
* WebProcess/WebPage/WebBackForwardListProxy.h: Updated
for new name.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didRemoveBackForwardItem): Updated to
use the new name.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75156 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 16:16:17 +0000 (16:16 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, build fix.

        [Chromium] canvas/canvas-fillRect-gradient-shadow.html fails on Chromium.
        https://bugs.webkit.org/show_bug.cgi?id=51989

        Updating the test expectations for the chromium-gpu platform.

        * platform/chromium-gpu/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75155 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 15:31:26 +0000 (15:31 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, build fix.

        [Chromium] canvas/canvas-fillRect-gradient-shadow.html fails on Chromium.
        https://bugs.webkit.org/show_bug.cgi?id=51989

        Added suppressions for
        svg/batik/text/textEffect.svg
        svg/batik/text/textEffect3.svg
        svg/css/composite-shadow-text.svg
        svg/custom/js-late-gradient-and-object-creation.svg
        svg/custom/js-late-gradient-creation.svg
        svg/text/selection-background-color.xhtml
        svg/text/selection-styles.xhtml
        svg/text/text-gradient-positioning.svg

        These tests are all failing as a result of the same change: r75153.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75154 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 14:32:15 +0000 (14:32 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, build fix.

        [Chromium] canvas/canvas-fillRect-gradient-shadow.html fails on Chromium.
        https://bugs.webkit.org/show_bug.cgi?id=51989

        Updating Chromium expectations until we find a fix.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75153 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 14:13:29 +0000 (14:13 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, build fix.

        [Chromium] fast/gradients/css3-radial-gradients3.html needs Chromium-specific results
        https://bugs.webkit.org/show_bug.cgi?id=51988

        * platform/chromium-mac/fast/gradients/css3-radial-gradients3-expected.checksum: Added.
        * platform/chromium-mac/fast/gradients/css3-radial-gradients3-expected.png: Added.
        * platform/chromium-win/fast/gradients/css3-radial-gradients3-expected.checksum: Added.
        * platform/chromium-win/fast/gradients/css3-radial-gradients3-expected.png: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75152 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Thu, 6 Jan 2011 14:04:42 +0000 (14:04 +0000)]
2011-01-06  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Csaba Osztrogon√°c.

        [Qt][V8] Fix the build when DEVICE_ORIENTATION is enabled.

        No new tests needed.

        * WebCore.pro: remove duplications and globally add RuntimeEnabledFeatures.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75151 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed.
ossy@webkit.org [Thu, 6 Jan 2011 12:48:54 +0000 (12:48 +0000)]
Unreviewed.

[Qt] Web Timing related bugs
https://bugs.webkit.org/show_bug.cgi?id=51245

* platform/qt/Skipped: Add new tests.
 - http/tests/misc/webtiming-origins.html
 - http/tests/misc/webtiming-slow-load.php

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75150 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 6 Jan 2011 11:31:08 +0000 (11:31 +0000)]
2011-01-06  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        The EWS should log outside of the working directory
        https://bugs.webkit.org/show_bug.cgi?id=51986

        This patch prepare us for using git clean -x -d -f in the EWS wrapper
        script, which will actually clean the working copy back to a pristine
        state instead of leaving untracked directories and ignored files.

        * Scripts/webkitpy/tool/commands/queues.py:
        * Scripts/webkitpy/tool/commands/queues_unittest.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75149 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-06 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 10:49:49 +0000 (10:49 +0000)]
2011-01-06  Helder Correia  <helder@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt][GTK] Use GraphicsContext::hasShadow() in port-specific code
        https://bugs.webkit.org/show_bug.cgi?id=51985

        r75139 introduced GraphicsContext::hasShadow(). This can now simplify
        and unify some code in the Qt and GTK ports.

        No new tests necessary for this refactoring.

        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::GraphicsContext::fillRect):
        (WebCore::GraphicsContext::fillRoundedRect):
        * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::drawConvexPolygon):
        (WebCore::GraphicsContext::fillPath):
        (WebCore::GraphicsContext::strokePath):
        (WebCore::GraphicsContext::fillRect):
        (WebCore::GraphicsContext::fillRoundedRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75148 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix build for Darin's previous change w/ the obvious renaming.
mjs@apple.com [Thu, 6 Jan 2011 08:41:49 +0000 (08:41 +0000)]
Fix build for Darin's previous change w/ the obvious renaming.

Rubber stamped by Dan Bernstein.

* WebProcess/WebPage/WebBackForwardListProxy.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didRemoveBackForwardItem):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75147 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-12-29 John Abd-El-Malek <jam@chromium.org>
jam@chromium.org [Thu, 6 Jan 2011 07:43:20 +0000 (07:43 +0000)]
2010-12-29  John Abd-El-Malek  <jam@chromium.org>

        Reviewed by Darin Fisher.

        [chromium] Add a WebAutoFillClient interface that moves some functions from WebViewClient
        https://bugs.webkit.org/show_bug.cgi?id=51710

        * WebKit.gyp:
        * public/WebAutoFillClient.h: Added.
        (WebKit::WebAutoFillClient::didAcceptAutoFillSuggestion):
        (WebKit::WebAutoFillClient::didSelectAutoFillSuggestion):
        (WebKit::WebAutoFillClient::didClearAutoFillSelection):
        (WebKit::WebAutoFillClient::removeAutocompleteSugestion):
        (WebKit::WebAutoFillClient::didAcceptAutocompleteSuggestion):
        (WebKit::WebAutoFillClient::textFieldDidBeginEditing):
        (WebKit::WebAutoFillClient::textFieldDidEndEditing):
        (WebKit::WebAutoFillClient::textFieldDidChange):
        (WebKit::WebAutoFillClient::textFieldDidReceiveKeyDown):
        (WebKit::WebAutoFillClient::~WebAutoFillClient):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75146 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix Chromium Mac build.
darin@apple.com [Thu, 6 Jan 2011 07:16:02 +0000 (07:16 +0000)]
Fix Chromium Mac build.

* platform/graphics/Gradient.h: Forward-declare CGContextRef.
This might even make it possible to remove the include of
<CoreGraphics/CoreGraphics.h> for PLATFORM(WIN), but I did not
do that at this time because I don't want to break the Windows
build when fixing the Chromium build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75145 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Darin Adler <darin@apple.com>
darin@apple.com [Thu, 6 Jan 2011 07:12:19 +0000 (07:12 +0000)]
2011-01-05  Darin Adler  <darin@apple.com>

        Reviewed by Geoff Garen.

        Back/Forward entries in WebKit2 leak
        https://bugs.webkit.org/show_bug.cgi?id=51983

        Besides fixing the leak, this also fixes a problem where
        all history items were sent over to the UI process, but
        we wanted to send only back/forward items.

        * UIProcess/WebBackForwardList.cpp:
        (WebKit::WebBackForwardList::pageClosed): Added.
        Tells the web process about all the back/forward
        items being removed.
        (WebKit::WebBackForwardList::addItem): Ditto.
        Also removed a redundant call to didChangeBackForwardList.
        (WebKit::WebBackForwardList::clear): Ditto.

        * UIProcess/WebBackForwardList.h: Added pageClosed.

        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::close): Added a call to pageClosed.
        (WebKit::WebPageProxy::backForwardRemovedItem): Added.
        Sends a message to the web page in the web process.

        * UIProcess/WebPageProxy.h: Added backForwardRemovedItem.

        * WebProcess/WebPage/WebBackForwardListProxy.cpp:
        (WebKit::updateBackForwardItem): Added an itemID argument,
        since callers will now be getting it and we don't want to
        get it twice. Removed the code to generate an ID. Also
        removed some local variables to make the code a little
        tighter and clearer.
        (WebKit::WK2NotifyHistoryItemChanged): Only call
        updateBackForwardItem for items that already have IDs.
        We don't want to send cross-process messages for every
        history item; just the ones that are top level back/forward
        items.
        (WebKit::WebBackForwardListProxy::removeItem):
        Added. For use when the UI process tells us to remove it.
        (WebKit::WebBackForwardListProxy::addItem): Added code to
        assign an ID and put this item into the maps. This is called
        exactly once on each back/forward item.

        * WebProcess/WebPage/WebBackForwardListProxy.h: Added
        removeItem.

        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::didRemoveBackForwardItem): Added.

        * WebProcess/WebPage/WebPage.h: Added didRemoveBackForwardItem.

        * WebProcess/WebPage/WebPage.messages.in: Added
        DidRemoveBackForwardItem message.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75144 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWindows build fix.
sfalken@apple.com [Thu, 6 Jan 2011 07:11:22 +0000 (07:11 +0000)]
Windows build fix.
Back out attempted change to built-product-archive.

* BuildSlaveSupport/built-product-archive:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75143 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWindows build fix.
sfalken@apple.com [Thu, 6 Jan 2011 07:00:26 +0000 (07:00 +0000)]
Windows build fix.
Include configuration name when unpacking a build archive.

Needed, since we split Windows build results into configuration-specific directories
under WebKitOutputDir.

* BuildSlaveSupport/built-product-archive:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75142 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWindows build fix.
sfalken@apple.com [Thu, 6 Jan 2011 06:20:35 +0000 (06:20 +0000)]
Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops: Revert change to additional library search path needed to find ICU.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75141 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Xianzhu Wang <wangxianzhu@google.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 06:15:21 +0000 (06:15 +0000)]
2011-01-05  Xianzhu Wang  <wangxianzhu@google.com>

        Reviewed by David Levin.

        Implement RemoteFontStream's skip behavior (in FontCustomPlatformData.cpp)
        https://bugs.webkit.org/show_bug.cgi?id=51736

        No new tests. This change has potential effect on @font-face CSS feature
        on ports using Skia. Tested on Chromium that this change won't break
        fast/css/font-face-remote.html. This change can make the test pass on
        other ports using Skia.

        * platform/graphics/skia/FontCustomPlatformData.cpp:
        (WebCore::RemoteFontStream::read):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75140 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 06:11:02 +0000 (06:11 +0000)]
2011-01-05  Helder Correia  <helder@sencha.com>

        Reviewed by Simon Fraser.

        Shadows are not drawn when filling a rect with a gradient fillStyle on Mac and Chromium-Mac
        https://bugs.webkit.org/show_bug.cgi?id=51869

        GraphicsContext::fillRect(const FloatRect&) is clipping to the rect.
        The shadow is being drawn, but getting clipped to the rect being filled.
        The solution is to draw the gradient into a CGLayer (when a shadow is
        required), then render the layer to the GraphicsContext.

        This patch also fixes:
        canvas/philip/tests/2d.shadow.gradient.alpha.html
        canvas/philip/tests/2d.shadow.gradient.basic.html
        canvas/philip/tests/2d.shadow.gradient.transparent.2.html

        New test to ensure that shadows are drawn when fillStyle is a gradient,
        possibly with some transparency and blur, and specifically using
        fillRect.

        * fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Added.
        * fast/canvas/canvas-fillRect-gradient-shadow.html: Added.
        * fast/canvas/script-tests/canvas-fillRect-gradient-shadow.js: Added.
2011-01-05  Helder Correia  <helder@sencha.com>

        Reviewed by Simon Fraser.

        Shadows are not drawn when filling a rect with a gradient fillStyle on Mac and Chromium-Mac
        https://bugs.webkit.org/show_bug.cgi?id=51869

        GraphicsContext::fillRect(const FloatRect&) is clipping to the rect.
        The shadow is being drawn, but getting clipped to the rect being filled.
        The solution is to draw the gradient into a CGLayer (when a shadow is
        required), then render the layer to the GraphicsContext.

        This patch also fixes:
        canvas/philip/tests/2d.shadow.gradient.alpha.html
        canvas/philip/tests/2d.shadow.gradient.basic.html
        canvas/philip/tests/2d.shadow.gradient.transparent.2.html

        Test: fast/canvas/canvas-fillRect-gradient-shadow.html

        * platform/graphics/Gradient.h:
        * platform/graphics/cg/GradientCG.cpp:
        (WebCore::Gradient::paint):
        * platform/graphics/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::fillRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75139 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Thu, 6 Jan 2011 06:02:13 +0000 (06:02 +0000)]
2011-01-05  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Darin Adler.

        Debug and Release builds on Windows clobber each other
        https://bugs.webkit.org/show_bug.cgi?id=49185

        Changes the structure of WebKitBuild build products directory so we
        completely separate each build configuration into independent directories.

        Although we previously had per-configuration directories for obj, this change adds
        per-configuration directories for bin, lib, obj, and include. Each configuration's
        build products are stored within a directory inside of WebKitBuild.

        Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
        defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).

        * win/tools/vsprops/common.vsprops:
2011-01-05  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Darin Adler.

        Debug and Release builds on Windows clobber each other
        https://bugs.webkit.org/show_bug.cgi?id=49185

        Changes the structure of WebKitBuild build products directory so we
        completely separate each build configuration into independent directories.

        Although we previously had per-configuration directories for obj, this change adds
        per-configuration directories for bin, lib, obj, and include. Each configuration's
        build products are stored within a directory inside of WebKitBuild.

        Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
        defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).

        * WebKit.vcproj/InterfacesCommon.vsprops:
        * WebKit.vcproj/InterfacesPostBuild.cmd:
        * WebKit.vcproj/InterfacesPreBuild.cmd:
        * WebKit.vcproj/WebKit.make:
        * WebKit.vcproj/WebKitGUID.vcproj:
        * WebKit.vcproj/WebKitGUIDCommon.vsprops:
        * WebKit.vcproj/WebKitGUIDPostBuild.cmd:
        * WebKit.vcproj/WebKitGUIDPreBuild.cmd:
        * WebKit.vcproj/WebKitLibCommon.vsprops:
        * WebKit.vcproj/WebKitLibPostBuild.cmd:
        * WebKit.vcproj/WebKitLibPreBuild.cmd:
2011-01-05  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Darin Adler.

        Debug and Release builds on Windows clobber each other
        https://bugs.webkit.org/show_bug.cgi?id=49185

        Changes the structure of WebKitBuild build products directory so we
        completely separate each build configuration into independent directories.

        Although we previously had per-configuration directories for obj, this change adds
        per-configuration directories for bin, lib, obj, and include. Each configuration's
        build products are stored within a directory inside of WebKitBuild.

        Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
        defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).

        * WebCore.vcproj/QTMovieWinCommon.vsprops:
        * WebCore.vcproj/QTMovieWinPostBuild.cmd:
        * WebCore.vcproj/QTMovieWinPreBuild.cmd:
        * WebCore.vcproj/WebCore.make:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.vcproj/WebCoreCommon.vsprops:
        * WebCore.vcproj/WebCoreGeneratedCairo.vsprops:
        * WebCore.vcproj/WebCoreGeneratedCommon.vsprops:
        * WebCore.vcproj/WebCoreMediaQT.vsprops:
        * WebCore.vcproj/WebCorePostBuild.cmd:
        * WebCore.vcproj/WebCorePreBuild.cmd:
        * WebCore.vcproj/copyForwardingHeaders.cmd:
        * WebCore.vcproj/copyInspectorFiles.cmd:
2011-01-05  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Darin Adler.

        Debug and Release builds on Windows clobber each other
        https://bugs.webkit.org/show_bug.cgi?id=49185

        Changes the structure of WebKitBuild build products directory so we
        completely separate each build configuration into independent directories.

        Although we previously had per-configuration directories for obj, this change adds
        per-configuration directories for bin, lib, obj, and include. Each configuration's
        build products are stored within a directory inside of WebKitBuild.

        Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
        defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).

        For PGO, $(ConfigurationBuildDir) points to the same directory (Release_PGO) to allow
        for proper operation of the instrumentation/optimization scripts.

        * JavaScriptCore.vcproj/JavaScriptCore.make:
        * JavaScriptCore.vcproj/JavaScriptCore.sln:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGeneratedCommon.vsprops:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePGOOptimize.vsprops: Added.
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePostBuild.cmd:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePreBuild.cmd:
        * JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh:
        * JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py:
        * JavaScriptCore.vcproj/JavaScriptCoreSubmit.sln:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops:
        * JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd:
        * JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd:
        * JavaScriptCore.vcproj/jsc/jsc.vcproj:
        * JavaScriptCore.vcproj/jsc/jscCommon.vsprops:
        * JavaScriptCore.vcproj/jsc/jscPostBuild.cmd:
        * JavaScriptCore.vcproj/jsc/jscPreBuild.cmd:
        * JavaScriptCore.vcproj/testapi/testapiCommon.vsprops:
        * JavaScriptCore.vcproj/testapi/testapiPostBuild.cmd:
        * JavaScriptCore.vcproj/testapi/testapiPreBuild.cmd:
2011-01-05  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Darin Adler.

        Debug and Release builds on Windows clobber each other
        https://bugs.webkit.org/show_bug.cgi?id=49185

        Changes the structure of WebKitBuild build products directory so we
        completely separate each build configuration into independent directories.

        Although we previously had per-configuration directories for obj, this change adds
        per-configuration directories for bin, lib, obj, and include. Each configuration's
        build products are stored within a directory inside of WebKitBuild.

        Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
        defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).

        * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops:
        * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPostBuild.cmd:
        * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPreBuild.cmd:
        * DumpRenderTree/win/DumpRenderTreeCommon.vsprops:
        * DumpRenderTree/win/DumpRenderTreePostBuild.cmd:
        * DumpRenderTree/win/DumpRenderTreePreBuild.cmd:
        * DumpRenderTree/win/ImageDiffCommon.vsprops:
        * DumpRenderTree/win/ImageDiffPostBuild.cmd:
        * DumpRenderTree/win/ImageDiffPreBuild.cmd:
        * FindSafari/FindSafari.vcproj:
        * MiniBrowser/Configurations/MiniBrowserCommon.vsprops:
        * MiniBrowser/MiniBrowserPostBuild.cmd:
        * MiniBrowser/MiniBrowserPreBuild.cmd:
        * Scripts/webkitdirs.pm:
        * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
        * TestWebKitAPI/win/TestWebKitAPIGeneratedCommon.vsprops:
        * TestWebKitAPI/win/TestWebKitAPIPostBuild.cmd:
        * TestWebKitAPI/win/TestWebKitAPIPreBuild.cmd:
        * TestWebKitAPI/win/copy-resources.cmd:
        * WebKitAPITest/WebKitAPITestCommon.vsprops:
        * WebKitAPITest/WebKitAPITestPostBuild.cmd:
        * WebKitAPITest/WebKitAPITestPreBuild.cmd:
        * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
        * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops:
        * WebKitTestRunner/win/InjectedBundle.vcproj:
        * WebKitTestRunner/win/InjectedBundleGeneratedCommon.vsprops:
        * WebKitTestRunner/win/InjectedBundlePostBuild.cmd:
        * WebKitTestRunner/win/InjectedBundlePreBuild.cmd:
        * WebKitTestRunner/win/WebKitTestRunnerPostBuild.cmd:
        * WebKitTestRunner/win/WebKitTestRunnerPreBuild.cmd:
        * WinLauncher/WinLauncherCommon.vsprops:
        * WinLauncher/WinLauncherPostBuild.cmd:
        * WinLauncher/WinLauncherPreBuild.cmd:
2011-01-05  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Darin Adler.

        Debug and Release builds on Windows clobber each other
        https://bugs.webkit.org/show_bug.cgi?id=49185

        Changes the structure of WebKitBuild build products directory so we
        completely separate each build configuration into independent directories.

        Although we previously had per-configuration directories for obj, this change adds
        per-configuration directories for bin, lib, obj, and include. Each configuration's
        build products are stored within a directory inside of WebKitBuild.

        Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
        defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).

        * win/WebKit2.make:
        * win/WebKit2.vcproj:
        * win/WebKit2Common.vsprops:
        * win/WebKit2Generated.make:
        * win/WebKit2GeneratedCommon.vsprops:
        * win/WebKit2WebProcessPostBuild.cmd:
        * win/WebKit2WebProcessPreBuild.cmd:
        * win/WebKitPostBuild.cmd:
        * win/WebKitPreBuild.cmd:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75138 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 6 Jan 2011 05:44:38 +0000 (05:44 +0000)]
2011-01-05  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Ariya Hidayat.

        Directly composited SVG images fail to render
        https://bugs.webkit.org/show_bug.cgi?id=51975

        There was already code, added in r67900, to detect whether an image
        may be directly composited, by checking to see if it's a bitmap image.

        However, CachedImage::image() returns the nullImage() if m_image is null,
        which is a BitmapImage, confusing this test.

        Test: compositing/images/direct-svg-image.html

        * loader/cache/CachedImage.cpp: Remove nullImage(), since Image has
        exactly the same method.
        (WebCore::CachedImage::image): Use Image::nullImage().
        * loader/cache/CachedImage.h:
        (WebCore::CachedImage::hasImage): New method to ask whether the m_image is
        non-null.
        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::isDirectlyCompositedImage): Use hasImage()
        so that we don't test the nullImage.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75137 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 6 Jan 2011 05:28:11 +0000 (05:28 +0000)]
2011-01-05  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Darin Adler.

        Fix percentage values in radius of radial gradients
        https://bugs.webkit.org/show_bug.cgi?id=51979

        Handle percentage values for the ending size of radial gradients.

        Test: fast/gradients/css3-radial-gradients3.html

        * css/CSSGradientValue.cpp:
        (WebCore::CSSRadialGradientValue::resolveRadius): Add parameter for height or width, which is
        non-null if percentage values are allowed, and compute percentage values when we see them.
        (WebCore::CSSRadialGradientValue::createGradient): Pass height or width down to say that
        percentages are OK when resolving end radii.
        * css/CSSGradientValue.h: New parameter for resolveRadius.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75136 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Alexey Proskuryakov <ap@apple.com>
ap@apple.com [Thu, 6 Jan 2011 05:16:00 +0000 (05:16 +0000)]
2011-01-05  Alexey Proskuryakov  <ap@apple.com>

        Reviewed by Anders Carlsson.

        https://bugs.webkit.org/show_bug.cgi?id=51973
        Make main frame PDF printing work

        * UIProcess/API/mac/PDFViewController.h:
        * UIProcess/API/mac/PDFViewController.mm: (WebKit::PDFViewController::makePrintOperation):
        Ask PDFDocument to create an NSPrintOperation.

        * UIProcess/API/mac/WKView.h:
        * UIProcess/API/mac/WKView.mm:
        (-[WKView printOperationWithPrintInfo:forFrame:]): Create a new NSPrintOperation, either
        from scratch or from a PDF view.
        (-[WKView canPrintHeadersAndFooters]): Report if the view can be re-paginated to add headers
        and footers.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75135 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Jan Erik Hanssen <jhanssen@sencha.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 04:56:05 +0000 (04:56 +0000)]
2011-01-05  Jan Erik Hanssen  <jhanssen@sencha.com>

        Reviewed by Ariya Hidayat.

        [Qt] TestNetscapePlugin doesn't link on OS X
        https://bugs.webkit.org/show_bug.cgi?id=51948

        Only add a dependency on libX11 on X11 systems

        * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75134 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Thu, 6 Jan 2011 04:36:51 +0000 (04:36 +0000)]
2011-01-05  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Adam Barth.

        change the way we do comment highlighting in the code review tool
        https://bugs.webkit.org/show_bug.cgi?id=51971

        Store a space-separated list of base line IDs on each line that has
        comments associated with that line. This allows for overlapping comments,
        but more importantly, makes adding side-by-side diff support easier.

        * code-review.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75133 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Jeff Miller <jeffm@apple.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 04:09:23 +0000 (04:09 +0000)]
2011-01-05  Jeff Miller  <jeffm@apple.com>

        Reviewed by Adam Roben.

        check-webkit-style should allow unnecessary parameter names in WebKit2 APIs because we're matching CF's header style
        https://bugs.webkit.org/show_bug.cgi?id=51970

        * Scripts/webkitpy/style/checker.py:
        Add -readability/naming for WebKit2 C API directories.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75132 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Thu, 6 Jan 2011 03:19:45 +0000 (03:19 +0000)]
2011-01-05  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Adam Barth.

        minor code cleanup for code review tool
        https://bugs.webkit.org/show_bug.cgi?id=51962

        Consolidates some queries to using shared functions.

        * code-review.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75131 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Thu, 6 Jan 2011 02:50:16 +0000 (02:50 +0000)]
2011-01-05  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Adam Barth.

        assorted cleanups to prepare for side-by-side diffing
        https://bugs.webkit.org/show_bug.cgi?id=51961

        Mostly, use selector queries instead of assuming comments are next siblings.

        * code-review.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75130 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Thu, 6 Jan 2011 02:41:13 +0000 (02:41 +0000)]
2011-01-05  James Simonsen  <simonjam@chromium.org>

        Reviewed by Adam Barth.

        [Web Timing] Zero out some values on cross-origin redirects
        https://bugs.webkit.org/show_bug.cgi?id=49294

        * fast/dom/script-tests/webtiming.js:
        (checkTimingBeforeLoad): Remove unload. Its behavior depends on prior navigation and is tested separately.
        (checkTimingWhileDeferred): Ditto.
        (checkWebTimingOnDOMContentLoaded): Ditto.
        (checkWebTimingWhileAsync): Ditto.
        (checkWebTimingOnLoad): Ditto.
        (checkWebTimingAfterLoad): Ditto.
        * fast/dom/webtiming-expected.txt:
        * http/tests/misc/resources/webtiming-cross-origin-and-back-redirect1.php: Added.
        * http/tests/misc/resources/webtiming-cross-origin-and-back-redirect2.php: Added.
        * http/tests/misc/resources/webtiming-cross-origin-and-back1.html: Added.
        * http/tests/misc/resources/webtiming-cross-origin-and-back2.html: Added.
        * http/tests/misc/resources/webtiming-cross-origin-redirect.html: Added.
        * http/tests/misc/resources/webtiming-cross-origin-redirect.php: Added.
        * http/tests/misc/resources/webtiming-no-origin.html: Added.
        * http/tests/misc/webtiming-origins-expected.txt: Added.
        * http/tests/misc/webtiming-origins.html: Added.
        * platform/gtk/Skipped: Skip new web timing test.
        * platform/mac/Skipped: Ditto.
        * platform/win/Skipped: Ditto.
2011-01-05  James Simonsen  <simonjam@chromium.org>

        Reviewed by Adam Barth.

        [Web Timing] Zero out some values on cross-origin redirects
        https://bugs.webkit.org/show_bug.cgi?id=49294

        Tests: http/tests/misc/webtiming-cross-origin-redirect.php
               http/tests/misc/webtiming-origins.html

        * loader/DocumentLoadTiming.h:
        (WebCore::DocumentLoadTiming::DocumentLoadTiming): Add flags for cross-origin redirects and same-origin navigation.
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::~FrameLoader):
        (WebCore::FrameLoader::stopLoading): Don't overwrite previous unload times.
        (WebCore::FrameLoader::completed):
        (WebCore::FrameLoader::loadWithDocumentLoader): Remember previous URL to see if navigation is same-origin.
        (WebCore::FrameLoader::commitProvisionalLoad): Set flag if navigation is same-origin.
        * loader/FrameLoader.h:
        * loader/MainResourceLoader.cpp:
        (WebCore::MainResourceLoader::willSendRequest): Set flag on cross-origin redirects.
        * page/PerformanceNavigation.cpp:
        (WebCore::PerformanceNavigation::redirectCount): Clear if cross-origin redirect flag is set.
        * page/PerformanceTiming.cpp:
        (WebCore::PerformanceTiming::redirectStart): Ditto.
        (WebCore::PerformanceTiming::redirectEnd): Ditto.
        (WebCore::PerformanceTiming::unloadEventStart): Clear if cross-origin navigation is set.
        (WebCore::PerformanceTiming::unloadEventEnd): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75129 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago<rdar://problem/8750248>
andersca@apple.com [Thu, 6 Jan 2011 02:39:45 +0000 (02:39 +0000)]
<rdar://problem/8750248>
Need a way to create a new DownloadProxy from an arbitrary resource request

Reviewed by Sam Weinig.

<rdar://problem/8750465>
Need a way to start a download in WKDownload

<rdar://problem/8752204>
WK2 Context Menus - "Save linked file" support

* Shared/ContextMenuState.h: Added.
Add a ContextMenuState struct which contains state for context menus.

* UIProcess/API/C/WKContext.cpp:
(WKContextDownloadURLRequest):
Call WebContext::download.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::download):
Send a DownloadRequest message to the web process.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::showContextMenu):
Set the active context menu state.

(WebKit::WebPageProxy::contextMenuItemSelected):
Handle ContextMenuItemTagDownloadImageToDisk and ContextMenuItemTagDownloadLinkToDisk by calling
WebContext::Download, passing the respective URLs.

* UIProcess/WebPageProxy.messages.in:
ShowContextMenu now takes state as well.

* WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
(WebKit::WebContextMenuClient::downloadURL):
Assert that this is never reached; downloads are handled in the UI process.

* WebProcess/WebPage/WebContextMenu.cpp:
(WebKit::WebContextMenu::show):
Pass the context menu state along when sending the ShowContextMenu message.

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::downloadRequest):
Call the shared DownloadManager.

* WebProcess/WebProcess.messages.in:
Add DownloadRequest message.

* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
Add ContextMenuState.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75128 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Thu, 6 Jan 2011 02:33:23 +0000 (02:33 +0000)]
2011-01-05  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Adam Barth.

        fix message container selector for code review tool
        https://bugs.webkit.org/show_bug.cgi?id=51959

        * code-review.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75127 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 02:16:55 +0000 (02:16 +0000)]
2011-01-05  Helder Correia  <helder@sencha.com>

        Reviewed by Ariya Hidayat.

        [Qt] Default focus ring is too wide
        https://bugs.webkit.org/show_bug.cgi?id=51854

        This is an intermediate step to solve this bug. Use QPalette::Highlight
        instead of default half-transparent black as the focus ring color.

        * platform/qt/editing/selection/caret-and-focus-ring-expected.checksum: Added.
        * platform/qt/editing/selection/caret-and-focus-ring-expected.png: Added.
        * platform/qt/editing/selection/caret-and-focus-ring-expected.txt: Added.
        * platform/qt/fast/css/focus-ring-outline-color-expected.checksum:
        * platform/qt/fast/css/focus-ring-outline-color-expected.png:
        * platform/qt/fast/css/focus-ring-outline-offset-expected.checksum:
        * platform/qt/fast/css/focus-ring-outline-offset-expected.png:
        * platform/qt/fast/css/focus-ring-outline-width-expected.checksum:
        * platform/qt/fast/css/focus-ring-outline-width-expected.png:
2011-01-05  Helder Correia  <helder@sencha.com>

        Reviewed by Ariya Hidayat.

        [Qt] Default focus ring is too wide
        https://bugs.webkit.org/show_bug.cgi?id=51854

        This is an intermediate step to solve this bug. Use QPalette::Highlight
        instead of default half-transparent black as the focus ring color.

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::drawFocusRingForPath):
        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::platformFocusRingColor):
        * platform/qt/RenderThemeQt.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75126 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 6 Jan 2011 02:15:05 +0000 (02:15 +0000)]
2011-01-05  Eric Seidel  <eric@webkit.org>

        Unreviewed, just fixing one more log error from my previous python patch.

        Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
        https://bugs.webkit.org/show_bug.cgi?id=51802

        webkit-patch failure-reason was logging about parsing errors
        due to my misunderstanding of how BeautifulSoup.findAll worked.

        Fixed, and added a unit test.

        * Scripts/webkitpy/common/net/layouttestresults.py:
        * Scripts/webkitpy/common/net/layouttestresults_unittest.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75125 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Thu, 6 Jan 2011 02:04:34 +0000 (02:04 +0000)]
2011-01-05  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] [WK2] Add the possibility to open window from the WebProcess in Minibrowser
        https://bugs.webkit.org/show_bug.cgi?id=51951

        Set a function to QWKPage::setCreateNewPageFunction() in Minibrowser so there is a way
        to create new window from WebKit.

        * MiniBrowser/qt/BrowserWindow.cpp:
        (newPageFunction):
        (BrowserWindow::BrowserWindow):
        (BrowserWindow::page): Added to avoid the indirect access to QWKPage spread in the class
        (BrowserWindow::newWindow):
        (BrowserWindow::updateUserAgentList):
        (BrowserWindow::showUserAgentDialog):
        * MiniBrowser/qt/BrowserWindow.h: Add the global variable backingStoreTypeForNewWindow to
        define the type of the backing store used for new windows.
        * MiniBrowser/qt/main.cpp:
        (main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75124 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Thu, 6 Jan 2011 01:38:03 +0000 (01:38 +0000)]
2011-01-05  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Unreviewed build fix.

        [Qt] [Symbian] Fix building NPAPI support

        NPEvent is mapped to QAction on Symbian. QAction has no
        default constructor, so toNP() fails to build. Add a case for
        Symbian behind the OS(SYMBIAN) guard.

        * WebProcess/Plugins/Netscape/qt/NetscapePluginQt.cpp:
        (WebKit::toNP):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75123 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-01-05 Jeff Miller <jeffm@apple.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 01:28:16 +0000 (01:28 +0000)]
2011-01-05  Jeff Miller  <jeffm@apple.com>

        Reviewed by Dan Bernstein.

        Copy WKImageCG.h to include\WebKit2 in build output
        https://bugs.webkit.org/show_bug.cgi?id=51944

        * win/WebKit2Generated.make:
        Add xcopy command to copy WKImageCG.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75122 268f45cc-cd09-0410-ab3c-d52691b4dbfc