Timeline



Sep 3, 2010:

11:25 PM Changeset in webkit [66792] by loislo@chromium.org
  • 2 edits in trunk/LayoutTests

2010-09-03 Ilya Tikhonovsky <loislo@chromium.org>

Unreviewed.

Cleanup outdated entries in test_expectations.

BUGWK44996 WIN : inspector/report-API-errors.html = TEXT
BUGWK44996 WIN : inspector/report-protocol-errors.html = TEXT
BUGWK45184 WIN : inspector/elements-panel-xhtml-structure.xhtml = TIMEOUT

  • platform/chromium/test_expectations.txt:
9:25 PM Changeset in webkit [66791] by kinuko@chromium.org
  • 6 edits in trunk/WebCore

2010-09-03 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by Darin Adler.

V8/JS bindings should not perform type checks if the parameter has Callback attribute
https://bugs.webkit.org/show_bug.cgi?id=45143

No new tests, should not affect existing idls.

  • bindings/scripts/CodeGeneratorJS.pm:
  • bindings/scripts/CodeGeneratorV8.pm:
  • bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::jsTestObjPrototypeFunctionOverloadedMethod5): (WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
  • bindings/scripts/test/TestObj.idl:
  • bindings/scripts/test/V8/V8TestObj.cpp: (WebCore::TestObjInternal::overloadedMethod5Callback): (WebCore::TestObjInternal::overloadedMethodCallback):
8:26 PM Changeset in webkit [66790] by weinig@apple.com
  • 1 edit in trunk/WebKit2/ChangeLog

Fix reviewer.

8:24 PM Changeset in webkit [66789] by weinig@apple.com
  • 12 edits in trunk/WebKit2

Add ability to send UserData to willSubmitForm
https://bugs.webkit.org/show_bug.cgi?id=45222

Reviewed by Adam Barth.

  • Adds a willSubmitForm callback to the BundlePageFormClient with an out parameter WKTypeRef* parameter.
  • That out parameter gets serialized and then passed to the PageFormClient's willSubmitForm, which now has WKTypeRef parameter.
  • Temporarily adds a new WillSubmitFormWithUserData message kind. This will be replaced by the ability to explicitly serialize null as a UserMessage.
  • Platform/CoreIPC/Arguments.h:

(CoreIPC::Arguments6::Arguments6):
(CoreIPC::Arguments6::encode):
(CoreIPC::Arguments6::decode):
(CoreIPC::In):
(CoreIPC::Out):

  • Shared/CoreIPCSupport/WebPageProxyMessageKinds.h:
  • UIProcess/API/C/WKPage.h:
  • UIProcess/WebFormClient.cpp:

(WebKit::WebFormClient::willSubmitForm):

  • UIProcess/WebFormClient.h:
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::didReceiveMessage):
(WebKit::WebPageProxy::willSubmitForm):

  • UIProcess/WebPageProxy.h:
  • WebProcess/InjectedBundle/API/c/WKBundlePage.h:
  • WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:

(WebKit::InjectedBundlePageFormClient::textFieldDidBeginEditing):
(WebKit::InjectedBundlePageFormClient::textFieldDidEndEditing):
(WebKit::InjectedBundlePageFormClient::textDidChangeInTextField):
(WebKit::InjectedBundlePageFormClient::textDidChangeInTextArea):
(WebKit::InjectedBundlePageFormClient::willSubmitForm):

  • WebProcess/InjectedBundle/InjectedBundlePageFormClient.h:
  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):

7:54 PM Changeset in webkit [66788] by kbr@google.com
  • 2 edits in trunk/WebCore

2010-09-03 Kenneth Russell <kbr@google.com>

Unreviewed, Chromium build fix. Fix breakage on Windows after
r66787 / https://bugs.webkit.org/show_bug.cgi?id=45223 .

  • platform/graphics/chromium/FontChromiumWin.cpp: (WebCore::Font::drawGlyphs):
7:31 PM Changeset in webkit [66787] by jamesr@google.com
  • 3 edits in trunk/WebCore

2010-09-03 James Robinson <jamesr@chromium.org>

Reviewed by Kenneth Russell.

[chromium] Text sometimes fails to display in accelerated 2d canvases
https://bugs.webkit.org/show_bug.cgi?id=45223

Calls PlatformContextSkia::prepareForSoftwareDraw() before drawing glyphs
using skia to ensure that the backing store state is consistent.

  • platform/graphics/chromium/FontChromiumWin.cpp: (WebCore::Font::drawGlyphs):
  • platform/graphics/chromium/FontLinux.cpp: (WebCore::Font::drawGlyphs):
6:40 PM Changeset in webkit [66786] by pkasting@chromium.org
  • 2 edits in trunk/LayoutTests

Not reviewed, attempted layout test fix.

Report correct (unzoomed) image sizes for zoomed images.
https://bugs.webkit.org/show_bug.cgi?id=42089

  • fast/images/resources/oval.png: Tweak to try to avoid cryptic ImageIO errors.
6:24 PM Changeset in webkit [66785] by jamesr@google.com
  • 5 edits in trunk/WebCore

2010-09-03 Kenneth Russell <kbr@google.com>

Reviewed by Darin Fisher.

Add thirdparty directory and incorporate GLU tessellator
https://bugs.webkit.org/show_bug.cgi?id=44707

This directory is intended to contain copies of third-party libraries used
by WebCore, in particular those which may require some modification in
order to incorporate.

No tests at this time; these sources are being added in preparation for
incorporating other code which uses them, at which point the code will be
exercised and testable.

  • thirdparty: Added.
  • thirdparty/README.txt: Added.
  • thirdparty/glu: Added.
  • thirdparty/glu/LICENSE.txt: Added.
  • thirdparty/glu/README.webkit: Added.
  • thirdparty/glu/gluos.h: Added.
  • thirdparty/glu/internal_glu.h: Added.
  • thirdparty/glu/libtess: Added.
  • thirdparty/glu/libtess/GNUmakefile: Added.
  • thirdparty/glu/libtess/Imakefile: Added.
  • thirdparty/glu/libtess/README: Added.
  • thirdparty/glu/libtess/alg-outline: Added.
  • thirdparty/glu/libtess/dict-list.h: Added.
  • thirdparty/glu/libtess/dict.c: Added.
  • thirdparty/glu/libtess/dict.h: Added.
  • thirdparty/glu/libtess/geom.c: Added.
  • thirdparty/glu/libtess/geom.h: Added.
  • thirdparty/glu/libtess/memalloc.c: Added.
  • thirdparty/glu/libtess/memalloc.h: Added.
  • thirdparty/glu/libtess/mesh.c: Added.
  • thirdparty/glu/libtess/mesh.h: Added.
  • thirdparty/glu/libtess/normal.c: Added.
  • thirdparty/glu/libtess/normal.h: Added.
  • thirdparty/glu/libtess/priorityq-heap.c: Added.
  • thirdparty/glu/libtess/priorityq-heap.h: Added.
  • thirdparty/glu/libtess/priorityq-sort.h: Added.
  • thirdparty/glu/libtess/priorityq.c: Added.
  • thirdparty/glu/libtess/priorityq.h: Added.
  • thirdparty/glu/libtess/render.c: Added.
  • thirdparty/glu/libtess/render.h: Added.
  • thirdparty/glu/libtess/sweep.c: Added.
  • thirdparty/glu/libtess/sweep.h: Added.
  • thirdparty/glu/libtess/tess.c: Added.
  • thirdparty/glu/libtess/tess.h: Added.
  • thirdparty/glu/libtess/tessmono.c: Added.
  • thirdparty/glu/libtess/tessmono.h: Added.
6:19 PM Changeset in webkit [66784] by kbr@google.com
  • 1 edit
    36 adds in trunk/WebCore

2010-09-03 Kenneth Russell <kbr@google.com>

Reviewed by Darin Fisher.

Add thirdparty directory and incorporate GLU tessellator
https://bugs.webkit.org/show_bug.cgi?id=44707

This directory is intended to contain copies of third-party libraries used
by WebCore, in particular those which may require some modification in
order to incorporate.

No tests at this time; these sources are being added in preparation for
incorporating other code which uses them, at which point the code will be
exercised and testable.

  • thirdparty: Added.
  • thirdparty/README.txt: Added.
  • thirdparty/glu: Added.
  • thirdparty/glu/LICENSE.txt: Added.
  • thirdparty/glu/README.webkit: Added.
  • thirdparty/glu/gluos.h: Added.
  • thirdparty/glu/internal_glu.h: Added.
  • thirdparty/glu/libtess: Added.
  • thirdparty/glu/libtess/GNUmakefile: Added.
  • thirdparty/glu/libtess/Imakefile: Added.
  • thirdparty/glu/libtess/README: Added.
  • thirdparty/glu/libtess/alg-outline: Added.
  • thirdparty/glu/libtess/dict-list.h: Added.
  • thirdparty/glu/libtess/dict.c: Added.
  • thirdparty/glu/libtess/dict.h: Added.
  • thirdparty/glu/libtess/geom.c: Added.
  • thirdparty/glu/libtess/geom.h: Added.
  • thirdparty/glu/libtess/memalloc.c: Added.
  • thirdparty/glu/libtess/memalloc.h: Added.
  • thirdparty/glu/libtess/mesh.c: Added.
  • thirdparty/glu/libtess/mesh.h: Added.
  • thirdparty/glu/libtess/normal.c: Added.
  • thirdparty/glu/libtess/normal.h: Added.
  • thirdparty/glu/libtess/priorityq-heap.c: Added.
  • thirdparty/glu/libtess/priorityq-heap.h: Added.
  • thirdparty/glu/libtess/priorityq-sort.h: Added.
  • thirdparty/glu/libtess/priorityq.c: Added.
  • thirdparty/glu/libtess/priorityq.h: Added.
  • thirdparty/glu/libtess/render.c: Added.
  • thirdparty/glu/libtess/render.h: Added.
  • thirdparty/glu/libtess/sweep.c: Added.
  • thirdparty/glu/libtess/sweep.h: Added.
  • thirdparty/glu/libtess/tess.c: Added.
  • thirdparty/glu/libtess/tess.h: Added.
  • thirdparty/glu/libtess/tessmono.c: Added.
  • thirdparty/glu/libtess/tessmono.h: Added.
6:15 PM Changeset in webkit [66783] by jamesr@google.com
  • 7 edits
    1 delete in trunk/WebCore

2010-09-03 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66781.
http://trac.webkit.org/changeset/66781
https://bugs.webkit.org/show_bug.cgi?id=45220

Breaks the build. Adds a mac-specific file to
platform/graphics without #if PLATFORM() guards and changes
the GraphicsContext3D interface without updating all
implementations (Requested by jamesr on #webkit).

  • WebCore.gypi:
  • WebCore.xcodeproj/project.pbxproj:
  • html/canvas/WebGLObject.cpp: (WebCore::WebGLObject::deleteObject):
  • platform/graphics/ANGLEWebKitBridge.h:
  • platform/graphics/GraphicsContext3D.h:
  • platform/graphics/GraphicsContext3DOpenGL.cpp: Removed.
  • platform/graphics/mac/GraphicsContext3DMac.mm: (WebCore::GraphicsContext3D::validateAttributes): (WebCore::GraphicsContext3D::makeContextCurrent): (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas): (WebCore::GraphicsContext3D::reshape): (WebCore::ensureContext): (WebCore::GraphicsContext3D::prepareTexture): (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::finish): (WebCore::GraphicsContext3D::flush): (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::getContextAttributes): (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::releaseShaderCompiler): (WebCore::GraphicsContext3D::renderbufferStorage): (WebCore::GraphicsContext3D::sampleCoverage): (WebCore::GraphicsContext3D::scissor): (WebCore::GraphicsContext3D::shaderSource): (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):
5:58 PM Changeset in webkit [66782] by jamesr@google.com
  • 3 edits in trunk/WebCore

2010-09-03 James Robinson <jamesr@chromium.org>

Reviewed by Kenneth Russell.

Force 2d canvases to be rendered in software when the composite operation isn't source-over
https://bugs.webkit.org/show_bug.cgi?id=45216

The current accelerated 2d canvas implementation is very slow for composite operations other
than the default. This patch forces a canvas to be rendered in software if any other operation
is set until we accelerate the rest.

Tested by any of the fast/canvas tests that use a non-default globalCompositeOperation.

  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::setGlobalCompositeOperation):
  • platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::setSharedGraphicsContext3D):
5:49 PM Changeset in webkit [66781] by cmarrin@apple.com
  • 7 edits
    1 copy in trunk/WebCore

2010-09-03 Paul Sawaya <psawaya@apple.com>

Reviewed by Chris Marrin.

Refactored out Mac specific code for platform/graphics/mac/GraphicsContext3D.mm file.
Left general OpenGL code in platform/graphics/GraphicsContext3DOpenGL.cpp.
https://bugs.webkit.org/show_bug.cgi?id=30625

5:36 PM Changeset in webkit [66780] by commit-queue@webkit.org
  • 4 edits in trunk/WebCore

2010-09-03 James Robinson <jamesr@chromium.org>

Reviewed by Kenneth Russell.

[chromium] Null out Canvas2DLayerChromium's back reference to DrawingBuffer on destruction
https://bugs.webkit.org/show_bug.cgi?id=45187

Canvas2DLayerChromium keeps a back reference to a DrawingBuffer. This has to be a raw pointer
because the DrawingBuffer holds a RefPtr to the Canvas2DLayerChromium. Since the layer can
outlive the buffer, this back reference has to be explicitly cleared when the DrawingBuffer
is destroyed.

  • platform/graphics/chromium/Canvas2DLayerChromium.cpp: (WebCore::Canvas2DLayerChromium::setDrawingBuffer):
  • platform/graphics/chromium/Canvas2DLayerChromium.h:
  • platform/graphics/chromium/DrawingBufferChromium.cpp: (WebCore::DrawingBuffer::~DrawingBuffer):
5:24 PM Changeset in webkit [66779] by kbr@google.com
  • 2 edits
    2 adds in trunk/WebCore

2010-09-03 Kenneth Russell <kbr@google.com>

Reviewed by Darin Fisher.

Add interval tree capable of holding plain old data (POD)
https://bugs.webkit.org/show_bug.cgi?id=45160

Adding an interval tree currently capable of holding types which
do not require their destructors to be called. POD is a slight
misnomer which will be corrected soon, hopefully by removing this
restriction.

This class is based on the augmentable property of the red/black
tree integrated under bug 45059.

Unit tests for the PODIntervalTree will be integrated separately
under bug 45161.

  • WebCore.gypi:
  • platform/graphics/gpu/PODInterval.h: Added. (WebCore::PODInterval::PODInterval): (WebCore::PODInterval::low): (WebCore::PODInterval::high): (WebCore::PODInterval::data): (WebCore::PODInterval::overlaps): (WebCore::PODInterval::operator<): (WebCore::PODInterval::operator==): (WebCore::PODInterval::maxHigh): (WebCore::PODInterval::setMaxHigh): (WebCore::PODInterval::toString):
  • platform/graphics/gpu/PODIntervalTree.h: Added. (WebCore::PODIntervalTree::PODIntervalTree): (WebCore::PODIntervalTree::allOverlaps): (WebCore::PODIntervalTree::createInterval): (WebCore::PODIntervalTree::checkInvariants): (WebCore::PODIntervalTree::init): (WebCore::PODIntervalTree::searchForOverlapsFrom): (WebCore::PODIntervalTree::updateNode): (WebCore::PODIntervalTree::checkInvariantsFromNode): (WebCore::valueToString):
4:40 PM Changeset in webkit [66778] by Simon Fraser
  • 2 edits in trunk/WebKitTools

2010-09-03 Simon Fraser <Simon Fraser>

Reviewed by Adam Roben.

Set project dependencies so that they build serially. This fixes
issues when running run-webkit-tests if DRT is not built yet.

  • DumpRenderTree/DumpRenderTree.sln:
4:24 PM Changeset in webkit [66777] by vangelis@chromium.org
  • 7 edits in trunk

2010-09-02 Vangelis Kokkevis <vangelis@chromium.org>

Reviewed by Darin Fisher.

[chromium] Revert to software compositing if the accelerated
compositor fails to initialize. If we tried to initialize the compositor
for this WebView and failed, next time the associated chrome client is
asked whether it can do accelerated compositing it will return false.
https://bugs.webkit.org/show_bug.cgi?id=45124


  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::allowsAcceleratedCompositing):
  • src/ChromeClientImpl.h:
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::paint): (WebKit::WebViewImpl::allowsAcceleratedCompositing): (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): (WebKit::WebViewImpl::getOnscreenGLES2Context):
  • src/WebViewImpl.h:

2010-09-02 Vangelis Kokkevis <vangelis@chromium.org>

Reviewed by Darin Fisher.

[chromium] Gracefully switch over to software compositing if the accelerated
compositor fails to initialize. LayerRendererChromium::create() will now return 0
if the GLES2Context passed to it is NULL or the LayerRendererChromium failed to initialize
hardware rendering.
https://bugs.webkit.org/show_bug.cgi?id=45124


Tested by forcing the creation of the gles2 context to fail and loading pages that normally trigger
the compositor.

  • platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::create): (WebCore::LayerRendererChromium::LayerRendererChromium): (WebCore::LayerRendererChromium::makeContextCurrent):
4:04 PM Changeset in webkit [66776] by commit-queue@webkit.org
  • 7 edits
    3 adds in trunk

2010-09-03 Peter Kasting <pkasting@google.com>

Reviewed by Simon Fraser.

Report correct (unzoomed) image sizes for zoomed images.
https://bugs.webkit.org/show_bug.cgi?id=42089

  • fast/images/resources/oval.png: Added.
  • fast/images/zoomed-img-size-expected.txt: Added.
  • fast/images/zoomed-img-size.html: Added.

2010-09-03 Peter Kasting <pkasting@google.com>

Reviewed by Simon Fraser.

Report correct (unzoomed) image sizes for zoomed images.
https://bugs.webkit.org/show_bug.cgi?id=42089

Test: fast/images/zoomed-img-size.html

  • css/CSSPrimitiveValue.cpp: Factor rounding code out to a templatized function so it can be shared. (WebCore::CSSPrimitiveValue::computeLengthInt): (WebCore::CSSPrimitiveValue::computeLengthIntForLength): (WebCore::CSSPrimitiveValue::computeLengthShort):
  • css/CSSPrimitiveValue.h: Factor rounding code out to a templatized function so it can be shared. (WebCore::roundForImpreciseConversion):
  • html/HTMLImageElement.cpp: Report unzoomed size to script that queries an image's width or height. (WebCore::HTMLImageElement::width): (WebCore::HTMLImageElement::height):
  • loader/ImageDocument.cpp: Report unzoomed size in the page title when viewing a standalone image. (WebCore::ImageDocumentParser::finish):
  • rendering/RenderObject.h: Use shared rounding code from CSSPrimitiveValue to compensate for inexactness in zoomed sizes. (WebCore::adjustForAbsoluteZoom):
3:56 PM Changeset in webkit [66775] by zmo@google.com
  • 2 edits in trunk/LayoutTests

2010-09-03 Zhenyao Mo <zmo@google.com>

Unreviewed.

Add flaky test inspector/dom-breakpoints.html to test_expectations.

  • platform/chromium/test_expectations.txt:
3:46 PM Changeset in webkit [66774] by abarth@webkit.org
  • 16 edits
    4 deletes in trunk/WebCore

2010-09-03 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66770.
http://trac.webkit.org/changeset/66770
https://bugs.webkit.org/show_bug.cgi?id=45200

Broke Windows in a way I can't figure out now to fix
(Requested by abarth on #webkit).

  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/generic/BindingDOMWindow.h: (WebCore::::completeURL):
  • bindings/generic/BindingFrame.h: Removed.
  • bindings/generic/BindingLocation.h: Removed.
  • bindings/generic/GenericBinding.h:
  • bindings/js/JSBinding.h: Removed.
  • bindings/js/JSBindingsAllInOne.cpp:
  • bindings/js/JSDOMBinding.cpp: (WebCore::shouldAllowNavigation): (WebCore::toLexicalFrame): (WebCore::toDynamicFrame): (WebCore::processingUserGesture): (WebCore::completeURL):
  • bindings/js/JSLocationCustom.cpp: (WebCore::navigateIfAllowed): (WebCore::JSLocation::replace):
  • bindings/js/specialization/JSBindingState.cpp: Removed.
  • bindings/js/specialization/JSBindingState.h: Removed.
  • bindings/v8/V8Binding.h:
  • bindings/v8/V8Utilities.cpp: (WebCore::completeURL): (WebCore::navigateIfAllowed):
  • bindings/v8/custom/V8LocationCustom.cpp: (WebCore::V8Location::replaceCallback):
  • bindings/v8/specialization/V8BindingState.cpp:
  • bindings/v8/specialization/V8BindingState.h:
2:59 PM Changeset in webkit [66773] by jianli@chromium.org
  • 7 edits in trunk

REGRESSION (r66452): Sending of multipart forms with files is broken.
https://bugs.webkit.org/show_bug.cgi?id=45159

Reviewed by Darin Adler.

WebCore:

  • platform/network/FormData.cpp:

(WebCore::FormData::appendKeyValuePairItems):

LayoutTests:

Updated related tests to include dumping content type.

  • http/tests/local/formdata/send-form-data-expected.txt:
  • http/tests/local/formdata/send-form-data-with-sliced-file-expected.txt:
  • http/tests/local/formdata/upload-events-expected.txt:
  • http/tests/xmlhttprequest/resources/multipart-post-echo.php:
2:54 PM Changeset in webkit [66772] by zmo@google.com
  • 2 edits in trunk/LayoutTests

2010-09-03 Zhenyao Mo <zmo@google.com>

Unreviewed.

Clean up the outdated entries in test_expectations.

  • platform/chromium/test_expectations.txt:
2:25 PM Changeset in webkit [66771] by crogers@google.com
  • 36 edits
    1 copy
    3 deletes in branches/audio/WebCore

audio branch: commit recent changes made to land patches in trunk

  • general cleanup
  • remove AudioConfig.h
  • rename AudioFloatBuffer.h to AudioBuffer.h and add more methods
  • FFTFrame cleanup: make FFTFrame.h expose the interface correctly (get rid of FFTFrameMac.h)
  • HRTF classes general cleanup
  • AudioPannerNode, Panner, PassThroughPanner, EqualPowerPanner cleanup
2:11 PM Changeset in webkit [66770] by commit-queue@webkit.org
  • 16 edits
    5 copies
    1 add in trunk/WebCore

2010-09-03 Dominic Cooney <dominicc@google.com>

Reviewed by Adam Barth.

Moves location.replace bindings logic into bindings/generic and
instantiates it for JSC and V8.

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

Covered by existing location.replace tests.

  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/generic/BindingDOMWindow.h: (WebCore::::createWindow): (WebCore::::open):
  • bindings/generic/BindingFrame.h: Added. (WebCore::::navigateIfAllowed):
  • bindings/generic/BindingLocation.h: Added. (WebCore::::replace):
  • bindings/generic/GenericBinding.h: (WebCore::completeURL):
  • bindings/js/JSBinding.h: Added.
  • bindings/js/JSBindingsAllInOne.cpp:
  • bindings/js/JSDOMBinding.cpp: (WebCore::shouldAllowNavigation): (WebCore::toLexicalFrame): (WebCore::toDynamicFrame): (WebCore::processingUserGesture): (WebCore::completeURL):
  • bindings/js/JSLocationCustom.cpp: (WebCore::navigateIfAllowed): (WebCore::JSLocation::replace):
  • bindings/js/specialization/JSBindingState.cpp: Added. (WebCore::::getActiveFrame): (WebCore::::getFirstFrame): (WebCore::::processingUserGesture): (WebCore::::allowsAccessFromFrame):
  • bindings/js/specialization/JSBindingState.h: Added.
  • bindings/v8/V8Binding.h:
  • bindings/v8/V8Utilities.cpp: (WebCore::completeURL): (WebCore::navigateIfAllowed):
  • bindings/v8/custom/V8LocationCustom.cpp: (WebCore::V8Location::replaceCallback):
  • bindings/v8/specialization/V8BindingState.cpp: (WebCore::::allowsAccessFromFrame):
  • bindings/v8/specialization/V8BindingState.h:
1:53 PM Changeset in webkit [66769] by weinig@apple.com
  • 3 edits in trunk/WebKit2

Change WKDictionaryIsMutable to take a WKDictionaryRef instead of a WKMutableDictionaryRef.
If the type is already states it is mutable, there would be no reason for the check.

Reviewed by Gavin Barraclough.

  • UIProcess/API/C/WKMutableDictionary.cpp:

(WKDictionaryIsMutable):

  • UIProcess/API/C/WKMutableDictionary.h:
1:43 PM Changeset in webkit [66768] by Dimitri Glazkov
  • 4 edits in trunk

2010-09-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Tony Chang.

[Chromium] Make sure that the width of the menu list is always constant under layout tests.
https://bugs.webkit.org/show_bug.cgi?id=45196

  • platform/chromium/drt_expectations.txt: Remove now-passing tests.

2010-09-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Tony Chang.

[Chromium] Make sure that the width of the menu list is always constant under layout tests.
https://bugs.webkit.org/show_bug.cgi?id=45196

  • rendering/RenderThemeChromiumWin.cpp: (WebCore::menuListButtonWidth): Added. (WebCore::RenderThemeChromiumWin::paintMenuList): Use menuListButtonWidth instead of always querying system metrics.
1:39 PM Changeset in webkit [66767] by Adam Roben
  • 2 edits in trunk/WebKit/win

Attempt to fixing Windows nightlies again

The fix in r66438 should be sufficient, but we have to touch
WebKit.idl to force that change to be picked up by the build.

  • Interfaces/WebKit.idl: Touched this file to force a build.
1:28 PM Changeset in webkit [66766] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

2010-09-03 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed.

Added new expected result that wasn't committed in r66764.

  • editing/style/push-down-implicit-styles-around-list-expected.txt:
1:22 PM Changeset in webkit [66765] by commit-queue@webkit.org
  • 7 edits in trunk/WebCore

2010-09-03 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66732.
http://trac.webkit.org/changeset/66732
https://bugs.webkit.org/show_bug.cgi?id=45195

the patch is not matched with general publish/subscribe scheme
implemented in the Inspector API (Requested by loislo on
#webkit).

  • inspector/CodeGeneratorInspector.pm:
  • inspector/Inspector.idl:
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::pushChildNodesToFrontend): (WebCore::InspectorDOMAgent::getChildNodes):
  • inspector/InspectorDOMAgent.h:
  • inspector/front-end/DOMAgent.js: (WebInspector.DOMAgent.prototype.getChildNodesAsync.mycallback): (WebInspector.DOMAgent.prototype.getChildNodesAsync):
  • inspector/front-end/WorkersSidebarPane.js: (WebInspector.WorkersSidebarPane.prototype.reset):
1:08 PM Changeset in webkit [66764] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

2010-09-03 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Tony Chang.

Fixed a test committed in r66743.

  • editing/style/script-tests/push-down-implicit-styles-around-list.js: (selectLastWord):
1:04 PM Changeset in webkit [66763] by jamesr@google.com
  • 2 edits in trunk/WebKit/chromium

2010-09-03 James Robinson <jamesr@chromium.org>

[chromium] Add one more include to fix the mac compile.

  • src/GraphicsContext3D.cpp:
12:48 PM Changeset in webkit [66762] by jamesr@google.com
  • 4 edits in trunk

2010-09-03 James Robinson <jamesr@chromium.org>

[chromium] Compile fixes for 66746

  • platform/graphics/gpu/SharedGraphicsContext3D.cpp: (WebCore::SharedGraphicsContext3D::texImage2D): (WebCore::SharedGraphicsContext3D::texSubImage2D):

2010-09-03 James Robinson <jamesr@chromium.org>

[chromium] Compile fixes for 66746.

  • src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
12:44 PM Changeset in webkit [66761] by Dimitri Glazkov
  • 2 edits in trunk/WebKitTools

2010-09-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Adam Barth.

Fix reading configuraiton in NWRT to work on Windows.
https://bugs.webkit.org/show_bug.cgi?id=45180

  • Scripts/webkitpy/layout_tests/port/base.py: Added 'perl' argument, because Windows doesn't know what to do

with the file otherwise.

12:33 PM Changeset in webkit [66760] by mitz@apple.com
  • 2 edits in trunk/LayoutTests

[Qt] fast/text/decomposed-after-stacked-diacritics.html fails on Qt Linux
https://bugs.webkit.org/show_bug.cgi?id=45194

Rubber-stamped by Anders Carlsson.

  • platform/qt/Skipped: Skip fast/text/decomposed-after-stacked-diacritics.html
12:26 PM WebKit Team edited by zmo@google.com
(diff)
12:24 PM Changeset in webkit [66759] by crogers@google.com
  • 1 edit
    2 adds in trunk/WebCore

2010-09-03 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

Add AudioParam files
https://bugs.webkit.org/show_bug.cgi?id=44995

No new tests since audio API is not yet implemented.

  • webaudio: Added.
  • webaudio/AudioParam.h: Added. (WebCore::AudioParam::create): (WebCore::AudioParam::AudioParam): (WebCore::AudioParam::value): (WebCore::AudioParam::setValue): (WebCore::AudioParam::name): (WebCore::AudioParam::minValue): (WebCore::AudioParam::maxValue): (WebCore::AudioParam::defaultValue): (WebCore::AudioParam::units): (WebCore::AudioParam::smoothedValue): (WebCore::AudioParam::smooth): (WebCore::AudioParam::resetSmoothedValue): (WebCore::AudioParam::setSmoothingConstant):
  • webaudio/AudioParam.idl: Added.
12:19 PM Changeset in webkit [66758] by crogers@google.com
  • 1 edit
    2 adds in trunk/WebCore

2010-09-03 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

audio engine: add AudioChannel files
https://bugs.webkit.org/show_bug.cgi?id=44921

No new tests since audio API is not yet implemented.

  • platform/audio/AudioChannel.cpp: Added. (WebCore::AudioChannel::scale): (WebCore::AudioChannel::copyFrom): (WebCore::AudioChannel::copyFromRange): (WebCore::AudioChannel::sumFrom): (WebCore::AudioChannel::maxAbsValue):
  • platform/audio/AudioChannel.h: Added. (WebCore::AudioChannel::AudioChannel): (WebCore::AudioChannel::set): (WebCore::AudioChannel::length): (WebCore::AudioChannel::data): (WebCore::AudioChannel::zero):
12:16 PM Changeset in webkit [66757] by zmo@google.com
  • 2 edits in trunk/LayoutTests

2010-09-03 Zhenyao Mo <zmo@google.com>

Unreviewed.

Add failing test (in Chromium Linux) fast/text/decomposed-after-stacked-diacritics.html to test_expectations.

  • platform/chromium/test_expectations.txt:
12:14 PM Changeset in webkit [66756] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-09-03 Patrick Gansterer <paroga@paroga.com>

Reviewed by Adam Roben.

[WINCE] Remove usage of ce_textcodecs.h
https://bugs.webkit.org/show_bug.cgi?id=45169

ce_textcodecs.h was a non public header for (not required)
additonal codecs in the original Torch Mobile port.

  • platform/text/wince/TextCodecWinCE.cpp: (WebCore::LanguageManager::LanguageManager): (WebCore::decode):
12:10 PM Changeset in webkit [66755] by crogers@google.com
  • 1 edit
    3 adds in trunk/WebCore

2010-09-03 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

Initial patch for audio engine: AudioBus and helper classes
https://bugs.webkit.org/show_bug.cgi?id=34452

No new tests since audio API is not yet implemented.

  • platform/audio/AudioBus.cpp: Added. (WebCore::AudioBus::AudioBus): (WebCore::AudioBus::setChannelMemory): (WebCore::AudioBus::zero): (WebCore::AudioBus::channelByType): (WebCore::AudioBus::topologyMatches): (WebCore::AudioBus::createBufferFromRange): (WebCore::AudioBus::maxAbsValue): (WebCore::AudioBus::normalize): (WebCore::AudioBus::scale): (WebCore::AudioBus::copyFrom): (WebCore::AudioBus::sumFrom): (WebCore::AudioBus::processWithGainFromMonoStereo): (WebCore::AudioBus::processWithGainFrom): (WebCore::AudioBus::copyWithGainFrom): (WebCore::AudioBus::sumWithGainFrom):
  • platform/audio/AudioBus.h: Added. (WebCore::AudioBus::numberOfChannels): (WebCore::AudioBus::channel): (WebCore::AudioBus::length): (WebCore::AudioBus::sampleRate): (WebCore::AudioBus::setSampleRate): (WebCore::AudioBus::setGain): (WebCore::AudioBus::gain): (WebCore::AudioBus::reset): (WebCore::AudioBus::AudioBus):
  • platform/audio/AudioSourceProvider.h: Added. (WebCore::AudioSourceProvider::~AudioSourceProvider):
12:07 PM Changeset in webkit [66754] by zmo@google.com
  • 2 edits in trunk/LayoutTests

2010-09-03 Zhenyao Mo <zmo@google.com>

Unreviewed.

Add failing test (chromium linux) editing/style/push-down-implicit-styles-around-list.html to test_expectations.

  • platform/chromium/test_expectations.txt:
12:04 PM Changeset in webkit [66753] by crogers@google.com
  • 1 edit
    2 adds in trunk/WebCore

2010-09-03 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

Add Panner files
https://bugs.webkit.org/show_bug.cgi?id=45076

No new tests since audio API is not yet implemented.

  • platform/audio/Panner.cpp: Added. (WebCore::Panner::create):
  • platform/audio/Panner.h: Added. (WebCore::Panner::~Panner): (WebCore::Panner::panningModel): (WebCore::Panner::Panner):
12:03 PM Changeset in webkit [66752] by tony@chromium.org
  • 12 edits in trunk/WebKit/chromium

2010-09-03 Tony Chang <tony@chromium.org>

Unreviewed, remove svn:executable flag from images and css files.

  • src/js/Images/segmentChromium.png: Removed property svn:executable.
  • src/js/Images/segmentHoverChromium.png: Removed property svn:executable.
  • src/js/Images/segmentHoverEndChromium.png: Removed property svn:executable.
  • src/js/Images/segmentSelectedChromium.png: Removed property svn:executable.
  • src/js/Images/segmentSelectedEndChromium.png: Removed property svn:executable.
  • src/js/Images/statusbarBackgroundChromium.png: Removed property svn:executable.
  • src/js/Images/statusbarBottomBackgroundChromium.png: Removed property svn:executable.
  • src/js/Images/statusbarButtonsChromium.png: Removed property svn:executable.
  • src/js/Images/statusbarMenuButtonChromium.png: Removed property svn:executable.
  • src/js/Images/statusbarMenuButtonSelectedChromium.png: Removed property svn:executable.
  • src/js/devTools.css: Removed property svn:executable.
11:57 AM Changeset in webkit [66751] by crogers@google.com
  • 2 edits in trunk/WebKitTools

2010-09-03 Chris Rogers <crogers@google.com>

Unreviewed

Add myself to the committers list
https://bugs.webkit.org/show_bug.cgi?id=45189

  • Scripts/webkitpy/common/config/committers.py:
11:51 AM Changeset in webkit [66750] by crogers@google.com
  • 1 edit
    3 adds in trunk/WebCore

2010-09-03 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

Add AudioListener files
https://bugs.webkit.org/show_bug.cgi?id=45006

No new tests since audio API is not yet implemented.

  • webaudio: Added.
  • webaudio/AudioListener.cpp: Added. (WebCore::AudioListener::AudioListener):
  • webaudio/AudioListener.h: Added. (WebCore::AudioListener::create): (WebCore::AudioListener::setPosition): (WebCore::AudioListener::position): (WebCore::AudioListener::setOrientation): (WebCore::AudioListener::orientation): (WebCore::AudioListener::setUpVector): (WebCore::AudioListener::upVector): (WebCore::AudioListener::setVelocity): (WebCore::AudioListener::velocity): (WebCore::AudioListener::setDopplerFactor): (WebCore::AudioListener::dopplerFactor): (WebCore::AudioListener::setSpeedOfSound): (WebCore::AudioListener::speedOfSound):
  • webaudio/AudioListener.idl: Added.
11:50 AM Changeset in webkit [66749] by caseq@chromium.org
  • 1 edit in trunk/LayoutTests/ChangeLog

Unreviewed. Updated LayoutTests/ChangeLog to include more detailed description for r66735.

11:46 AM Changeset in webkit [66748] by crogers@google.com
  • 1 edit
    2 adds in trunk/WebCore

2010-09-03 Chris Rogers <crogers@google.com>

Unreviewed

Add WebCore/webaudio and WebCore/platform/audio/mac directories in preparation for landing reviewed patches
https://bugs.webkit.org/show_bug.cgi?id=45185

  • platform/audio/mac: Added.
  • webaudio: Added.
11:46 AM Changeset in webkit [66747] by zmo@google.com
  • 2 edits in trunk/LayoutTests

2010-09-03 Zhenyao Mo <zmo@google.com>

Uneviewed.

Add TIMEOUT test inspector/elements-panel-xhtml-structure.xhtml to chromium test_expectations.

  • platform/chromium/test_expectations.txt:
11:38 AM Changeset in webkit [66746] by jamesr@google.com
  • 31 edits
    3 copies
    6 adds in trunk

2010-09-03 James Robinson <jamesr@chromium.org>

Reviewed by Chris Marrin.

Multiple accelerated 2D canvases should be able to use the same GraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=44926

This allows many accelerated 2d canvases to render using a single underlying GraphicsContext3D.
It introduces a new class SharedGraphicsContext3D that manages several callers. This class could
also cache the current state to avoid issuing redundant calls, although in this first cut it doesn't.
The SharedGraphicsContext3D is provided through the ChromeClient so that its lifetime can be tied to that
of the platform-specific compositor infrastructure.

Accelerated 2d canvases maintain a reference to a SharedGraphicsContext3D and have ownership of a CanvasFramebuffer,
which represents the canvas's rendering target. The compositing layer for an accelerated 2d canvas is
aware only of the canvas's CanvasFramebuffer. This means that WebGL and 2d canvases are no longer treated
as the same time of layer by the compositor.

Covered by existing canvas tests.

  • WebCore.gypi:
  • html/canvas/CanvasRenderingContext.cpp:
  • html/canvas/CanvasRenderingContext.h: (WebCore::CanvasRenderingContext::paintsIntoCanvasBuffer): (WebCore::CanvasRenderingContext::platformLayer):
  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::CanvasRenderingContext2D): (WebCore::CanvasRenderingContext2D::paintsIntoCanvasBuffer): (WebCore::CanvasRenderingContext2D::reset): (WebCore::CanvasRenderingContext2D::didDraw): (WebCore::CanvasRenderingContext2D::platformLayer):
  • html/canvas/CanvasRenderingContext2D.h:
  • html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::paintsIntoCanvasBuffer):
  • html/canvas/WebGLRenderingContext.h: (WebCore::WebGLRenderingContext::graphicsContext3D): (WebCore::WebGLRenderingContext::platformLayer):
  • loader/EmptyClients.h: (WebCore::EmptyChromeClient::attachRootGraphicsLayer): (WebCore::EmptyChromeClient::setNeedsOneShotDrawingSynchronization): (WebCore::EmptyChromeClient::scheduleCompositingLayerSync):
  • page/ChromeClient.h: (WebCore::ChromeClient::getSharedGraphicsContext3D):
  • platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::setSharedGraphicsContext3D): (WebCore::GraphicsContext::syncSoftwareCanvas):
  • platform/graphics/GraphicsContext.h:
  • platform/graphics/chromium/Canvas2DLayerChromium.cpp: Added. (WebCore::Canvas2DLayerChromium::create): (WebCore::Canvas2DLayerChromium::Canvas2DLayerChromium): (WebCore::Canvas2DLayerChromium::~Canvas2DLayerChromium): (WebCore::Canvas2DLayerChromium::updateContents): (WebCore::Canvas2DLayerChromium::setTextureChanged): (WebCore::Canvas2DLayerChromium::textureId):
  • platform/graphics/chromium/Canvas2DLayerChromium.h: Added. (WebCore::Canvas2DLayerChromium::drawsContent):
  • platform/graphics/chromium/CanvasLayerChromium.cpp: (WebCore::CanvasLayerChromium::CanvasLayerChromium): (WebCore::CanvasLayerChromium::~CanvasLayerChromium): (WebCore::CanvasLayerChromium::draw):
  • platform/graphics/chromium/CanvasLayerChromium.h:
  • platform/graphics/chromium/DrawingBufferChromium.cpp: Added. (WebCore::generateColorTexture): (WebCore::DrawingBuffer::DrawingBuffer): (WebCore::DrawingBuffer::~DrawingBuffer): (WebCore::DrawingBuffer::publishToPlatformLayer): (WebCore::DrawingBuffer::reset): (WebCore::DrawingBuffer::platformLayer):
  • platform/graphics/chromium/GLES2Canvas.cpp: (WebCore::GLES2Canvas::GLES2Canvas): (WebCore::GLES2Canvas::~GLES2Canvas): (WebCore::GLES2Canvas::bindFramebuffer): (WebCore::GLES2Canvas::clearRect): (WebCore::GLES2Canvas::fillRect): (WebCore::GLES2Canvas::drawTexturedRect): (WebCore::GLES2Canvas::drawTexturedRectTile): (WebCore::GLES2Canvas::drawQuad): (WebCore::GLES2Canvas::createTexture): (WebCore::GLES2Canvas::getTexture):
  • platform/graphics/chromium/GLES2Canvas.h: (WebCore::GLES2Canvas::context): (WebCore::GLES2Canvas::drawingBuffer):
  • platform/graphics/chromium/GraphicsLayerChromium.cpp: (WebCore::GraphicsLayerChromium::setContentsToCanvas):
  • platform/graphics/chromium/GraphicsLayerChromium.h:
  • platform/graphics/chromium/WebGLLayerChromium.cpp: Added. (WebCore::WebGLLayerChromium::create): (WebCore::WebGLLayerChromium::WebGLLayerChromium): (WebCore::WebGLLayerChromium::updateContents): (WebCore::WebGLLayerChromium::setContext):
  • platform/graphics/chromium/WebGLLayerChromium.h: Added. (WebCore::WebGLLayerChromium::drawsContent):
  • platform/graphics/gpu/DrawingBuffer.cpp: Added. (WebCore::DrawingBuffer::create): (WebCore::DrawingBuffer::bind): (WebCore::DrawingBuffer::setWillPublishCallback):
  • platform/graphics/gpu/DrawingBuffer.h: Added. (WebCore::DrawingBuffer::size):
  • platform/graphics/gpu/SharedGraphicsContext3D.cpp: Added. (WebCore::SharedGraphicsContext3D::create): (WebCore::SharedGraphicsContext3D::SharedGraphicsContext3D): (WebCore::SharedGraphicsContext3D::~SharedGraphicsContext3D): (WebCore::SharedGraphicsContext3D::makeContextCurrent): (WebCore::SharedGraphicsContext3D::scissor): (WebCore::SharedGraphicsContext3D::enable): (WebCore::SharedGraphicsContext3D::disable): (WebCore::SharedGraphicsContext3D::clearColor): (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::supportsBGRA): (WebCore::SharedGraphicsContext3D::getTexture): (WebCore::SharedGraphicsContext3D::applyCompositeOperator): (WebCore::SharedGraphicsContext3D::useQuadVertices): (WebCore::SharedGraphicsContext3D::setActiveTexture): (WebCore::SharedGraphicsContext3D::bindTexture): (WebCore::SharedGraphicsContext3D::useFillSolidProgram): (WebCore::SharedGraphicsContext3D::useTextureProgram): (WebCore::SharedGraphicsContext3D::bindFramebuffer): (WebCore::SharedGraphicsContext3D::setViewport): (WebCore::SharedGraphicsContext3D::paintsIntoCanvasBuffer):
  • platform/graphics/gpu/SharedGraphicsContext3D.h: Added.
  • platform/graphics/gpu/Texture.cpp:
  • platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::syncSoftwareCanvas): (WebCore::GraphicsContext::setSharedGraphicsContext3D):
  • platform/graphics/skia/ImageSkia.cpp:
  • platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::~PlatformContextSkia): (WebCore::WillPublishCallbackImpl::create): (WebCore::WillPublishCallbackImpl::willPublish): (WebCore::WillPublishCallbackImpl::WillPublishCallbackImpl): (WebCore::PlatformContextSkia::setSharedGraphicsContext3D): (WebCore::PlatformContextSkia::uploadSoftwareToHardware): (WebCore::PlatformContextSkia::readbackHardwareToSoftware):
  • platform/graphics/skia/PlatformContextSkia.h:
  • rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):

2010-09-03 James Robinson <jamesr@chromium.org>

Reviewed by Chris Marrin.

Multiple accelerated 2D canvases should be able to use the same GraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=44926

Adds a SharedContext3D to WebViewImpl. The SharedContext3D has to live on WebViewImpl to be
tied to the lifetime of the compositor context.

  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::getSharedGraphicsContext3D):
  • src/ChromeClientImpl.h:
  • src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::initialize): (WebCore::GraphicsContext3DInternal::platformLayer): (WebCore::GraphicsContext3D::platformLayer):
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::getSharedGraphicsContext3D):
  • src/WebViewImpl.h:
11:32 AM Changeset in webkit [66745] by crogers@google.com
  • 1 edit
    2 adds in trunk/WebCore

2010-09-03 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

Add audio distance effect files
https://bugs.webkit.org/show_bug.cgi?id=44705

No new tests since audio API is not yet implemented.

  • platform/audio/Distance.cpp: Added. (WebCore::DistanceEffect::DistanceEffect): (WebCore::DistanceEffect::gain): (WebCore::DistanceEffect::linearGain): (WebCore::DistanceEffect::inverseGain): (WebCore::DistanceEffect::exponentialGain):
  • platform/audio/Distance.h: Added. (WebCore::DistanceEffect::model): (WebCore::DistanceEffect::setModel): (WebCore::DistanceEffect::setRefDistance): (WebCore::DistanceEffect::setMaxDistance): (WebCore::DistanceEffect::setRolloffFactor): (WebCore::DistanceEffect::refDistance): (WebCore::DistanceEffect::maxDistance): (WebCore::DistanceEffect::rolloffFactor):
11:31 AM Changeset in webkit [66744] by zmo@google.com
  • 1 edit
    20 adds in trunk/LayoutTests

2010-09-03 Zhenyao Mo <zmo@google.com>

Unreviewed.

Rebaseline after r66731.

  • platform/chromium-linux/svg/custom/mouse-move-on-svg-container-expected.checksum: Added.
  • platform/chromium-linux/svg/custom/mouse-move-on-svg-container-expected.txt: Added.
  • platform/chromium-linux/svg/custom/mouse-move-on-svg-container-standalone-expected.checksum: Added.
  • platform/chromium-linux/svg/custom/mouse-move-on-svg-container-standalone-expected.txt: Added.
  • platform/chromium-linux/svg/custom/mouse-move-on-svg-root-expected.checksum: Added.
  • platform/chromium-linux/svg/custom/mouse-move-on-svg-root-expected.txt: Added.
  • platform/chromium-linux/svg/custom/mouse-move-on-svg-root-standalone-expected.checksum: Added.
  • platform/chromium-linux/svg/custom/mouse-move-on-svg-root-standalone-expected.txt: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-container-expected.checksum: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-container-expected.png: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-container-expected.txt: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-container-standalone-expected.checksum: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-container-standalone-expected.png: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-container-standalone-expected.txt: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-root-expected.checksum: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-root-expected.png: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-root-expected.txt: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-root-standalone-expected.checksum: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-root-standalone-expected.png: Added.
  • platform/chromium-win/svg/custom/mouse-move-on-svg-root-standalone-expected.txt: Added.
11:21 AM Changeset in webkit [66743] by rniwa@webkit.org
  • 1 edit
    3 adds in trunk/LayoutTests

2010-09-03 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Kent Tamura.

Can't unbold bolded list item when list is surrounded by <b> tag
https://bugs.webkit.org/show_bug.cgi?id=25086

Added a regression test for the bug because the bug has been fixed by http://trac.webkit.org/changeset/66324.
The test ensures WebKit removes implicitly styled element such as b around list element
when style is toggled inside the list.

  • editing/style/push-down-implicit-styles-around-list-expected.txt: Added.
  • editing/style/push-down-implicit-styles-around-list.html: Added.
  • editing/style/script-tests/push-down-implicit-styles-around-list.js: Added. (testSingleToggle): (selectAll): (selectTest): (selectFirstWord): (selectSecondWord): (selectLastTwoWords):
11:21 AM Changeset in webkit [66742] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-09-03 Johnny Ding <jnd@chromium.org>

Reviewed by Adam Barth.

Save the gesture state to track the user gesture state across async form submission.
https://bugs.webkit.org/show_bug.cgi?id=44969

fast/events/popup-blocked-to-post-blank.html can cover the test in WebKit.
A UI test will be added in chromium to address chromium's bug.

  • loader/RedirectScheduler.cpp: (WebCore::ScheduledFormSubmission::ScheduledFormSubmission): (WebCore::ScheduledFormSubmission::fire): (WebCore::RedirectScheduler::scheduleFormSubmission):
11:02 AM Changeset in webkit [66741] by ap@apple.com
  • 2 edits in trunk/JavaScriptCore

2010-09-03 Alexey Proskuryakov <ap@apple.com>

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=45135
<rdar://problem/7823714> TCMalloc_PageHeap doesn't hold a mutex while manipulating shared data

  • wtf/FastMalloc.cpp: (WTF::TCMalloc_PageHeap::initializeScavenger): Make sure to create a non-recursive mutex regardless of platform default, so that we can assert that it's held (this is for platforms that don't have libdispatch). (WTF::TCMalloc_PageHeap::signalScavenger): Assert that the mutex is held, so we can look at m_scavengeThreadActive. For platforms that have libdispatch, assert that pageheap_lock is held. (WTF::TCMalloc_PageHeap::periodicScavenge): Make sure that pageheap_lock is held before manipulating m_scavengeThreadActive. Otherwise, there is an obvious race condition, and we can make unbalanced calls to dispatch_resume().
10:56 AM Changeset in webkit [66740] by mitz@apple.com
  • 3 edits
    2 adds in trunk

2010-09-03 Dan Bernstein <mitz@apple.com>

Reviewed by Anders Carlsson.

<rdar://problem/8392655> REGRESSION (r57215): Decomposed diacritics render incorrectly when preceded by stacked diacritics
https://bugs.webkit.org/show_bug.cgi?id=45182

Test: fast/text/decomposed-after-stacked-diacritics.html

  • platform/graphics/Font.cpp: (WebCore::Font::codePath): Do not bail out if the run contains stacked diacritics, since it may also contain characters that require the complex text code path.

2010-09-03 Dan Bernstein <mitz@apple.com>

Reviewed by Anders Carlsson.

<rdar://problem/8392655> REGRESSION (r57215): Decomposed diacritics render incorrectly when preceded by stacked diacritics
https://bugs.webkit.org/show_bug.cgi?id=45182

  • fast/text/decomposed-after-stacked-diacritics-expected.txt: Added.
  • fast/text/decomposed-after-stacked-diacritics.html: Added.
10:42 AM Changeset in webkit [66739] by mnaganov@chromium.org
  • 6 edits
    1 add in trunk/WebCore

2010-09-03 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Cleanup after r66117 - extract heap snapshot
view styles into a dedicated .css

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

  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/heapProfiler.css: Added. (.heap-snapshot-sidebar-tree-item .icon): (.heap-snapshot-sidebar-tree-item.small .icon): (.heap-snapshot-view): (.heap-snapshot-view.visible): (.heap-snapshot-view .data-grid): (.heap-snapshot-view .data-grid th.count-column): (.heap-snapshot-view .data-grid td.count-column): (.heap-snapshot-view .data-grid th.size-column): (.heap-snapshot-view .data-grid td.size-column): (.heap-snapshot-view .data-grid th.countDelta-column): (.heap-snapshot-view .data-grid td.countDelta-column): (.heap-snapshot-view .data-grid th.sizeDelta-column): (.heap-snapshot-view .data-grid td.sizeDelta-column): (#heap-snapshot-summary-container): (.heap-snapshot-summary): (.heap-snapshot-summary canvas.summary-graph): (.heap-snapshot-summary-label):
  • inspector/front-end/inspector.css:
  • inspector/front-end/inspector.html:
10:07 AM Changeset in webkit [66738] by demarchi@webkit.org
  • 7 edits
    1 move in trunk

2010-09-03 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Martin Robinson.

[EFL] Regression (66531) Build break with Glib Support
https://bugs.webkit.org/show_bug.cgi?id=45011

Move GtkTypedefs.h to GTypedefs.h and let it inside gobject directory
since when glib is enabled, EFL port needs it, too.

  • CMakeListsEfl.txt: Include gobject directory to find new header file.
  • GNUmakefile.am: Ditto.
  • wtf/CMakeListsEfl.txt: Ditto.
  • wtf/Platform.h: Include header if port is EFL and glib support is enabled.
  • wtf/gtk/GtkTypedefs.h: Removed.
  • wtf/gobject/GTypedefs.h: Added. Sections specific to GTK are now guarded by PLATFORM(GTK).

2010-09-03 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Martin Robinson.

[EFL] Regression (66531) Build break with Glib Support
https://bugs.webkit.org/show_bug.cgi?id=45011

Move GtkTypedefs.h to GTypedefs.h and let it inside gobject directory
since when glib is enabled, EFL port needs it, too.

  • CMakeListsEfl.txt: Include gobject directory to find new header file.
9:56 AM Changeset in webkit [66737] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

2010-09-03 Mihai Parparita <mihaip@chromium.org>

Reviewed by Tony Chang.

play-state.html and suspend-resume-animaton.html now pass on Chromium
https://bugs.webkit.org/show_bug.cgi?id=45158

Two animation tests now pass reliably with both test_shell and Chromium
DRT due to r66641 and http://crrev.com/58369.

  • platform/chromium/drt_expectations.txt:
  • platform/chromium/test_expectations.txt:
9:15 AM Changeset in webkit [66736] by jchaffraix@webkit.org
  • 2 edits in trunk/WebCore

[GTK] compilation issue with JSTimeRanges when video turned off
https://bugs.webkit.org/show_bug.cgi?id=44249

Patch by Zaheer Ahmad <zaheer.mot@gmail.com> on 2010-09-03
Reviewed by Darin Adler.

Move the JSTimeRanges outside ENABLE_VIDEO in GNUMakefile.am

  • WebCore/GNUMakefile.am
9:00 AM Changeset in webkit [66735] by caseq@chromium.org
  • 10 edits
    1 add
    3 deletes in trunk

2010-09-03 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

http/tests/inspector/console-xhr-logging.html and http/tests/inspector/resource-har-conversion.html are failing on chromium win bot
Changed MIME type for .js to application/x-javascript for consistency with apache used on other platforms.
https://bugs.webkit.org/show_bug.cgi?id=45137

  • Scripts/webkitpy/layout_tests/port/lighttpd.conf:

2010-09-03 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

http/tests/inspector/console-xhr-logging.html and http/tests/inspector/resource-har-conversion.html are failing on chromium win bot
Use CGI as target for POST request to prevent HTTP 405 on certain platforms.
Changed MIME type for .js to application/x-javascript in lighttpd.conf for
consistency with apache used on other platforms.
https://bugs.webkit.org/show_bug.cgi?id=45137

  • http/tests/inspector/console-xhr-logging-expected.txt:
  • http/tests/inspector/console-xhr-logging.html:
  • http/tests/inspector/resource-har-conversion-expected.txt:
  • http/tests/inspector/resource-har-conversion.html:
  • http/tests/inspector/resource-parameters-expected.txt:
  • http/tests/inspector/resource-parameters.html:
  • http/tests/inspector/resources/post-target.cgi: Added.
  • platform/chromium-win/http/tests/inspector/resource-parameters-expected.txt: Removed.
  • platform/chromium/test_expectations.txt:
  • platform/win/http/tests/inspector/console-xhr-logging-expected.txt: Removed.
  • platform/win/http/tests/inspector/resource-parameters-expected.txt: Removed.
8:56 AM Changeset in webkit [66734] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/efl

2010-09-03 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Antonio Gomes.

[EFL] Install default theme
https://bugs.webkit.org/show_bug.cgi?id=45154

Since a theme is needed in order to create a new browser, install the
default one to serve as example and fall-back.

  • CMakeListsEfl.txt:
8:29 AM Changeset in webkit [66733] by sullivan@apple.com
  • 2 edits in trunk/WebKit/mac

https://bugs.webkit.org/show_bug.cgi?id=45175
[WebView unmarkAllTextMatches] will crash if the webview is already closed

Reviewed by Dan Bernstein.

Made this and related methods robust against being called when the WebView is closed.

  • WebView/WebView.mm:

(-[WebView markAllMatchesForText:caseSensitive:highlight:limit:]):
Bail out if the WebView is closed.
(-[WebView countMatchesForText:caseSensitive:highlight:limit:markMatches:]):
Ditto.
(-[WebView unmarkAllTextMatches]):
Ditto.
(-[WebView rectsForTextMatches]):
Ditto.

8:17 AM Changeset in webkit [66732] by loislo@chromium.org
  • 7 edits in trunk/WebCore

2010-09-03 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: cleanup inspector api. getChildNodes should return array of child nodes as an output value.

The current implementation of the inspector api has some unnecessary complexity.
As example WebInspector is requesting child nodes of a node by getChildNodes
but DOM agent is actually pushing the child nodes via setChildNodes event call and
send back an empty response message.

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

  • inspector/CodeGeneratorInspector.pm:
  • inspector/Inspector.idl:
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::getChildNodesArray): (WebCore::InspectorDOMAgent::pushChildNodesToFrontend): (WebCore::InspectorDOMAgent::getChildNodes):
  • inspector/InspectorDOMAgent.h:
  • inspector/front-end/DOMAgent.js: (WebInspector.DOMAgent.prototype.getChildNodesAsync.mycallback): (WebInspector.DOMAgent.prototype.getChildNodesAsync):
  • inspector/front-end/WorkersSidebarPane.js: (WebInspector.WorkersSidebarPane.prototype.reset):
7:26 AM Changeset in webkit [66731] by Nikolas Zimmermann
  • 3 edits
    16 adds in trunk

2010-09-03 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Dirk Schulze.

SVG atlas map slider doesn't work properly
https://bugs.webkit.org/show_bug.cgi?id=45107

SVG 1.1 2nd edition relaxes hit testing rules. The outermost <svg> should react
to mouse events, in standalone and compound documents, if the mouse location is
within the intrinsic boundaries of the <svg> element.

Tests: svg/custom/mouse-move-on-svg-container-standalone.svg

svg/custom/mouse-move-on-svg-container.xhtml
svg/custom/mouse-move-on-svg-root-standalone.svg
svg/custom/mouse-move-on-svg-root.xhtml

  • rendering/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::nodeAtPoint):

2010-09-03 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Dirk Schulze.

SVG atlas map slider doesn't work properly
https://bugs.webkit.org/show_bug.cgi?id=45107

  • platform/mac/svg/custom/mouse-move-on-svg-container-expected.checksum: Added.
  • platform/mac/svg/custom/mouse-move-on-svg-container-expected.png: Added.
  • platform/mac/svg/custom/mouse-move-on-svg-container-expected.txt: Added.
  • platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.checksum: Added.
  • platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.png: Added.
  • platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.txt: Added.
  • platform/mac/svg/custom/mouse-move-on-svg-root-expected.checksum: Added.
  • platform/mac/svg/custom/mouse-move-on-svg-root-expected.png: Added.
  • platform/mac/svg/custom/mouse-move-on-svg-root-expected.txt: Added.
  • platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.checksum: Added.
  • platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.png: Added.
  • platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.txt: Added.
  • svg/custom/mouse-move-on-svg-container-standalone.svg: Added.
  • svg/custom/mouse-move-on-svg-container.xhtml: Added.
  • svg/custom/mouse-move-on-svg-root-standalone.svg: Added.
  • svg/custom/mouse-move-on-svg-root.xhtml: Added.
7:01 AM Changeset in webkit [66730] by commit-queue@webkit.org
  • 16 edits in trunk

2010-09-03 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: provide more information to front-end when breaking on DOM event
https://bugs.webkit.org/show_bug.cgi?id=44679

  • http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest._pausedScript):

2010-09-03 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: provide more information to front-end when breaking on DOM event
https://bugs.webkit.org/show_bug.cgi?id=44679

  • dom/ContainerNode.cpp: (WebCore::ContainerNode::insertBefore): (WebCore::ContainerNode::parserInsertBefore): (WebCore::ContainerNode::replaceChild): (WebCore::ContainerNode::appendChild): (WebCore::ContainerNode::parserAddChild): (WebCore::notifyChildInserted): (WebCore::dispatchChildRemovalEvents):
  • dom/Element.cpp: (WebCore::Element::setAttribute): (WebCore::Element::removeAttribute):
  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::willInsertDOMNodeImpl): (WebCore::InspectorController::didInsertDOMNodeImpl): (WebCore::InspectorController::willRemoveDOMNodeImpl): (WebCore::InspectorController::didRemoveDOMNodeImpl): (WebCore::InspectorController::willModifyDOMAttrImpl): (WebCore::InspectorController::didModifyDOMAttrImpl):
  • inspector/InspectorController.h: (WebCore::InspectorController::willInsertDOMNode): (WebCore::InspectorController::didInsertDOMNode): (WebCore::InspectorController::willRemoveDOMNode): (WebCore::InspectorController::willModifyDOMAttr): (WebCore::InspectorController::didModifyDOMAttr): (WebCore::InspectorController::inspectorControllerForNode):
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::~InspectorDOMAgent): (WebCore::InspectorDOMAgent::shouldBreakOnNodeInsertion): (WebCore::InspectorDOMAgent::shouldBreakOnNodeRemoval): (WebCore::InspectorDOMAgent::shouldBreakOnAttributeModification): (WebCore::InspectorDOMAgent::didInsertDOMNode): (WebCore::InspectorDOMAgent::didRemoveDOMNode): (WebCore::InspectorDOMAgent::didModifyDOMAttr): (WebCore::InspectorDOMAgent::createBreakpoint):
  • inspector/InspectorDOMAgent.h:
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent): (WebCore::InspectorDebuggerAgent::~InspectorDebuggerAgent): (WebCore::InspectorDebuggerAgent::didPause): (WebCore::InspectorDebuggerAgent::breakProgram):
  • inspector/InspectorDebuggerAgent.h:
  • inspector/InspectorValues.h: (WebCore::InspectorValue::isNull):
  • inspector/front-end/BreakpointsSidebarPane.js: (WebInspector.BreakpointItem): (WebInspector.BreakpointItem.prototype._enableChanged):
  • inspector/front-end/Script.js: (WebInspector.Script.prototype.get linesCount):
  • inspector/front-end/inspector.js: (WebInspector.pausedScript):
6:57 AM Changeset in webkit [66729] by Csaba Osztrogonác
  • 2 edits in trunk/JavaScriptCore

2010-09-03 Csaba Osztrogonác <Csaba Osztrogonác>

Reviewed by Simon Hausmann.

Fix warning in wtf/ByteArray.h
https://bugs.webkit.org/show_bug.cgi?id=44672

  • wtf/ByteArray.h: Use maximal sized array for MSVC and unsized array for other compilers.
6:15 AM Changeset in webkit [66728] by jorlow@chromium.org
  • 3 edits in trunk/LayoutTests

2010-09-03 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

Fix and beef up IndexedDB layout test
https://bugs.webkit.org/show_bug.cgi?id=45035

Implement some fixmes and such.

  • storage/indexeddb/database-basics-expected.txt:
  • storage/indexeddb/script-tests/database-basics.js: (openSuccess): (setVersionAgain): (createObjectStore): (checkObjectStore):
6:00 AM Changeset in webkit [66727] by abecsi@webkit.org
  • 4 edits
    1 add in trunk/WebKitTools

2010-09-03 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>

Reviewed by Eric Seidel.

Add feature detection support to NRWT.
https://bugs.webkit.org/show_bug.cgi?id=41842

  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/qt.py:
  • Scripts/webkitpy/layout_tests/port/webkit.py:
  • Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Added.
5:53 AM Changeset in webkit [66726] by jorlow@chromium.org
  • 13 edits in trunk

2010-08-31 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

IDBCursor.continue() should reuse the .openCursor's IDBRequest object
https://bugs.webkit.org/show_bug.cgi?id=44953

  • storage/indexeddb/objectstore-cursor.html:

2010-08-31 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

IDBCursor.continue() should reuse the .openCursor's IDBRequest object
https://bugs.webkit.org/show_bug.cgi?id=44953

This is to match the spec. This requires a modification to IDBRequest so
that multiple events can be queued up.

Note that the initial state for IDBRequest was removed from the spec.

Test: modified existing test to verify new behavior.

  • storage/IDBAny.cpp: (WebCore::IDBAny::createInvalid): (WebCore::IDBAny::createNull): (WebCore::IDBAny::setNull):
  • storage/IDBAny.h: (WebCore::IDBAny::create):
  • storage/IDBCursor.cpp: (WebCore::IDBCursor::IDBCursor): (WebCore::IDBCursor::continueFunction):
  • storage/IDBCursor.h: (WebCore::IDBCursor::create):
  • storage/IDBCursor.idl:
  • storage/IDBRequest.cpp: (WebCore::IDBRequest::IDBRequest): (WebCore::IDBRequest::~IDBRequest): (WebCore::IDBRequest::resetReadyState): (WebCore::IDBRequest::onError): (WebCore::IDBRequest::onSuccess): (WebCore::IDBRequest::abort): (WebCore::IDBRequest::timerFired): (WebCore::IDBRequest::scheduleEvent):
  • storage/IDBRequest.h:
  • storage/IDBRequest.idl:

2010-08-31 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

IDBCursor.continue() should reuse the .openCursor's IDBRequest object
https://bugs.webkit.org/show_bug.cgi?id=44953

  • src/WebIDBCallbacksImpl.cpp: (WebCore::WebIDBCallbacksImpl::onError): (WebCore::WebIDBCallbacksImpl::onSuccess):
5:42 AM Changeset in webkit [66725] by xan@webkit.org
  • 2 edits in trunk/WebKit/gtk

2010-09-03 Xan Lopez <xlopez@igalia.com>

Reviewed by Gustavo Noronha.

Dialog separators are gone in GTK+ 3.x.

  • webkit/webkitsoupauthdialog.c: (show_auth_dialog):
5:39 AM Changeset in webkit [66724] by antonm@chromium.org
  • 3 edits in trunk/LayoutTests

2010-09-03 Anton Muhin <antonm@chromium.org>

Unreviewed fix, updating Chromium's exectations.

  • platform/chromium-linux/plugins/embed-attributes-style-expected.checksum:
  • platform/chromium-linux/plugins/embed-attributes-style-expected.png:
5:12 AM Changeset in webkit [66723] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-09-03 Bharathwaaj Srinivasan <bharathwaaj.s@gmail.com>

Reviewed by Xan Lopez.

Initialize keyboard events before passing plugins.
https://bugs.webkit.org/show_bug.cgi?id=44771

No new tests needed since this is a trivial fix.

  • plugins/gtk/PluginViewGtk.cpp: (WebCore::PluginView::handleKeyboardEvent):
4:48 AM Changeset in webkit [66722] by yurys@chromium.org
  • 2 edits in trunk/WebCore

2010-09-03 Yury Semikhatsky <yurys@chromium.org>

Unreviewed. Fix Qt compilation.

  • html/HTMLEmbedElement.cpp: (WebCore::HTMLEmbedElement::parametersForPlugin):
3:36 AM Changeset in webkit [66721] by commit-queue@webkit.org
  • 12 edits
    4 adds in trunk

2010-09-03 Hironori Bono <hbono@chromium.org>

Reviewed by Kent Tamura.

Adds textInputController.hasSpellingMarker() to avoid using pixel tests for spellchecking tests
and implements it for Mac.
https://bugs.webkit.org/show_bug.cgi?id=41832

  • editing/spelling/spelling-contenteditable-expected.txt: Added the expected result for spelling-contenteditable.html.
  • editing/spelling/spelling-contenteditable.html: Added a text test of spellcheker APIs for contenteditable <div> elements.
  • editing/spelling/spelling-textarea-expected.txt: Added the expected result for spelling-textarea.html.
  • editing/spelling/spelling-textarea.html: Added a text test of spellchecker APIs for <textarea> elements.
  • platform/chromium/test_expectations.txt: Skipped the new tests because textInputController.hasSpelingMarker() is not implemented.
  • platform/gtk/Skipped: ditto.
  • platform/qt/Skipped: ditto.
  • platform/win/Skipped: ditto.

2010-09-03 Hironori Bono <hbono@chromium.org>

Reviewed by Kent Tamura.

Adds textInputController.hasSpellingMarker() to avoid using pixel tests for spellchecking tests
and implements it for Mac.
https://bugs.webkit.org/show_bug.cgi?id=41832

Tests: editing/spelling/spelling-contenteditable.html

editing/spelling/spelling-textarea.html

  • WebCore.exp.in: Exported symbols used by [WebFrame hasSpellingMarker:length:].

2010-09-03 Hironori Bono <hbono@chromium.org>

Reviewed by Kent Tamura.

Adds textInputController.hasSpellingMarker() to avoid using pixel tests for spellchecking tests
and implements it for Mac.
https://bugs.webkit.org/show_bug.cgi?id=41832

  • WebView/WebFrame.mm: Implemented [WebFrame hasSpellingMarker:length:]. (spellingNode): (-[WebFrame hasSpellingMarker:length:]):
  • WebView/WebFramePrivate.h: Added [WebFrame hasSpellingMarker:length:] so TextInputController can use it.

2010-09-03 Hironori Bono <hbono@chromium.org>

Reviewed by Kent Tamura.

Adds textInputController.hasSpellingMarker() to avoid using pixel tests for spellchecking tests
and implements it for Mac.
https://bugs.webkit.org/show_bug.cgi?id=41832

  • DumpRenderTree/mac/TextInputController.m: Added [TextInputController hasSpellingMarker:length:] and bind it so we can call it from JavaScript. (+[TextInputController isSelectorExcludedFromWebScript:]): (+[TextInputController webScriptNameForSelector:]): (-[TextInputController hasSpellingMarker:length:]):
3:09 AM Changeset in webkit [66720] by yurys@chromium.org
  • 24 edits in trunk

2010-09-02 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
https://bugs.webkit.org/show_bug.cgi?id=44230

  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::inspectedPageDestroyed): (WebCore::InspectorController::close):
  • inspector/InspectorFrontendClient.h:
  • inspector/InspectorFrontendHost.cpp: (WebCore::InspectorFrontendHost::disconnectFromBackend): don't try to notify InspectorController that frontend closes if InspectorController triggered the action.
  • inspector/InspectorFrontendHost.h:
  • inspector/InspectorFrontendHost.idl:
  • inspector/front-end/InspectorFrontendHostStub.js: (.WebInspector.InspectorFrontendHostStub.prototype.disconnectFromBackend):
  • inspector/front-end/inspector.js: (WebInspector.disconnectFromBackend):

2010-09-02 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
https://bugs.webkit.org/show_bug.cgi?id=44230

  • WebCoreSupport/WebInspectorClient.h:
  • WebCoreSupport/WebInspectorClient.mm: (WebInspectorFrontendClient::closeWindow): (WebInspectorFrontendClient::disconnectFromBackend): (-[WebInspectorWindowController windowShouldClose:]): (-[WebInspectorWindowController destroyInspectorView:]):
2:50 AM Changeset in webkit [66719] by Girish Ramakrishnan
  • 2 edits in trunk/WebCore

Passing a 32-bit depth X pixmap to NPAPI windowless plugins is too inefficient.
Instead, pass a X Pixmap that has same depth as the screen depth since graphics
operations are optimized for this depth.

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

Reviewed by Simon Hausmann.

  • plugins/PluginPackage.cpp:

(WebCore::PluginPackage::determineQuirks):

12:44 AM Changeset in webkit [66718] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-09-03 Philippe Normand <pnormand@igalia.com>

Unreviewed, updated GTK baselines of a mathml test.

Use correct minus glyphs in MathML operators
https://bugs.webkit.org/show_bug.cgi?id=43629

  • platform/gtk/mathml/presentation/mo-expected.txt:
12:03 AM Changeset in webkit [66717] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-09-02 Kwang Yul Seo <skyul@company100.net>

Reviewed by Kent Tamura.

Add ENABLE(DATABASE) guard to DatabaseAuthorizer.cpp
https://bugs.webkit.org/show_bug.cgi?id=45152

DatabaseAuthorizer is used only with ENABLE(DATABASE).

  • storage/DatabaseAuthorizer.cpp:

Sep 2, 2010:

11:20 PM Changeset in webkit [66716] by commit-queue@webkit.org
  • 5 edits in trunk

2010-09-02 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Antonio Gomes.

[EFL] Name install directories according to library name
https://bugs.webkit.org/show_bug.cgi?id=45126

  • cmake/OptionsEfl.cmake: Use library name in order to define the data directory.

2010-09-02 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Antonio Gomes.

[EFL] Name install directories according to library name
https://bugs.webkit.org/show_bug.cgi?id=45126

  • CMakeListsEfl.txt: include diretory follows library name.
  • ewebkit.pc.in: Ditto.
11:03 PM Changeset in webkit [66715] by commit-queue@webkit.org
  • 2 edits in trunk

2010-09-02 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Antonio Gomes.

[EFL] Do not override custom compile flags
https://bugs.webkit.org/show_bug.cgi?id=45125

Set a default build type if and only if user did not define one as
command line options and he did not give custom CFLAGS or CXXFLAGS.
Otherwise, flags from default build type would override user-defined
ones.

  • CMakeLists.txt:
10:41 PM Changeset in webkit [66714] by commit-queue@webkit.org
  • 3 edits in trunk

2010-09-02 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Antonio Gomes.

[EFL] Fix double addition of -fPIC
https://bugs.webkit.org/show_bug.cgi?id=45122

When SHARED_CORE=ON, -fPIC is automatically added because all
libraries are dynamic. Only when static libraries are built that
-fPIC needs to be manually inserted (because the final library,
libewebkit.so, is dynamic).

  • cmake/OptionsCommon.cmake: Remove -fPIC flag.
  • cmake/WebKitHelpers.cmake: Add -fPIC flags iff SHARED_CORE=ON.
10:22 PM Changeset in webkit [66713] by satish@chromium.org
  • 2 edits in trunk/WebKit/chromium

2010-09-02 Satish Sampath <satish@chromium.org>

Reviewed by Jeremy Orlow.

Remove obsolete public/API methods in chromium port
https://bugs.webkit.org/show_bug.cgi?id=45108

  • public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition):
10:18 PM DeveloperTips edited by mihaip@chromium.org
(diff)
10:05 PM Changeset in webkit [66712] by commit-queue@webkit.org
  • 9 edits in trunk

2010-09-02 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: add page reload test to dom-breakpoints.html
https://bugs.webkit.org/show_bug.cgi?id=44837

  • inspector/dom-breakpoints-expected.txt:
  • inspector/dom-breakpoints.html:

2010-09-02 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: persist DOM breakpoints between page reloads
https://bugs.webkit.org/show_bug.cgi?id=44837

  • inspector/front-end/BreakpointsSidebarPane.js: (WebInspector.DOMBreakpointItem):
  • inspector/front-end/DOMAgent.js: (WebInspector.DOMNode.prototype.path): (WebInspector.DOMNode.prototype.setBreakpoint): (WebInspector.DOMNode.prototype.hasBreakpoint): (WebInspector.DOMNode.prototype.removeBreakpoint): (WebInspector.DOMNode.prototype.removeBreakpoints): (WebInspector.DOMAgent.prototype._setDocument): (WebInspector.DOMAgent.prototype._childNodeRemoved): (WebInspector.DOMAgent.prototype._removeBreakpoints): (WebInspector.DOMBreakpointManager): (WebInspector.DOMBreakpointManager.prototype.setBreakpoint): (WebInspector.DOMBreakpointManager.prototype.removeBreakpointsForNode): (WebInspector.DOMBreakpointManager.prototype._breakpointRemoved): (WebInspector.DOMBreakpointManager.prototype.restoreBreakpoints.restoreBreakpointsForNode): (WebInspector.DOMBreakpointManager.prototype.restoreBreakpoints): (WebInspector.DOMBreakpoint): (WebInspector.DOMBreakpoint.prototype.get nodeId): (WebInspector.DOMBreakpoint.prototype.get type): (WebInspector.DOMBreakpoint.prototype.set enabled): (WebInspector.DOMBreakpoint.prototype.remove):
  • inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.prototype.reset): (WebInspector.ElementsPanel.prototype.setDocument):
  • inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype._populateTagContextMenu):
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._showPopup.showObjectPopup):
9:49 PM Changeset in webkit [66711] by eric@webkit.org
  • 11 edits in trunk/WebCore

2010-09-02 Eric Seidel <eric@webkit.org>

Reviewed by Dimitri Glazkov.

Move updateWidget into FrameView from RenderEmbeddedObject
https://bugs.webkit.org/show_bug.cgi?id=45065

I also made updateWidget() virtual on HTMLPlugInImageElement.
I'm not yet sure that updateWidget belongs on HTMLElement since
I'm not sure that HTMLMediaElement's use of the updateWidget
infrastructure is correct.

I also got rid of the strange !m_replacementText.isEmpty() checks
by making a pluginCrashedOrWasMissing() call which seems to embody
the idea behind that check and hides the screwy details.

I noticed a couple methods on HTMLPlugInImageElement were public
which did not need to be. Fixed.

No functional change, thus no tests.

  • html/HTMLEmbedElement.h:
  • html/HTMLObjectElement.h:
  • html/HTMLPlugInImageElement.cpp: (WebCore::HTMLPlugInImageElement::updateWidgetIfNecessary):
  • html/HTMLPlugInImageElement.h: (WebCore::HTMLPlugInImageElement::serviceType): (WebCore::HTMLPlugInImageElement::url):
  • page/FrameView.cpp: (WebCore::FrameView::updateWidget): (WebCore::FrameView::updateWidgets):
  • page/FrameView.h:
  • rendering/RenderEmbeddedObject.cpp: (WebCore::RenderEmbeddedObject::pluginCrashedOrWasMissing): (WebCore::RenderEmbeddedObject::paint): (WebCore::RenderEmbeddedObject::paintReplaced):
  • rendering/RenderEmbeddedObject.h:
9:28 PM Changeset in webkit [66710] by eric@webkit.org
  • 10 edits in trunk/WebCore

2010-09-02 Eric Seidel <eric@webkit.org>

Reviewed by Dimitri Glazkov.

Move updateWidget implementations into the DOM
https://bugs.webkit.org/show_bug.cgi?id=45058

Unfortunately it's not yet possible to share an updateWidget
implementation between <embed> and <object>. That would amount to
(positive) functional changes for <embed> which I'd will separate
into a later patch. I will also have to untangle <object>'s <param>
walk from its url/serviceType calculations.

However after this patch it's slap-you-across-the-face obvious that
RenderEmbeddedObject::updateWidget was the wrong place for this code.
RenderEmbeddedObject::updateWidget still exists, but only as a
pseudo-virtual-method dispatcher. Unless we add updateWidget() to
HTMLElement, we won't be able to use real virtual dispatch.

I may need to consider making "having a widget" a has-a relationship
with some sort of WidgetContainer object which Media and Plugin can
share. Or its also possible that Media's use of the widget code here
is just wrong. Certainly now that updateWidget was moved into HTMLMediaElement
it becomes obvious that HTMLMediaElement has duplicate code for updating widgets.

No functional changes, thus no tests.

  • html/HTMLEmbedElement.cpp: (WebCore::HTMLEmbedElement::updateWidget):
  • html/HTMLEmbedElement.h:
  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::updateWidget):
  • html/HTMLMediaElement.h:
  • html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::updateWidget):
  • html/HTMLObjectElement.h: (WebCore::HTMLObjectElement::useFallbackContent):
  • html/HTMLPlugInImageElement.h: (WebCore::HTMLPlugInImageElement::needsWidgetUpdate): (WebCore::HTMLPlugInImageElement::setNeedsWidgetUpdate):
  • loader/FrameLoader.cpp:
  • rendering/RenderEmbeddedObject.cpp: (WebCore::RenderEmbeddedObject::updateWidget):
9:04 PM Changeset in webkit [66709] by eric@webkit.org
  • 8 edits in trunk/WebCore

2010-09-02 Eric Seidel <eric@webkit.org>

Reviewed by Dimitri Glazkov.

Move more code from RenderEmbeddedObject into the DOM
https://bugs.webkit.org/show_bug.cgi?id=45055

No logic changes here, just taking the code which
I ripped out of RenderEmbeddedObject::updateWidget
into static methods before and moving it into
the applicable DOM classes.

HTMLObjectElement::parametersForPlugin does too much
but in order to fix it I may need to add a PluginParameters
class so we can ask things about the parameters. <object>
needs to get multiple bits of information out of its parameters
array. Right now it does it all in one walk. In order to share
code with HTMLEmbedElement, we need the "generate the params array"
code to be separate from the "make advanced <object> specific decision
from the params array". But that will need to be in a later patch.

No functional changes, thus no tests.

  • html/HTMLEmbedElement.cpp: (WebCore::HTMLEmbedElement::parametersForPlugin):
  • html/HTMLEmbedElement.h:
  • html/HTMLObjectElement.cpp: (WebCore::createClassIdToTypeMap): (WebCore::serviceTypeForClassId): (WebCore::mapDataParamToSrc): (WebCore::HTMLObjectElement::parametersForPlugin): (WebCore::HTMLObjectElement::hasFallbackContent):
  • html/HTMLObjectElement.h:
  • html/HTMLPlugInImageElement.cpp: (WebCore::HTMLPlugInImageElement::allowedToLoadFrameURL): (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin): (WebCore::HTMLPlugInImageElement::detach): (WebCore::HTMLPlugInImageElement::updateWidgetIfNecessary): (WebCore::HTMLPlugInImageElement::updateWidgetCallback):
  • html/HTMLPlugInImageElement.h:
  • rendering/RenderEmbeddedObject.cpp: (WebCore::updateWidgetForObjectElement): (WebCore::updateWidgetForEmbedElement): (WebCore::RenderEmbeddedObject::updateWidget):
8:45 PM Changeset in webkit [66708] by commit-queue@webkit.org
  • 9 edits in trunk

2010-09-02 François Sausset <François Sausset>

Reviewed by Darin Adler.

MathML mo element should render "hyphen-minus" as "minus sign" (Unicode glyph names).
https://bugs.webkit.org/show_bug.cgi?id=43629

  • mathml/presentation/mo.xhtml:
  • platform/mac/mathml/presentation/mo-expected.checksum:
  • platform/mac/mathml/presentation/mo-expected.png:
  • platform/mac/mathml/presentation/mo-expected.txt:

2010-09-02 François Sausset <François Sausset>

Reviewed by Darin Adler.

MathML mo element should render "hyphen-minus" as "minus sign" (Unicode glyph names).
https://bugs.webkit.org/show_bug.cgi?id=43629

Test: mathml/presentation/mo.xhtml

  • mathml/RenderMathMLOperator.cpp: (WebCore::RenderMathMLOperator::RenderMathMLOperator): (WebCore::RenderMathMLOperator::updateFromElement):
  • mathml/RenderMathMLOperator.h: (WebCore::convertHyphenMinusToMinusSign):
  • platform/text/CharacterNames.h:
8:16 PM Changeset in webkit [66707] by eric@webkit.org
  • 3 edits in trunk/WebKitTools

2010-09-02 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Add a unit test for commit-queue retries
https://bugs.webkit.org/show_bug.cgi?id=45162

I think commit-queue retries are not correctly avoiding
build and test on retries. So I started testing the code.
Unfortunately this test did not find the bug. But now
that we have the test we might as well keep it.
I also fixed a broken import in validate-committer-lists.

  • Scripts/validate-committer-lists:
  • Scripts/webkitpy/tool/commands/queues_unittest.py:
7:21 PM DeveloperTips edited by yuzo@google.com
(diff)
7:16 PM Changeset in webkit [66706] by abarth@webkit.org
  • 2 edits in trunk/JavaScriptCore

2010-09-02 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Actually parse a URL from ParsedURL
https://bugs.webkit.org/show_bug.cgi?id=45080

This patch only handles standard URLs. At some point we'll need to
distinguish between standard URLs and other kinds of URLs.

  • wtf/url/api/ParsedURL.cpp: (WTF::ParsedURL::ParsedURL):
7:14 PM DeveloperTips edited by yuzo@google.com
(diff)
7:11 PM Changeset in webkit [66705] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

2010-09-02 Kent Tamura <tkent@chromium.org>

Unreviewed, test expectation update.

  • platform/chromium/drt_expectations.txt: Remove another duplicate.
7:11 PM AddToPrivateHeaders.png attached to DeveloperTips by yuzo@google.com
7:10 PM Changeset in webkit [66704] by kbr@google.com
  • 2 edits
    2 adds in trunk/WebCore

2010-09-02 Kenneth Russell <kbr@google.com>

Reviewed by Darin Fisher.

Add red-black tree capable of holding plain old data (POD)
https://bugs.webkit.org/show_bug.cgi?id=45059

Adding an augmentable red-black tree capable of holding Plain Old
Data (POD), or classes bottoming out into only POD, and an
associated PODArena. Note that the PODArena will be used by other
classes to allocate temporary structures, which is why it is not
just an implementation detail of the red-black tree.

These classes are being placed under WebCore/platform/graphics/gpu
for the time being. If they are generalized to hold even data
types which internally perform dynamic memory allocation, we may
consider moving them to WTF in the future.

Unit tests for the PODRedBlackTree will be integrated separately
under bug 45060.

  • WebCore.gypi:
  • platform/graphics/gpu/PODArena.h: Added. (WebCore::PODArena::Allocator::~Allocator): (WebCore::PODArena::FastMallocAllocator::create): (WebCore::PODArena::FastMallocAllocator::allocate): (WebCore::PODArena::FastMallocAllocator::free): (WebCore::PODArena::FastMallocAllocator::FastMallocAllocator): (WebCore::PODArena::create): (WebCore::PODArena::allocateObject): (WebCore::PODArena::~PODArena): (WebCore::PODArena::PODArena): (WebCore::PODArena::minAlignment): (WebCore::PODArena::roundUp): (WebCore::PODArena::Chunk::Chunk): (WebCore::PODArena::Chunk::~Chunk): (WebCore::PODArena::Chunk::allocate):
  • platform/graphics/gpu/PODRedBlackTree.h: Added. (WebCore::PODRedBlackTree::Visitor::~Visitor): (WebCore::PODRedBlackTree::PODRedBlackTree): (WebCore::PODRedBlackTree::~PODRedBlackTree): (WebCore::PODRedBlackTree::add): (WebCore::PODRedBlackTree::remove): (WebCore::PODRedBlackTree::contains): (WebCore::PODRedBlackTree::visitInorder): (WebCore::PODRedBlackTree::size): (WebCore::PODRedBlackTree::setNeedsFullOrderingComparisons): (WebCore::PODRedBlackTree::checkInvariants): (WebCore::PODRedBlackTree::dump): (WebCore::PODRedBlackTree::setVerboseDebugging): (WebCore::PODRedBlackTree::Node::Node): (WebCore::PODRedBlackTree::Node::~Node): (WebCore::PODRedBlackTree::Node::color): (WebCore::PODRedBlackTree::Node::setColor): (WebCore::PODRedBlackTree::Node::data): (WebCore::PODRedBlackTree::Node::copyFrom): (WebCore::PODRedBlackTree::Node::left): (WebCore::PODRedBlackTree::Node::setLeft): (WebCore::PODRedBlackTree::Node::right): (WebCore::PODRedBlackTree::Node::setRight): (WebCore::PODRedBlackTree::Node::parent): (WebCore::PODRedBlackTree::Node::setParent): (WebCore::PODRedBlackTree::root): (WebCore::PODRedBlackTree::updateNode): (WebCore::PODRedBlackTree::treeSearch): (WebCore::PODRedBlackTree::treeSearchNormal): (WebCore::PODRedBlackTree::treeSearchFullComparisons): (WebCore::PODRedBlackTree::treeInsert): (WebCore::PODRedBlackTree::treeSuccessor): (WebCore::PODRedBlackTree::treeMinimum): (WebCore::PODRedBlackTree::propagateUpdates): (WebCore::PODRedBlackTree::leftRotate): (WebCore::PODRedBlackTree::rightRotate): (WebCore::PODRedBlackTree::insertNode): (WebCore::PODRedBlackTree::deleteFixup): (WebCore::PODRedBlackTree::deleteNode): (WebCore::PODRedBlackTree::visitInorderImpl): (WebCore::PODRedBlackTree::Counter::Counter): (WebCore::PODRedBlackTree::Counter::visit): (WebCore::PODRedBlackTree::Counter::count): (WebCore::PODRedBlackTree::checkInvariantsFromNode): (WebCore::PODRedBlackTree::logIfVerbose): (WebCore::PODRedBlackTree::dumpFromNode):
7:04 PM DeveloperTips created by yuzo@google.com
6:58 PM Changeset in webkit [66703] by abarth@webkit.org
  • 2 edits
    4 adds in trunk/JavaScriptCore

2010-09-02 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Add ParsedURL and URLString to WTFURL API
https://bugs.webkit.org/show_bug.cgi?id=45078

Currently there's no actual URL parsing going on, but this patch is a
start to sketching out the API.

  • JavaScriptCore.xcodeproj/project.pbxproj:
  • wtf/url/api/ParsedURL.cpp: Added. (WTF::ParsedURL::ParsedURL): (WTF::ParsedURL::scheme): (WTF::ParsedURL::username): (WTF::ParsedURL::password): (WTF::ParsedURL::host): (WTF::ParsedURL::port): (WTF::ParsedURL::path): (WTF::ParsedURL::query): (WTF::ParsedURL::fragment): (WTF::ParsedURL::segment):
  • wtf/url/api/ParsedURL.h: Added. (WTF::ParsedURL::spec):
  • wtf/url/api/URLString.h: Added. (WTF::URLString::URLString): (WTF::URLString::string):
6:53 PM Changeset in webkit [66702] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

2010-09-02 Kent Tamura <tkent@chromium.org>

Unreviewed, test expectation update.

  • platform/chromium/drt_expectations.txt: Remove a duplicated entry I made in the prior commit.
6:51 PM Changeset in webkit [66701] by tkent@chromium.org
  • 13 edits
    2 copies in trunk

2010-09-02 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

[DRT/Chromium] Remove dependency to base/task.h and base/timer.h
https://bugs.webkit.org/show_bug.cgi?id=45091

  • DEPS: Roll Chromium revision to 58277 in order to have webkit_support::PostDelayedTask().

2010-09-02 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

[DRT/Chromium] Remove dependency to base/task.h and base/timer.h
https://bugs.webkit.org/show_bug.cgi?id=45091

Task.{cpp,h} introduces a simpler version of Chromium
base/task.h. It doesn't have TupleN and Method.

  • DumpRenderTree/DumpRenderTree.gypi: Add Task.cpp and Task.h
  • DumpRenderTree/chromium/DRTDevToolsAgent.cpp: (DRTDevToolsAgent::DRTDevToolsAgent): (DRTDevToolsAgent::reset): (DRTDevToolsAgent::asyncCall): (DRTDevToolsAgent::frontendLoaded):
  • DumpRenderTree/chromium/DRTDevToolsAgent.h: (DRTDevToolsAgent::taskList): Added to use MethodTask<T>.
  • DumpRenderTree/chromium/DRTDevToolsClient.cpp: (DRTDevToolsClient::DRTDevToolsClient): (DRTDevToolsClient::~DRTDevToolsClient): (DRTDevToolsClient::reset): (DRTDevToolsClient::asyncCall):
  • DumpRenderTree/chromium/DRTDevToolsClient.h: (DRTDevToolsClient::taskList): Added to use MethodTask<T>.
  • DumpRenderTree/chromium/EventSender.cpp: (EventSender::EventSender): (EventSender::reset): (EventSender::scheduleAsynchronousClick):
  • DumpRenderTree/chromium/EventSender.h: (EventSender::taskList): Added to use MethodTask<T>.
  • DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (LayoutTestController::WorkQueue::processWorkSoon): (LayoutTestController::waitUntilDone): (LayoutTestController::notifyDone): (LayoutTestController::reset):
  • DumpRenderTree/chromium/LayoutTestController.h: (LayoutTestController::taskList): Added to use MethodTask<T>. (LayoutTestController::WorkQueue::taskList): Added to use MethodTask<T>.
  • DumpRenderTree/chromium/NotificationPresenter.cpp: (deferredDisplayDispatch): (NotificationPresenter::show):
  • DumpRenderTree/chromium/Task.cpp: Added.
  • DumpRenderTree/chromium/Task.h: Added.
6:51 PM WikiStart edited by yuzo@google.com
(diff)
6:38 PM Changeset in webkit [66700] by commit-queue@webkit.org
  • 4 edits
    2 moves in trunk/WebCore

2010-09-02 Rafael Antognolli <antognolli@profusion.mobi>

Reviewed by Martin Robinson.

[Cairo] Remove glib dependency (caused by use of GOwnPtr)
https://bugs.webkit.org/show_bug.cgi?id=45053

Use OwnPtr instead of GOwnPtr to keep track of Fc* references
in FontCacheCairo.cpp.

No features added, so no new tests.

  • CMakeListsEfl.txt: Updating build system to look for GOwnPtrCairo.*
  • GNUmakefile.am: Ditto.
  • platform/graphics/cairo/FontCacheCairo.cpp: Using OwnPtr instead of GOwnPtr. (WebCore::FontCache::createFontPlatformData):
  • platform/graphics/cairo/GOwnPtrCairo.cpp: Removed.
  • platform/graphics/cairo/GOwnPtrCairo.h: Removed.
  • platform/graphics/cairo/OwnPtrCairo.cpp: Added. (WTF::FcPattern): (WTF::FcObjectSet): (WTF::FcFontSet):
  • platform/graphics/cairo/OwnPtrCairo.h: Added.
6:20 PM Changeset in webkit [66699] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

2010-09-02 Kent Tamura <tkent@chromium.org>

Unreviewed, update test expectation.

  • platform/chromium/drt_expectations.txt:
6:08 PM Changeset in webkit [66698] by kinuko@chromium.org
  • 2 edits in trunk/WebCore

2010-09-02 Kinuko Yasuda <kinuko@chromium.org>

Unreviewed, updating binding-tests expectations (for changeset 66521).

  • bindings/scripts/test/V8/V8TestObj.cpp: (WebCore::TestObjInternal::stringAttrAttrSetter): (WebCore::TestObjInternal::reflectedStringAttrAttrSetter): (WebCore::TestObjInternal::reflectedURLAttrAttrSetter): (WebCore::TestObjInternal::reflectedNonEmptyURLAttrAttrSetter): (WebCore::TestObjInternal::reflectedCustomURLAttrAttrSetter): (WebCore::TestObjInternal::reflectedCustomNonEmptyURLAttrAttrSetter): (WebCore::TestObjInternal::stringAttrWithGetterExceptionAttrSetter): (WebCore::TestObjInternal::stringAttrWithSetterExceptionAttrSetter):
5:55 PM Changeset in webkit [66697] by zmo@google.com
  • 2 edits in trunk/LayoutTests

2010-09-02 Zhenyao Mo <zmo@google.com>

Unreviewed.

Updateing chromium test_expectations for flaky http/tests/security/xssAuditor/dom-write-innerHTML.html.

  • platform/chromium/test_expectations.txt:
5:47 PM Changeset in webkit [66696] by zmo@google.com
  • 2 edits in trunk/LayoutTests

2010-09-02 Zhenyao Mo <zmo@google.com>

Unreviewed.

Updateing chromium test_expectations for flaky editing/selection/extend-selection.html.

  • platform/chromium/test_expectations.txt:
5:01 PM Changeset in webkit [66695] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2010-09-02 James Robinson <jamesr@chromium.org>

Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=37830

Fix an ordering issue in this test. The isSuccessfullyParsed
function is not defined until the onload event, so avoid running
the script body until this point.

  • fast/events/touch/script-tests/send-oncancel-event.js: (window.onload):
4:57 PM Changeset in webkit [66694] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

2010-09-02 Tony Chang <tony@chromium.org>

Unreviewed, updating chromium test_expectations for a failure
introduced in r66689.

  • platform/chromium/test_expectations.txt:
4:57 PM Changeset in webkit [66693] by weinig@apple.com
  • 4 edits in trunk/WebKit2

Add ability to send WKDictionaryRefs via post message.
https://bugs.webkit.org/show_bug.cgi?id=45151

Reviewed by Anders Carlsson.

  • Shared/ImmutableDictionary.cpp:

(WebKit::ImmutableDictionary::ImmutableDictionary):

  • Shared/ImmutableDictionary.h:

(WebKit::ImmutableDictionary::adopt): Remove tag, it wasn't doing anything.
(WebKit::ImmutableDictionary::isMutable):
(WebKit::ImmutableDictionary::map): Add accessor of internal
map for encoder.

  • Shared/UserMessageCoders.h:

(WebKit::UserMessageEncoder::baseEncode):
(WebKit::UserMessageDecoder::baseDecode):
Add encoder/decoder.

4:47 PM Changeset in webkit [66692] by jianli@chromium.org
  • 2 edits in trunk/LayoutTests

Skip one time-out test for now.

  • platform/mac/Skipped:
4:26 PM Changeset in webkit [66691] by zmo@google.com
  • 2 edits in trunk/LayoutTests

2010-09-02 Zhenyao Mo <zmo@google.com>

Unreviewed. Flag a few flaky tests:
fast/forms/select-baseline.html
fast/forms/input-spinbutton-capturing.html
fast/forms/input-number-events.html
fast/replaced/embed-display-none.html
media/video-timeupdate-during-playback.html

  • platform/chromium/test_expectations.txt:
4:14 PM Changeset in webkit [66690] by jianli@chromium.org
  • 8 edits
    1 add
    3 deletes in trunk/LayoutTests

Improve tests for blob URL.
https://bugs.webkit.org/show_bug.cgi?id=45132

Reviewed by Darin Fisher.

Change apply-blob-url-to-xhr.html to produce text based result. Also
add the test case for revokeBlobURL in apply-blob-url-to-xhr.html
and work-apply-blob-url-to-xhr.html.

  • fast/files/apply-blob-url-to-img-expected.txt: Added.
  • fast/files/apply-blob-url-to-img.html:
  • fast/files/apply-blob-url-to-xhr-expected.txt:
  • fast/files/apply-blob-url-to-xhr.html:
  • fast/files/workers/resources/worker-apply-blob-url-to-xhr.js:

(sendXMLHttpRequest):
(onmessage):

  • fast/files/workers/worker-apply-blob-url-to-xhr-expected.txt:
  • platform/chromium/test_expectations.txt:
  • platform/mac/Skipped:
  • platform/mac/fast/files/apply-blob-url-to-img-expected.checksum: Removed.
  • platform/mac/fast/files/apply-blob-url-to-img-expected.png: Removed.
  • platform/mac/fast/files/apply-blob-url-to-img-expected.txt: Removed.
3:57 PM Changeset in webkit [66689] by tony@chromium.org
  • 4 edits
    2 adds in trunk

2010-09-02 Adam Langley <agl@chromium.org>

Reviewed by Adam Barth.

[chromium] fix memory corruption in Khmer rendering.

  • fast/text/khmer-crash-expected.txt: Added.
  • fast/text/khmer-crash.html: Added.

2010-09-02 Adam Langley <agl@chromium.org>

Reviewed by Adam Barth.

[chromium] fix memory corruption in Khmer rendering.

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

Test: fast/text/khmer-crash.html

  • platform/graphics/chromium/FontLinux.cpp: (WebCore::TextRunWalker::shapeGlyphs): The Khmer shaper has a bug where it would request larger output buffers, but request a zero increase in size. Because of this we add one to the requested size. (WebCore::TextRunWalker::setGlyphXPositions): The Khmer shaper is outputing cluster logs which suggest that some output glyphs appear from nowhere (i.e. have no input codepoints). I don't know Khmer, so maybe that's correct, but it broke the assumptions of this code, causing a read out-of-bounds.
  • platform/graphics/chromium/HarfbuzzSkia.cpp: (WebCore::stringToGlyphs): The Harfbuzz interfaces aren't documented, but it appears that the output array to stringToGlyphs isn't sized and that Harfbuzz expects us to detect when the input is too long.
3:52 PM Changeset in webkit [66688] by weinig@apple.com
  • 6 edits
    3 copies in trunk/WebKit2

Share the common parts of UserMessage coding between both processes.
https://bugs.webkit.org/show_bug.cgi?id=45139

Reviewed by Anders Carlsson.

Add base classes UserMessageEncoder and UserMessageDecoder which implement
encoding/decoding of ImmutableArray and String (soon to be others as well, such
as ImmutableDictionary, Data, etc.) and add derived classes which implement the
process specific bits such as Page -> BundlePage conversion.

  • Shared/UserMessageCoders.h: Copied from WebProcess/InjectedBundle/InjectedBundle.cpp.

(WebKit::UserMessageEncoder::baseEncode):
(WebKit::UserMessageEncoder::UserMessageEncoder):
(WebKit::UserMessageDecoder::baseDecode):
(WebKit::UserMessageDecoder::UserMessageDecoder):

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::postMessageToInjectedBundle):
(WebKit::WebContext::didReceiveMessage):

  • UIProcess/WebContextUserMessageCoders.h: Copied from UIProcess/WebContext.cpp.

(WebKit::WebContextUserMessageEncoder::WebContextUserMessageEncoder):
(WebKit::WebContextUserMessageEncoder::encode):
(WebKit::WebContextUserMessageDecoder::WebContextUserMessageDecoder):
(WebKit::WebContextUserMessageDecoder::decode):

  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::InjectedBundle::postMessage):
(WebKit::InjectedBundle::didReceiveMessage):

  • WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h: Copied from WebProcess/InjectedBundle/InjectedBundle.cpp.

(WebKit::InjectedBundleUserMessageEncoder::InjectedBundleUserMessageEncoder):
(WebKit::InjectedBundleUserMessageEncoder::encode):
(WebKit::InjectedBundleUserMessageDecoder::InjectedBundleUserMessageDecoder):
(WebKit::InjectedBundleUserMessageDecoder::decode):

  • win/WebKit2.vcproj:
3:24 PM Changeset in webkit [66687] by zmo@google.com
  • 2 edits in trunk/LayoutTests

2010-09-02 Zhenyao Mo <zmo@google.com>

Unreviewed, add two failing tests (http/tests/inspector/console-xhr-logging.html and http/tests/inspector/resource-har-conversion.html) to platform/chromium/test_expectations.txt.

  • platform/chromium/test_expectations.txt:
2:35 PM Changeset in webkit [66686] by rniwa@webkit.org
  • 4 edits
    3 adds
    30 deletes in trunk/LayoutTests

2010-09-02 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Tony Chang.

dumpAsText conversion: editing/pasteboard/select-element-1.html, editing/deleting/delete-br-012.html, and editing/deleting/delete-select-all-001.html
https://bugs.webkit.org/show_bug.cgi?id=45121

Converted tests.

  • editing/deleting/delete-br-012-expected.txt: Added.
  • editing/deleting/delete-br-012.html:
  • editing/deleting/delete-select-all-001-expected.txt: Added.
  • editing/deleting/delete-select-all-001.html:
  • editing/pasteboard/select-element-1-expected.txt: Added.
  • editing/pasteboard/select-element-1.html:
  • platform/chromium-linux/editing/deleting/delete-br-012-expected.checksum: Removed.
  • platform/chromium-linux/editing/deleting/delete-br-012-expected.png: Removed.
  • platform/chromium-linux/editing/deleting/delete-select-all-001-expected.checksum: Removed.
  • platform/chromium-linux/editing/pasteboard/select-element-1-expected.checksum: Removed.
  • platform/chromium-linux/editing/pasteboard/select-element-1-expected.png: Removed.
  • platform/chromium-linux/editing/pasteboard/select-element-1-expected.txt: Removed.
  • platform/chromium-win/editing/deleting/delete-br-012-expected.checksum: Removed.
  • platform/chromium-win/editing/deleting/delete-br-012-expected.png: Removed.
  • platform/chromium-win/editing/deleting/delete-br-012-expected.txt: Removed.
  • platform/chromium-win/editing/deleting/delete-select-all-001-expected.checksum: Removed.
  • platform/chromium-win/editing/deleting/delete-select-all-001-expected.png: Removed.
  • platform/chromium-win/editing/deleting/delete-select-all-001-expected.txt: Removed.
  • platform/chromium-win/editing/pasteboard/select-element-1-expected.checksum: Removed.
  • platform/chromium-win/editing/pasteboard/select-element-1-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/select-element-1-expected.txt: Removed.
  • platform/gtk/editing/deleting/delete-select-all-001-expected.txt: Removed.
  • platform/mac-leopard/editing/pasteboard/select-element-1-expected.checksum: Removed.
  • platform/mac-leopard/editing/pasteboard/select-element-1-expected.png: Removed.
  • platform/mac/editing/deleting/delete-br-012-expected.checksum: Removed.
  • platform/mac/editing/deleting/delete-br-012-expected.png: Removed.
  • platform/mac/editing/deleting/delete-br-012-expected.txt: Removed.
  • platform/mac/editing/deleting/delete-select-all-001-expected.checksum: Removed.
  • platform/mac/editing/deleting/delete-select-all-001-expected.png: Removed.
  • platform/mac/editing/deleting/delete-select-all-001-expected.txt: Removed.
  • platform/mac/editing/pasteboard/select-element-1-expected.checksum: Removed.
  • platform/mac/editing/pasteboard/select-element-1-expected.png: Removed.
  • platform/mac/editing/pasteboard/select-element-1-expected.txt: Removed.
  • platform/qt/editing/deleting/delete-br-012-expected.txt: Removed.
  • platform/qt/editing/deleting/delete-select-all-001-expected.txt: Removed.
  • platform/qt/editing/pasteboard/select-element-1-expected.txt: Removed.
2:27 PM BuildingQtOnLinux edited by Ademar Reis
improve list of deps on fedora (diff)
2:22 PM Changeset in webkit [66685] by steveblock@google.com
  • 10 edits
    9 adds in trunk

2010-09-02 Steve Block <steveblock@google.com>

Reviewed by Adam Barth.

Hook up LayoutTestController.setMockDeviceOrientation() on Mac.
https://bugs.webkit.org/show_bug.cgi?id=43181

  • WebKit.xcodeproj/project.pbxproj:

2010-09-02 Steve Block <steveblock@google.com>

Reviewed by Adam Barth.

Hook up LayoutTestController.setMockDeviceOrientation() on Mac.
https://bugs.webkit.org/show_bug.cgi?id=43181

This patch hooks up the mock device orientation client on Mac for use
in DumpRenderTree.

The patch adds a new WebDeviceOrientationClient for Mac. This client acts
as a proxy to either a real or mock device orientation provider, both of
which implement a new WebDeviceOrientationProvider interface.

The provider is created by the embedder and passed to the WebView, from
where WebDeviceOrientationClient can access it.

The mock provider, WebDeviceOrientationProviderMock, is a wrapper around
the existing WebCore mock.

  • WebCoreSupport/WebDeviceOrientationClient.h: Added.
  • WebCoreSupport/WebDeviceOrientationClient.mm: Added. (WebDeviceOrientationClient::WebDeviceOrientationClient): (WebDeviceOrientationClient::setController): (WebDeviceOrientationClient::startUpdating): (WebDeviceOrientationClient::stopUpdating): (WebDeviceOrientationClient::lastOrientation):
  • WebKit.exp:
  • WebView/WebDeviceOrientation.h: Added.
  • WebView/WebDeviceOrientation.mm: Added. (-[WebDeviceOrientation initWithCoreDeviceOrientation:WebCore::]): (core): (-[WebDeviceOrientation initWithCanProvideAlpha:alpha:canProvideBeta:beta:canProvideGamma:gamma:]): (-[WebDeviceOrientation dealloc]):
  • WebView/WebDeviceOrientationInternal.h: Added.
  • WebView/WebDeviceOrientationProvider.h: Added.
  • WebView/WebDeviceOrientationProviderMock.h: Added.
  • WebView/WebDeviceOrientationProviderMock.mm: Added. (-[WebDeviceOrientationProviderMockInternal setOrientation:]): (-[WebDeviceOrientationProviderMockInternal setController:]): (-[WebDeviceOrientationProviderMockInternal startUpdating]): (-[WebDeviceOrientationProviderMockInternal stopUpdating]): (-[WebDeviceOrientationProviderMockInternal lastOrientation]): (-[WebDeviceOrientationProviderMock init]): (-[WebDeviceOrientationProviderMock dealloc]): (-[WebDeviceOrientationProviderMock setOrientation:]): (-[WebDeviceOrientationProviderMock setController:]): (-[WebDeviceOrientationProviderMock startUpdating]): (-[WebDeviceOrientationProviderMock stopUpdating]): (-[WebDeviceOrientationProviderMock lastOrientation]):
  • WebView/WebDeviceOrientationProviderMockInternal.h: Added.
  • WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]): (-[WebView _setDeviceOrientationProvider:]): (-[WebView _deviceOrientationProvider]):
  • WebView/WebViewData.h:
  • WebView/WebViewPrivate.h:

2010-09-02 Steve Block <steveblock@google.com>

Reviewed by Adam Barth.

Hook up LayoutTestController.setMockDeviceOrientation() on Mac.
https://bugs.webkit.org/show_bug.cgi?id=43181

  • DumpRenderTree/mac/DumpRenderTree.mm: (createWebViewAndOffscreenWindow):
  • DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::setMockDeviceOrientation):
1:45 PM Changeset in webkit [66684] by eric@webkit.org
  • 2 edits in trunk/LayoutTests

2010-09-02 Matthew Willis <lilmatt@flock.com>

Reviewed by Eric Seidel.

Attempt to fix flaxy test that contains setTimeout() by adding
layoutTestController.waitUntilDone() and ...notifyDone()
https://bugs.webkit.org/show_bug.cgi?id=45097

  • fast/css/disabled-author-styles.html:
1:23 PM Applications using WebKit edited by lilmatt@flock.com
add Flock (diff)
1:15 PM Changeset in webkit [66683] by Adam Roben
  • 2 edits in trunk/WebCore

Fill the scroll corner with white when shouldPaintCustomScrollbars is false

Previously we were only filling with white when
shouldPaintCustomScrollbars was true but the ChromeClient didn't paint
any custom scrollbars.

Reviewed by Sam Weinig.

  • platform/ScrollbarThemeComposite.cpp:

(WebCore::ScrollbarThemeComposite::paintScrollCorner):

1:14 PM Changeset in webkit [66682] by Adam Roben
  • 2 edits in trunk/WebKitTools

Fix flashiness when resizing the browser window on Windows

Reviewed by Sam Weinig.

  • MiniBrowser/win/BrowserWindow.cpp:

(BrowserWindow::wndProc): Override WM_ERASEBKGND so Windows won't
periodically fill the window with white.

1:10 PM Changeset in webkit [66681] by eric@webkit.org
  • 3 edits
    2 deletes in trunk/LayoutTests

2010-09-02 Eric Seidel <eric@webkit.org>

Reviewed by Alexey Proskuryakov.

fast/loader/recursive-before-unload-crash.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=43840

Removed the frame loader callbacks as Brady suggested in
https://bugs.webkit.org/show_bug.cgi?id=38928#c27
This should stop the flake. As an added bonus this test no longer
needs platform specific results.

  • fast/loader/recursive-before-unload-crash-expected.txt:
  • fast/loader/recursive-before-unload-crash.html:
  • platform/chromium-linux/fast/loader/recursive-before-unload-crash-expected.txt: Removed.
  • platform/mac-tiger/fast/loader/recursive-before-unload-crash-expected.txt: Removed.
12:16 PM Changeset in webkit [66680] by tony@chromium.org
  • 2 edits
    2 adds in trunk/LayoutTests

2010-09-02 Tony Chang <tony@chromium.org>

Unreviewed, update chromium test expectations.

  • platform/chromium/fast/events/continuous-platform-wheelevent-in-scrolling-div-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
12:11 PM Changeset in webkit [66679] by weinig@apple.com
  • 8 edits in trunk/WebKit2

Simplify ownership semantics of some WebKit2 types
https://bugs.webkit.org/show_bug.cgi?id=45120

Reviewed by Anders Carlsson.

  • Make ImmutableArray and MutableArray use a Vector<RefPtr<APIObject> > and therefore ref any items it takes in.
  • Make the PostMessageDecoder operate on a RefPtr<APIObject>& to avoid the odd leaking semantics.
  • Shared/ImmutableArray.cpp:

(WebKit::ImmutableArray::ImmutableArray): This constructor now uses a for-loop
instead of memcpy to ref each item.
(WebKit::ImmutableArray::~ImmutableArray): No longer necessary to manually deref.

  • Shared/ImmutableArray.h:

(WebKit::ImmutableArray::adopt):
(WebKit::ImmutableArray::at):
Changes to accommodate entries being changed to a Vector<RefPtr<APIObject> >.

  • Shared/ImmutableDictionary.cpp:

(WebKit::ImmutableDictionary::keys):
Build a Vector<RefPtr<APIObject> >.

  • UIProcess/WebBackForwardList.cpp:

(WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
(WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):
Ditto.

  • UIProcess/WebContext.cpp:

(WebKit::PostMessageEncoder::PostMessageDecoder::PostMessageDecoder):
(WebKit::PostMessageEncoder::PostMessageDecoder::decode):
(WebKit::WebContext::didReceiveMessage):
APIObject>& to avoid the odd leaking semantics.

  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::PostMessageEncoder::PostMessageDecoder::PostMessageDecoder):
(WebKit::PostMessageEncoder::PostMessageDecoder::decode):
(WebKit::InjectedBundle::didReceiveMessage):
Ditto.

  • WebProcess/WebPage/WebFrame.cpp:

(WebKit::WebFrame::childFrames):
Build a Vector<RefPtr<APIObject> >.

12:06 PM Changeset in webkit [66678] by rniwa@webkit.org
  • 5 edits
    4 adds
    39 deletes in trunk/LayoutTests

2010-09-02 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Kent Tamura.

dumpAsText/Markup conversion: editing/style/block-style-004.html through block-style-006.html and editing/style/fontsize-1.html
https://bugs.webkit.org/show_bug.cgi?id=45050

  • editing/style/block-style-004-expected.txt: Added.
  • editing/style/block-style-004.html:
  • editing/style/block-style-005.html:
  • editing/style/block-style-006.html:
  • editing/style/fontsize-1.html:
  • platform/chromium-linux/editing/style/block-style-004-expected.checksum: Removed.
  • platform/chromium-linux/editing/style/block-style-004-expected.png: Removed.
  • platform/chromium-linux/editing/style/block-style-005-expected.checksum: Removed.
  • platform/chromium-linux/editing/style/block-style-005-expected.png: Removed.
  • platform/chromium-linux/editing/style/block-style-006-expected.checksum: Removed.
  • platform/chromium-linux/editing/style/block-style-006-expected.png: Removed.
  • platform/chromium-linux/editing/style/fontsize-1-expected.checksum: Removed.
  • platform/chromium-linux/editing/style/fontsize-1-expected.png: Removed.
  • platform/chromium-win/editing/style/block-style-004-expected.checksum: Removed.
  • platform/chromium-win/editing/style/block-style-004-expected.png: Removed.
  • platform/chromium-win/editing/style/block-style-004-expected.txt: Removed.
  • platform/chromium-win/editing/style/block-style-005-expected.checksum: Removed.
  • platform/chromium-win/editing/style/block-style-005-expected.png: Removed.
  • platform/chromium-win/editing/style/block-style-005-expected.txt: Removed.
  • platform/chromium-win/editing/style/block-style-006-expected.checksum: Removed.
  • platform/chromium-win/editing/style/block-style-006-expected.png: Removed.
  • platform/chromium-win/editing/style/block-style-006-expected.txt: Removed.
  • platform/chromium-win/editing/style/fontsize-1-expected.checksum: Removed.
  • platform/chromium-win/editing/style/fontsize-1-expected.png: Removed.
  • platform/chromium-win/editing/style/fontsize-1-expected.txt: Removed.
  • platform/gtk/editing/style/fontsize-1-expected.txt: Removed.
  • platform/mac-leopard/editing/style/fontsize-1-expected.checksum: Removed.
  • platform/mac-leopard/editing/style/fontsize-1-expected.png: Removed.
  • platform/mac/editing/style/block-style-004-expected.checksum: Removed.
  • platform/mac/editing/style/block-style-004-expected.png: Removed.
  • platform/mac/editing/style/block-style-004-expected.txt: Removed.
  • platform/mac/editing/style/block-style-005-expected.checksum: Removed.
  • platform/mac/editing/style/block-style-005-expected.png: Removed.
  • platform/mac/editing/style/block-style-005-expected.txt: Removed.
  • platform/mac/editing/style/block-style-006-expected.checksum: Removed.
  • platform/mac/editing/style/block-style-006-expected.png: Removed.
  • platform/mac/editing/style/block-style-006-expected.txt: Removed.
  • platform/mac/editing/style/fontsize-1-expected.checksum: Removed.
  • platform/mac/editing/style/fontsize-1-expected.png: Removed.
  • platform/mac/editing/style/fontsize-1-expected.txt: Removed.
  • platform/qt/editing/style/block-style-004-expected.txt: Removed.
  • platform/qt/editing/style/block-style-005-expected.txt: Removed.
  • platform/qt/editing/style/block-style-006-expected.txt: Removed.
  • platform/qt/editing/style/fontsize-1-expected.txt: Removed.
11:55 AM Changeset in webkit [66677] by Nate Chapin
  • 8 edits in trunk

2010-09-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66671.
http://trac.webkit.org/changeset/66671
https://bugs.webkit.org/show_bug.cgi?id=45115

http/tests/misc/redirect-to-about-blank.html is failing on
several platforms (Requested by japhet on #webkit).

  • WebCore.exp.in:
  • dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::updateURLForPushOrReplaceState):
  • loader/DocumentWriter.cpp: (WebCore::DocumentWriter::begin):
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::iconURL): (WebCore::FrameLoader::didOpenURL): (WebCore::FrameLoader::didExplicitOpen): (WebCore::FrameLoader::receivedFirstData): (WebCore::FrameLoader::setURL): (WebCore::FrameLoader::startIconLoader): (WebCore::FrameLoader::commitIconURLToIconDatabase): (WebCore::FrameLoader::finishedParsing): (WebCore::FrameLoader::checkIfDisplayInsecureContent): (WebCore::FrameLoader::checkIfRunInsecureContent): (WebCore::FrameLoader::updateFirstPartyForCookies): (WebCore::FrameLoader::loadInSameDocument): (WebCore::FrameLoader::commitProvisionalLoad): (WebCore::FrameLoader::open): (WebCore::FrameLoader::shouldScrollToAnchor):
  • loader/FrameLoader.h: (WebCore::FrameLoader::url):
11:32 AM Changeset in webkit [66676] by weinig@apple.com
  • 9 edits
    4 adds in trunk/WebKit2

Add WKMutableDictionary API for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=45117

Reviewed by Anders Carlsson.

Add WKMutableDictionary API that inherits from WKDictionaryRef
the same way WKMutableArrayRef inherits from WKArrayRef.

  • Shared/ImmutableDictionary.h:

(WebKit::ImmutableDictionary::get):
(WebKit::ImmutableDictionary::isMutable):

  • Shared/MutableDictionary.cpp: Added.

(WebKit::MutableDictionary::MutableDictionary):
(WebKit::MutableDictionary::~MutableDictionary):
(WebKit::MutableDictionary::add):
(WebKit::MutableDictionary::set):

  • Shared/MutableDictionary.h: Added.

(WebKit::MutableDictionary::create):
(WebKit::MutableDictionary::isMutable):

  • UIProcess/API/C/WKAPICast.h:

(toWK):

  • UIProcess/API/C/WKBase.h:
  • UIProcess/API/C/WKMutableDictionary.cpp: Added.

(WKMutableDictionaryCreate):
(WKDictionaryIsMutable):
(WKDictionaryAddItem):
(WKDictionarySetItem):

  • UIProcess/API/C/WKMutableDictionary.h: Added.
  • UIProcess/API/C/WebKit2.h:
  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:
  • win/WebKit2Generated.make:
10:54 AM Changeset in webkit [66675] by zmo@google.com
  • 69 edits
    4 adds
    1 delete in trunk

2010-09-01 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Roll ANGLE under webkit to r402
https://bugs.webkit.org/show_bug.cgi?id=45004

  • platform/graphics/mac/GraphicsContext3DMac.mm: Update the code to use newer ANGLE interface. (WebCore::GraphicsContext3D::GraphicsContext3D):

2010-09-01 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Roll ANGLE under webkit to r402
https://bugs.webkit.org/show_bug.cgi?id=45004

  • ANGLE.xcodeproj/project.pbxproj:
  • include/GLES2/gl2ext.h:
  • include/GLSLANG/ResourceLimits.h: Removed.
  • include/GLSLANG/ShaderLang.h:
  • src/compiler/BaseTypes.h: (getPrecisionString): (getBasicString): (IsSampler): (getQualifierString):
  • src/compiler/Initialize.cpp: (BuiltInConstants): (IdentifyBuiltIns):
  • src/compiler/Initialize.h:
  • src/compiler/InitializeDll.cpp: (InitProcess): (DetachProcess): (InitThread): (DetachThread):
  • src/compiler/InitializeDll.h:
  • src/compiler/InitializeParseContext.h:
  • src/compiler/Intermediate.cpp: (GetHigherPrecision): (TIntermediate::addBinaryMath): (TIntermediate::setAggregateOperator): (TIntermediate::addComma): (TIntermediate::postProcess): (TIntermBinary::promote): (CompareStruct):
  • src/compiler/OutputGLSL.cpp: (TOutputGLSL::writeFunctionParameters): (TOutputGLSL::visitUnary): (TOutputGLSL::visitBranch):
  • src/compiler/OutputHLSL.cpp: (sh::OutputHLSL::header): (sh::OutputHLSL::visitBinary): (sh::OutputHLSL::visitAggregate): (sh::OutputHLSL::handleExcessiveLoop): (sh::OutputHLSL::addConstructor):
  • src/compiler/ParseHelper.cpp: (TParseContext::constructorErrorCheck): (TParseContext::samplerErrorCheck): (TParseContext::paramErrorCheck): (TParseContext::findFunction): (TParseContext::executeInitializer): (TParseContext::addConstructor): (TParseContext::addConstStruct): (FreeParseContextIndex): (GetGlobalParseContext):
  • src/compiler/PoolAlloc.h: (TPoolAllocator::tHeader::tHeader): (pool_allocator::allocate): (pool_allocator::deallocate):
  • src/compiler/ShaderLang.cpp: (ShInitialize): (ShFinalize): (ShInitBuiltInResource):
  • src/compiler/SymbolTable.cpp: (TType::getStructSize):
  • src/compiler/SymbolTable.h: (TVariable::setQualifier):
  • src/compiler/Types.h: (TType::TType): (TType::getBasicType): (TType::setBasicType): (TType::getPrecision): (TType::setPrecision): (TType::getQualifier): (TType::setQualifier): (TType::getNominalSize): (TType::setNominalSize): (TType::isMatrix): (TType::setMatrix): (TType::isArray): (TType::getArraySize): (TType::setArraySize): (TType::getMaxArraySize): (TType::setMaxArraySize): (TType::clearArrayness): (TType::setArrayInformationType): (TType::getArrayInformationType): (TType::isVector): (TType::isScalar): (TType::setStruct): (TType::getTypeName): (TType::setTypeName): (TType::isField): (TType::getFieldName): (TType::setFieldName): (TType::getBasicString): (TType::getPrecisionString): (TType::getQualifierString):
  • src/compiler/glslang.l:
  • src/compiler/glslang.y:
  • src/compiler/intermediate.h: (TIntermNode::getLine): (TIntermNode::setLine): (TIntermTyped::getAsTyped): (TIntermTyped::setType): (TIntermTyped::getType): (TIntermTyped::getTypePointer): (TIntermTyped::getBasicType): (TIntermTyped::getQualifier): (TIntermTyped::getPrecision): (TIntermTyped::getNominalSize): (TIntermTyped::isMatrix): (TIntermTyped::isArray): (TIntermTyped::isVector): (TIntermTyped::isScalar): (TIntermTyped::getBasicString): (TIntermTyped::getQualifierString): (TIntermSymbol::getId): (TIntermSymbol::getSymbol): (TIntermOperator::setOp): (TIntermBinary::setLeft): (TIntermBinary::setRight): (TIntermBinary::getLeft): (TIntermBinary::getRight): (TIntermUnary::setOperand): (TIntermUnary::getOperand): (TIntermAggregate::getAsAggregate): (TIntermAggregate::getSequence): (TIntermAggregate::setName): (TIntermAggregate::getName): (TIntermAggregate::setUserDefined): (TIntermAggregate::isUserDefined): (TIntermAggregate::getQualifier): (TIntermAggregate::setOptimize): (TIntermAggregate::setDebug): (TIntermSelection::getCondition): (TIntermSelection::getTrueBlock): (TIntermSelection::getFalseBlock): (TIntermSelection::getAsSelectionNode):
  • src/compiler/parseConst.cpp: (TConstTraverser::TConstTraverser):
  • src/compiler/preprocessor/atom.c: (InitAtomTable):
  • src/compiler/preprocessor/atom.h:
  • src/compiler/preprocessor/compile.h:
  • src/compiler/preprocessor/cpp.c:
  • src/compiler/preprocessor/cpp.h:
  • src/compiler/preprocessor/cppstruct.c:
  • src/compiler/preprocessor/memory.c:
  • src/compiler/preprocessor/memory.h:
  • src/compiler/preprocessor/parser.h:
  • src/compiler/preprocessor/preprocess.h:
  • src/compiler/preprocessor/scanner.c:
  • src/compiler/preprocessor/scanner.h:
  • src/compiler/preprocessor/slglobals.h:
  • src/compiler/preprocessor/symbols.c: (NewSymbol):
  • src/compiler/preprocessor/symbols.h:
  • src/compiler/preprocessor/tokens.c: (RecordToken):
  • src/compiler/preprocessor/tokens.h:
  • src/libEGL/Display.cpp: (egl::Display::Display): (egl::Display::initialize): (egl::Display::terminate): (egl::Display::createDevice): (egl::Display::createWindowSurface): (egl::Display::createContext): (egl::Display::getMultiSampleSupport): (egl::Display::getCompressedTextureSupport):
  • src/libEGL/Display.h:
  • src/libEGL/Surface.cpp: (egl::Surface::Surface): (egl::Surface::resetSwapChain): (egl::Surface::getWindowHandle): (egl::Surface::writeRecordableFlipState): (egl::Surface::applyFlipState): (egl::Surface::releaseRecordedState): (egl::Surface::checkForWindowResize): (egl::Surface::swap):
  • src/libEGL/Surface.h:
  • src/libEGL/libEGL.cpp:
  • src/libEGL/libEGL.vcproj:
  • src/libGLESv2/Blit.cpp: (gl::Blit::setVertexShader): (gl::Blit::setPixelShader): (gl::Blit::setFormatConvertShaders):
  • src/libGLESv2/Buffer.cpp: (gl::Buffer::Buffer):
  • src/libGLESv2/Buffer.h:
  • src/libGLESv2/Context.cpp: (gl::Context::Context): (gl::Context::~Context): (gl::Context::makeCurrent): (gl::Context::markAllStateDirty): (gl::Context::getReadFramebufferHandle): (gl::Context::getDrawFramebufferHandle): (gl::Context::getRenderbufferHandle): (gl::Context::getArrayBufferHandle): (gl::Context::setVertexAttribState): (gl::Context::createBuffer): (gl::Context::createProgram): (gl::Context::createShader): (gl::Context::createTexture): (gl::Context::createRenderbuffer): (gl::Context::deleteBuffer): (gl::Context::deleteShader): (gl::Context::deleteProgram): (gl::Context::deleteTexture): (gl::Context::deleteRenderbuffer): (gl::Context::getBuffer): (gl::Context::getShader): (gl::Context::getProgram): (gl::Context::getTexture): (gl::Context::getRenderbuffer): (gl::Context::getReadFramebuffer): (gl::Context::getDrawFramebuffer): (gl::Context::bindArrayBuffer): (gl::Context::bindElementArrayBuffer): (gl::Context::bindTexture2D): (gl::Context::bindTextureCubeMap): (gl::Context::bindReadFramebuffer): (gl::Context::bindDrawFramebuffer): (gl::Context::bindRenderbuffer): (gl::Context::useProgram): (gl::Context::setFramebufferZero): (gl::Context::setRenderbufferStorage): (gl::Context::getFramebuffer): (gl::Context::getArrayBuffer): (gl::Context::getElementArrayBuffer): (gl::Context::getCurrentProgram): (gl::Context::getTexture2D): (gl::Context::getTextureCubeMap): (gl::Context::getSamplerTexture): (gl::Context::getFloatv): (gl::Context::getIntegerv): (gl::Context::getQueryParameterInfo): (gl::Context::applyRenderTarget): (gl::Context::applyState): (gl::Context::applyIndexBuffer): (gl::Context::readPixels): (gl::Context::clear): (gl::Context::finish): (gl::Context::flush): (gl::Context::supportsShaderModel3): (gl::Context::getMaxSupportedSamples): (gl::Context::getNearestSupportedSamples): (gl::Context::supportsCompressedTextures): (gl::Context::detachBuffer): (gl::Context::detachTexture): (gl::Context::detachFramebuffer): (gl::Context::detachRenderbuffer): (gl::Context::getIncompleteTexture): (gl::Context::initExtensionString): (gl::Context::blitFramebuffer):
  • src/libGLESv2/Context.h: (gl::AttributeState::AttributeState):
  • src/libGLESv2/Framebuffer.cpp: (gl::Framebuffer::Framebuffer): (gl::Framebuffer::~Framebuffer): (gl::Framebuffer::lookupRenderbuffer): (gl::Framebuffer::setColorbuffer): (gl::Framebuffer::setDepthbuffer): (gl::Framebuffer::setStencilbuffer): (gl::Framebuffer::detachTexture): (gl::Framebuffer::detachRenderbuffer): (gl::Framebuffer::getRenderTargetSerial): (gl::Framebuffer::getRenderTarget): (gl::Framebuffer::getDepthStencil): (gl::Framebuffer::getDepthbufferSerial): (gl::Framebuffer::getStencilbufferSerial): (gl::Framebuffer::getColorbuffer): (gl::Framebuffer::getDepthbuffer): (gl::Framebuffer::getStencilbuffer): (gl::Framebuffer::getColorbufferHandle): (gl::Framebuffer::getDepthbufferHandle): (gl::Framebuffer::getStencilbufferHandle): (gl::Framebuffer::hasStencil): (gl::Framebuffer::isMultisample): (gl::Framebuffer::completeness): (gl::DefaultFramebuffer::DefaultFramebuffer): (gl::Framebuffer::getSamples): (gl::DefaultFramebuffer::completeness):
  • src/libGLESv2/Framebuffer.h:
  • src/libGLESv2/Program.cpp: (gl::Program::Program): (gl::Program::~Program): (gl::Program::attachShader): (gl::Program::detachShader): (gl::Program::linkVaryings): (gl::Program::link): (gl::Program::unlink): (gl::Program::release): (gl::Program::addRef): (gl::Program::getRefCount): (gl::Program::getDxViewportLocation):
  • src/libGLESv2/Program.h:
  • src/libGLESv2/RefCountObject.cpp: Added. (gl::RefCountObject::RefCountObject): (gl::RefCountObject::~RefCountObject): (gl::RefCountObject::addRef): (gl::RefCountObject::release): (gl::RefCountObjectBindingPointer::set):
  • src/libGLESv2/RefCountObject.h: Added. (gl::RefCountObject::id): (gl::RefCountObjectBindingPointer::RefCountObjectBindingPointer): (gl::RefCountObjectBindingPointer::~RefCountObjectBindingPointer): (gl::RefCountObjectBindingPointer::get): (gl::RefCountObjectBindingPointer::id): (gl::RefCountObjectBindingPointer::operator ! ): (gl::BindingPointer::set): (gl::BindingPointer::get): (gl::BindingPointer::operator -> ):
  • src/libGLESv2/Renderbuffer.cpp: (gl::Renderbuffer::Renderbuffer): (gl::Renderbuffer::~Renderbuffer): (gl::Renderbuffer::isColorbuffer): (gl::Renderbuffer::isDepthbuffer): (gl::Renderbuffer::isStencilbuffer): (gl::Renderbuffer::getRenderTarget): (gl::Renderbuffer::getDepthStencil): (gl::Renderbuffer::getWidth): (gl::Renderbuffer::getHeight): (gl::Renderbuffer::getFormat): (gl::Renderbuffer::getD3DFormat): (gl::Renderbuffer::getSerial): (gl::Renderbuffer::setStorage): (gl::RenderbufferStorage::RenderbufferStorage): (gl::RenderbufferStorage::~RenderbufferStorage): (gl::RenderbufferStorage::isColorbuffer): (gl::RenderbufferStorage::isDepthbuffer): (gl::RenderbufferStorage::isStencilbuffer): (gl::RenderbufferStorage::getRenderTarget): (gl::RenderbufferStorage::getDepthStencil): (gl::RenderbufferStorage::getWidth): (gl::RenderbufferStorage::getHeight): (gl::RenderbufferStorage::setSize): (gl::RenderbufferStorage::getFormat): (gl::RenderbufferStorage::getD3DFormat): (gl::RenderbufferStorage::getSamples): (gl::RenderbufferStorage::getSerial): (gl::RenderbufferStorage::issueSerial): (gl::Colorbuffer::Colorbuffer): (gl::Colorbuffer::isColorbuffer): (gl::Colorbuffer::getRedSize): (gl::Colorbuffer::getGreenSize): (gl::Colorbuffer::getBlueSize): (gl::Colorbuffer::getAlphaSize): (gl::DepthStencilbuffer::DepthStencilbuffer): (gl::DepthStencilbuffer::~DepthStencilbuffer): (gl::DepthStencilbuffer::isDepthbuffer): (gl::DepthStencilbuffer::isStencilbuffer): (gl::DepthStencilbuffer::getDepthSize): (gl::DepthStencilbuffer::getStencilSize): (gl::DepthStencilbuffer::getDepthStencil): (gl::Depthbuffer::Depthbuffer): (gl::Depthbuffer::~Depthbuffer): (gl::Depthbuffer::isDepthbuffer): (gl::Depthbuffer::isStencilbuffer): (gl::Stencilbuffer::Stencilbuffer): (gl::Stencilbuffer::~Stencilbuffer): (gl::Stencilbuffer::isDepthbuffer): (gl::Stencilbuffer::isStencilbuffer):
  • src/libGLESv2/Renderbuffer.h: (gl::Renderbuffer::getStorage):
  • src/libGLESv2/ResourceManager.cpp: Added. (gl::ResourceManager::ResourceManager): (gl::ResourceManager::~ResourceManager): (gl::ResourceManager::addRef): (gl::ResourceManager::release): (gl::ResourceManager::createBuffer): (gl::ResourceManager::createShader): (gl::ResourceManager::createProgram): (gl::ResourceManager::createTexture): (gl::ResourceManager::createRenderbuffer): (gl::ResourceManager::deleteBuffer): (gl::ResourceManager::deleteShader): (gl::ResourceManager::deleteProgram): (gl::ResourceManager::deleteTexture): (gl::ResourceManager::deleteRenderbuffer): (gl::ResourceManager::getBuffer): (gl::ResourceManager::getShader): (gl::ResourceManager::getTexture): (gl::ResourceManager::getProgram): (gl::ResourceManager::getRenderbuffer): (gl::ResourceManager::setRenderbuffer): (gl::ResourceManager::checkBufferAllocation): (gl::ResourceManager::checkTextureAllocation): (gl::ResourceManager::checkRenderbufferAllocation):
  • src/libGLESv2/ResourceManager.h: Added.
  • src/libGLESv2/Shader.cpp: (gl::Shader::Shader): (gl::Shader::addRef): (gl::Shader::release): (gl::Shader::getRefCount): (gl::Shader::parseVaryings): (gl::VertexShader::VertexShader): (gl::FragmentShader::FragmentShader):
  • src/libGLESv2/Shader.h:
  • src/libGLESv2/Texture.cpp: (gl::Texture::Image::Image): (gl::Texture::Texture): (gl::Texture::getBlitter): (gl::Texture::selectFormat): (gl::Texture::loadImageData): (gl::Texture::loadAlphaImageData): (gl::Texture::loadLuminanceImageData): (gl::Texture::loadLuminanceAlphaImageData): (gl::Texture::loadRGBUByteImageData): (gl::Texture::loadRGB565ImageData): (gl::Texture::loadRGBAUByteImageData): (gl::Texture::loadRGBA4444ImageData): (gl::Texture::loadRGBA5551ImageData): (gl::Texture::loadBGRAImageData): (gl::Texture::createSurface): (gl::Texture::setImage): (gl::Texture::setCompressedImage): (gl::Texture::subImage): (gl::Texture::subImageCompressed): (gl::Texture2D::Texture2D): (gl::Texture2D::getFormat): (gl::Texture2D::setCompressedImage): (gl::Texture2D::subImage): (gl::Texture2D::subImageCompressed): (gl::Texture2D::copyImage): (gl::Texture2D::copySubImage): (gl::Texture2D::isCompressed): (gl::Texture2D::getColorbuffer): (gl::TextureCubeMap::TextureCubeMap): (gl::TextureCubeMap::getFormat): (gl::TextureCubeMap::setCompressedImage): (gl::TextureCubeMap::subImage): (gl::TextureCubeMap::subImageCompressed): (gl::TextureCubeMap::isCompressed): (gl::TextureCubeMap::copyImage): (gl::TextureCubeMap::copySubImage): (gl::TextureCubeMap::getColorbuffer): (gl::Texture::TextureColorbufferProxy::addRef): (gl::Texture::TextureColorbufferProxy::release): (gl::Texture::TextureColorbufferProxy::getWidth): (gl::Texture::TextureColorbufferProxy::getHeight): (gl::Texture::TextureColorbufferProxy::getFormat):
  • src/libGLESv2/Texture.h:
  • src/libGLESv2/libGLESv2.cpp:
  • src/libGLESv2/libGLESv2.def:
  • src/libGLESv2/libGLESv2.vcproj:
  • src/libGLESv2/main.h:
  • src/libGLESv2/utilities.cpp: (gl::ComputeCompressedPitch): (gl::ComputeCompressedSize): (gl::IsCompressed): (gl::ComputePixelSize): (gl::CheckTextureFormatType): (es2dx::ConvertRenderbufferFormat): (es2dx::GetSamplesFromMultisampleType): (es2dx::GetMultisampleTypeFromSamples):
  • src/libGLESv2/utilities.h:
10:10 AM Changeset in webkit [66674] by loislo@chromium.org
  • 2 edits in trunk/WebCore

2010-09-02 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

WebInspector: Timeline instrumentation code can crash browser.

Steps:
1) load the site
2) open inspector
3) start timeline recording
4) reload inspected page
got NPE

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

  • loader/ResourceLoader.cpp: (WebCore::ResourceLoader::didReceiveResponse): (WebCore::ResourceLoader::didReceiveData):
9:31 AM Changeset in webkit [66673] by jberlin@webkit.org
  • 3 edits in trunk/WebKit2

2010-09-02 Jessie Berlin <jberlin@apple.com>

Windows build fix. Unreviewed.

  • UIProcess/API/win/WKAPICastWin.h: (toWK):
  • UIProcess/API/win/WKBaseWin.h:
9:30 AM Changeset in webkit [66672] by caseq@chromium.org
  • 4 edits
    2 deletes in trunk/LayoutTests

2010-09-02 Andrey Kosyakov <caseq@chromium.org>

Unreviewed test fix.
Add size & bodySize to list of non-deterministic fields for HAR tests, as those tend to vary by platform
in error responses.
Remove platform-specific expectations that were previously added because of this.

  • http/tests/inspector/resource-har-conversion-expected.txt:
  • http/tests/inspector/resource-har-conversion.html:
  • http/tests/inspector/resource-test2.js:
  • platform/chromium-win/inspector/resource-har-conversion-expected.txt: Removed.
  • platform/win/http/tests/inspector/resource-har-conversion-expected.txt: Removed.
9:19 AM Changeset in webkit [66671] by Nate Chapin
  • 8 edits in trunk

2010-09-02 Nate Chapin <Nate Chapin>

Reviewed by Adam Barth.

Remove m_URL from FrameLoader and instead depend on Document's url.
FrameLoader::url() will be removed in a later patch.

http://bugs.webkit.org/show_bug.cgi?id=41165

No new tests, since this predominantly a refactor. Updating
fast/dom/early-frame-url.html.

  • WebCore.exp.in:
  • dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::updateURLForPushOrReplaceState):
  • loader/DocumentWriter.cpp: (WebCore::DocumentWriter::begin):
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::iconURL): (WebCore::FrameLoader::didOpenURL): (WebCore::FrameLoader::didExplicitOpen): (WebCore::FrameLoader::receivedFirstData): (WebCore::FrameLoader::url): (WebCore::FrameLoader::setOutgoingReferrer): (WebCore::FrameLoader::startIconLoader): (WebCore::FrameLoader::commitIconURLToIconDatabase): (WebCore::FrameLoader::finishedParsing): (WebCore::FrameLoader::checkIfDisplayInsecureContent): (WebCore::FrameLoader::checkIfRunInsecureContent): (WebCore::FrameLoader::updateFirstPartyForCookies): (WebCore::FrameLoader::loadInSameDocument): (WebCore::FrameLoader::commitProvisionalLoad): (WebCore::FrameLoader::open): (WebCore::FrameLoader::shouldScrollToAnchor):
  • loader/FrameLoader.h:
8:45 AM Changeset in webkit [66670] by tonyg@chromium.org
  • 14 edits
    28 adds in trunk

2010-09-01 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Adam Barth.

Support <script defer> as specified by HTML5
https://bugs.webkit.org/show_bug.cgi?id=40934

  • fast/dom/HTMLScriptElement/defer-double-defer-write-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-double-defer-write.html: Added. Tests that a write of a deferred script from a deferred script will execute when the document is closed. The explicit close is necessary because this is a script created parser.
  • fast/dom/HTMLScriptElement/defer-double-write-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-double-write.html: Added. Tests that a script block written from a deferred script will write into the new document.
  • fast/dom/HTMLScriptElement/defer-inline-script-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-inline-script.html: Added. Tests that inline scripts are not deferred. This is consistent with HTML5 and inconsistent with IE.
  • fast/dom/HTMLScriptElement/defer-onbeforeload-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-onbeforeload.html: Added. Tests that the beforeload event is fired immediately and is cancellable.
  • fast/dom/HTMLScriptElement/defer-script-invalid-url-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-script-invalid-url.html: Added. Tests that deferred scripts with invalid URLs are ignored and that subsequent deferred scripts will be run.
  • fast/dom/HTMLScriptElement/defer-write-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-write.html: Added. Tests that a basic write from a deferred script blows away the document.
  • fast/dom/HTMLScriptElement/resources/defer.js: Added.
  • fast/dom/HTMLScriptElement/resources/external.js: Added.
  • fast/dom/HTMLScriptElement/resources/shouldnotexecute.js: Added.
  • fast/dom/HTMLScriptElement/shouldnotexecute.js: Added.
  • fast/dom/HTMLScriptElement/two-defer-writes-expected.txt: Added.
  • fast/dom/HTMLScriptElement/two-defer-writes.html: Added. Tests that when a document.write from the first deferred script blows away the document, subsequent deferred scripts are not executed.
  • http/tests/misc/resources/defer-script.js: Added.
  • http/tests/misc/resources/external-script.js: Added.
  • http/tests/misc/resources/script-debug-body-background.js: Added.
  • http/tests/misc/resources/script-write-slow-stylesheet.js: Added.
  • http/tests/misc/resources/slow-defer-script.cgi: Added.
  • http/tests/misc/resources/slow-stylesheet.cgi: Added.
  • http/tests/misc/script-defer-after-slow-stylesheet-expected.txt: Added.
  • http/tests/misc/script-defer-after-slow-stylesheet.html: Added. Tests that deferred scripts respect blocking stylesheets.
  • http/tests/misc/script-defer-expected.txt: Added.
  • http/tests/misc/script-defer.html: Added. Tests basic ordering of deferred scripts.

2010-09-01 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Adam Barth.

Support <script defer> as specified by HTML5
https://bugs.webkit.org/show_bug.cgi?id=40934

Tests: fast/dom/HTMLScriptElement/defer-double-defer-write.html

fast/dom/HTMLScriptElement/defer-double-write.html
fast/dom/HTMLScriptElement/defer-inline-script.html
fast/dom/HTMLScriptElement/defer-onbeforeload.html
fast/dom/HTMLScriptElement/defer-script-invalid-url.html
fast/dom/HTMLScriptElement/defer-write.html
fast/dom/HTMLScriptElement/two-defer-writes.html
http/tests/misc/script-defer-after-slow-stylesheet.html
http/tests/misc/script-defer.html

  • dom/Document.cpp: (WebCore::Document::open): Allow implicit open for writes() while executing deferred scripts.
  • dom/DocumentParser.cpp: (WebCore::DocumentParser::DocumentParser): (WebCore::DocumentParser::startParsing): (WebCore::DocumentParser::prepareToStopParsing): If called when stopped or detached, it shouldn't reset to stopping. (WebCore::DocumentParser::stopParsing): (WebCore::DocumentParser::detach):
  • dom/DocumentParser.h: (WebCore::DocumentParser::isParsing): (WebCore::DocumentParser::isActive): (WebCore::DocumentParser::isStopping): (WebCore::DocumentParser::isDetached):
  • dom/RawDataDocumentParser.h: (WebCore::RawDataDocumentParser::finish):
  • dom/XMLDocumentParser.cpp: (WebCore::XMLDocumentParser::append): (WebCore::XMLDocumentParser::exitText):
  • dom/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::doWrite): (WebCore::XMLDocumentParser::startElementNs): (WebCore::XMLDocumentParser::endElementNs): (WebCore::XMLDocumentParser::characters): (WebCore::XMLDocumentParser::error): (WebCore::XMLDocumentParser::processingInstruction): (WebCore::XMLDocumentParser::cdataBlock): (WebCore::XMLDocumentParser::comment): (WebCore::XMLDocumentParser::internalSubset): (WebCore::XMLDocumentParser::initializeParserContext): (WebCore::XMLDocumentParser::doEnd):
  • html/parser/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::prepareToStopParsing): (WebCore::HTMLDocumentParser::pumpTokenizerIfPossible): (WebCore::HTMLDocumentParser::pumpTokenizer): (WebCore::HTMLDocumentParser::insert): (WebCore::HTMLDocumentParser::append): (WebCore::HTMLDocumentParser::end): (WebCore::HTMLDocumentParser::attemptToEnd): (WebCore::HTMLDocumentParser::endIfDelayed): (WebCore::HTMLDocumentParser::notifyFinished):
  • html/parser/HTMLDocumentParser.h:
  • html/parser/HTMLScriptRunner.cpp: (WebCore::HTMLScriptRunner::~HTMLScriptRunner): (WebCore::HTMLScriptRunner::executeParsingBlockingScript): (WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent): (WebCore::HTMLScriptRunner::executeScriptsWaitingForParsing): (WebCore::HTMLScriptRunner::requestDeferredScript): (WebCore::HTMLScriptRunner::runScript):
  • html/parser/HTMLScriptRunner.h:
  • loader/ImageDocument.cpp: (WebCore::ImageDocumentParser::finish):
8:29 AM Changeset in webkit [66669] by caseq@chromium.org
  • 8 edits
    4 adds in trunk

2010-09-02 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: HAR converter fails on POST requests with non-form content type.
https://bugs.webkit.org/show_bug.cgi?id=45109

  • inspector/front-end/HAREntry.js: (WebInspector.HAREntry.prototype._buildPostData):

2010-09-02 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: HAR converter fails on POST requests with non-form content type.
Migrated HAR tests to inspector-test2.js, enabled resource tracking, added test for XHR POST request.
https://bugs.webkit.org/show_bug.cgi?id=45109

  • http/tests/inspector/resource-har-conversion-expected.txt:
  • http/tests/inspector/resource-har-conversion.html:
  • http/tests/inspector/resource-parameters-expected.txt:
  • http/tests/inspector/resource-test2.js: Added. (initialize_ResourceTest.InspectorTest.resourceURLComparer): (initialize_ResourceTest):
  • platform/chromium-win/http/tests/inspector/resource-parameters-expected.txt:
  • platform/chromium-win/http/tests/inspector/resource-har-conversion-expected.txt: Added.
  • platform/win/http/tests/inspector/console-xhr-logging-expected.txt: Added.
  • platform/win/http/tests/inspector/resource-har-conversion-expected.txt: Added.
  • platform/win/http/tests/inspector/resource-parameters-expected.txt:
6:35 AM Changeset in webkit [66668] by abarth@webkit.org
  • 2 edits in trunk/JavaScriptCore

2010-09-02 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Add WTFURL to the JavaScriptCore build on Mac
https://bugs.webkit.org/show_bug.cgi?id=45075

Building code is good.

6:25 AM Changeset in webkit [66667] by andreas.kling@nokia.com
  • 4 edits in trunk

2010-09-02 Andreas Kling <andreas.kling@nokia.com>

Rubber-stamped by Simon Hausmann.

[Qt] REGRESSION(r62898): tst_QWebFrame crashing
https://bugs.webkit.org/show_bug.cgi?id=43039

Rolling out the offending change <http://trac.webkit.org/changeset/62898>

  • tests/qwebframe/tst_qwebframe.cpp: (tst_QWebFrame::evalJSV):

2010-09-02 Andreas Kling <andreas.kling@nokia.com>

Rubber-stamped by Simon Hausmann.

[Qt] REGRESSION(r62898): tst_QWebFrame crashing
https://bugs.webkit.org/show_bug.cgi?id=43039

Rolling out the offending change <http://trac.webkit.org/changeset/62898>

  • bridge/qt/qt_instance.cpp: (JSC::Bindings::QtInstance::markAggregate):
6:14 AM Changeset in webkit [66666] by commit-queue@webkit.org
  • 7 edits in trunk

2010-09-02 Peter Kasting <pkasting@google.com>

Reviewed by Dimitri Glazkov.

Implement [continuous]MouseScrollBy() on Chromium, and partly on GTK.
https://bugs.webkit.org/show_bug.cgi?id=45073

  • platform/chromium/test_expectations.txt: Unskip tests that should now pass.
  • platform/gtk/scrollbars/overflow-scrollbar-horizontal-wheel-scroll.html: Convert mouseWheelTo() to mouseScrollBy().

2010-09-02 Peter Kasting <pkasting@google.com>

Reviewed by Dimitri Glazkov.

Implement [continuous]MouseScrollBy() on Chromium, and partly on GTK.
https://bugs.webkit.org/show_bug.cgi?id=45073

  • DumpRenderTree/chromium/EventSender.cpp: (EventSender::EventSender): (EventSender::mouseScrollBy): (EventSender::continuousMouseScrollBy): (EventSender::sendCurrentTouchEvent): (EventSender::handleMouseWheel):
  • DumpRenderTree/chromium/EventSender.h:
  • DumpRenderTree/gtk/EventSender.cpp: (mouseScrollByCallback): (continuousMouseScrollByCallback):
5:57 AM Changeset in webkit [66665] by ap@apple.com
  • 6 edits in trunk/JavaScriptCore

2010-09-02 Alexey Proskuryakov <ap@apple.com>

Reviewed by Oliver Hunt.

https://bugs.webkit.org/show_bug.cgi?id=43230
<rdar://problem/8254215> REGRESSION: Memory leak within JSParser::JSParser

One can't delete a ThreadSpecific object that has data in it. It's not even possible to
enumerate data objects in all threads, much less destroy them from a thread that's destroying
the ThreadSpecific.

  • parser/JSParser.cpp: (JSC::JSParser::JSParser):
  • runtime/JSGlobalData.h:
  • wtf/WTFThreadData.cpp: (WTF::WTFThreadData::WTFThreadData):
  • wtf/WTFThreadData.h: (WTF::WTFThreadData::approximatedStackStart): Moved stack guard tracking from JSGlobalData to WTFThreadData.
  • wtf/ThreadSpecific.h: Made destructor unimplemented. It's dangerous, and we probably won't ever face a situation where we'd want to delete a ThreadSpecific object.
5:29 AM Changeset in webkit [66664] by antonm@chromium.org
  • 2 edits in trunk/WebCore

2010-09-02 Anton Muhin <antonm@chromium.org>

Reviewed by Tony Chang.

Fix indentation.
https://bugs.webkit.org/show_bug.cgi?id=44678

  • bindings/scripts/CodeGeneratorV8.pm:
5:09 AM Changeset in webkit [66663] by loislo@chromium.org
  • 4 edits in trunk/LayoutTests

2010-09-01 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

WebInspector: protocol related Inspector's tests are failing in Chromium.

The expectation is different because Chromium tests use test_shell.
1) a lot of console messages automaticaly published by test_shell;
2) debugger was enabled by default;
3) for (i in an_array) produces some garbage.

The solution:
1) override reportProtocolError and console.error functions;
2) debugger was explicitly disabled;
3) just fixed.

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

  • inspector/report-API-errors.html:
  • inspector/report-protocol-errors.html:
  • LayoutTests/platform/chromium/test_expectations.txt
4:46 AM Changeset in webkit [66662] by andreas.kling@nokia.com
  • 1 edit
    3 deletes in trunk/LayoutTests

2010-09-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66656.
http://trac.webkit.org/changeset/66656
https://bugs.webkit.org/show_bug.cgi?id=45105

won't pass after 66655 rollout (Requested by kling on
#webkit).

  • fast/dom/Selection/script-tests/wrong-document-err.js: Removed.
  • fast/dom/Selection/wrong-document-err-expected.txt: Removed.
  • fast/dom/Selection/wrong-document-err.html: Removed.
4:45 AM Changeset in webkit [66661] by andreas.kling@nokia.com
  • 2 edits in trunk/WebCore

2010-09-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66655.
http://trac.webkit.org/changeset/66655
https://bugs.webkit.org/show_bug.cgi?id=45104

broke some editing tests (Requested by kling on #webkit).

  • page/DOMSelection.cpp: (WebCore::DOMSelection::collapse): (WebCore::DOMSelection::selectAllChildren):
4:43 AM Changeset in webkit [66660] by commit-queue@webkit.org
  • 14 edits
    28 deletes in trunk

2010-09-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66649.
http://trac.webkit.org/changeset/66649
https://bugs.webkit.org/show_bug.cgi?id=45103

It broke ~2000 tests on Qt bot (Requested by Ossy on #webkit).

  • fast/dom/HTMLScriptElement/defer-double-defer-write-expected.txt: Removed.
  • fast/dom/HTMLScriptElement/defer-double-defer-write.html: Removed.
  • fast/dom/HTMLScriptElement/defer-double-write-expected.txt: Removed.
  • fast/dom/HTMLScriptElement/defer-double-write.html: Removed.
  • fast/dom/HTMLScriptElement/defer-inline-script-expected.txt: Removed.
  • fast/dom/HTMLScriptElement/defer-inline-script.html: Removed.
  • fast/dom/HTMLScriptElement/defer-onbeforeload-expected.txt: Removed.
  • fast/dom/HTMLScriptElement/defer-onbeforeload.html: Removed.
  • fast/dom/HTMLScriptElement/defer-script-invalid-url-expected.txt: Removed.
  • fast/dom/HTMLScriptElement/defer-script-invalid-url.html: Removed.
  • fast/dom/HTMLScriptElement/defer-write-expected.txt: Removed.
  • fast/dom/HTMLScriptElement/defer-write.html: Removed.
  • fast/dom/HTMLScriptElement/resources/defer.js: Removed.
  • fast/dom/HTMLScriptElement/resources/external.js: Removed.
  • fast/dom/HTMLScriptElement/resources/shouldnotexecute.js: Removed.
  • fast/dom/HTMLScriptElement/shouldnotexecute.js: Removed.
  • fast/dom/HTMLScriptElement/two-defer-writes-expected.txt: Removed.
  • fast/dom/HTMLScriptElement/two-defer-writes.html: Removed.
  • http/tests/misc/resources/defer-script.js: Removed.
  • http/tests/misc/resources/external-script.js: Removed.
  • http/tests/misc/resources/script-debug-body-background.js: Removed.
  • http/tests/misc/resources/script-write-slow-stylesheet.js: Removed.
  • http/tests/misc/resources/slow-defer-script.cgi: Removed.
  • http/tests/misc/resources/slow-stylesheet.cgi: Removed.
  • http/tests/misc/script-defer-after-slow-stylesheet-expected.txt: Removed.
  • http/tests/misc/script-defer-after-slow-stylesheet.html: Removed.
  • http/tests/misc/script-defer-expected.txt: Removed.
  • http/tests/misc/script-defer.html: Removed.

2010-09-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66649.
http://trac.webkit.org/changeset/66649
https://bugs.webkit.org/show_bug.cgi?id=45103

It broke ~2000 tests on Qt bot (Requested by Ossy on #webkit).

  • dom/Document.cpp: (WebCore::Document::open):
  • dom/DocumentParser.cpp: (WebCore::DocumentParser::DocumentParser): (WebCore::DocumentParser::detach):
  • dom/DocumentParser.h: (WebCore::DocumentParser::isDetached): (WebCore::DocumentParser::stopParsing):
  • dom/RawDataDocumentParser.h: (WebCore::RawDataDocumentParser::finish):
  • dom/XMLDocumentParser.cpp: (WebCore::XMLDocumentParser::append): (WebCore::XMLDocumentParser::exitText):
  • dom/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::doWrite): (WebCore::XMLDocumentParser::startElementNs): (WebCore::XMLDocumentParser::endElementNs): (WebCore::XMLDocumentParser::characters): (WebCore::XMLDocumentParser::error): (WebCore::XMLDocumentParser::processingInstruction): (WebCore::XMLDocumentParser::cdataBlock): (WebCore::XMLDocumentParser::comment): (WebCore::XMLDocumentParser::internalSubset): (WebCore::XMLDocumentParser::initializeParserContext): (WebCore::XMLDocumentParser::doEnd):
  • dom/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::initializeParserContext): (WebCore::XMLDocumentParser::doEnd): (WebCore::XMLDocumentParser::parse):
  • html/parser/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::pumpTokenizerIfPossible): (WebCore::HTMLDocumentParser::pumpTokenizer): (WebCore::HTMLDocumentParser::insert): (WebCore::HTMLDocumentParser::append): (WebCore::HTMLDocumentParser::end): (WebCore::HTMLDocumentParser::attemptToEnd): (WebCore::HTMLDocumentParser::endIfDelayed): (WebCore::HTMLDocumentParser::notifyFinished):
  • html/parser/HTMLDocumentParser.h:
  • html/parser/HTMLScriptRunner.cpp: (WebCore::HTMLScriptRunner::~HTMLScriptRunner): (WebCore::HTMLScriptRunner::executeParsingBlockingScript): (WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent): (WebCore::HTMLScriptRunner::runScript):
  • html/parser/HTMLScriptRunner.h:
  • loader/ImageDocument.cpp: (WebCore::ImageDocumentParser::finish):
4:29 AM Changeset in webkit [66659] by eric@webkit.org
  • 7 edits in trunk/WebCore

2010-09-02 Eric Seidel <eric@webkit.org>

Reviewed by Dimitri Glazkov.

Share more code between HTMLObjectElement and HTMLEmbedElement
https://bugs.webkit.org/show_bug.cgi?id=45054

This pushes more of HTMLObjectElement code down into
HTMLPlugInImageElement so that it can be shared with
HTMLEmbedElement.

The most notable changes are:

  • HTMLEmbedElement now "delays" updating the widget until all of its children are parsed (this matches HTMLObjectElement). However, since HTMLEmbedElement can't have children, this is actually no delay.
  • useFallbackContent is now virtual, allowing HTMLEmbedElement and HTMLObjectElement to share the same code paths, and the <embed> case to just always return false for useFallbackContent().

This is the final (fourth) part of this change.

No functional change, thus no tests.

  • html/HTMLEmbedElement.cpp:
  • html/HTMLEmbedElement.h:
  • html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::rendererIsNeeded):
  • html/HTMLObjectElement.h:
  • html/HTMLPlugInImageElement.cpp: (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement): (WebCore::HTMLPlugInImageElement::recalcStyle): (WebCore::HTMLPlugInImageElement::attach): (WebCore::HTMLPlugInImageElement::detach): (WebCore::HTMLPlugInImageElement::finishParsingChildren):
  • html/HTMLPlugInImageElement.h:
4:02 AM Changeset in webkit [66658] by abarth@webkit.org
  • 4 edits in trunk/WebCore

2010-09-02 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Move takeAllChildrenFrom to ContainerNode
https://bugs.webkit.org/show_bug.cgi?id=45066

We're going to reuse this method for XMLDocumentLoader, so it's better
to put it in a more general location.

  • dom/ContainerNode.cpp: (WebCore::ContainerNode::takeAllChildrenFrom):
  • dom/ContainerNode.h:
  • html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::FragmentParsingContext::finished):
3:58 AM Changeset in webkit [66657] by eric@webkit.org
  • 9 edits in trunk/WebCore

2010-09-02 Eric Seidel <eric@webkit.org>

Reviewed by Dimitri Glazkov.

Share more code between HTMLObjectElement and HTMLEmbedElement
https://bugs.webkit.org/show_bug.cgi?id=45054

This pushes more of HTMLObjectElement code down into
HTMLPlugInImageElement so that it can be shared with HTMLEmbedElement.

This patch was originally written in one piece and reviewed by Dimitri.
I'm landing it as four separate changes for easier readability and less
chance of regression.

No functional change, thus no tests.

  • html/HTMLEmbedElement.cpp: (WebCore::HTMLEmbedElement::HTMLEmbedElement): (WebCore::HTMLEmbedElement::create):
  • html/HTMLEmbedElement.h:
  • html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::HTMLObjectElement):
  • html/HTMLObjectElement.h:
  • html/HTMLPlugInImageElement.cpp: (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement): (WebCore::HTMLPlugInImageElement::detach): (WebCore::HTMLPlugInImageElement::finishParsingChildren):
  • html/HTMLPlugInImageElement.h:
  • html/HTMLTagNames.in:
3:54 AM Changeset in webkit [66656] by andreas.kling@nokia.com
  • 1 edit
    3 adds in trunk/LayoutTests

2010-09-02 Andreas Kling <andreas.kling@nokia.com>

Unreviewed, forgot to add the new layout test in last commit.

  • fast/dom/Selection/script-tests/wrong-document-err.js: Added.
  • fast/dom/Selection/wrong-document-err-expected.txt: Added.
  • fast/dom/Selection/wrong-document-err.html: Added.
3:49 AM Changeset in webkit [66655] by andreas.kling@nokia.com
  • 3 edits in trunk

2010-09-01 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Darin Adler.

DOM Selection: collapse() and selectAllChildren() should throw WRONG_DOCUMENT_ERR if node belongs to other document
https://bugs.webkit.org/show_bug.cgi?id=44595

Spec links:
http://www.whatwg.org/specs/web-apps/current-work/#dom-selection-collapse
http://www.whatwg.org/specs/web-apps/current-work/#dom-selection-selectallchildren

Test: fast/dom/Selection/wrong-document-err.html

  • page/DOMSelection.cpp: (WebCore::DOMSelection::collapse): (WebCore::DOMSelection::selectAllChildren):

2010-09-01 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Darin Adler.

DOM Selection: collapse() and selectAllChildren() should throw WRONG_DOCUMENT_ERR if node belongs to other document
https://bugs.webkit.org/show_bug.cgi?id=44595

Spec links:
http://www.whatwg.org/specs/web-apps/current-work/#dom-selection-collapse
http://www.whatwg.org/specs/web-apps/current-work/#dom-selection-selectallchildren

  • fast/dom/Selection/script-tests/wrong-document-err.js: Added.
  • fast/dom/Selection/wrong-document-err-expected.txt: Added.
  • fast/dom/Selection/wrong-document-err.html: Added.
3:18 AM Changeset in webkit [66654] by mnaganov@chromium.org
  • 1 edit in trunk/WebKit/chromium/src/js/DevTools.js

[Chromium DevTools] Unreviewed DevTools tests fix after r66637.

3:05 AM Changeset in webkit [66653] by eric@webkit.org
  • 9 edits in trunk/WebCore

2010-09-02 Eric Seidel <eric@webkit.org>

Reviewed by Dimitri Glazkov.

Share more code between HTMLObjectElement and HTMLEmbedElement
https://bugs.webkit.org/show_bug.cgi?id=45054

This pushes more of HTMLObjectElement code down into
HTMLPlugInImageElement so that it can be shared with HTMLEmbedElement.

I also moved a little code from HTMLPluginElement to HTMLPlugInImageElement
since HTMLAppletElement does not need to share this same widget update logic.
This is a small correction from the previous change.

This patch was originally written in one piece and reviewed by Dimitri.
I'm landing it as three separate changes for easier readability and less
chance of regression.

No functional change, thus no tests.

  • html/HTMLEmbedElement.cpp:
  • html/HTMLEmbedElement.h:
  • html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::attach): (WebCore::HTMLObjectElement::finishParsingChildren): (WebCore::HTMLObjectElement::detach): (WebCore::HTMLObjectElement::recalcStyle): (WebCore::HTMLObjectElement::childrenChanged): (WebCore::HTMLObjectElement::renderFallbackContent):
  • html/HTMLObjectElement.h: (WebCore::HTMLObjectElement::useFallbackContent):
  • html/HTMLPlugInElement.cpp:
  • html/HTMLPlugInElement.h:
  • html/HTMLPlugInImageElement.cpp: (WebCore::HTMLPlugInImageElement::createRenderer): (WebCore::HTMLPlugInImageElement::updateWidget): (WebCore::HTMLPlugInImageElement::updateWidgetCallback):
  • html/HTMLPlugInImageElement.h: (WebCore::HTMLPlugInImageElement::canLazyAttach): (WebCore::HTMLPlugInImageElement::useFallbackContent):
2:32 AM Changeset in webkit [66652] by eric@webkit.org
  • 2 edits in trunk/WebCore

2010-09-02 Jer Noble <jer.noble@apple.com>

Reviewed by Darin Adler.

WebKit should not accept PDFs as video.
https://bugs.webkit.org/show_bug.cgi?id=45013

The code in MediaPlayerPrivate::createQTMovie has been re-arranged.
First, the component disabling is done only once. In 64-bit QTKit will
store the list of disabled components and disable them once QTKitServer
starts, so there is no need to disable them repeatedly. However,
because of a bug in 64-bit QTKit, additional requests of the exact same
component description will be ignored if QTKitServer is not yet running.
To work around this, we must provide the exact component flags for each
eat/PDF and grip/PDF component we wish to disable.

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::disableComponentsOnce): Added. (WebCore::MediaPlayerPrivate::createQTMovie): Moved the component

disabling code into disableComponentsOnce.

2:17 AM Changeset in webkit [66651] by Philippe Normand
  • 2 edits in trunk/WebCore

2010-09-02 Philippe Normand <pnormand@igalia.com>

Unreviewed, GTK build fix.

  • platform/graphics/gstreamer/GStreamerGWorld.cpp: (WebCore::GStreamerGWorld::enterFullscreen):
2:10 AM Changeset in webkit [66650] by eric@webkit.org
  • 12 edits in trunk/WebCore

2010-09-02 Eric Seidel <eric@webkit.org>

Reviewed by Dimitri Glazkov.

Share more code between HTMLObjectElement and HTMLEmbedElement
https://bugs.webkit.org/show_bug.cgi?id=45054

This pushes more of HTMLObjectElement code down into
HTMLPlugInImageElement so that it can be shared with HTMLEmbedElement.

I also moved a little code from HTMLPluginElement to HTMLPlugInImageElement
since HTMLAppletElement does not need to share this same widget update logic.
This is a small correction from the previous change.

This patch was originally written in one piece and reviewed by Dimitri.
I'm landing it as two separate changes for easier readability and less
chance of regression.

No functional change, thus no tests.

  • html/HTMLEmbedElement.cpp: (WebCore::HTMLEmbedElement::HTMLEmbedElement): (WebCore::HTMLEmbedElement::mapToEntry): (WebCore::HTMLEmbedElement::parseMappedAttribute): (WebCore::HTMLEmbedElement::rendererIsNeeded): (WebCore::HTMLEmbedElement::attach): (WebCore::HTMLEmbedElement::updateWidget): (WebCore::HTMLEmbedElement::insertedIntoDocument): (WebCore::HTMLEmbedElement::removedFromDocument): (WebCore::HTMLEmbedElement::attributeChanged):
  • html/HTMLEmbedElement.h:
  • html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::HTMLObjectElement): (WebCore::HTMLObjectElement::parseMappedAttribute): (WebCore::HTMLObjectElement::rendererIsNeeded): (WebCore::HTMLObjectElement::attach): (WebCore::HTMLObjectElement::updateWidget): (WebCore::HTMLObjectElement::finishParsingChildren): (WebCore::HTMLObjectElement::detach): (WebCore::HTMLObjectElement::insertedIntoDocument): (WebCore::HTMLObjectElement::removedFromDocument): (WebCore::HTMLObjectElement::recalcStyle): (WebCore::HTMLObjectElement::childrenChanged): (WebCore::HTMLObjectElement::renderFallbackContent):
  • html/HTMLObjectElement.h:
  • html/HTMLPlugInElement.cpp:
  • html/HTMLPlugInElement.h:
  • html/HTMLPlugInImageElement.cpp: (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement): (WebCore::HTMLPlugInImageElement::renderEmbeddedObject):
  • html/HTMLPlugInImageElement.h: (WebCore::HTMLPlugInImageElement::needsWidgetUpdate): (WebCore::HTMLPlugInImageElement::setNeedsWidgetUpdate):
  • loader/SubframeLoader.cpp: (WebCore::SubframeLoader::requestObject): (WebCore::SubframeLoader::loadPlugin):
  • loader/SubframeLoader.h:
  • rendering/RenderEmbeddedObject.cpp: (WebCore::updateWidgetForObjectElement): (WebCore::updateWidgetForEmbedElement):
2:05 AM Changeset in webkit [66649] by tonyg@chromium.org
  • 14 edits
    28 adds in trunk

2010-09-02 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Adam Barth.

Support <script defer> as specified by HTML5
https://bugs.webkit.org/show_bug.cgi?id=40934

  • fast/dom/HTMLScriptElement/defer-double-defer-write-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-double-defer-write.html: Added. Tests that a write of a deferred script from a deferred script will execute when the document is closed. The explicit close is necessary because this is a script created parser.
  • fast/dom/HTMLScriptElement/defer-double-write-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-double-write.html: Added. Tests that a script block written from a deferred script will write into the new document.
  • fast/dom/HTMLScriptElement/defer-inline-script-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-inline-script.html: Added. Tests that inline scripts are not deferred. This is consistent with HTML5 and inconsistent with IE.
  • fast/dom/HTMLScriptElement/defer-onbeforeload-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-onbeforeload.html: Added. Tests that the beforeload event is fired immediately and is cancellable.
  • fast/dom/HTMLScriptElement/defer-script-invalid-url-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-script-invalid-url.html: Added. Tests that deferred scripts with invalid URLs are ignored and that subsequent deferred scripts will be run.
  • fast/dom/HTMLScriptElement/defer-write-expected.txt: Added.
  • fast/dom/HTMLScriptElement/defer-write.html: Added. Tests that a basic write from a deferred script blows away the document.
  • fast/dom/HTMLScriptElement/resources/defer.js: Added.
  • fast/dom/HTMLScriptElement/resources/external.js: Added.
  • fast/dom/HTMLScriptElement/resources/shouldnotexecute.js: Added.
  • fast/dom/HTMLScriptElement/shouldnotexecute.js: Added.
  • fast/dom/HTMLScriptElement/two-defer-writes-expected.txt: Added.
  • fast/dom/HTMLScriptElement/two-defer-writes.html: Added. Tests that when a document.write from the first deferred script blows away the document, subsequent deferred scripts are not executed.
  • http/tests/misc/resources/defer-script.js: Added.
  • http/tests/misc/resources/external-script.js: Added.
  • http/tests/misc/resources/script-debug-body-background.js: Added.
  • http/tests/misc/resources/script-write-slow-stylesheet.js: Added.
  • http/tests/misc/resources/slow-defer-script.cgi: Added.
  • http/tests/misc/resources/slow-stylesheet.cgi: Added.
  • http/tests/misc/script-defer-after-slow-stylesheet-expected.txt: Added.
  • http/tests/misc/script-defer-after-slow-stylesheet.html: Added. Tests that deferred scripts respect blocking stylesheets.
  • http/tests/misc/script-defer-expected.txt: Added.
  • http/tests/misc/script-defer.html: Added. Tests basic ordering of deferred scripts.

2010-09-02 Tony Gentilcore <tonyg@chromium.org>

Reviewed by Adam Barth.

Support <script defer> as specified by HTML5
https://bugs.webkit.org/show_bug.cgi?id=40934

Tests: fast/dom/HTMLScriptElement/defer-double-defer-write.html

fast/dom/HTMLScriptElement/defer-double-write.html
fast/dom/HTMLScriptElement/defer-inline-script.html
fast/dom/HTMLScriptElement/defer-onbeforeload.html
fast/dom/HTMLScriptElement/defer-script-invalid-url.html
fast/dom/HTMLScriptElement/defer-write.html
fast/dom/HTMLScriptElement/two-defer-writes.html
http/tests/misc/script-defer-after-slow-stylesheet.html
http/tests/misc/script-defer.html

  • dom/Document.cpp: (WebCore::Document::open): Allow implicit open for writes() while executing deferred scripts.
  • dom/DocumentParser.cpp: (WebCore::DocumentParser::DocumentParser): (WebCore::DocumentParser::startParsing): (WebCore::DocumentParser::prepareToStopParsing): If called when stopped or detached, it shouldn't reset to stopping. (WebCore::DocumentParser::stopParsing): (WebCore::DocumentParser::detach):
  • dom/DocumentParser.h: (WebCore::DocumentParser::isParsing): (WebCore::DocumentParser::isActive): (WebCore::DocumentParser::isStopping): (WebCore::DocumentParser::isDetached):
  • dom/RawDataDocumentParser.h: (WebCore::RawDataDocumentParser::finish):
  • dom/XMLDocumentParser.cpp: (WebCore::XMLDocumentParser::append): (WebCore::XMLDocumentParser::exitText):
  • dom/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::doWrite): (WebCore::XMLDocumentParser::startElementNs): (WebCore::XMLDocumentParser::endElementNs): (WebCore::XMLDocumentParser::characters): (WebCore::XMLDocumentParser::error): (WebCore::XMLDocumentParser::processingInstruction): (WebCore::XMLDocumentParser::cdataBlock): (WebCore::XMLDocumentParser::comment): (WebCore::XMLDocumentParser::internalSubset): (WebCore::XMLDocumentParser::initializeParserContext): (WebCore::XMLDocumentParser::doEnd):
  • html/parser/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::prepareToStopParsing): (WebCore::HTMLDocumentParser::pumpTokenizerIfPossible): (WebCore::HTMLDocumentParser::pumpTokenizer): (WebCore::HTMLDocumentParser::insert): (WebCore::HTMLDocumentParser::append): (WebCore::HTMLDocumentParser::end): (WebCore::HTMLDocumentParser::attemptToEnd): (WebCore::HTMLDocumentParser::endIfDelayed): (WebCore::HTMLDocumentParser::notifyFinished):
  • html/parser/HTMLDocumentParser.h:
  • html/parser/HTMLScriptRunner.cpp: (WebCore::HTMLScriptRunner::~HTMLScriptRunner): (WebCore::HTMLScriptRunner::executeParsingBlockingScript): (WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent): (WebCore::HTMLScriptRunner::executeScriptsWaitingForParsing): (WebCore::HTMLScriptRunner::requestDeferredScript): (WebCore::HTMLScriptRunner::runScript):
  • html/parser/HTMLScriptRunner.h:
  • loader/ImageDocument.cpp: (WebCore::ImageDocumentParser::finish):
1:25 AM Changeset in webkit [66648] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-09-02 Philippe Normand <pnormand@igalia.com>

Unreviewed, skipping new failing media test.

[Qt] media/media-can-play-mpeg4-video.html fails
https://bugs.webkit.org/show_bug.cgi?id=45093

  • platform/qt/Skipped:
12:52 AM Changeset in webkit [66647] by commit-queue@webkit.org
  • 7 edits in trunk

2010-09-02 Ilya Sherman <isherman@google.com>

Reviewed by Eric Seidel.

Decompose computing an element's inherited language, expose this
capability to clients (in particular, for Chromium).
https://bugs.webkit.org/show_bug.cgi?id=44803

No new tests -- just refactoring + exposing code.

  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
  • dom/Element.cpp: (WebCore::Element::computeInheritedLang):
  • dom/Element.h:

2010-09-02 Ilya Sherman <isherman@google.com>

Reviewed by Eric Seidel.

Exposing computing an element's inherited language, per the DOM, in the
Chromium API -- primarily for use with autofill i18n.
https://bugs.webkit.org/show_bug.cgi?id=44803

  • public/WebElement.h:
  • src/WebElement.cpp: (WebKit::WebElement::computeInheritedLanguage):
12:07 AM Changeset in webkit [66646] by Philippe Normand
  • 3 edits
    2 adds in trunk

2010-08-31 Philippe Normand <pnormand@igalia.com>

Reviewed by Eric Carlson.

[GStreamer] can't play m4v videos
https://bugs.webkit.org/show_bug.cgi?id=44951

Fixed registration of the m4v media type in the hashtable used by
the player to report if it supports a given media type.

Test: media/media-can-play-mpeg4-video.html

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::mimeTypeCache):

LayoutTests:

Reviewed by Eric Carlson.

[GStreamer] can't play m4v videos
https://bugs.webkit.org/show_bug.cgi?id=44951

Test similar to media-can-play-mpeg-audio.html but for videos. For
now only m4v and mp4 types are tested.

  • media/media-can-play-mpeg4-video-expected.txt: Added.
  • media/media-can-play-mpeg4-video.html: Added.

Sep 1, 2010:

11:49 PM Changeset in webkit [66645] by Philippe Normand
  • 2 edits in trunk/WebCore

2010-09-01 Philippe Normand <pnormand@igalia.com>

Reviewed by Martin Robinson.

[GTK] warning: unused variable "queryResult"
https://bugs.webkit.org/show_bug.cgi?id=44998

Fix the misbehavior introduced in r66573. The gst_element_query()
call needs to be done whatever the GStreamer version used.

  • platform/graphics/gstreamer/GStreamerGWorld.cpp: (WebCore::GStreamerGWorld::enterFullscreen):
11:45 PM Changeset in webkit [66644] by mitz@apple.com
  • 3 edits in trunk

Updated Radar link

11:43 PM Changeset in webkit [66643] by mitz@apple.com
  • 27 edits in trunk

Add support for autocorrection UI on Mac OS X.
https://bugs.webkit.org/show_bug.cgi?id=44958
<rdar://problem/7299621>

Patch by Jia Pu <jpu@apple.com> on 2010-09-01
Reviewed by Dan Bernstein.

WebCore:

Several new member methods are added to EditorClient for communication
between WebCore and WebKit. A new handler, executeCancelOperation(), is
added to EditorCommand.cpp so that WebCore can intercept the ESC key event
to dismiss autocorrection UI. A new DocumentMarker value, RejectedCorrection,
is added to keep track of the corrections that user has rejected, so that it
will not be suggested again later. The autocorrection is driven by a timer.
Every time the editor inserts a new letter, the timer is reset. If the timer
fires, it means neither has user entered any new letter for current word, nor
has he entered whitespace or punctuation to complete the word. In this case,
we query for autocorrection.

  • WebCore.exp.in: Updated
  • dom/DocumentMarker.h: Added RejectedCorrection to indicate word on which user has rejected autocorrection.
  • editing/Editor.cpp:

(WebCore::Editor::Editor): Initialize autocorrection timer.
(WebCore::Editor::~Editor): Make sure autocorrection UI is dismissed before

destroying Editor object.

(WebCore::Editor::markMisspellingsAfterTypingToPosition): Adopted new signature

of markAllMisspellingsAndBadGrammarInRanges().

(WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): Consolidated all

boolean arguments into one bitfield. This improves readability and allows us to
pass in a bit to indicate whether we want to show autocorrection UI. Also added
code to show autocorrection UI if it is necessary.

(WebCore::Editor::markMisspellingsAndBadGrammar): Adopted new signature of

markAllMisspellingsAndBadGrammarInRanges().

(WebCore::Editor::correctionPanelTimerFired): Check to see if we should show

autocorrection UI when user pauses during typing.

(WebCore::Editor::handleRejectedCorrection): Update user dictionary when an autocorrection is rejected.
(WebCore::Editor::startCorrectionPanelTimer): Start autocorrection timer.
(WebCore::Editor::handleCancelOperation): Dismiss autocorrection UI when ESC key is pressed.

  • editing/Editor.h: Added autocorrection related member methods and variables.
  • editing/EditorCommand.cpp:

(WebCore::executeCancelOperation): Handle ESC key event. Dismiss autocorrection UI.
(WebCore::createCommandMap): Updated for executeCancelOperation().

  • editing/TypingCommand.cpp:

(WebCore::TypingCommand::markMisspellingsAfterTyping): Reset autocorrection timer after insertion.

  • loader/EmptyClients.h:

(WebCore::EmptyEditorClient::showCorrectionPanel): Dummy implementation.
(WebCore::EmptyEditorClient::dismissCorrectionPanel): Ditto

  • page/EditorClient.h: Added methods for communication between WebCore and WebKit regarding autocorrection.
  • page/Frame.cpp:

(WebCore::Frame::respondToChangedSelection): Remove Replacement marker where we used to only remove Spelling

mark, because whenever we need to remove spelling underline we also should remove autocorrection underline.

  • platform/graphics/GraphicsContext.h: Added enum TextCheckingLineStyle to specify the underline for different type of text checking result. Replaced drawLineForMisspellingOrBadGrammar() with drawLineForTextChecking(), which allows autocorrection to have different indication from misspelling and grammatical error.
  • platform/graphics/cairo/GraphicsContextCairo.cpp:

(WebCore::GraphicsContext::drawLineForTextChecking): Replaced drawLineForMisspellingOrBadGrammar() with drawLineForTextChecking().

  • platform/graphics/haiku/GraphicsContextHaiku.cpp:

(WebCore::GraphicsContext::drawLineForTextChecking): Ditto

  • platform/graphics/mac/GraphicsContextMac.mm:

(WebCore::GraphicsContext::drawLineForTextChecking): Ditto

  • platform/graphics/openvg/GraphicsContextOpenVG.cpp:

(WebCore::GraphicsContext::drawLineForTextChecking): Ditto

  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::GraphicsContext::drawLineForTextChecking): Ditto

  • platform/graphics/skia/GraphicsContextSkia.cpp:

(WebCore::GraphicsContext::drawLineForTextChecking): Ditto

  • platform/graphics/win/GraphicsContextCGWin.cpp:

(WebCore::GraphicsContext::drawLineForTextChecking): Ditto

  • platform/graphics/wince/GraphicsContextWince.cpp:

(WebCore::GraphicsContext::drawLineForTextChecking): Ditto

  • platform/graphics/wx/GraphicsContextWx.cpp:

(WebCore::GraphicsContext::drawLineForTextChecking): Ditto

  • rendering/InlineTextBox.cpp:

(WebCore::textCheckingLineStyleForMarkerType): Return line style for a given document marker type.
(WebCore::InlineTextBox::paintSpellingOrGrammarMarker): Replaced drawLineForMisspellingOrBadGrammar() with drawLineForTextChecking().
(WebCore::InlineTextBox::paintDocumentMarkers): Handle new marker value, RejectedCorrection.

WebKit/mac:

See detailed high level description in WebCore/ChangeLog.

  • WebCoreSupport/WebEditorClient.h: Added new member methods declared in EditorClient. Added m_correctionPanelTag to store the ID of current autocorrection UI object.
  • WebCoreSupport/WebEditorClient.mm:

(WebEditorClient::WebEditorClient): Initialize m_correctionPanelTag.
(WebEditorClient::~WebEditorClient): Make sure the autocorrection UI is

dismissed before destroying the object.

(WebEditorClient::respondToChangedSelection): Dismiss autocorrection UI whenever the selection changes.
(WebEditorClient::showCorrectionPanel): Show autocorrection UI.
(WebEditorClient::dismissCorrectionPanel): Dismiss autocorrection UI.

WebKit2:

See detailed high level description in WebCore/ChangeLog.

  • WebProcess/WebCoreSupport/WebEditorClient.cpp:

(WebKit::WebEditorClient::showCorrectionPanel): Dummy implementation.
(WebKit::WebEditorClient::dismissCorrectionPanel): Ditto

  • WebProcess/WebCoreSupport/WebEditorClient.h: Added new methods declared in base class.
11:17 PM Changeset in webkit [66642] by kinuko@chromium.org
  • 4 edits in trunk/WebCore

2010-09-01 Kinuko Yasuda <kinuko@google.com>

Reviewed by Adam Barth.

[V8] Support readonly Date attribute
https://bugs.webkit.org/show_bug.cgi?id=43943

Adds Date to non_wrapper_types in CodeGeneratorV8.pm.

New tests will be added for Metadata when we add FileSystem implementation.

  • bindings/scripts/CodeGeneratorV8.pm:
  • fileapi/Metadata.h:
  • fileapi/Metadata.idl:
10:27 PM Changeset in webkit [66641] by commit-queue@webkit.org
  • 5 edits in trunk

2010-09-01 Mihai Parparita <mihaip@chromium.org>

Reviewed by Chris Marrin.

animations/suspend-resume-animation.html does not pass when accelerated compositing is off
https://bugs.webkit.org/show_bug.cgi?id=45057

animations/suspend-resume-animation.html now passes with the Chromium DRT
(it still fails with test_shell, since that doesn't have the suspend/resumeAnimations
API implemented)

  • platform/chromium/drt_expectations.txt:
  • platform/chromium/test_expectations.txt:

2010-09-01 Mihai Parparita <mihaip@chromium.org>

Reviewed by Chris Marrin.

animations/suspend-resume-animation.html does not pass when accelerated compositing is off
https://bugs.webkit.org/show_bug.cgi?id=45057

Fix incorrect logic when resuming the animation (KeyframeAnimation::startAnimation
and RenderLayerBacking::startAnimation return true when running an accelerated
animation).

  • page/animation/AnimationBase.cpp: (WebCore::AnimationBase::updateStateMachine):
9:47 PM Changeset in webkit [66640] by dpranke@chromium.org
  • 11 edits
    4 adds in trunk/WebKitTools

2010-09-01 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

Land a patched version of r66542 - change TestRunner to have an
separate cleanup method and fix the ordering of cleanup between
TestRunner and the printing module, and then wrap everything in a
try/finally block to ensure reliable cleanup without needing to
rely on stuff happening in the destructor of the TestRunner.

Also refactor run_webkit_tests.run() to be much smaller and cleaner
by creating a bunch of helper methods and moving more stuff into
the TestRunner class.

This fixes the crash at the end of the linux test run of
new-run-webkit-tests (and undoes the rollout in 66547).

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

  • Scripts/webkitpy/layout_tests/data/failures/expected/exception.html: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/keyboard.html: Added.
  • Scripts/webkitpy/layout_tests/data/passes/error-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/passes/error.html: Added.
  • Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  • Scripts/webkitpy/layout_tests/layout_package/printing.py:
  • Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
9:00 PM Changeset in webkit [66639] by weinig@apple.com
  • 6 edits in trunk/WebKit2

Fix the build.

As with CF, const struct OpaqueType* should be the default type
so that const_casts are not necessary in user code.

  • UIProcess/API/C/WKArray.cpp:

(WKArrayCreate):

  • UIProcess/API/C/WKBase.h:
  • UIProcess/API/C/WKType.cpp:

(WKGetTypeID):
(WKRetain):
(WKRelease):

  • WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:

(toWK):

  • WebProcess/InjectedBundle/API/c/WKBundleBase.h:
8:37 PM Changeset in webkit [66638] by weinig@apple.com
  • 8 edits
    4 adds in trunk/WebKit2

Add mutable array API to WebKit2
https://bugs.webkit.org/show_bug.cgi?id=45082

Reviewed by Adam Roben.

Add a mutable API to WebKit2 called WKMutableArrayRef. Make it "inherit" from
WKArrayRef in the same way JSObjectRef can inherit from JSValueRef in the JSC
API, by abusing the c type system (WKArrayRef is defined as a const version of
WKMutableArrayRef). Add very basic mutable API to go along with it.

  • Shared/ImmutableArray.h:

(WebKit::ImmutableArray::isMutable):
Add ability to ask it an array is mutable.

  • Shared/MutableArray.cpp: Added.

(WebKit::MutableArray::MutableArray):
(WebKit::MutableArray::~MutableArray):
(WebKit::MutableArray::append):

  • Shared/MutableArray.h: Added.

(WebKit::MutableArray::create):
(WebKit::MutableArray::isMutable):
Sketch out the mutable array interface.

  • UIProcess/API/C/WKAPICast.h:

(toWK):
Now that the opaque types can be const, use template magic to const_cast
it away.

  • UIProcess/API/C/WKBase.h:

Add new type and re-type WKArrayRef as const.

  • UIProcess/API/C/WKMutableArray.cpp: Added.

(WKMutableArrayCreate):
(WKArrayIsMutable):
(WKArrayAppendItem):

  • UIProcess/API/C/WKMutableArray.h: Added.

Fill in basic API.

  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:
  • win/WebKit2Generated.make:

Add files.

8:31 PM Changeset in webkit [66637] by mnaganov@chromium.org
  • 2 edits in trunk/WebKit/chromium

2010-09-01 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Yury Semikhatsky.

Remove dependency on JS files for V8 logs processing.

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

  • WebKit.gyp:
8:14 PM Changeset in webkit [66636] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit2

2010-09-01 Balazs Kelemen <kb@inf.u-szeged.hu>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Implement PluginInfoStore for UNIX
https://bugs.webkit.org/show_bug.cgi?id=45038

This implementation is generally just reusing the logic in WebCore since
there is no way to get informations from a UNIX plugin without loading it

  • in contrast to mac bundles and windows dll-s.
  • UIProcess/Plugins/qt/PluginInfoStoreQt.cpp: (WebKit::PluginInfoStore::pluginsDirectories): (WebKit::PluginInfoStore::pluginPathsInDirectory): (WebKit::PluginInfoStore::getPluginInfo): (WebKit::PluginInfoStore::shouldUsePlugin):
7:57 PM Changeset in webkit [66635] by commit-queue@webkit.org
  • 1 edit
    3 adds in trunk/LayoutTests

2010-09-01 Matthew Willis <lilmatt@flock.com>

Reviewed by Alexey Proskuryakov.

Add tests to ensure any h1-h6 element can close any other h1-h6 element.
https://bugs.webkit.org/show_bug.cgi?id=15136
<rdar://problem/5762882>

  • fast/html/numbered-header-element-expected.txt: Added.
  • fast/html/numbered-header-element.html: Added.
  • fast/html/script-tests/numbered-header-element.js: Added.
7:23 PM Changeset in webkit [66634] by mrowe@apple.com
  • 2 edits in trunk/WebKitTools

Fix TestNetscapePlugIn to compile without access to QuickDraw private headers.

Reviewed by Adam Roben.

  • DumpRenderTree/TestNetscapePlugIn/main.cpp:
7:23 PM Changeset in webkit [66633] by mrowe@apple.com
  • 4 edits
    1 add in trunk/WebKit/mac

<rdar://problem/8374711> WebKit needs to compile without access to QuickDraw private headers.

Reviewed by Adam Roben.

  • Carbon/HIViewAdapter.m:
  • Carbon/HIWebView.mm:
  • Misc/QuickDrawCompatibility.h: Added.
  • Plugins/WebNetscapePluginView.mm:
7:13 PM Changeset in webkit [66632] by eric.carlson@apple.com
  • 2 edits in trunk/WebCore

2010-09-01 Eric Carlson <eric.carlson@apple.com>

Reviewed by Darin Adler.

Question mark QuickTime icon when navigating to this MP3 file
https://bugs.webkit.org/show_bug.cgi?id=44846

Do not disable 'tmet' movie tracks, they carry meta data.

No DRT test because I am not sure it is possible to have one of these tracks in
non-streaming movie. I will add a test later if I figure out how to create a movie.

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::disableUnsupportedTracks):
7:11 PM Changeset in webkit [66631] by eric@webkit.org
  • 14 edits in trunk/WebCore

2010-09-01 Eric Seidel <eric@webkit.org>

Reviewed by Dimitri Glazkov.

Remove rendering types from SubframeLoader and split RenderEmbeddedObject::updateWidget in preparation for moving to DOM
https://bugs.webkit.org/show_bug.cgi?id=45007

This is just moving around code (and attempting to make it more sane).
I also tried to use more specific types where possible.
The SubframeLoader no longer uses any rendering types in its API.

I split RenderEmbeddedObject::updateWidget into a bunch of functions.
It was obvious before, but now super-obvious after the split that these
new functions do not belong in RenderEmbeddedObject. Instead they
need to be moved to their respective DOM classes. I've added FIXMEs
next to each of the functions which should be moved, but I've not moved
any of the logic out of RenderEmbeddedObject.cpp yet in an effort to
keep this patch as simple as possible.

No functional change, thus no tests.

  • html/HTMLEmbedElement.cpp: (WebCore::HTMLEmbedElement::updateWidget):
  • html/HTMLFrameElementBase.cpp: (WebCore::HTMLFrameElementBase::attach): (WebCore::HTMLFrameElementBase::width): (WebCore::HTMLFrameElementBase::height):
  • html/HTMLFrameOwnerElement.cpp: (WebCore::HTMLFrameOwnerElement::renderPart):
  • html/HTMLFrameOwnerElement.h:
  • html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::renderWidgetForJSBindings): (WebCore::HTMLObjectElement::createRenderer): (WebCore::HTMLObjectElement::updateWidget):
  • html/HTMLPlugInElement.cpp: (WebCore::HTMLPlugInElement::renderEmbeddedObject):
  • html/HTMLPlugInElement.h:
  • loader/PluginDocument.cpp: (WebCore::PluginDocumentParser::appendBytes):
  • loader/SubframeLoader.cpp: (WebCore::SubframeLoader::requestObject): (WebCore::SubframeLoader::document): (WebCore::SubframeLoader::loadPlugin):
  • loader/SubframeLoader.h:
  • rendering/RenderEmbeddedObject.cpp: (WebCore::isNetscapePlugin): (WebCore::hasFallbackContent): (WebCore::parametersFromObject): (WebCore::updateWidgetForObjectElement): (WebCore::parametersFromEmbed): (WebCore::updateWidgetForEmbedElement): (WebCore::updateWidgetForMediaElement): (WebCore::RenderEmbeddedObject::updateWidget):
  • rendering/RenderEmbeddedObject.h: (WebCore::RenderEmbeddedObject::setHasFallbackContent):
  • rendering/RenderLayerCompositor.h:
7:03 PM Changeset in webkit [66630] by bweinstein@apple.com
  • 2 edits in trunk/WebKitTools

Have kill-old-processes kill debug and release variants of WebKit2WebWebProcess
and WebKitTestRunner.

Reviewed by Adam Roben.

  • BuildSlaveSupport/win/kill-old-processes:
6:20 PM Changeset in webkit [66629] by kinuko@chromium.org
  • 3 edits in trunk/WebCore

2010-09-01 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by Jian Li.

Add more FileError and FileException code for FileWriter and FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=45048

Adding SYNTAX_ERR for FileWriter.
http://dev.w3.org/2009/dap/file-system/file-writer.html

Adding INVALID_STATE_ERR, INVALID_MODIFICATION_ERR and QUOTA_EXCEEDED_ERR for FileSystem.
http://dev.w3.org/2009/dap/file-system/file-dir-sys.html

Adding NO_MODIFICATION_ALLOWED_ERR (to FileException) for both.

  • fileapi/FileError.idl:
  • fileapi/FileException.idl:
6:00 PM Changeset in webkit [66628] by commit-queue@webkit.org
  • 23 edits
    6 adds in trunk

2010-09-01 Mihai Parparita <mihaip@chromium.org>

Reviewed by Brady Eidson.

popstate event is not fired until document opts in by calling pushstate.
https://bugs.webkit.org/show_bug.cgi?id=41372

Add two tests to check how often popstate is being fired (for both
fragment changes and page changes, especially with the page cache
enabled).

Update existing state object tests to handle popstate being fired for
the page being navigated to (right after onload).

  • fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll.html:
  • fast/loader/stateobjects/document-destroyed-navigate-back.html:
  • fast/loader/stateobjects/popstate-after-load-complete-addeventlistener.html:
  • fast/loader/stateobjects/popstate-after-load-complete-body-attribute.html:
  • fast/loader/stateobjects/popstate-after-load-complete-body-inline-attribute.html:
  • fast/loader/stateobjects/popstate-after-load-complete-window-attribute.html:
  • fast/loader/stateobjects/popstate-fires-on-history-traversal-expected.txt: Added.
  • fast/loader/stateobjects/popstate-fires-on-history-traversal.html: Added.
  • fast/loader/stateobjects/popstate-fires-with-page-cache-expected.txt: Added.
  • fast/loader/stateobjects/popstate-fires-with-page-cache.html: Added.
  • fast/loader/stateobjects/pushstate-object-types.html:
  • fast/loader/stateobjects/pushstate-then-replacestate.html:
  • fast/loader/stateobjects/pushstate-with-fragment-urls-and-hashchange.html:
  • fast/loader/stateobjects/replacestate-in-iframe.html:
  • fast/loader/stateobjects/replacestate-then-pushstate.html:
  • fast/loader/stateobjects/resources/popstate-fires-with-page-cache-1.html: Added.
  • fast/loader/stateobjects/resources/popstate-fires-with-page-cache-2.html: Added.
  • fast/loader/stateobjects/resources/replacestate-in-iframe-window-child.html:

2010-09-01 Mihai Parparita <mihaip@chromium.org>

Reviewed by Brady Eidson.

popstate event is not fired until document opts in by calling pushstate.
https://bugs.webkit.org/show_bug.cgi?id=41372

Fire popstate even when we don't have a state object when a page is
loaded (for both regular loads and those from the page cache). Also
fire popstate when doing in-document navigation via fragment changes.
This is consistent with both Gecko and recent the HTML5 spec change:
http://html5.org/tools/web-apps-tracker?from=5376&to=5377

Tests: fast/loader/stateobjects/popstate-fires-on-history-traversal.html

fast/loader/stateobjects/popstate-fires-with-page-cache.html

  • bindings/js/SerializedScriptValue.cpp:
  • bindings/js/SerializedScriptValue.h: (WebCore::SerializedScriptValue::create):
  • bindings/v8/SerializedScriptValue.cpp:
  • bindings/v8/SerializedScriptValue.h:
  • dom/Document.cpp: (WebCore::Document::implicitClose):
  • dom/Document.h:
  • history/CachedFrame.cpp: (WebCore::CachedFrameBase::restore):
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::loadInSameDocument): (WebCore::FrameLoader::transitionToCommitted):
  • loader/HistoryController.cpp: (WebCore::HistoryController::pushState): (WebCore::HistoryController::replaceState):
5:25 PM Changeset in webkit [66627] by tkent@chromium.org
  • 2 edits in trunk/WebKit/chromium

2010-09-01 Kent Tamura <tkent@chromium.org>

Unreviewed, rolling out r66576.
http://trac.webkit.org/changeset/66576
https://bugs.webkit.org/show_bug.cgi?id=45016

This change is not needed.

  • public/WebKitClient.h:
5:20 PM Changeset in webkit [66626] by mrowe@apple.com
  • 2 edits in trunk/WebKit2

Allow the web process to load frameworks other than WebKit2.framework from the build directory
when running engineering builds.

Reviewed by Sam Weinig.

  • WebProcess/mac/WebProcessMainMac.mm:

(WebKit::WebProcessMain): Pass the path containing WebKit2.framework to the sandbox rather than
the path of the WebKit2.framework itself.

4:26 PM Changeset in webkit [66625] by Joseph Pecoraro
  • 2 edits in trunk/LayoutTests

2010-09-01 Matthew Willis <lilmatt@flock.com>

Reviewed by Joseph Pecoraro.

Fix failing test: inspector/console-format.html (regression from r66616)
https://bugs.webkit.org/show_bug.cgi?id=45067

  • inspector/console-format-expected.txt:
4:18 PM Changeset in webkit [66624] by rniwa@webkit.org
  • 3 edits
    2 adds in trunk

2010-09-01 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Dimitri Glazkov.

REGRESSION(r66431): WebCore::Editor::selectionStartCSSPropertyValue crashes if no background color is specified
https://bugs.webkit.org/show_bug.cgi?id=45068

The crash was caused by the assumption that every node has an ancestor with some background color,
which was obviously false. Fixed this by adding a null for ancestor.

Test: editing/execCommand/backcolor-crash.html

  • editing/Editor.cpp: (WebCore::Editor::selectionStartCSSPropertyValue):

2010-09-01 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Dimitri Glazkov.

REGRESSION(r66431): WebCore::Editor::selectionStartCSSPropertyValue crashes if no background color is specified
https://bugs.webkit.org/show_bug.cgi?id=45068

Added a test to ensure WebKit doesn't crash when backColor is queried on a node without any ancestors
with a background color.

  • editing/execCommand/backcolor-crash-expected.txt: Added.
  • editing/execCommand/backcolor-crash.html: Added.
4:14 PM Changeset in webkit [66623] by jberlin@webkit.org
  • 2 edits in trunk/WebKit/win

2010-09-01 Jessie Berlin <jberlin@apple.com>

Reviewed by Adam Roben.

WebViews should allow their parent windows to handle WM_MOUSEACTIVATE messages.
https://bugs.webkit.org/show_bug.cgi?id=45047

  • WebView.cpp: (WebView::WebViewWndProc):
3:55 PM Changeset in webkit [66622] by jer.noble@apple.com
  • 3 edits
    3 adds in trunk

2010-08-31 Jer Noble <jer.noble@apple.com>

Reviewed by Darin Adler.

WebKit should not accept PDFs as video.
https://bugs.webkit.org/show_bug.cgi?id=45013


QuickTime will accept a PDF as the source for a movie, and happily
convert that PDF into a .mov. WebKit should disable the eat and grip
PDF components which allow this.

Test: http/tests/media/pdf-served-as-pdf.html

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::createQTMovie): Add PDF eat and grip components to the components which are disabled before opening a QTMovie.

2010-08-31 Jer Noble <jer.noble@apple.com>

Reviewed by Darin Adler.

WebKit should not accept PDFs as video.
https://bugs.webkit.org/show_bug.cgi?id=45013


Added a new test, similar to the text-served-as-text.html test, which
expects an error thrown when a PDF is set as the source of a <video>
element.

  • http/tests/media/pdf-served-as-pdf-expected.txt: Added.
  • http/tests/media/pdf-served-as-pdf.html: Added.
  • http/tests/media/resources/test.pdf: Added.
3:35 PM Changeset in webkit [66621] by weinig@apple.com
  • 10 edits in trunk/WebKit2

Change ImmutableArray to be backed by a Vector
https://bugs.webkit.org/show_bug.cgi?id=45064

Reviewed by John Sullivan.

Change ImmutableArray to be backed by a Vector to work toward having
a mutable subclass and to improve the API when working with it in WebKit2
itself.

  • Also remove WKArrayCreateAdoptingValues which was confusing and unused.
  • Shared/ImmutableArray.cpp:

(WebKit::ImmutableArray::ImmutableArray):
(WebKit::ImmutableArray::~ImmutableArray):

  • Shared/ImmutableArray.h:

(WebKit::ImmutableArray::adopt):
(WebKit::ImmutableArray::at):
(WebKit::ImmutableArray::size):

  • Shared/ImmutableDictionary.cpp:

(WebKit::ImmutableDictionary::keys):

  • UIProcess/API/C/WKArray.cpp:
  • UIProcess/API/C/WKArray.h:
  • UIProcess/WebBackForwardList.cpp:

(WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
(WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):

  • UIProcess/WebContext.cpp:

(WebKit::PostMessageEncoder::PostMessageDecoder::decode):

  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::PostMessageEncoder::PostMessageDecoder::decode):

  • WebProcess/WebPage/WebFrame.cpp:

(WebKit::WebFrame::childFrames):

3:00 PM Changeset in webkit [66620] by tony@chromium.org
  • 3 edits in trunk/LayoutTests

2010-09-01 Tony Chang <tony@chromium.org>

Unreviewed, updating a chromium baseline, the only difference is in
the anti-aliasing of the rounded border (a result of r66615).

  • platform/chromium-win/fast/borders/border-radius-huge-assert-expected.checksum:
  • platform/chromium-win/fast/borders/border-radius-huge-assert-expected.png:
2:36 PM Changeset in webkit [66619] by weinig@apple.com
  • 8 edits
    11 adds in trunk/WebKit2

Add URLResponse API for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=45062

Reviewed by Anders Carlsson.

Add WebURLResponse class and WKURLResponseRef C API to go with it. Right now,
instance of WKURLResponseRef are manipulated via platform types just like
WKURLRequestRef.

This just adds the type and conversion functions, no uses yet.

  • Shared/APIObject.h:
  • Shared/WebCoreArgumentCoders.h:
  • Shared/WebURLResponse.cpp: Added.

(WebKit::WebURLResponse::WebURLResponse):

  • Shared/WebURLResponse.h: Added.

(WebKit::WebURLResponse::create):
(WebKit::WebURLResponse::resourceResponse):
(WebKit::WebURLResponse::type):

  • Shared/mac/WebCoreArgumentCodersMac.mm:

(CoreIPC::encodeWithNSKeyedArchiver):
(CoreIPC::decodeWithNSKeyedArchiver):
(CoreIPC::encodeResourceRequest):
(CoreIPC::decodeResourceRequest):

  • Shared/mac/WebURLResponseMac.mm: Added.

(WebKit::WebURLResponse::WebURLResponse):
(WebKit::WebURLResponse::platformResponse):

  • Shared/qt/WebURLResponseQt.cpp: Added.

(WebKit::WebURLResponse::WebURLResponse):
(WebKit::WebURLResponse::platformResponse):

  • Shared/win/WebURLResponseWin.cpp: Added.

(WebKit::WebURLResponse::WebURLResponse):
(WebKit::WebURLResponse::platformResponse):

  • UIProcess/API/C/WKURLResponse.cpp: Added.

(WKURLResponseGetTypeID):

  • UIProcess/API/C/WKURLResponse.h: Added.
  • UIProcess/API/C/cf/WKURLResponseCF.cpp: Added.

(WKURLResponseCreateWithCFURLResponse):
(WKURLResponseCopyCFURLResponse):

  • UIProcess/API/C/cf/WKURLResponseCF.h: Added.
  • UIProcess/API/C/mac/WKURLResponseNS.h: Added.
  • UIProcess/API/C/mac/WKURLResponseNS.mm: Added.

(WKURLResponseCreateWithNSURLResponse):
(WKURLResponseCopyNSURLResponse):

  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:
  • win/WebKit2Generated.make:
2:35 PM Changeset in webkit [66618] by crogers@google.com
  • 48 edits
    1 copy
    2 adds in branches/audio/WebCore

audio branch: lots of miscellaneous changes for code reviews - landing in trunk

2:06 PM Changeset in webkit [66617] by tony@chromium.org
  • 4 edits
    1 delete in trunk/LayoutTests

2010-09-01 Tony Chang <tony@chromium.org>

Unreviewed, updating chromium test expectations.

  • platform/chromium-mac/fast/js/kde/RegExp-expected.txt: Rebaseline
  • platform/chromium-win/fast/forms/focus2-expected.txt: Removed because it's wrong.
  • platform/chromium-win/fast/js/kde/RegExp-expected.txt: Rebaseline
  • platform/chromium/test_expectations.txt:
1:16 PM Changeset in webkit [66616] by barraclough@apple.com
  • 13 edits in trunk

JavaScriptCore: Ecma-262 15.11.1.1 states that if the argument is undefined then an
Error object's message property should be set to the empty string.

Rubber stamped by Oliver Hunt.

  • runtime/ErrorInstance.cpp:

(JSC::ErrorInstance::ErrorInstance):
(JSC::ErrorInstance::create):

  • runtime/ErrorInstance.h:
  • runtime/ErrorPrototype.cpp:

(JSC::ErrorPrototype::ErrorPrototype):

LayoutTests: Fix three tests in fast/js/kde are failing; fix them.

Rubber stamped by Oliver Hunt.

exceptions.js:

This is failing because it redefines the method 'should be'.
Rename the test's version of this method.

RegExp.js:

This tests erroneously expects a failed match to update the
cached results on the RegExp object; these are only updated
on a successful match.

evil-n.js:

This test erroneously expects the message property of a newly
constructed Error with no arguments to be undefined; the ECMA
262-5 spec requires this to be "". Two sputnik tests contain
the same error (the sputnik tests is actually testing 262-3
compatibility, which is not what we're interested in).

  • fast/js/kde/RegExp-expected.txt:
  • fast/js/kde/evil-n-expected.txt:
  • fast/js/kde/exceptions-expected.txt:
  • fast/js/kde/script-tests/RegExp.js:
  • fast/js/kde/script-tests/evil-n.js:
  • fast/js/kde/script-tests/exceptions.js:

(kdeShouldBe):
(testThrow):
(testThrow2):
(testReferenceError):
(testFunctionError):
(testMathFunctionError):
(testWhileAbortion):

  • fast/js/sputnik/Conformance/15_Native_Objects/15.11_Error/15.11.1/S15.11.1.1_A1_T1.html:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.11_Error/15.11.2/S15.11.2.1_A1_T1.html:
12:51 PM Changeset in webkit [66615] by rwlbuis@webkit.org
  • 14 edits in trunk

2010-09-01 Rob Buis <rwlbuis@gmail.com>

Reviewed by Darin Adler.

Support for Percentage Values in border-radius
https://bugs.webkit.org/show_bug.cgi?id=38354

Support percentage values on the border-radius family
of CSS properties.

  • css/CSSComputedStyleDeclaration.cpp: (WebCore::getBorderRadiusCornerValue):
  • css/CSSParser.cpp: (WebCore::CSSParser::parseValue): (WebCore::CSSParser::parseBorderRadius):
  • css/CSSPrimitiveValue.cpp:
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty):
  • page/animation/AnimationBase.cpp: (WebCore::AnimationBase::ensurePropertyMap):
  • platform/Length.h:
  • rendering/RenderObject.cpp: (WebCore::RenderObject::repaintAfterLayoutIfNeeded):
  • rendering/style/BorderData.h: (WebCore::BorderData::BorderData): (WebCore::BorderData::hasBorderRadius): (WebCore::BorderData::topLeft): (WebCore::BorderData::topRight): (WebCore::BorderData::bottomLeft): (WebCore::BorderData::bottomRight):
  • rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::getBorderRadiiForRect): (WebCore::RenderStyle::getInnerBorderRadiiForRectWithBorderWidths):
  • rendering/style/RenderStyle.h: (WebCore::InheritedFlags::borderTopLeftRadius): (WebCore::InheritedFlags::borderTopRightRadius): (WebCore::InheritedFlags::borderBottomLeftRadius): (WebCore::InheritedFlags::borderBottomRightRadius): (WebCore::InheritedFlags::setBorderTopLeftRadius): (WebCore::InheritedFlags::setBorderTopRightRadius): (WebCore::InheritedFlags::setBorderBottomLeftRadius): (WebCore::InheritedFlags::setBorderBottomRightRadius): (WebCore::InheritedFlags::setBorderRadius): (WebCore::InheritedFlags::initialBorderRadius):
12:45 PM Changeset in webkit [66614] by tony@chromium.org
  • 2 edits
    6 adds in trunk/LayoutTests

2010-09-01 Tony Chang <tony@chromium.org>

Unreviewed, add chromium win/linux baselines for fast/multicol/float-paginate.html.

  • platform/chromium-linux/fast/multicol/float-paginate-expected.checksum: Added.
  • platform/chromium-linux/fast/multicol/float-paginate-expected.png: Added.
  • platform/chromium-linux/fast/multicol/float-paginate-expected.txt: Added.
  • platform/chromium-win/fast/multicol/float-paginate-expected.checksum: Added.
  • platform/chromium-win/fast/multicol/float-paginate-expected.png: Added.
  • platform/chromium-win/fast/multicol/float-paginate-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
12:37 PM Changeset in webkit [66613] by caseq@chromium.org
  • 2 edits in trunk/WebCore

2010-09-01 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: webInspector.inspectedWindow.evaluate() should not fail if not passed callback.
https://bugs.webkit.org/show_bug.cgi?id=45037

  • inspector/front-end/ExtensionAPI.js: (WebInspector.injectedExtensionAPI.InspectedWindow.prototype.evaluate):
11:14 AM Changeset in webkit [66612] by hyatt@apple.com
  • 3 edits
    4 adds
    4 deletes in trunk

WebCore: https://bugs.webkit.org/show_bug.cgi?id=44963, overhanging floats aren't positioned properly when they occur
in multi-column layout. Don't let floats overhang in multi-column blocks, since they are part of the column layout.

Reviewed by Dan Bernstein and Simon Fraser.

fast/multicol/float-pagination-failure now succeeds, so will rename and move it.

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::addOverhangingFloats):

LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=44963, rename the float-paginate-failure test since it now
succeeds.

Reviewed by Dan Bernstein and Simon Fraser.

  • fast/multicol/float-paginate-failure.html: Removed.
  • fast/multicol/float-paginate.html: Added.
  • platform/mac/fast/multicol/float-paginate-expected.checksum: Added.
  • platform/mac/fast/multicol/float-paginate-expected.png: Added.
  • platform/mac/fast/multicol/float-paginate-expected.txt: Added.
  • platform/mac/fast/multicol/float-paginate-failure-expected.checksum: Removed.
  • platform/mac/fast/multicol/float-paginate-failure-expected.png: Removed.
  • platform/mac/fast/multicol/float-paginate-failure-expected.txt: Removed.
9:59 AM Changeset in webkit [66611] by kbr@google.com
  • 3 edits in trunk/WebCore

2010-08-31 Kenneth Russell <kbr@google.com>

Reviewed by Simon Fraser.

Add helpers to FloatRect to compute bounding box from points
https://bugs.webkit.org/show_bug.cgi?id=45015

Added fitToPoints, including a few overloaded variants for the
cases of two, three and four points. I opted not to add a
generalized version taking const FloatRect* or Vector<FloatRect>
at the present time because for my own purposes they are
unnecessary, and the specific versions can be more tightly coded.
Also added left() and top() for symmetry with right() and bottom().
These changes have been tested with new code to be added later.

  • platform/graphics/FloatRect.cpp: (WebCore::FloatRect::intersect): (WebCore::FloatRect::unite): (WebCore::FloatRect::fitToPoints):
  • platform/graphics/FloatRect.h: (WebCore::FloatRect::left): (WebCore::FloatRect::top): (WebCore::FloatRect::setLocationAndSizeFromEdges):
9:50 AM Changeset in webkit [66610] by antonm@chromium.org
  • 2 edits in trunk/WebCore

2010-09-01 Anton Muhin <antonm@chromium.org>

Reviewed by Dimitri Glazkov.

[v8] Use Vector and DEFINE_STATIC_LOCAL instead of plain static array.
https://bugs.webkit.org/show_bug.cgi?id=45040

By code guidelines all the statics should be wrapped into appropriate macro.

  • bindings/v8/V8Binding.cpp: (WebCore::int32ToWebCoreString):
9:34 AM Changeset in webkit [66609] by commit-queue@webkit.org
  • 2 edits in trunk

2010-09-01 Ryuan Choi <ryuan.choi@samsung.com>

Reviewed by Antonio Gomes.

[EFL] Need to check LibSoup version
https://bugs.webkit.org/show_bug.cgi?id=44658

Add version check of LibSoup.

  • cmake/FindLibSoup2.cmake:
9:18 AM Changeset in webkit [66608] by alex
  • 1 edit in trunk/LayoutTests/ChangeLog

2010-09-01 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[Gtk] very slow page scrolling on big -webkit-box-shadow areas
https://bugs.webkit.org/show_bug.cgi?id=39582

Add a new drawTiledShadow method to render a big shadow doing
tiling of parts of a smaller shadow. We create the minimum shadow
required to get the tiles we will use to render the real shadow
and we use drawPattern with those tiles to create the shadow.

Pixel tests added.

  • platform/gtk/fast/box-shadow/basic-shadows-expected.checksum:
  • platform/gtk/fast/box-shadow/basic-shadows-expected.png:
  • platform/gtk/fast/css/shadow-multiple-expected.checksum:
  • platform/gtk/fast/css/shadow-multiple-expected.png:
  • platform/gtk/svg/css/stars-with-shadow-expected.checksum:
  • platform/gtk/svg/css/stars-with-shadow-expected.png:
9:10 AM Changeset in webkit [66607] by alex
  • 11 edits in trunk

2010-09-01 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[Gtk] very slow page scrolling on big -webkit-box-shadow areas
https://bugs.webkit.org/show_bug.cgi?id=39582

Add a new drawTiledShadow method to render a big shadow doing
tiling of parts of a smaller shadow. We create the minimum shadow
required to get the tiles we will use to render the real shadow
and we use drawPattern with those tiles to create the shadow.

  • platform/graphics/GraphicsContext.h:
  • platform/graphics/cairo/FontCairo.cpp: (WebCore::Font::drawGlyphs):
  • platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::drawPathShadow): (WebCore::drawBorderlessRectShadow): (WebCore::GraphicsContext::fillRect): (WebCore::GraphicsContext::applyPlatformShadow): (WebCore::GraphicsContext::createShadowMask): (WebCore::getPhase): (WebCore::GraphicsContext::drawTiledShadow): (WebCore::GraphicsContext::fillRoundedRect):
  • platform/graphics/cairo/ImageCairo.cpp: (WebCore::BitmapImage::draw):
9:01 AM Changeset in webkit [66606] by Martin Robinson
  • 2 edits in trunk/LayoutTests

2010-09-01 Martin Robinson <mrobinson@igalia.com>

Updating one more baseline, which seems to differ on the bots.

  • platform/gtk/fast/frames/onlyCommentInIFrame-expected.txt:
8:29 AM Changeset in webkit [66605] by Martin Robinson
  • 2 edits
    43 adds in trunk/LayoutTests

2010-09-01 Martin Robinson <mrobinson@igalia.com>

Add baselines and unskip non-failing tests in preparation for
landing scrollbar theme changes.

  • platform/gtk/Skipped:
  • platform/gtk/fast/dynamic/window-resize-scrollbars-test-expected.checksum: Added.
  • platform/gtk/fast/dynamic/window-resize-scrollbars-test-expected.png: Added.
  • platform/gtk/fast/dynamic/window-resize-scrollbars-test-expected.txt: Added.
  • platform/gtk/fast/dynamic/window-scrollbars-test-expected.checksum: Added.
  • platform/gtk/fast/dynamic/window-scrollbars-test-expected.png: Added.
  • platform/gtk/fast/dynamic/window-scrollbars-test-expected.txt: Added.
  • platform/gtk/fast/events/attempt-scroll-with-no-scrollbars-expected.txt: Added.
  • platform/gtk/fast/frames/001-expected.txt: Added.
  • platform/gtk/fast/frames/002-expected.txt: Copied from LayoutTests/platform/mac/fast/frames/002-expected.txt.
  • platform/gtk/fast/frames/calculate-fixed-expected.txt: Copied from LayoutTests/platform/qt/fast/frames/calculate-fixed-expected.txt.
  • platform/gtk/fast/frames/calculate-order-expected.txt: Copied from LayoutTests/platform/qt/fast/frames/calculate-order-expected.txt.
  • platform/gtk/fast/frames/calculate-percentage-expected.txt: Copied from LayoutTests/platform/qt/fast/frames/calculate-percentage-expected.txt.
  • platform/gtk/fast/frames/calculate-relative-expected.txt: Copied from LayoutTests/platform/qt/fast/frames/calculate-relative-expected.txt.
  • platform/gtk/fast/frames/calculate-round-expected.txt: Copied from LayoutTests/platform/mac/fast/frames/calculate-round-expected.txt.
  • platform/gtk/fast/frames/content-opacity-1-expected.txt: Copied from LayoutTests/platform/mac/fast/frames/content-opacity-1-expected.txt.
  • platform/gtk/fast/frames/content-opacity-2-expected.txt: Copied from LayoutTests/platform/mac/fast/frames/content-opacity-2-expected.txt.
  • platform/gtk/fast/frames/contentWindow_Frame-expected.txt: Added.
  • platform/gtk/fast/frames/contentWindow_iFrame-expected.txt: Added.
  • platform/gtk/fast/frames/empty-cols-attribute-expected.txt: Copied from LayoutTests/platform/mac/fast/frames/empty-cols-attribute-expected.txt.
  • platform/gtk/fast/frames/empty-frame-src-expected.txt: Copied from LayoutTests/platform/mac/fast/frames/empty-frame-src-expected.txt.
  • platform/gtk/fast/frames/frame-element-name-expected.txt: Added.
  • platform/gtk/fast/frames/frame-navigation-expected.txt: Added.
  • platform/gtk/fast/frames/frame-scrolling-attribute-expected.checksum: Added.
  • platform/gtk/fast/frames/frame-scrolling-attribute-expected.png: Added.
  • platform/gtk/fast/frames/frame-scrolling-attribute-expected.txt: Added.
  • platform/gtk/fast/frames/frame-set-whitespace-attributes-expected.txt: Copied from LayoutTests/platform/mac/fast/frames/frame-set-whitespace-attributes-expected.txt.
  • platform/gtk/fast/frames/frame-src-attribute-expected.txt: Added.
  • platform/gtk/fast/frames/frameElement-frame-expected.txt: Added.
  • platform/gtk/fast/frames/frameElement-iframe-expected.txt: Added.
  • platform/gtk/fast/frames/frameset-style-recalc-expected.txt: Added.
  • platform/gtk/fast/frames/iframe-option-crash-expected.txt: Added.
  • platform/gtk/fast/frames/iframe-scrolling-attribute-expected.checksum: Added.
  • platform/gtk/fast/frames/iframe-scrolling-attribute-expected.png: Added.
  • platform/gtk/fast/frames/iframe-scrolling-attribute-expected.txt: Added.
  • platform/gtk/fast/frames/iframe-text-contents-expected.txt: Copied from LayoutTests/platform/mac/fast/frames/iframe-text-contents-expected.txt.
  • platform/gtk/fast/frames/iframe-with-frameborder-expected.txt: Added.
  • platform/gtk/fast/frames/inline-object-inside-frameset-expected.txt: Added.
  • platform/gtk/fast/frames/invalid-expected.txt: Copied from LayoutTests/platform/qt/fast/frames/invalid-expected.txt.
  • platform/gtk/fast/frames/no-frame-borders-expected.txt: Copied from LayoutTests/platform/mac/fast/frames/no-frame-borders-expected.txt.
  • platform/gtk/fast/frames/onlyCommentInIFrame-expected.txt: Added.
  • platform/gtk/fast/frames/valid-expected.txt: Copied from LayoutTests/platform/qt/fast/frames/valid-expected.txt.
  • platform/gtk/fast/frames/viewsource-attribute-expected.txt: Added.
  • platform/gtk/fast/frames/viewsource-on-image-file-expected.txt: Added.
8:16 AM Changeset in webkit [66604] by antonm@chromium.org
  • 2 edits in trunk/LayoutTests

2010-09-01 Anton Muhin <antonm@chromium.org>

Unreviewed fix to update test expectations to recent SVG changes.

  • platform/chromium/test_expectations.txt:
8:04 AM Changeset in webkit [66603] by antonm@chromium.org
  • 2 edits in trunk/LayoutTests

2010-09-01 'Anton Muhin' <antonm@chromium.org>

Unreviewed expectations fix.

Due to recent changes in V8, Chromium now passes more ietestcentertests.

  • platform/chromium/test_expectations.txt:
7:46 AM Changeset in webkit [66602] by abecsi@webkit.org
  • 2 edits in trunk/WebKitTools

2010-09-01 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>

Reviewed by Antonio Gomes.

[Qt] Remove obsolete include path from DumpRenderTree.pro

  • DumpRenderTree/qt/DumpRenderTree.pro:
7:19 AM Changeset in webkit [66601] by caseq@chromium.org
  • 10 edits
    4 adds in trunk

2010-09-01 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector, Extension API: Panel.onSelectionChanged event is never fired
Added command line API to the lexical context of code evaluated by webInspector.inspectedWindow.evaluate()
Fixed webInspector.inspectedWindow.evaluate() to return object rather than its stringified representation
https://bugs.webkit.org/show_bug.cgi?id=44957

Test: inspector/extensions-eval.html

  • inspector/front-end/ExtensionAPI.js: (WebInspector.injectedExtensionAPI.InspectedWindow.prototype.evaluate):
  • inspector/front-end/ExtensionServer.js: (WebInspector.ExtensionServer.prototype._onEvaluateOnInspectedPage):

2010-09-01 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector, Extension API: Panel.onSelectionChanged event is never fired
Added tests for webInspector.inspectedWindow.eval() and event dispatchers.
https://bugs.webkit.org/show_bug.cgi?id=44957

  • inspector/extensions-eval-expected.txt: Added.
  • inspector/extensions-eval.html: Added.
  • inspector/extensions-expected.txt:
  • inspector/extensions.html:
  • inspector/resources/extension-main.js: (fetchTests.callback): (fetchTests):
  • platform/chromium/test_expectations.txt:
7:12 AM Changeset in webkit [66600] by Philippe Normand
  • 3 edits in trunk/WebCore

2010-08-27 Philippe Normand <pnormand@igalia.com>

Reviewed by Xan Lopez.

[GStreamer] ImageGStreamer doesn't need to hold a Cairo surface
https://bugs.webkit.org/show_bug.cgi?id=44757

Pass the cairo surface to the BitmapImage constructor which will
handle its life-cycle.

  • platform/graphics/gstreamer/ImageGStreamer.h:
  • platform/graphics/gstreamer/ImageGStreamerCairo.cpp: (ImageGStreamer::ImageGStreamer): (ImageGStreamer::~ImageGStreamer):
7:01 AM Changeset in webkit [66599] by Nikolas Zimmermann
  • 19 edits in trunk

2010-08-30 Patrick Gansterer <paroga@paroga.com>

Reviewed by Dirk Schulze.

RenderImage::imageChanged invalidates wrong area
https://bugs.webkit.org/show_bug.cgi?id=43779

Remove RenderImage inheritance from RenderSVGImage, it now inherits from RenderSVGModelObject.

  • rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::RenderSVGImage): (WebCore::RenderSVGImage::~RenderSVGImage): (WebCore::RenderSVGImage::layout): (WebCore::RenderSVGImage::paint): (WebCore::RenderSVGImage::imageChanged):
  • rendering/RenderSVGImage.h: (WebCore::RenderSVGImage::imageResource):
  • rendering/RenderSVGModelObject.h:
  • svg/SVGImageElement.cpp:

2010-09-01 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Dirk Schulze.

RenderImage::imageChanged invalidates wrong area
https://bugs.webkit.org/show_bug.cgi?id=43779

Rebaseline SVG image dumpAsText() tests.
A newline is gone from each of the results, after switching from RenderImage to RenderSVGModelObject in RenderSVGImage.

  • svg/custom/loadevents-capturing-expected.txt:
  • svg/custom/loadevents-externalresourcesrequired-expected.txt:
  • svg/custom/loadevents-normal-expected.txt:
  • svg/dynamic-updates/SVGImageElement-dom-height-attr-expected.txt:
  • svg/dynamic-updates/SVGImageElement-dom-preserveAspectRatio-attr-expected.txt:
  • svg/dynamic-updates/SVGImageElement-dom-width-attr-expected.txt:
  • svg/dynamic-updates/SVGImageElement-dom-x-attr-expected.txt:
  • svg/dynamic-updates/SVGImageElement-dom-y-attr-expected.txt:
  • svg/dynamic-updates/SVGImageElement-svgdom-height-prop-expected.txt:
  • svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.txt:
  • svg/dynamic-updates/SVGImageElement-svgdom-width-prop-expected.txt:
  • svg/dynamic-updates/SVGImageElement-svgdom-x-prop-expected.txt:
  • svg/dynamic-updates/SVGImageElement-svgdom-y-prop-expected.txt:
5:32 AM Changeset in webkit [66598] by Nikolas Zimmermann
  • 21 edits in trunk/WebCore

2010-09-01 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Dirk Schulze.

Add culling to RenderSVGContainer
https://bugs.webkit.org/show_bug.cgi?id=44896

Cache object/strokeBoundingBox and repaintRectInLocalCoordinates() in RenderSVGContainer & RenderSVGRoot, just like it's done in RenderPath.
Propagate boundary changes up the render tree, in layout phase, in order to notify parents that they should update their cached boundaries.

This is a huge speed benefit when interacting with an already layouted document, as there's no need anymore to traverse all children
of any container or <svg> element, just to retrieve the repaint rect.

  • rendering/RenderForeignObject.cpp: (WebCore::RenderForeignObject::layout): Propagate boundary changes to parent, if neeeded.
  • rendering/RenderObject.cpp: (WebCore::RenderObject::setNeedsBoundariesUpdate): Ditto.
  • rendering/RenderObject.h:
  • rendering/RenderObjectChildList.cpp: (WebCore::RenderObjectChildList::removeChildNode): Ditto.
  • rendering/RenderPath.cpp: (WebCore::RenderPath::layout): Ditto. (WebCore::RenderPath::paint): Use new helper function to intersect the paintInfo.rect with the repaintRectInLocalCoordinates().
  • rendering/RenderPath.h: Remove styleWillChange(), it's in RenderSVGModelObject now. (WebCore::RenderPath::setNeedsBoundariesUpdate): Mark as virtual, just like in RenderObject.
  • rendering/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::RenderSVGContainer): Initialize m_needsBoundariesUpdate to true. (WebCore::RenderSVGContainer::layout): Only update cached boundaries, if needed, once by traversing the child tree. (WebCore::RenderSVGContainer::paint): Use new helper function to intersect the paintInfo.rect with the repaintRectInLocalCoordinates(). (WebCore::RenderSVGContainer::updateCachedBoundaries): Ask children for their boundaries, and cache them.
  • rendering/RenderSVGContainer.h: (WebCore::RenderSVGContainer::setNeedsBoundariesUpdate): Set m_needsBoundariesUpdate when called. (WebCore::RenderSVGContainer::objectBoundingBox): Inlined, just returns a member variable now. (WebCore::RenderSVGContainer::strokeBoundingBox): Ditto. (WebCore::RenderSVGContainer::repaintRectInLocalCoordinates): Ditto. (WebCore::RenderSVGContainer::calculateLocalTransform): Changed to return a boolean, wheter the transform was modified.
  • rendering/RenderSVGGradientStop.h: (WebCore::RenderSVGGradientStop::strokeBoundingBox): Add missing default implementation, return just FloatRect().
  • rendering/RenderSVGHiddenContainer.cpp: Remove repaintRectInLocalCoordinates() override, it's now needed for painting markers.
  • rendering/RenderSVGHiddenContainer.h: (WebCore::RenderSVGHiddenContainer::clippedOverflowRectForRepaint): Inlined, returning IntRect().
  • rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::layout): Propagate boundary changes to parent, if neeeded.
  • rendering/RenderSVGRoot.cpp: Cache boundaries here as well, just like in RenderSVGContainer. (WebCore::RenderSVGRoot::RenderSVGRoot): (WebCore::RenderSVGRoot::layout): (WebCore::RenderSVGRoot::updateCachedBoundaries):
  • rendering/RenderSVGRoot.h: (WebCore::RenderSVGRoot::setNeedsBoundariesUpdate): (WebCore::RenderSVGRoot::setNeedsTransformUpdate): (WebCore::RenderSVGRoot::objectBoundingBox): (WebCore::RenderSVGRoot::strokeBoundingBox): (WebCore::RenderSVGRoot::repaintRectInLocalCoordinates):
  • rendering/RenderSVGText.cpp: (WebCore::RenderSVGText::layout): Propagate boundary changes to parent, if neeeded.
  • rendering/RenderSVGTransformableContainer.cpp: (WebCore::RenderSVGTransformableContainer::calculateLocalTransform): Return true, if the localTransform changed.
  • rendering/RenderSVGTransformableContainer.h:
  • rendering/RenderSVGViewportContainer.cpp: (WebCore::RenderSVGViewportContainer::calcViewport): Propagate boundary changes to parent, if neeeded.
  • rendering/SVGRenderSupport.cpp: (WebCore::SVGRenderSupport::computeContainerBoundingBoxes): Helper function calculating object/strokeBoundingBox and repaintRectInLocalCoordinates in one shot. (WebCore::SVGRenderSupport::paintInfoIntersectsRepaintRect): Moved from RenderPath to share the culling functionality.
  • rendering/SVGRenderSupport.h:
5:31 AM Changeset in webkit [66597] by commit-queue@webkit.org
  • 15 edits
    2 adds in trunk

2010-09-01 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] QWebPage::allowGeolocationRequest should be async API
https://bugs.webkit.org/show_bug.cgi?id=41364

Enable all geolocation delayed permission layout test for Qt port

  • platform/qt/Skipped:

2010-09-01 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] QWebPage::allowGeolocationRequest should be async API
https://bugs.webkit.org/show_bug.cgi?id=41364

Adding GeolocationPermissionClientQt.cpp/h to build script

  • WebCore.pro:

2010-09-01 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] QWebPage::allowGeolocationRequest should be async API
https://bugs.webkit.org/show_bug.cgi?id=41364

Provides a new async API for geolocation permission. Using
Notification API approach from qtwebkit. GeolocationPermissionClientQt
maintains list of pending requests from WebCore and intimates them
when client either allowes/denies the request. Also implements
ChromeClientQt::cancelGeolocationPermissionRequestForFrame.

  • Api/qwebpage.cpp: (QWebPage::setUserPermission):
  • Api/qwebpage.h:
  • WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame): (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
  • WebCoreSupport/ChromeClientQt.h:
  • WebCoreSupport/GeolocationPermissionClientQt.cpp: Added. (WebCore::GeolocationPermissionClientQt::geolocationPermissionClient): (WebCore::GeolocationPermissionClientQt::GeolocationPermissionClientQt): (WebCore::GeolocationPermissionClientQt::~GeolocationPermissionClientQt): (WebCore::GeolocationPermissionClientQt::requestGeolocationPermissionForFrame): (WebCore::GeolocationPermissionClientQt::cancelGeolocationPermissionRequestForFrame): (WebCore::GeolocationPermissionClientQt::setPermission):
  • WebCoreSupport/GeolocationPermissionClientQt.h: Added.
  • tests/qwebpage/tst_qwebpage.cpp: (JSTestPage::requestPermission): (tst_QWebPage::geolocationRequestJS):

2010-09-01 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] QWebPage::allowGeolocationRequest should be async API
https://bugs.webkit.org/show_bug.cgi?id=41364

Implements new async API for geolocation permission similar to
Notification. WebPage maintains list of geolocation permission request
QtWebkit and set's when LayoutTestController gets the access from test JS

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::WebPage): (WebCore::WebPage::resetSettings): (WebCore::WebPage::requestPermission): (WebCore::WebPage::cancelPermission): (WebCore::WebPage::permissionSet): (WebCore::DumpRenderTree::DumpRenderTree): (WebCore::DumpRenderTree::processLine): (WebCore::DumpRenderTree::geolocationPermissionSet):
  • DumpRenderTree/qt/DumpRenderTreeQt.h:
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::reset): (LayoutTestController::setGeolocationPermission): (LayoutTestController::setGeolocationPermissionCommon):
  • DumpRenderTree/qt/LayoutTestControllerQt.h:
5:13 AM Changeset in webkit [66596] by commit-queue@webkit.org
  • 30 edits
    1 delete in trunk/LayoutTests

2010-09-01 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: move debugger tests to the new test harness
https://bugs.webkit.org/show_bug.cgi?id=44939

  • http/tests/inspector/debugger-test.js: Removed.
  • http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.startDebuggerTest.startTest): (initialize_DebuggerTest.InspectorTest.startDebuggerTest): (initialize_DebuggerTest.InspectorTest.completeDebuggerTest.disableDebugger): (initialize_DebuggerTest.InspectorTest.runTestFunctionAndWaitUntilPaused): (initialize_DebuggerTest.InspectorTest.waitUntilPaused): (initialize_DebuggerTest.InspectorTest.waitUntilResumed): (initialize_DebuggerTest.InspectorTest.resumeExecution): (initialize_DebuggerTest.InspectorTest.captureStackTrace): (initialize_DebuggerTest.InspectorTest._pausedScript): (initialize_DebuggerTest.InspectorTest._resumedScript): (initialize_DebuggerTest.InspectorTest.waitUntilCurrentSourceFrameIsLoaded): (initialize_DebuggerTest.InspectorTest._showScriptSource): (initialize_DebuggerTest.InspectorTest.expandProperties.expandNextPath): (initialize_DebuggerTest.InspectorTest.expandProperties): (initialize_DebuggerTest.InspectorTest._expandProperty): (initialize_DebuggerTest.InspectorTest._findChildPropertyTreeElement): (initialize_DebuggerTest):
  • http/tests/inspector/inspector-test2.js: (initialize_InspectorTest.InspectorTest.completeTest): (initialize_InspectorTest.InspectorTest.evaluateInPage): (initialize_InspectorTest.InspectorTest.addResult.addResultToPage): (initialize_InspectorTest.InspectorTest.addResult): (initialize_InspectorTest.InspectorTest.addObject): (initialize_InspectorTest.InspectorTest.reloadPage): (initialize_InspectorTest.InspectorTest.pageReloaded): (initialize_InspectorTest.InspectorTest.runAfterPendingDispatches): (initialize_InspectorTest.InspectorTest.enableResourceTracking): (initialize_InspectorTest.InspectorTest.disableResourceTracking): (initialize_InspectorTest.InspectorTest._addSniffer): (runTest.runTestInFrontend): (runTest): (didEvaluateForTestInFrontend):
  • inspector/debugger-breakpoints-not-activated-on-reload.html:
  • inspector/debugger-cyclic-ref-expected.txt:
  • inspector/debugger-cyclic-ref.html:
  • inspector/debugger-eval-while-paused-expected.txt:
  • inspector/debugger-eval-while-paused.html:
  • inspector/debugger-no-nested-pause-expected.txt:
  • inspector/debugger-no-nested-pause.html:
  • inspector/debugger-pause-in-eval-script-expected.txt:
  • inspector/debugger-pause-in-eval-script.html:
  • inspector/debugger-pause-on-debugger-statement-expected.txt:
  • inspector/debugger-pause-on-debugger-statement.html:
  • inspector/debugger-proto-property-expected.txt:
  • inspector/debugger-proto-property.html:
  • inspector/debugger-step-in-expected.txt:
  • inspector/debugger-step-in.html:
  • inspector/debugger-step-out-expected.txt:
  • inspector/debugger-step-out.html:
  • inspector/debugger-step-over-expected.txt:
  • inspector/debugger-step-over.html:
  • inspector/dom-breakpoints-expected.txt:
  • inspector/dom-breakpoints.html:
  • inspector/extensions-api-expected.txt:
  • inspector/extensions-audits-api-expected.txt:
  • inspector/extensions-audits-expected.txt:
  • inspector/extensions-expected.txt:
  • inspector/report-protocol-errors.html:
  • platform/chromium/inspector/debugger-step-in-expected.txt:
4:36 AM Changeset in webkit [66595] by antonm@chromium.org
  • 7 edits
    3 adds in trunk/LayoutTests

2010-09-01 Anton Muhin <antonm@chromium.org>

Unreviewed, updating expected results for Chromium.

  • platform/chromium-linux/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
  • platform/chromium-linux/fast/css/getComputedStyle/computed-style-expected.txt
  • platform/chromium-linux/svg/css/getComputedStyle-basic-expected.txt
  • platform/chromium-mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
  • platform/chromium-mac/fast/css/getComputedStyle/computed-style-expected.txt
  • platform/chromium-mac/svg/css/getComputedStyle-basic-expected.txt
  • platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
  • platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt
  • platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt
4:30 AM Changeset in webkit [66594] by antonm@chromium.org
  • 1 edit
    8 adds in trunk/LayoutTests

2010-09-01 Anton Muhin <antonm@chromium.org>

Unreviewed, updating expected results for Chromium.

4:01 AM Changeset in webkit [66593] by loislo@chromium.org
  • 2 edits in trunk/LayoutTests

2010-09-01 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

WebInspector: disable inspector tests on mac-wk2.
The tests should be skipped until https://bugs.webkit.org/show_bug.cgi?id=42318 get fixed.

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

  • platform/mac-wk2/Skipped:
3:55 AM Changeset in webkit [66592] by abecsi@webkit.org
  • 5 edits
    1 add
    1 delete in trunk

2010-09-01 Andras Becsi <abecsi@webkit.org>

Reviewed by Antti Koivisto.

[Qt] Auto-generate WebKit2 forwarding headers
https://bugs.webkit.org/show_bug.cgi?id=44692

  • MiniBrowser/qt/BrowserWindow.h: use source style includes
  • MiniBrowser/qt/MiniBrowser.pro: add missing include paths
  • Scripts/enumerate-included-framework-headers: Removed.

2010-09-01 Andras Becsi <abecsi@webkit.org>

Reviewed by Antti Koivisto.

[Qt] Auto-generate WebKit2 forwarding headers
https://bugs.webkit.org/show_bug.cgi?id=44692

  • DerivedSources.pro: let the generate-forwarding-headers.pl script generate forwarding headers.
  • generate-forwarding-headers.pl: Added.
3:37 AM Changeset in webkit [66591] by Csaba Osztrogonác
  • 3 edits in trunk/LayoutTests

Unreviewed, updating expected results for r66581.

  • platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
  • platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
3:23 AM Changeset in webkit [66590] by andreas.kling@nokia.com
  • 5 edits
    3 adds in trunk

2010-09-01 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Darin Adler.

DOM Selection: collapseToStart() and collapseToEnd() should throw INVALID_STATE_ERR if there's no selection
https://bugs.webkit.org/show_bug.cgi?id=44598

Spec links:
http://www.whatwg.org/specs/web-apps/current-work/#dom-selection-collapsetostart
http://www.whatwg.org/specs/web-apps/current-work/#dom-selection-collapsetoend

Test: fast/dom/Selection/collapseToX-empty-selection.html

  • page/DOMSelection.cpp: (WebCore::DOMSelection::collapseToEnd): (WebCore::DOMSelection::collapseToStart):
  • page/DOMSelection.h:
  • page/DOMSelection.idl:

2010-09-01 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Darin Adler.

DOM Selection: collapseToStart() and collapseToEnd() should throw INVALID_STATE_ERR if there's no selection
https://bugs.webkit.org/show_bug.cgi?id=44598

Spec links:
http://www.whatwg.org/specs/web-apps/current-work/#dom-selection-collapsetostart
http://www.whatwg.org/specs/web-apps/current-work/#dom-selection-collapsetoend

  • fast/dom/Selection/collapseToX-empty-selection-expected.txt: Added.
  • fast/dom/Selection/collapseToX-empty-selection.html: Added.
  • fast/dom/Selection/script-tests/collapseToX-empty-selection.js: Added.
2:35 AM Changeset in webkit [66589] by alex
  • 4 edits in trunk/LayoutTests

2010-09-01 Alejandro G. Castro <alex@igalia.com>

Unreviewed, updating expected results for r66581.

  • editing/pasteboard/onpaste-text-html-expected.txt:
  • fast/events/ondrop-text-html-expected.txt:
  • platform/gtk/svg/css/getComputedStyle-basic-expected.txt:
1:20 AM Changeset in webkit [66588] by kinuko@chromium.org
  • 2 edits in trunk/WebCore

2010-09-01 Kinuko Yasuda <kinuko@chromium.org>

Unreviewed; another build fix.

  • WebCore.pri:
1:15 AM Changeset in webkit [66587] by kinuko@chromium.org
  • 2 edits in trunk/WebCore

2010-09-01 Kinuko Yasuda <kinuko@chromium.org>

Unreviewed; qt build fix.

  • CMakeLists.txt:
1:05 AM Changeset in webkit [66586] by kinuko@chromium.org
  • 7 edits
    38 moves in trunk/WebCore

2010-08-31 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by Adam Barth.

Move FileSystem related files from WebCore/html to WebCore/fileapi.
https://bugs.webkit.org/show_bug.cgi?id=44925

No new tests; there should be no functional changes.

  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • fileapi/DOMFilePath.cpp: Renamed from WebCore/storage/DOMFilePath.cpp.
  • fileapi/DOMFilePath.h: Renamed from WebCore/storage/DOMFilePath.h.
  • fileapi/DOMFileSystem.cpp: Renamed from WebCore/storage/DOMFileSystem.cpp.
  • fileapi/DOMFileSystem.h: Renamed from WebCore/storage/DOMFileSystem.h.
  • fileapi/DOMFileSystem.idl: Renamed from WebCore/storage/DOMFileSystem.idl.
  • fileapi/DirectoryEntry.cpp: Renamed from WebCore/storage/DirectoryEntry.cpp.
  • fileapi/DirectoryEntry.h: Renamed from WebCore/storage/DirectoryEntry.h.
  • fileapi/DirectoryEntry.idl: Renamed from WebCore/storage/DirectoryEntry.idl.
  • fileapi/DirectoryReader.cpp: Renamed from WebCore/storage/DirectoryReader.cpp.
  • fileapi/DirectoryReader.h: Renamed from WebCore/storage/DirectoryReader.h.
  • fileapi/DirectoryReader.idl: Renamed from WebCore/storage/DirectoryReader.idl.
  • fileapi/EntriesCallback.h: Renamed from WebCore/storage/EntriesCallback.h.
  • fileapi/EntriesCallback.idl: Renamed from WebCore/storage/EntriesCallback.idl.
  • fileapi/Entry.cpp: Renamed from WebCore/storage/Entry.cpp.
  • fileapi/Entry.h: Renamed from WebCore/storage/Entry.h.
  • fileapi/Entry.idl: Renamed from WebCore/storage/Entry.idl.
  • fileapi/EntryArray.cpp: Renamed from WebCore/storage/EntryArray.cpp.
  • fileapi/EntryArray.h: Renamed from WebCore/storage/EntryArray.h.
  • fileapi/EntryArray.idl: Renamed from WebCore/storage/EntryArray.idl.
  • fileapi/EntryCallback.h: Renamed from WebCore/storage/EntryCallback.h.
  • fileapi/EntryCallback.idl: Renamed from WebCore/storage/EntryCallback.idl.
  • fileapi/ErrorCallback.h: Renamed from WebCore/storage/ErrorCallback.h.
  • fileapi/ErrorCallback.idl: Renamed from WebCore/storage/ErrorCallback.idl.
  • fileapi/FileEntry.cpp: Renamed from WebCore/storage/FileEntry.cpp.
  • fileapi/FileEntry.h: Renamed from WebCore/storage/FileEntry.h.
  • fileapi/FileEntry.idl: Renamed from WebCore/storage/FileEntry.idl.
  • fileapi/FileSystemCallback.h: Renamed from WebCore/storage/FileSystemCallback.h.
  • fileapi/FileSystemCallback.idl: Renamed from WebCore/storage/FileSystemCallback.idl.
  • fileapi/FileSystemCallbacks.cpp: Renamed from WebCore/storage/FileSystemCallbacks.cpp.
  • fileapi/FileSystemCallbacks.h: Renamed from WebCore/storage/FileSystemCallbacks.h.
  • fileapi/Flags.h: Renamed from WebCore/storage/Flags.h.
  • fileapi/Flags.idl: Renamed from WebCore/storage/Flags.idl.
  • fileapi/LocalFileSystem.cpp: Renamed from WebCore/storage/LocalFileSystem.cpp.
  • fileapi/LocalFileSystem.h: Renamed from WebCore/storage/LocalFileSystem.h.
  • fileapi/Metadata.h: Renamed from WebCore/storage/Metadata.h.
  • fileapi/Metadata.idl: Renamed from WebCore/storage/Metadata.idl.
  • fileapi/MetadataCallback.h: Renamed from WebCore/storage/MetadataCallback.h.
  • fileapi/MetadataCallback.idl: Renamed from WebCore/storage/MetadataCallback.idl.
12:43 AM Changeset in webkit [66585] by justin.garcia@apple.com
  • 5 edits in trunk/LayoutTests

Unreviewed, updating expected results for recent check-in.

  • editing/execCommand/5770834-1-expected.txt:
  • fast/css/getComputedStyle/computed-style-expected.txt:
  • fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
  • svg/css/getComputedStyle-basic-expected.txt:
12:15 AM Changeset in webkit [66584] by Nikolas Zimmermann
  • 13 edits in trunk/WebCore

2010-08-31 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Dirk Schulze.

Prepare RenderSVGContainer culling patch
https://bugs.webkit.org/show_bug.cgi?id=44955

Add styleWillChange methods for all SVG renderers, that call setNeedsBoundariesUpdate().
It's currently a no-op, but will be used once the containers cache their boundaries, which
happens in a follow-up patch.

  • rendering/RenderSVGBlock.cpp: (WebCore::RenderSVGBlock::styleWillChange): Call setNeedsBoundariesUpdate().
  • rendering/RenderSVGBlock.h:
  • rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::styleWillChange): Ditto.
  • rendering/RenderSVGImage.h:
  • rendering/RenderSVGInline.cpp: (WebCore::RenderSVGInline::styleWillChange): Ditto.
  • rendering/RenderSVGInline.h:
  • rendering/RenderSVGModelObject.cpp: (WebCore::RenderSVGModelObject::styleWillChange): Ditto.
  • rendering/RenderSVGModelObject.h:
  • rendering/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::styleWillChange): Ditto.
  • rendering/RenderSVGRoot.h:
  • rendering/SVGRenderSupport.cpp: (WebCore::SVGRenderSupport::computeContainerBoundingBox): Skip hidden containers, not necessary to traverse them.
  • rendering/style/SVGRenderStyle.cpp: (WebCore::SVGRenderStyle::diff): svg-shadow changes need to cause relayouts, not only repaints, once container bounds are cached.

Aug 31, 2010:

11:44 PM Changeset in webkit [66583] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-31 Kent Tamura <tkent@chromium.org>

Unreviewed, test expectation update.

  • platform/chromium/drt_expectations.txt: Remove a duplicated expectation.
11:16 PM Changeset in webkit [66582] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-31 Kent Tamura <tkent@chromium.org>

Unreviewed, test expectation update.

  • platform/chromium/drt_expectations.txt: Add recent failures.
11:14 PM Changeset in webkit [66581] by justin.garcia@apple.com
  • 3 edits
    2 adds in trunk

WebCore: https://bugs.webkit.org/show_bug.cgi?id=44915
Need to handle CSSValueAuto in CSSPrimitiveValue::operator ETextAlign()

Reviewed by Dan Bernstein.

  • css/CSSPrimitiveValueMappings.h:

(WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Map TAAUTO to -webkit-auto. "auto" is
not a valid text-align value. We use TAAUTO internally for the nameless value that acts
as left if direction:ltr and right for direction:rtl.

LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=44915
Need to handle CSSValueAuto in CSSPrimitiveValue::operator ETextAlign()

Reviewed by Dan Bernstein.

  • fast/css/text-align-webkit-auto-expected.txt: Added.
  • fast/css/text-align-webkit-auto.html: Added.
11:11 PM Changeset in webkit [66580] by hyatt@apple.com
  • 1 edit in trunk/WebKit/win/WebFrame.cpp

Fix Win build bustage.

11:08 PM Changeset in webkit [66579] by hyatt@apple.com
  • 1 edit in trunk/WebCore/page/Frame.cpp

Fix Qt build bustage. Why are these tiled backing store functions defined on Frame and not FrameView anyway? Fail.

11:04 PM Changeset in webkit [66578] by commit-queue@webkit.org
  • 3 edits
    1 add in trunk/WebCore

2010-08-31 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Reviewed by Martin Robinson.

[EFL] Add PlatformVideoWindowEfl.cpp for WebKit EFL
https://bugs.webkit.org/show_bug.cgi?id=44508

Add PlatformVideoWindowEfl.cpp in order to use gstreamer by
WebKit EFL.

  • platform/graphics/gstreamer/PlatformVideoWindow.h: (WebCore::PlatformVideoWindow::window): (WebCore::PlatformVideoWindow::videoWindowId):
  • platform/graphics/gstreamer/PlatformVideoWindowEfl.cpp: Added. (PlatformVideoWindow::PlatformVideoWindow): (PlatformVideoWindow::~PlatformVideoWindow):
  • platform/graphics/gstreamer/PlatformVideoWindowGtk.cpp: Include <gtk/gtk.h> directly.
10:59 PM Changeset in webkit [66577] by hyatt@apple.com
  • 33 edits in trunk

WebCore: https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
the former can occur in more places without having to do the latter.

Reviewed by Sam Weinig.

  • WebCore.exp.in:
  • page/FocusController.cpp:

(WebCore::FocusController::setActive):

  • page/Frame.cpp:

(WebCore::Frame::Frame):

  • page/Frame.h:
  • page/FrameView.cpp:

(WebCore::FrameView::enterCompositingMode):
(WebCore::FrameView::layout):
(WebCore::FrameView::needsLayout):
(WebCore::FrameView::updateLayoutAndStyleIfNeededRecursive):

  • page/FrameView.h:
  • page/Page.cpp:

(WebCore::Page::scheduleForcedStyleRecalcForAllPages):

  • page/Page.h:
  • page/Settings.cpp:

(WebCore::setNeedsRecalcStyleInAllFrames):
(WebCore::setLoadsImagesAutomaticallyInAllFrames):
(WebCore::Settings::setStandardFontFamily):
(WebCore::Settings::setFixedFontFamily):
(WebCore::Settings::setSerifFontFamily):
(WebCore::Settings::setSansSerifFontFamily):
(WebCore::Settings::setCursiveFontFamily):
(WebCore::Settings::setFantasyFontFamily):
(WebCore::Settings::setMinimumFontSize):
(WebCore::Settings::setMinimumLogicalFontSize):
(WebCore::Settings::setDefaultFontSize):
(WebCore::Settings::setDefaultFixedFontSize):
(WebCore::Settings::setLoadsImagesAutomatically):
(WebCore::Settings::setTextAreasAreResizable):
(WebCore::Settings::setAuthorAndUserStylesEnabled):
(WebCore::Settings::setFontRenderingMode):
(WebCore::Settings::setZoomMode):
(WebCore::Settings::setAcceleratedCompositingEnabled):
(WebCore::Settings::setShowDebugBorders):
(WebCore::Settings::setShowRepaintCounter):

  • rendering/RenderTheme.cpp:

(WebCore::RenderTheme::platformColorsDidChange):

WebKit/chromium: https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
the former can occur in more places without having to do the latter.

Reviewed by Sam Weinig.

  • src/WebFrameImpl.cpp:

(WebKit::WebFrameImpl::layout):

WebKit/efl: https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
the former can occur in more places without having to do the latter.

Reviewed by Sam Weinig.

  • ewk/ewk_view.cpp:

(ewk_view_layout_if_needed_recursive):

WebKit/gtk: https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
the former can occur in more places without having to do the latter.

Reviewed by Sam Weinig.

  • webkit/webkitwebview.cpp:

(webkit_web_view_expose_event):

WebKit/mac: https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
the former can occur in more places without having to do the latter.

Reviewed by Sam Weinig.

Eliminate Mac-specific code for style re-application and recursive layout/style updating in
favor of the cross-platform code that all the other ports use.

  • Carbon/HIWebView.mm:

(Draw):

  • WebCoreSupport/WebFrameLoaderClient.mm:

(WebFrameLoaderClient::forceLayout):

  • WebView/WebHTMLView.mm:

(-[WebHTMLView _propagateDirtyRectsToOpaqueAncestors]):
(-[WebHTMLView viewWillDraw]):
(-[WebHTMLView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]):
(-[WebHTMLView _recursiveDisplayAllDirtyWithLockFocus:visRect:]):
(-[WebHTMLView _recursive:displayRectIgnoringOpacity:inContext:topView:]):
(-[WebHTMLView reapplyStyles]):
(-[WebHTMLView layoutToMinimumPageWidth:height:maximumPageWidth:adjustingViewSize:]):
(-[WebHTMLView setNeedsToApplyStyles:]):
(-[WebHTMLView _setPrinting:minimumPageWidth:height:maximumPageWidth:adjustViewSize:paginateScreenContent:]):
(-[WebHTMLView _layoutIfNeeded]):
(-[WebHTMLView _web_updateLayoutAndStyleIfNeededRecursive]):

  • WebView/WebHTMLViewInternal.h:
  • WebView/WebView.mm:

(-[WebView _viewWillDrawInternal]):

WebKit/qt: https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
the former can occur in more places without having to do the latter.

Reviewed by Sam Weinig.

  • Api/qwebelement.cpp:

(QWebElement::render):

  • Api/qwebframe.cpp:

(QWebFramePrivate::renderRelativeCoords):

WebKit/win: https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
the former can occur in more places without having to do the latter.

Reviewed by Sam Weinig.

  • WebFrame.cpp:

(WebFrame::paintDocumentRectToContext):

  • WebView.cpp:

(WebView::updateBackingStore):

WebKit/wx: https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
the former can occur in more places without having to do the latter.

Reviewed by Sam Weinig.

  • WebView.cpp:

(wxWebView::OnPaint):

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

Reviewed by Sam Weinig.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::layoutIfNeeded):

10:46 PM Changeset in webkit [66576] by tkent@chromium.org
  • 2 edits in trunk/WebKit/chromium

2010-08-31 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

[Chromium] Add WebKitClient::callOnMainThreadWithDelay()
https://bugs.webkit.org/show_bug.cgi?id=45016

It is required to remove base/task.h and base/timer.h dependency
from DRT/Chromium.

  • public/WebKitClient.h: (WebKit::WebKitClient::callOnMainThreadWithDelay): Added.
10:21 PM Changeset in webkit [66575] by hyatt@apple.com
  • 4 adds in trunk/LayoutTests

Add test case I forgot to add from previous multicol checkin.

9:49 PM Changeset in webkit [66574] by jeremy@chromium.org
  • 4 edits
    2 adds
    1 delete in trunk/WebCore

2010-08-31 Jeremy Moskovich <jeremy@chromium.org>

Reviewed by Dimitri Glazkov.

Unfork Chromium's FontPlatformDataChromiumMac.mm.

Modified FontPlatformDataCocoa to provide hooks needed by Chromium.
Moved Chromium's mechanics for OOP font loading to CrossProcessFontLoading.mm.
Added ::create() function to MemoryActivatedFont to match new guidelines for
RefCounted<> classes.

Not possible to test due to sandbox interaction.

  • WebCore.gypi: Update files for chromium build.
  • platform/graphics/chromium/CrossProcessFontLoading.h: Added. (WebCore::MemoryActivatedFont::cgFont): (WebCore::MemoryActivatedFont::atsFontRef):
  • platform/graphics/chromium/CrossProcessFontLoading.mm: Added. (WebCore::MemoryActivatedFont::create): (WebCore::MemoryActivatedFont::MemoryActivatedFont): (WebCore::MemoryActivatedFont::~MemoryActivatedFont): (WebCore::FontPlatformData::loadFont):
  • platform/graphics/chromium/FontPlatformDataChromiumMac.mm: Removed.
  • platform/graphics/cocoa/FontPlatformData.h:
  • platform/graphics/cocoa/FontPlatformDataCocoa.mm: (WebCore::FontPlatformData::loadFont): (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::operator=): (WebCore::FontPlatformData::setFont):
9:27 PM Changeset in webkit [66573] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-31 Martin Robinson <mrobinson@igalia.com>

Reviewed by Adam Barth.

[GTK] warning: unused variable "queryResult"
https://bugs.webkit.org/show_bug.cgi?id=44998

No new tests as functionality has not changed.

  • platform/graphics/gstreamer/GStreamerGWorld.cpp: (WebCore::GStreamerGWorld::enterFullscreen): Move queryResult within the gstreamer version guards, where it is used.
8:32 PM Changeset in webkit [66572] by hyatt@apple.com
  • 2 edits in trunk/WebCore

Refinement to previous checkin for pagination of block-level replaced elements. Don't bother to
paginate floating block-level replaced elements for now.

Reviewed by Adam Roben.

Added fast/multicol/float-pagination-failure.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::paintChildren):

8:30 PM Changeset in webkit [66571] by commit-queue@webkit.org
  • 2 edits in trunk/WebKitTools

2010-08-31 Ademar de Souza Reis Jr <Ademar Reis>

Reviewed by Adam Barth.

Allow Ctrl+C inside Bugzilla::fetch_bug_dictionary
https://bugs.webkit.org/show_bug.cgi?id=44789

  • Scripts/webkitpy/common/net/bugzilla.py:
8:27 PM Changeset in webkit [66570] by kinuko@chromium.org
  • 12 edits in trunk

2010-08-31 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by Jian Li.

Add LocalFileSystem.requestFileSystem interface to DOMWindow
https://bugs.webkit.org/show_bug.cgi?id=44734

  • public/WebRuntimeFeatures.h:
  • src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableFileSystem): (WebKit::WebRuntimeFeatures::isFileSystemEnabled):

2010-08-31 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by Jian Li.

Add LocalFileSystem.requestFileSystem interface to DOMWindow
https://bugs.webkit.org/show_bug.cgi?id=44734

No new tests; tests will be added later.

  • bindings/generic/RuntimeEnabledFeatures.cpp:
  • bindings/generic/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::fileSystemEnabled): (WebCore::RuntimeEnabledFeatures::setFileSystemEnabled): (WebCore::RuntimeEnabledFeatures::requestFileSystemEnabled):
  • page/DOMWindow.cpp: (WebCore::DOMWindow::requestFileSystem):
  • page/DOMWindow.h: (WebCore::DOMWindow::):
  • page/DOMWindow.idl:
  • page/Settings.cpp: (WebCore::Settings::setFileSystemRootPath):
  • page/Settings.h: (WebCore::Settings::fileSystemRootPath):
8:12 PM Changeset in webkit [66569] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-31 Kwang Yul Seo <skyul@company100.net>

Reviewed by Adam Barth.

[BREWMP] Add PLATFORM(BREWMP) guard to PluginViewNone
https://bugs.webkit.org/show_bug.cgi?id=44768

Build fix. Add PLATFORM(BREWMP) guard to add dummy PluginView::privateBrowsingStateChanged
and PluginView::setJavaScriptPaused.

  • plugins/PluginViewNone.cpp:
7:47 PM Changeset in webkit [66568] by ap@apple.com
  • 5 edits
    2 adds in trunk

2010-08-31 Alexey Proskuryakov <ap@apple.com>

Reviewed by Adam Barth.

https://bugs.webkit.org/show_bug.cgi?id=40947
<rdar://problem/8124723> REGRESSION (r57544): XMLHttpRequest POSTed multipart/form-data
wrongfully gets a charset appended

  • http/tests/xmlhttprequest/access-control-basic-whitelist-request-headers-expected.txt:
  • http/tests/xmlhttprequest/request-encoding2.html: Updated tests that has wrong expectations.
  • http/tests/xmlhttprequest/post-with-boundary-expected.txt: Added.
  • http/tests/xmlhttprequest/post-with-boundary.html: Added. Added a new test, sending a valid multipart form with boundary.

2010-08-31 Alexey Proskuryakov <ap@apple.com>

Reviewed by Adam Barth.

https://bugs.webkit.org/show_bug.cgi?id=40947
<rdar://problem/8124723> REGRESSION (r57544): XMLHttpRequest POSTed multipart/form-data
wrongfully gets a charset appended

Test: http/tests/xmlhttprequest/post-with-boundary.html

  • xml/XMLHttpRequest.cpp: (WebCore::replaceCharsetInMediaType): Changed to only set charset if it was already present, and never append. (WebCore::XMLHttpRequest::send): Updated for replaceCharsetInMediaType renaming.
7:11 PM Changeset in webkit [66567] by commit-queue@webkit.org
  • 3 edits
    1 move
    5 adds in trunk/WebCore

2010-08-31 Daniel Cheng <dcheng@chromium.org>

Reviewed by Tony Chang.

[chromium] Implement Readable/Writable versions of ChromiumDataObjectNew
https://bugs.webkit.org/show_bug.cgi?id=44917

This is the second of several patches to update Chromium to support
arbitrary data types in event.dataTransfer.
ReadableDataObject simply calls through to several Chromium IPCs to
retrieve the appropriate data.
WritableDataObject ostensibly buffers arbitrary data internally until
a call is made to flush the data to the platform-specific abstraction;
unfortunately, a special exception is currently made for pasteboard
handling due to how it is handled in WebCore.

No new tests.

  • WebCore.gypi:
  • platform/chromium/ChromiumDataObjectNew.h: Removed.
  • platform/chromium/ClipboardChromium.cpp:
  • platform/chromium/ClipboardMimeTypes.cpp: Added.
  • platform/chromium/ClipboardMimeTypes.h: Added.
  • platform/chromium/ReadableDataObject.cpp: Added. (WebCore::clipboardBuffer): (WebCore::ReadableDataObject::create): (WebCore::ReadableDataObject::ReadableDataObject): (WebCore::ReadableDataObject::hasData): (WebCore::ReadableDataObject::types): (WebCore::ReadableDataObject::getData): (WebCore::ReadableDataObject::getURL): (WebCore::ReadableDataObject::getHTML): (WebCore::ReadableDataObject::hasFilenames): (WebCore::ReadableDataObject::filenames): (WebCore::ReadableDataObject::ensureTypeCacheInitialized):
  • platform/chromium/ReadableDataObject.h: Added.
  • platform/chromium/WritableDataObject.cpp: Added. (WebCore::WritableDataObject::create): (WebCore::WritableDataObject::WritableDataObject): (WebCore::WritableDataObject::clearData): (WebCore::WritableDataObject::clearAllExceptFiles): (WebCore::WritableDataObject::clearAll): (WebCore::WritableDataObject::setData): (WebCore::WritableDataObject::setURL): (WebCore::WritableDataObject::setHTML): (WebCore::WritableDataObject::dataMap): (WebCore::WritableDataObject::urlTitle): (WebCore::WritableDataObject::htmlBaseURL): (WebCore::WritableDataObject::fileExtension): (WebCore::WritableDataObject::fileContentFilename): (WebCore::WritableDataObject::fileContent): (WebCore::WritableDataObject::setFileExtension): (WebCore::WritableDataObject::setFileContentFilename): (WebCore::WritableDataObject::setFileContent):
  • platform/chromium/WritableDataObject.h: Added.
7:00 PM Changeset in webkit [66566] by Darin Adler
  • 2 edits in trunk/LayoutTests

Fix gtk bot.

  • platform/gtk/Skipped: Skip the webarchive/loading/missing-data.html for the same reason

the nearly identical webarchive/loading/mainresource-null-mimetype-crash.html is skipped.

6:55 PM Changeset in webkit [66565] by benjamin.poulain@nokia.com
  • 2 edits in trunk/WebKit/qt

2010-08-31 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] tst_QWebPage::originatingObjectInNetworkRequests() fails on trunk
https://bugs.webkit.org/show_bug.cgi?id=45001

Fix the test, we should not use data encoded URL since we are not
setting an URL but setting the substituteData directly.

  • tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::originatingObjectInNetworkRequests):
6:16 PM Changeset in webkit [66564] by commit-queue@webkit.org
  • 5 edits in trunk/WebKitTools

2010-08-31 Leandro Pereira <leandro@profusion.mobi>

Reviewed by Adam Barth.

ews: Add support for EFL-EWS
https://bugs.webkit.org/show_bug.cgi?id=44982

  • QueueStatusServer/model/queues.py: Add "efl-ews" to queues list.
  • Scripts/webkitpy/common/config/ports.py: Define a EflPort class and add it to the ports dict.
  • Scripts/webkitpy/tool/commands/earlywarningsystem.py: Define a EflEWS class.
  • Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py: Add a test case for the EFL EWS.
6:07 PM Changeset in webkit [66563] by tony@chromium.org
  • 8 edits in trunk/LayoutTests

2010-08-31 Tony Chang <tony@chromium.org>

Unreviewed, update pngs where the checksum is correct, but the png doesn't match.

  • platform/chromium-linux/fast/dom/attr_dead_doc-expected.png:
  • platform/chromium-linux/fast/frames/content-opacity-1-expected.png:
  • platform/chromium-linux/fast/frames/content-opacity-2-expected.png:
  • platform/chromium-linux/fast/frames/iframe-text-contents-expected.png:
  • platform/chromium-linux/tables/mozilla/bugs/bug137388-1-expected.png:
  • platform/chromium-linux/tables/mozilla/bugs/bug137388-3-expected.png:
  • platform/chromium-linux/tables/mozilla/bugs/bug50695-2-expected.png:
6:02 PM Changeset in webkit [66562] by Darin Adler
  • 3 edits
    2 copies
    1 add in trunk

Null-deref when decoding web archive with no data key in LegacyWebArchive::createResource
https://bugs.webkit.org/show_bug.cgi?id=45000

Reviewed by Sam Weinig.

WebCore:

Test: webarchive/loading/missing-data.html

  • loader/archive/cf/LegacyWebArchive.cpp:

(WebCore::LegacyWebArchive::createResource): Use wrapCFData instead of CFDataGetBytePtr/GetLength,
which is both more efficient, and can handle null. Also fixed incorrect use of ParsedURLString,
since the string is coming from a file and so there are no guarantees about its format.

LayoutTests:

  • webarchive/loading/missing-data-expected.txt: Added.
  • webarchive/loading/missing-data.html: Added.
  • webarchive/loading/resources/missing-data.webarchive: Added.
5:56 PM Changeset in webkit [66561] by tony@chromium.org
  • 1 edit
    303 adds in trunk/LayoutTests

2010-08-31 Tony Chang <tony@chromium.org>

Unreviewed. Add pngs for chromium linux results that have checksums.

  • platform/chromium-linux/css2.1/t0505-c16-descendant-01-e-expected.png: Added.
  • platform/chromium-linux/css2.1/t0509-c15-ids-01-e-expected.png: Added.
  • platform/chromium-linux/css2.1/t1205-c563-list-type-00-b-expected.png: Added.
  • platform/chromium-linux/css2.1/t1205-c564-list-img-00-b-g-expected.png: Added.
  • platform/chromium-linux/editing/deleting/4845371-expected.png: Added.
  • platform/chromium-linux/editing/deleting/4922367-expected.png: Added.
  • platform/chromium-linux/editing/deleting/5156801-2-expected.png: Added.
  • platform/chromium-linux/editing/deleting/5300379-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-3608430-fix-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-3608445-fix-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-3608462-fix-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-4083333-fix-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-contents-003-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-001-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-002-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-003-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-004-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-005-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-006-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-007-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-008-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-009-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-010-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-011-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-012-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-013-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-014-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-015-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-016-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-merge-contents-017-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-block-table-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-br-001-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-br-002-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-br-003-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-br-004-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-br-005-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-br-006-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-br-007-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-character-001-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-contiguous-ws-001-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-hr-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-image-001-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-image-002-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-image-003-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-leading-ws-001-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-listitem-001-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-listitem-002-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-selection-001-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-tab-001-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-tab-002-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-tab-003-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-tab-004-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-trailing-ws-001-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-trailing-ws-002-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-ws-fixup-003-expected.png: Added.
  • platform/chromium-linux/editing/deleting/delete-ws-fixup-004-expected.png: Added.
  • platform/chromium-linux/editing/deleting/list-item-1-expected.png: Added.
  • platform/chromium-linux/editing/deleting/merge-different-styles-expected.png: Added.
  • platform/chromium-linux/editing/deleting/merge-into-empty-block-2-expected.png: Added.
  • platform/chromium-linux/editing/deleting/merge-unrendered-space-expected.png: Added.
  • platform/chromium-linux/editing/deleting/merge-whitespace-pre-expected.png: Added.
  • platform/chromium-linux/editing/deleting/paragraph-in-preserveNewline-expected.png: Added.
  • platform/chromium-linux/editing/deleting/pruning-after-merge-2-expected.png: Added.
  • platform/chromium-linux/editing/deleting/smart-delete-003-expected.png: Added.
  • platform/chromium-linux/editing/deleting/table-cells-expected.png: Added.
  • platform/chromium-linux/editing/deleting/whitespace-pre-1-expected.png: Added.
  • platform/chromium-linux/editing/execCommand/4916402-expected.png: Added.
  • platform/chromium-linux/editing/execCommand/5569741-expected.png: Added.
  • platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.png: Added.
  • platform/chromium-linux/editing/execCommand/format-block-with-trailing-br-expected.png: Added.
  • platform/chromium-linux/editing/execCommand/indent-empty-root-expected.png: Added.
  • platform/chromium-linux/editing/execCommand/indent-list-item-expected.png: Added.
  • platform/chromium-linux/editing/execCommand/insert-list-and-stitch-expected.png: Added.
  • platform/chromium-linux/editing/execCommand/nsresponder-indent-expected.png: Added.
  • platform/chromium-linux/editing/execCommand/nsresponder-outdent-expected.png: Added.
  • platform/chromium-linux/editing/execCommand/remove-list-item-1-expected.png: Added.
  • platform/chromium-linux/editing/inserting/4875189-1-expected.png: Added.
  • platform/chromium-linux/editing/inserting/4959067-expected.png: Added.
  • platform/chromium-linux/editing/inserting/4960120-2-expected.png: Added.
  • platform/chromium-linux/editing/inserting/5002441-expected.png: Added.
  • platform/chromium-linux/editing/inserting/5156401-2-expected.png: Added.
  • platform/chromium-linux/editing/inserting/5549929-3-expected.png: Added.
  • platform/chromium-linux/editing/inserting/break-blockquote-after-delete-expected.png: Added.
  • platform/chromium-linux/editing/inserting/editable-inline-element-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-3659587-fix-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-3775316-fix-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-3778059-fix-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-3800346-fix-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-after-delete-001-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-br-001-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-br-002-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-br-003-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-br-004-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-br-005-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-br-006-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-br-007-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-br-008-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-br-at-tabspan-001-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-br-at-tabspan-002-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-br-at-tabspan-003-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-space-in-empty-doc-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-tab-001-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-tab-002-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-tab-003-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-tab-004-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-text-at-tabspan-001-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-text-at-tabspan-002-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-text-at-tabspan-003-expected.png: Added.
  • platform/chromium-linux/editing/inserting/insert-text-with-newlines-expected.png: Added.
  • platform/chromium-linux/editing/inserting/line-break-expected.png: Added.
  • platform/chromium-linux/editing/inserting/paragraph-separator-01-expected.png: Added.
  • platform/chromium-linux/editing/inserting/paragraph-separator-02-expected.png: Added.
  • platform/chromium-linux/editing/inserting/paragraph-separator-in-table-1-expected.png: Added.
  • platform/chromium-linux/editing/inserting/paragraph-separator-in-table-2-expected.png: Added.
  • platform/chromium-linux/editing/inserting/redo-expected.png: Added.
  • platform/chromium-linux/editing/inserting/typing-001-expected.png: Added.
  • platform/chromium-linux/editing/inserting/typing-002-expected.png: Added.
  • platform/chromium-linux/editing/inserting/typing-around-br-001-expected.png: Added.
  • platform/chromium-linux/editing/inserting/typing-around-image-001-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/4076267-2-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/4076267-3-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/4076267-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/4700297-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/5006779-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/5065605-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/5071074-2-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/5075944-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/5134759-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/5156401-1-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/5483567-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/5601583-1-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/8145-1-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/cut-text-001-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/displaced-placeholder-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/merge-after-delete-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/merge-end-3-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/merge-end-4-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/merge-start-list-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-blockquote-1-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-blockquote-2-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-blockquote-after-blockquote-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-blockquote-into-blockquote-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-table-001-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-text-001-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-text-at-tabspan-001-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-text-at-tabspan-002-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-text-at-tabspan-003-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-unrendered-select-expected.png: Added.
  • platform/chromium-linux/editing/pasteboard/paste-xml-expected.png: Added.
  • platform/chromium-linux/editing/selection/4866671-expected.png: Added.
  • platform/chromium-linux/editing/selection/4932260-1-expected.png: Added.
  • platform/chromium-linux/editing/selection/4932260-2-expected.png: Added.
  • platform/chromium-linux/editing/selection/4932260-3-expected.png: Added.
  • platform/chromium-linux/editing/selection/5076323-2-expected.png: Added.
  • platform/chromium-linux/editing/selection/5076323-3-expected.png: Added.
  • platform/chromium-linux/editing/selection/contenteditable-click-inside-expected.png: Added.
  • platform/chromium-linux/editing/selection/drag-text-delay-expected.png: Added.
  • platform/chromium-linux/editing/selection/editable-non-editable-crash-expected.png: Added.
  • platform/chromium-linux/editing/selection/extend-by-character-006-expected.png: Added.
  • platform/chromium-linux/editing/selection/extend-by-word-001-expected.png: Added.
  • platform/chromium-linux/editing/selection/fake-doubleclick-expected.png: Added.
  • platform/chromium-linux/editing/selection/fake-drag-expected.png: Added.
  • platform/chromium-linux/editing/selection/move-backwords-by-word-001-expected.png: Added.
  • platform/chromium-linux/editing/selection/move-between-blocks-no-001-expected.png: Added.
  • platform/chromium-linux/editing/selection/move-by-character-001-expected.png: Added.
  • platform/chromium-linux/editing/selection/move-by-character-002-expected.png: Added.
  • platform/chromium-linux/editing/selection/move-by-character-004-expected.png: Added.
  • platform/chromium-linux/editing/selection/move-by-character-6-expected.png: Added.
  • platform/chromium-linux/editing/selection/move-by-line-002-expected.png: Added.
  • platform/chromium-linux/editing/selection/move-by-sentence-001-expected.png: Added.
  • platform/chromium-linux/editing/selection/move-by-word-001-expected.png: Added.
  • platform/chromium-linux/editing/selection/move-past-trailing-space-expected.png: Added.
  • platform/chromium-linux/editing/selection/selection-3748164-fix-expected.png: Added.
  • platform/chromium-linux/editing/selection/table-caret-1-expected.png: Added.
  • platform/chromium-linux/editing/selection/table-caret-2-expected.png: Added.
  • platform/chromium-linux/editing/selection/table-caret-3-expected.png: Added.
  • platform/chromium-linux/editing/selection/wrapped-line-caret-1-expected.png: Added.
  • platform/chromium-linux/editing/selection/wrapped-line-caret-2-expected.png: Added.
  • platform/chromium-linux/editing/spelling/spelling-expected.png: Added.
  • platform/chromium-linux/editing/style/5065910-expected.png: Added.
  • platform/chromium-linux/editing/style/fontsize-1-expected.png: Added.
  • platform/chromium-linux/editing/style/highlight-expected.png: Added.
  • platform/chromium-linux/editing/style/style-3681552-fix-001-expected.png: Added.
  • platform/chromium-linux/editing/style/style-3681552-fix-002-expected.png: Added.
  • platform/chromium-linux/editing/style/typing-style-001-expected.png: Added.
  • platform/chromium-linux/editing/style/typing-style-002-expected.png: Added.
  • platform/chromium-linux/editing/undo/4063751-expected.png: Added.
  • platform/chromium-linux/editing/undo/redo-typing-001-expected.png: Added.
  • platform/chromium-linux/editing/undo/undo-typing-001-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/absolute-in-inline-short-ltr-expected.png: Added.
  • platform/chromium-linux/fast/block/positioning/absolute-in-inline-short-rtl-expected.png: Added.
  • platform/chromium-linux/fast/css/outline-auto-empty-rects-expected.png: Added.
  • platform/chromium-linux/fast/css/outline-auto-location-expected.png: Added.
  • platform/chromium-linux/fast/events/label-focus-expected.png: Added.
  • platform/chromium-linux/fast/forms/textfield-outline-expected.png: Added.
  • platform/chromium-linux/fast/forms/textfield-overflow-expected.png: Added.
  • platform/chromium-linux/fast/lists/004-expected.png: Added.
  • platform/chromium-linux/fast/repaint/4776765-expected.png: Added.
  • platform/chromium-linux/fast/repaint/backgroundSizeRepaint-expected.png: Added.
  • platform/chromium-linux/fast/repaint/caret-outside-block-expected.png: Added.
  • platform/chromium-linux/fast/repaint/delete-into-nested-block-expected.png: Added.
  • platform/chromium-linux/fast/repaint/float-overflow-expected.png: Added.
  • platform/chromium-linux/fast/repaint/float-overflow-right-expected.png: Added.
  • platform/chromium-linux/fast/repaint/focus-layers-expected.png: Added.
  • platform/chromium-linux/fast/repaint/layout-state-scrolloffset-expected.png: Added.
  • platform/chromium-linux/fast/repaint/layout-state-scrolloffset2-expected.png: Added.
  • platform/chromium-linux/fast/repaint/layout-state-scrolloffset3-expected.png: Added.
  • platform/chromium-linux/fast/repaint/list-marker-2-expected.png: Added.
  • platform/chromium-linux/fast/repaint/stacked-diacritics-expected.png: Added.
  • platform/chromium-linux/fast/table/empty-table-percent-height-expected.png: Added.
  • platform/chromium-linux/fast/text/justified-selection-expected.png: Added.
  • platform/chromium-linux/media/audio-controls-rendering-expected.png: Added.
  • platform/chromium-linux/media/controls-after-reload-expected.png: Added.
  • platform/chromium-linux/media/controls-strict-expected.png: Added.
  • platform/chromium-linux/media/video-display-toggle-expected.png: Added.
  • platform/chromium-linux/media/video-empty-source-expected.png: Added.
  • platform/chromium-linux/media/video-no-audio-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-85-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/color-prop-03-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/coords-coord-01-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/coords-coord-02-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/painting-fill-05-b-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/painting-stroke-07-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-13-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-15-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-15-b-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-18-b-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/shapes-circle-02-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/shapes-ellipse-02-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/shapes-line-01-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/struct-defs-01-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/struct-frag-04-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/struct-group-01-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/struct-group-02-b-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-04-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-05-b-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-09-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-10-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/styling-pres-01-t-expected.png: Added.
  • platform/chromium-linux/svg/custom/focus-ring-expected.png: Added.
  • platform/chromium-linux/svg/custom/foreignObject-crash-on-hover-expected.png: Added.
  • platform/chromium-linux/svg/custom/js-update-path-changes-expected.png: Added.
  • platform/chromium-linux/svg/custom/js-update-path-removal-expected.png: Added.
  • platform/chromium-linux/svg/custom/linking-a-03-b-preserveAspectRatio-expected.png: Added.
  • platform/chromium-linux/svg/custom/linking-a-03-b-viewTarget-expected.png: Added.
  • platform/chromium-linux/svg/custom/linking-a-03-b-zoomAndPan-expected.png: Added.
  • platform/chromium-linux/svg/custom/path-textPath-simulation-expected.png: Added.
  • platform/chromium-linux/svg/custom/relative-sized-inner-svg-expected.png: Added.
  • platform/chromium-linux/svg/custom/relative-sized-use-without-attributes-on-symbol-expected.png: Added.
  • platform/chromium-linux/svg/custom/use-clipped-hit-expected.png: Added.
  • platform/chromium-linux/svg/custom/use-elementInstance-event-target-expected.png: Added.
  • platform/chromium-linux/svg/custom/use-elementInstance-methods-expected.png: Added.
  • platform/chromium-linux/svg/custom/use-event-handler-on-referenced-element-expected.png: Added.
  • platform/chromium-linux/svg/custom/use-event-handler-on-use-element-expected.png: Added.
  • platform/chromium-linux/svg/custom/use-nested-transform-expected.png: Added.
  • platform/chromium-linux/svg/custom/use-on-symbol-inside-pattern-expected.png: Added.
  • platform/chromium-linux/svg/custom/width-full-percentage-expected.png: Added.
  • platform/chromium-linux/svg/filters/subRegion-one-effect-expected.png: Added.
  • platform/chromium-linux/svg/filters/subRegion-two-effects-expected.png: Added.
  • platform/chromium-linux/svg/hixie/error/003-expected.png: Added.
  • platform/chromium-linux/svg/hixie/perf/001-expected.png: Added.
  • platform/chromium-linux/svg/hixie/perf/002-expected.png: Added.
  • platform/chromium-linux/svg/hixie/shapes/path/001-expected.png: Added.
  • platform/chromium-linux/svg/text/textPathBoundsBug-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/bugs/bug2516-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/bugs/bug3191-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/bugs/bug4284-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/bugs/bug4527-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/core/col_widths_auto_autoFix-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/core/misc-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tbody_valign_baseline-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tbody_valign_bottom-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tbody_valign_middle-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tbody_valign_top-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/td_valign_baseline-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/td_valign_bottom-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/td_valign_middle-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/td_valign_top-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tfoot_valign_baseline-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tfoot_valign_bottom-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tfoot_valign_middle-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tfoot_valign_top-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/th_valign_baseline-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/th_valign_bottom-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/th_valign_middle-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/th_valign_top-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/thead_valign_baseline-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/thead_valign_bottom-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/thead_valign_middle-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/thead_valign_top-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tr_valign_baseline-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tr_valign_bottom-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tr_valign_middle-expected.png: Added.
  • platform/chromium-linux/tables/mozilla/marvin/tr_valign_top-expected.png: Added.
  • platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug6933-expected.png: Added.
5:38 PM Changeset in webkit [66560] by kbr@google.com
  • 5 edits in trunk/WebCore

2010-08-31 Kenneth Russell <kbr@google.com>

Reviewed by Chris Marrin.

Add length and related operations to FloatPoint and FloatSize
https://bugs.webkit.org/show_bug.cgi?id=44994

Added length and squared length operations to both FloatPoint and
FloatSize, and added set(x, y), dot and normalize operations to
FloatPoint. These changes have been tested with new code to be
added later.

  • platform/graphics/FloatPoint.cpp: (WebCore::FloatPoint::normalize): (WebCore::FloatPoint::length):
  • platform/graphics/FloatPoint.h: (WebCore::FloatPoint::set): (WebCore::FloatPoint::dot): (WebCore::FloatPoint::lengthSquared): (WebCore::operator*):
  • platform/graphics/FloatSize.cpp: (WebCore::FloatSize::diagonalLength):
  • platform/graphics/FloatSize.h: (WebCore::FloatSize::diagonalLengthSquared):
5:34 PM Changeset in webkit [66559] by zmo@google.com
  • 4 edits in trunk

2010-08-31 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

gl-teximage.html and tex-image-and-sub-image-2d-with-image.html failed on Chromium Mac bots (10.5)
https://bugs.webkit.org/show_bug.cgi?id=44993

  • platform/graphics/cg/GraphicsContext3DCG.cpp: (WebCore::GraphicsContext3D::getImageData): Take into consideration the source image pixel row alignment.

2010-08-31 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

gl-teximage.html and tex-image-and-sub-image-2d-with-image.html failed on Chromium Mac bots (10.5)
https://bugs.webkit.org/show_bug.cgi?id=44993

  • platform/chromium/test_expectations.txt: Enabling the failing tests with the fix.
5:20 PM Changeset in webkit [66558] by jhoneycutt@apple.com
  • 2 edits in trunk/WebKit2

Fix some copy/paste errors.

Reviewed by Steve Falkenburg.

  • WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:

(WebKit::InjectedBundlePageFormClient::textFieldDidEndEditing):
Null check the correct callback.
(WebKit::InjectedBundlePageFormClient::textDidChangeInTextField):
Ditto.
(WebKit::InjectedBundlePageFormClient::textDidChangeInTextArea):
Ditto.

5:18 PM Changeset in webkit [66557] by jhoneycutt@apple.com
  • 5 edits in trunk/WebKit2

Crash when closing a page with a form field when using WebKit2.

Reviewed by Anders Carlsson.

The crash came from accessing a BundlePageFormClient that had been
destroyed. The client was intended to be cleared by a call to
WKBundlePageSetFormClient, but a null check there caused it not to be
cleared.

I fixed this and all of the other WK "set client" functions.

  • UIProcess/API/C/WKContext.cpp:

(WKContextSetInjectedBundleClient):
Return early if the caller passed a client with a version not equal to
0.
(WKContextSetHistoryClient):
Ditto.

  • UIProcess/API/C/WKPage.cpp:

(WKPageSetPageLoaderClient):
Ditto.
(WKPageSetPagePolicyClient):
Ditto.
(WKPageSetPageFormClient):
Ditto.
(WKPageSetPageUIClient):
Ditto.

  • WebProcess/InjectedBundle/API/c/WKBundle.cpp:

(WKBundleSetClient):
Ditto.

  • WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:

(WKBundlePageSetEditorClient):
Ditto.
(WKBundlePageSetFormClient):
Ditto.
(WKBundlePageSetLoaderClient):
Ditto.
(WKBundlePageSetUIClient):
Ditto.

5:17 PM Changeset in webkit [66556] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-31 Patrick Gansterer <paroga@paroga.com>

Reviewed by Kenneth Rohde Christiansen.

[CMake] Unify GENERATE_DOM_NAMES code
https://bugs.webkit.org/show_bug.cgi?id=44842

  • CMakeLists.txt: Added property svn:eol-style.
4:49 PM Changeset in webkit [66555] by Beth Dakin
  • 3 edits in trunk/WebCore

Variable name change. m_shouldFirePostLayoutTimer is now
m_hasPendingPostLayoutTasks

Rubber-stamped by Dan Bernstein..

  • page/FrameView.cpp:

(WebCore::FrameView::FrameView):
(WebCore::FrameView::~FrameView):
(WebCore::FrameView::reset):
(WebCore::FrameView::layout):
(WebCore::FrameView::performPostLayoutTasks):

  • page/FrameView.h:
4:48 PM Changeset in webkit [66554] by ap@apple.com
  • 2 edits in trunk/WebKit2

Build fix.

  • Shared/WebPreferencesStore.h: Actually remove encode(), which has been moved to WebPreferencesStore.cpp.
4:31 PM Changeset in webkit [66553] by abarth@webkit.org
  • 3 edits in trunk/BugsSite

2010-08-31 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

[reviewtool] Make it easy to scroll through review comments
https://bugs.webkit.org/show_bug.cgi?id=45002

This patch lets you scroll through review comments using "n" (for next)
and "p" (for previous). It also attributes comments to their authors.

  • PrettyPatch/PrettyPatch.rb:
  • code-review.js:
4:21 PM Changeset in webkit [66552] by Beth Dakin
  • 4 edits
    2 adds in trunk

Fix for https://bugs.webkit.org/show_bug.cgi?id=44828 FrameView
should make more calls to postLayoutTasks() using the timer
-and corresponding-
<rdar://problem/8064938>

Reviewed by Dave Hyatt.

WebCore:

This change only allows synchronous calls to postLayoutTasks() if
we are not already in a synchronous call to postLayoutTasks().
Furthermore, it de-couples the notion of "the post layout timer
should fire" from m_postLayoutTasksTimer.isActive(), instead using
a boolean to track the need to use the timer.

  • page/FrameView.cpp:

(WebCore::FrameView::FrameView):
(WebCore::FrameView::~FrameView):
(WebCore::FrameView::reset):
(WebCore::FrameView::layout):
(WebCore::FrameView::unscheduleRelayout):
(WebCore::FrameView::performPostLayoutTasks):

  • page/FrameView.h:

LayoutTests:

  • fast/events/change-overflow-on-overflow-change-expected.txt: Added.
  • fast/events/change-overflow-on-overflow-change.html: Added.
4:13 PM Changeset in webkit [66551] by ap@apple.com
  • 20 edits in trunk

Reviewed by Sam Weinig.

https://bugs.webkit.org/show_bug.cgi?id=42195
<rdar://problem/8186761> WebKitTestRunner needs to support layoutTestController.setXSSAuditorEnabled

LayoutTests:

  • platform/mac-wk2/Skipped: Unskip XSS Auditor tests.

WebKitTools:

  • WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: (WTR::LayoutTestController::setXSSAuditorEnabled):
  • WebKitTestRunner/InjectedBundle/LayoutTestController.h: Added setXSSAuditorEnabled, calling through to an WKBundle private method. Calling this method makes WebProcess use a different value for this preference than UIProcess thinks it uses.
  • WebKitTestRunner/TestController.cpp: (WTR::TestController::resetStateToConsistentValues): Reset xssAuditorEnabled. Even though the value doesn't change, this calls through to WebProcess, which forgets its override.

WebKit2:

  • Shared/WebPreferencesStore.cpp: (WebKit::WebPreferencesStore::WebPreferencesStore): Initialize xssAuditorEnabled. (WebKit::WebPreferencesStore::decode): Moved from header, added xssAuditorEnabled. (WebKit::WebPreferencesStore::encode): Ditto. (WebKit::WebPreferencesStore::overrideXSSAuditorEnabledForTestRunner): Set an override, so that decoding a WebPreferencesStore in the process will give the override result. WebProcess doesn't hold to WebPreferencesStore, so there are no existing ones to patch. (WebKit::WebPreferencesStore::removeTestRunnerOverrides): Remove the override.
  • Shared/WebPreferencesStore.h: Added xssAuditorEnabled.
  • UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetXSSAuditorEnabled): (WKPreferencesGetXSSAuditorEnabled):
  • UIProcess/API/C/WKPreferences.h: Added an API method to change xssAuditorEnabled preference.
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::preferencesDidChange): Added a comment explaining how making this method smarter could affect WebKitTestRunner.
  • UIProcess/WebPreferences.cpp: (WebKit::WebPreferences::setXSSAuditorEnabled): (WebKit::WebPreferences::xssAuditorEnabled):
  • UIProcess/WebPreferences.h: Implemented xssAuditorEnabled preference accessors.
  • WebProcess/InjectedBundle/API/c/WKBundle.cpp: (WKBundleOverrideXSSAuditorEnabledForTestRunner):
  • WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: Added a private methods to temporarily change xssAuditor setting from an injected bundle, not notifying UIProcess about the change.
  • WebProcess/InjectedBundle/InjectedBundle.cpp: (WebKit::InjectedBundle::overrideXSSAuditorEnabledForTestRunner):
  • WebProcess/InjectedBundle/InjectedBundle.h: Change the setting in existing pages, and override it for future ones.
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::WebPage): Take xssAuditorEnabled from preferences store. (WebKit::WebPage::preferencesDidChange): If preferences change, forget our override. This only happens in WKRT when the next test begins.
4:12 PM Changeset in webkit [66550] by andersca@apple.com
  • 2 edits in trunk/WebCore

Fix 32-bit WebKit2 build.

Reviewed by Sam Weinig.

  • WebCore.exp.in:
3:53 PM Changeset in webkit [66549] by Nate Chapin
  • 2 edits in trunk/WebCore

2010-08-31 Nate Chapin <Nate Chapin>

Reviewed by Darin Fisher.

Regression in r63528: Custom http headers for loads of type
FrameLoadTypeReloadFromOrigin are not being correctly
propagated to subresource loads.

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

No tests, since DRT doesn't seem to have a way to trigger a
FrameLoadTypeReloadFromOrigin load.

  • loader/FrameLoader.cpp: (WebCore::FrameLoader::addExtraFieldsToRequest):
3:48 PM Changeset in webkit [66548] by weinig@apple.com
  • 11 edits in trunk

WebKitTestRunner needs layoutTestController.addUserStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=42680

Reviewed by Gavin Barraclough.

WebKitTestRunner needs layoutTestController.addUserScript
https://bugs.webkit.org/show_bug.cgi?id=42681

WebKit2:

Improve UserContent APIs to allow passing null in the same places
the WebKit1 API allowed. Add convenience function toWTFString to do
WKStringRef conversion with correct null string behavior.

  • UIProcess/API/C/WKAPICast.h:

(toWTFString):

  • WebProcess/InjectedBundle/API/c/WKBundle.cpp:

(WKBundleAddUserScript):
(WKBundleAddUserStyleSheet):
(WKBundleRemoveUserScript):
(WKBundleRemoveUserStyleSheet):

  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::toStringVector):

WebKitTools:

  • WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  • WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:

(WTR::InjectedBundle::beginTesting):

  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:

(WTR::LayoutTestController::addUserScript):
(WTR::LayoutTestController::addUserStyleSheet):

  • WebKitTestRunner/InjectedBundle/LayoutTestController.h:

LayoutTests:

  • platform/mac-wk2/Skipped: Update skipped list.
3:25 PM Changeset in webkit [66547] by dpranke@chromium.org
  • 9 edits
    4 deletes in trunk/WebKitTools

2010-08-31 Dirk Pranke <dpranke@chromium.org>

Unreviewed, rolling out r66542.
http://trac.webkit.org/changeset/66542
https://bugs.webkit.org/show_bug.cgi?id=44902

r66542 - the weird logging dependencies in Python stuck again ...

  • Scripts/webkitpy/layout_tests/data/failures/expected/exception.html: Removed.
  • Scripts/webkitpy/layout_tests/data/failures/expected/keyboard.html: Removed.
  • Scripts/webkitpy/layout_tests/data/passes/error-expected.txt: Removed.
  • Scripts/webkitpy/layout_tests/data/passes/error.html: Removed.
  • Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  • Scripts/webkitpy/layout_tests/layout_package/printing.py:
  • Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3:18 PM Changeset in webkit [66546] by dumi@chromium.org
  • 3 edits in trunk/WebKitTools

Implementing LayoutTestController::markerTextForListItem() in Chromium's DRT.

Reviewed by Tony Chang.

  • DumpRenderTree/chromium/LayoutTestController.cpp:

(LayoutTestController::LayoutTestController):
(LayoutTestController::markerTextForListItem):

  • DumpRenderTree/chromium/LayoutTestController.h:
3:13 PM Changeset in webkit [66545] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-31 Tony Chang <tony@chromium.org>

Unreviewed, updating test_expectations.txt.

  • platform/chromium/test_expectations.txt:
3:10 PM Changeset in webkit [66544] by weinig@apple.com
  • 13 edits in trunk

Add ability to count text matches without marking
https://bugs.webkit.org/show_bug.cgi?id=43996

Reviewed by Darin Adler.

WebCore:

Safari needs to be able to count text matches without triggering lots of repainting.
Rename markAllMatchesForText() to countMatchesForText() and add a markMatches parameter.

  • WebCore.exp.in:
  • page/Frame.cpp:

(WebCore::Frame::countMatchesForText):

  • page/Frame.h:
  • page/Page.cpp:

(WebCore::Page::markAllMatchesForText):

WebKit/efl:

  • ewk/ewk_frame.cpp:

(ewk_frame_text_matches_mark): Switched to call
countMatchesForText() instead of markAllMatchesForText().

WebKit/mac:

Safari needs to be able to count text matches without triggering lots of repainting.
Rename markAllMatchesForText: to countMatchesForText: and add a markMatches:
parameter. For backwards compatibility markAllMatchesForText: calls
countMatchesForText: and passes YES for markMatches:.

  • WebView/WebDocumentInternal.h:
  • WebView/WebHTMLView.mm:

(-[WebHTMLView markAllMatchesForText:caseSensitive:limit:]):
(-[WebHTMLView countMatchesForText:caseSensitive:limit:markMatches:]):

  • WebView/WebPDFView.mm:

(-[WebPDFView markAllMatchesForText:caseSensitive:limit:]):
(-[WebPDFView countMatchesForText:caseSensitive:limit:markMatches:]):

  • WebView/WebView.mm:

(-[WebView markAllMatchesForText:caseSensitive:highlight:limit:]):
(-[WebView countMatchesForText:caseSensitive:highlight:limit:markMatches:]):

  • WebView/WebViewPrivate.h:
3:09 PM Changeset in webkit [66543] by sfalken@apple.com
  • 2 edits in trunk/WebKit2

Remove library directive from def file to fix Debug_All build.
Rubber stamped by Sam Weinig.

  • win/WebKit2.def:
2:53 PM Changeset in webkit [66542] by dpranke@chromium.org
  • 9 edits
    4 adds in trunk/WebKitTools

2010-08-31 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

new-run-webkit-tests: add more unit tests

Add more unit tests for new-run-webkit-tests; we now cover all but
the most obscure code paths in the generic code. We still need to
add coverage for the http server and web socket paths, and add better
coverage of the platform-specific logic. Note that the rebaselining
tool is still not well tested.

Also clean up some of the configuration logic for the printing
module and the way it interacts with the Python logging module; that
is a crufty interface, to be certain.

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

  • Scripts/webkitpy/layout_tests/data/failures/expected/exception.html: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/keyboard.html: Added.
  • Scripts/webkitpy/layout_tests/data/passes/error-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/passes/error.html: Added.
  • Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  • Scripts/webkitpy/layout_tests/layout_package/printing.py:
  • Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2:51 PM Changeset in webkit [66541] by eric.carlson@apple.com
  • 5 edits in trunk

2010-08-31 Eric Carlson <eric.carlson@apple.com>

Reviewed by Darin Adler.

canPlayType("application/octet-stream") must return ""
https://bugs.webkit.org/show_bug.cgi?id=44985

  • platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::supportsType): Always return IsNotSupported for application/octet-stream

2010-08-31 Eric Carlson <eric.carlson@apple.com>

Reviewed by Darin Adler.

canPlayType("application/octet-stream") must return ""
https://bugs.webkit.org/show_bug.cgi?id=44985

  • media/media-can-play-octet-stream-expected.txt:
  • media/media-can-play-octet-stream.html:
2:47 PM Changeset in webkit [66540] by Martin Robinson
  • 5 edits in trunk/WebCore

2010-08-31 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] ScrollbarThemeGtk should respond to theme changes
https://bugs.webkit.org/show_bug.cgi?id=44782

Scrollbar is currently written with the assumption that scrollbars never change
thickness. In GTK+ changing the current theme can alter scrollbar thickness. This
change manually resizes interior frame scrollbar widgets when the GTK+ theme changes.
Since we are now tracking style changes, we may also cache theme properties to avoid
having to call moz_gtk_get_scrollbar_metrics repeatedly during rendering.

  • platform/gtk/RenderThemeGtk.cpp: (WebCore::RenderThemeGtk::gtkScrollbar): Added accessor for the Mozilla theming code's scrollbar widget. We access it here, because RenderThemGtk takes care of initializing the Mozilla code.
  • platform/gtk/RenderThemeGtk.h: Added accessor declaration.
  • platform/gtk/ScrollbarThemeGtk.cpp: (WebCore::ScrollbarThemeGtk::ScrollbarThemeGtk): Update the style property cache during construction. (WebCore::ScrollbarThemeGtk::registerScrollbar): Track all interior frame scrollbars. (WebCore::ScrollbarThemeGtk::unregisterScrollbar): Ditto. (WebCore::ScrollbarThemeGtk::updateThemeProperties): Added this method which updates the style cache. (WebCore::gtkStyleSetCallback): Added this signal handler for when the style changes. (WebCore::ScrollbarThemeGtk::backButtonRect): Use the style cache instead of calling moz_gtk_get_scrollbar_metrics. (WebCore::ScrollbarThemeGtk::forwardButtonRect): Ditto. (WebCore::ScrollbarThemeGtk::trackRect): Ditto. (WebCore::ScrollbarThemeGtk::paintTrackBackground): Ditto. (WebCore::ScrollbarThemeGtk::thumbRect): Ditto. (WebCore::ScrollbarThemeGtk::paint): Ditto. (WebCore::ScrollbarThemeGtk::scrollbarThickness): Ditto. (WebCore::ScrollbarThemeGtk::buttonSize): Ditto. (WebCore::ScrollbarThemeGtk::minimumThumbLength): Ditto.
  • platform/gtk/ScrollbarThemeGtk.h: Added new method declarations.
2:39 PM Changeset in webkit [66539] by Darin Adler
  • 5 edits in trunk

2010-08-31 Darin Adler <Darin Adler>

Reviewed by Anders Carlsson.

Web archives are created with a size of 0 due to PassRefPtr mistake
https://bugs.webkit.org/show_bug.cgi?id=44984
rdar://problem/8042283

  • loader/archive/ArchiveResource.cpp: (WebCore::ArchiveResource::ArchiveResource): Merge the three constructors into one. (WebCore::ArchiveResource::create): Merge the two create functions into one, and fix the logic so there is no use of a PassRefPtr after it has been passed.
  • loader/archive/ArchiveResource.h: Use default arguments instead of overloading to cut down from three create functions to two. Remove two of the constructors.

2010-08-31 Darin Adler <Darin Adler>

Reviewed by Anders Carlsson.

Web archives are created with a size of 0 due to PassRefPtr mistake
https://bugs.webkit.org/show_bug.cgi?id=44984
rdar://problem/8042283

  • webarchive/test-link-rel-icon-expected.webarchive: Expect a correct size, not 0.
2:34 PM Changeset in webkit [66538] by Darin Adler
  • 3 edits in trunk/JavaScriptCore
  • wtf/FastMalloc.cpp:

(WTF::TCMalloc_PageHeap::scavenge): Replaced somewhat-quirky code that
mixed types with code that uses size_t.

Reviewed by Anders Carlsson.

  • wtf/TCPageMap.h: Removed names of unused arguments to avoid warning.
2:33 PM Changeset in webkit [66537] by jianli@chromium.org
  • 6 edits
    3 adds in trunk

Expose WorkerContext.createBlobURL and WorkerContext.revokeBlobURL.
https://bugs.webkit.org/show_bug.cgi?id=44972

Reviewed by David Levin.

WebCore:

Test: fast/files/workers/worker-apply-blob-url-to-xhr.html

  • page/SecurityOrigin.cpp:

(WebCore::SecurityOrigin::canRequest):

  • workers/WorkerContext.cpp:

(WebCore::WorkerContext::createBlobURL):
(WebCore::WorkerContext::revokeBlobURL):

  • workers/WorkerContext.h:
  • workers/WorkerContext.idl:

LayoutTests:

  • fast/files/workers/resources/worker-apply-blob-url-to-xhr.js: Added.
  • fast/files/workers/worker-apply-blob-url-to-xhr-expected.txt: Added.
  • fast/files/workers/worker-apply-blob-url-to-xhr.html: Added.
2:33 PM Changeset in webkit [66536] by Darin Adler
  • 3 edits in trunk/WebCore
  • editing/TextIterator.cpp:

(WebCore::TextIterator::handleTextBox):
Added a cast so we can mix int and unsigned in a single ?: expression.
This warns with clang, but strangely not with gcc.

Reviewed by Anders Carlsson.

  • html/parser/HTMLTreeBuilder.cpp: Removed unused functions.

The clang compiler notices and complains about these. If we need them
later we should use Subversion to bring them back.

2:31 PM Changeset in webkit [66535] by Darin Adler
  • 2 edits in trunk/WebKit/mac
  • WebInspector/WebInspectorFrontend.mm:

(-[WebInspectorFrontend initWithFrontendClient:]): Remove a stray semicolon.

Reviewed by Anders Carlsson.

2:29 PM Changeset in webkit [66534] by Darin Adler
  • 2 edits in trunk/WebKitTools
  • Scripts/check-for-global-initializers: Add a file that ends up having global initializers

in a debug build when built with certain compilers.

Reviewed by Anders Carlsson.

2:27 PM Changeset in webkit [66533] by kbr@google.com
  • 3 edits in trunk/WebCore

2010-08-31 Kenneth Russell <kbr@google.com>

Reviewed by Simon Fraser.

Add cross product and arithmetic operations to FloatPoint3D
https://bugs.webkit.org/show_bug.cgi?id=44970

Added set, move, and scale operations similar to FloatPoint's,
addition and subtraction operators, length, lengthSquared and
cross product. These changes have been tested with new code to be
added later.

  • platform/graphics/FloatPoint3D.cpp: (WebCore::FloatPoint3D::normalize): (WebCore::FloatPoint3D::length):
  • platform/graphics/FloatPoint3D.h: (WebCore::FloatPoint3D::set): (WebCore::FloatPoint3D::move): (WebCore::FloatPoint3D::scale): (WebCore::FloatPoint3D::dot): (WebCore::FloatPoint3D::cross): (WebCore::FloatPoint3D::lengthSquared): (WebCore::operator +=): (WebCore::operator -=): (WebCore::operator+): (WebCore::operator-): (WebCore::operator*):
2:25 PM Changeset in webkit [66532] by abarth@webkit.org
  • 3 edits in trunk/BugsSite

2010-08-31 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

[reviewtool] Show previous comments inline in diff
https://bugs.webkit.org/show_bug.cgi?id=44977

This patch adds basic support for showing previous comments inline in
the diff. We crawl the bugs.webkit.org comments about this attachment
and extract comments related to specific lines. We then show the
comments inline in the diff.

This part of the tool needs a bunch of polish, but this at least is a
starting point for further work.

  • PrettyPatch/PrettyPatch.rb:
  • code-review.js:
2:23 PM Changeset in webkit [66531] by Martin Robinson
  • 22 edits
    1 add in trunk

2010-08-31 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] Isolate all GTK+ typedefs into one file
https://bugs.webkit.org/show_bug.cgi?id=44900

  • GNUmakefile.am: Add GtkTypedefs.h to the source lists.
  • wtf/Platform.h: #include GtkTypedefs.h for the GTK+ build.
  • wtf/ThreadingPrimitives.h: Remove GTK+ typedefs.
  • wtf/gobject/GOwnPtr.h: Ditto.
  • wtf/gobject/GRefPtr.h: Ditto.
  • wtf/gtk/GtkTypedefs.h: Added.

2010-08-31 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] Isolate all GTK+ typedefs into one file
https://bugs.webkit.org/show_bug.cgi?id=44900

  • platform/graphics/gtk/CairoUtilities.h: Remove GTK+ typedefs.
  • platform/gtk/ClipboardGtk.h: Ditto.
  • platform/gtk/DataObjectGtk.h: Ditto.
  • platform/gtk/GOwnPtrGtk.h: Ditto.
  • platform/gtk/GRefPtrGtk.h: Ditto.
  • platform/gtk/PasteboardHelper.h: Ditto.
  • platform/gtk/PopupMenuGtk.h: Ditto.
  • platform/gtk/RenderThemeGtk.h: Ditto.
  • platform/gtk/ScrollbarGtk.h: Ditto.
  • platform/gtk/gtk2drawing.c: Remove unused Assertions.h.

2010-08-31 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] Isolate all GTK+ typedefs into one file
https://bugs.webkit.org/show_bug.cgi?id=44900

  • WebCoreSupport/EditorClientGtk.h: Remove GTK+ typedefs.
  • WebCoreSupport/FullscreenVideoController.h: Ditto.

2010-08-31 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] Isolate all GTK+ typedefs into one file
https://bugs.webkit.org/show_bug.cgi?id=44900

  • DumpRenderTree/gtk/EventSender.h: Remove GTK+ typedefs.
2:15 PM Changeset in webkit [66530] by tony@chromium.org
  • 2 edits in trunk/WebCore

2010-08-31 Tony Chang <tony@chromium.org>

Unreviewed, fix chromium compile.

  • bindings/v8/custom/V8DeviceOrientationEventCustom.cpp:
2:02 PM Changeset in webkit [66529] by crogers@google.com
  • 1 edit
    2 adds in trunk/WebCore

2010-08-31 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

audio engine: add FFTConvolver class
https://bugs.webkit.org/show_bug.cgi?id=34907

No new tests since audio API is not yet implemented.

  • platform/audio: Added.
  • platform/audio/FFTConvolver.cpp: Added. (WebCore::FFTConvolver::FFTConvolver): (WebCore::FFTConvolver::process): (WebCore::FFTConvolver::reset):
  • platform/audio/FFTConvolver.h: Added. (WebCore::FFTConvolver::fftSize):
1:57 PM Changeset in webkit [66528] by jianli@chromium.org
  • 2 edits in trunk/WebCore

Fix ThreadableBlobRegistry methods not to rely on WorkerContext.
https://bugs.webkit.org/show_bug.cgi?id=44971

Reviewed by Darin Fisher and David Levin.

We could hit an ASSERT when we're performing some blob related cleanup
in ScriptExecutionContext destructor when WorkerContext dies. The fix
is to use isMainThread and callOnMainThread.

  • fileapi/ThreadableBlobRegistry.cpp:

(WebCore::BlobRegistryContext::BlobRegistryContext):
(WebCore::registerBlobURLTask):
(WebCore::ThreadableBlobRegistry::registerBlobURL):
(WebCore::registerBlobURLFromTask):
(WebCore::unregisterBlobURLTask):
(WebCore::ThreadableBlobRegistry::unregisterBlobURL):

1:50 PM Changeset in webkit [66527] by Martin Robinson
  • 4 edits in trunk

2010-08-31 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] Fix 'make dist' in preparation of the 1.3.3 release
https://bugs.webkit.org/show_bug.cgi?id=44978

  • GNUmakefile.am: Adding missing headers to the sources list.

2010-08-31 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] Fix 'make dist' in preparation of the 1.3.3 release
https://bugs.webkit.org/show_bug.cgi?id=44978

  • GNUmakefile.am: Add missing and moved headers to the sources list.
1:32 PM Changeset in webkit [66526] by commit-queue@webkit.org
  • 4 edits in trunk/WebCore

2010-08-31 Ryuan Choi <ryuan.choi@samsung.com>

Reviewed by Antonio Gomes.

[EFL] crashes while dragging any contents
https://bugs.webkit.org/show_bug.cgi?id=44940

Fix crashes caused by returning newly assigned value instead of adoptRef
value.

  • page/efl/EventHandlerEfl.cpp: (WebCore::EventHandler::createDraggingClipboard):
  • platform/efl/ClipboardEfl.cpp: (WebCore::Editor::newGeneralClipboard):
  • platform/efl/ClipboardEfl.h: (WebCore::ClipboardEfl::create):
12:53 PM Changeset in webkit [66525] by kov@webkit.org
  • 25 edits in trunk/WebKit/gtk/po

2010-08-31 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66519.
http://trac.webkit.org/changeset/66519
https://bugs.webkit.org/show_bug.cgi?id=44973

Broke GTK+. (Requested by kov on #webkit).

  • cs.po:
  • de.po:
  • en_GB.po:
  • es.po:
  • et.po:
  • gl.po:
  • gu.po:
  • he.po:
  • it.po:
  • lt.po:
  • lv.po:
  • nb.po:
  • nl.po:
  • pa.po:
  • pt.po:
  • pt_BR.po:
  • ru.po:
  • sl.po:
  • sr.po:
  • sr@latin.po:
  • sv.po:
  • uk.po:
  • vi.po:
  • zh_CN.po:
12:45 PM Changeset in webkit [66524] by barraclough@apple.com
  • 3 edits in trunk/JavaScriptCore

Support emit_op_mod() for MIPS
https://bugs.webkit.org/show_bug.cgi?id=42855

Patch by Chao-ying Fu <fu@mips.com> on 2010-08-31
Reviewed by Oliver Hunt.

This patch uses MIPS div instructions for op_mod to improve performance.

  • assembler/MIPSAssembler.h:

(JSC::MIPSAssembler::div):

  • jit/JITArithmetic.cpp:

(JSC::JIT::emit_op_mod):
(JSC::JIT::emitSlow_op_mod):

12:40 PM Changeset in webkit [66523] by loislo@chromium.org
  • 4 edits
    2 adds in trunk

2010-08-31 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

WebInspector: The parser of Inspector protocol messages should be covered by a test.

The inspector protocol is based on messages in JSON format.
Each message should be a JSON object with a number of properties.
InspectorBackendDispatcher is parsing these messages and should be
able to detect wrong formatted messages.
It has these functionality but no tests for it.

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

  • inspector/CodeGeneratorInspector.pm:

2010-08-31 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

WebInspector: The parser of Inspector protocol messages should be covered by a test.

The inspector protocol is based on messages in JSON format.
Each message should be a JSON object with a number of properties.
InspectorBackendDispatcher is parsing these messages and should be
able to detect wrong formatted messages.
It has these functionality but no tests for it.

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

  • http/tests/inspector/inspector-test2.js: (dump): (dumpArray):
  • inspector/report-protocol-errors-expected.txt: Added.
  • inspector/report-protocol-errors.html: Added.
12:39 PM Changeset in webkit [66522] by kov@webkit.org
  • 5 edits in trunk

2010-08-31 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Martin Robinson.

Preparations for the 1.3.4 release. Bump webkit version to 543.7,
as well.

  • configure.ac:

WebKit/gtk

2010-08-31 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Martin Robinson.

Preparations for the 1.3.4 release.

  • NEWS:
  • docs/webkitgtk-docs.sgml:
12:35 PM Changeset in webkit [66521] by antonm@chromium.org
  • 7 edits in trunk/WebCore

2010-08-31 Anton Muhin <antonm@chromium.org>

Reviewed by Adam Barth.

[v8] More correct and faster error handling when converting v8 objects to various WebCore strings
https://bugs.webkit.org/show_bug.cgi?id=44678

Split v8 object conversion into two phase: 1st, which can throw an exception, and
2nd, which must always succeed. That allows to report correctly the case when exception
happens.

  • bindings/scripts/CodeGeneratorV8.pm:
  • bindings/v8/V8Binding.cpp: (WebCore::int32ToWebCoreString): (WebCore::v8NonStringValueToWebCoreString):
  • bindings/v8/V8Binding.h: (WebCore::V8ParameterBase::operator String): (WebCore::V8ParameterBase::operator AtomicString): (WebCore::V8ParameterBase::V8ParameterBase): (WebCore::V8ParameterBase::prepareBase): (WebCore::V8ParameterBase::object): (WebCore::V8ParameterBase::setString): (WebCore::V8ParameterBase::toString): (WebCore::): (WebCore::::prepare):
  • bindings/v8/custom/V8BindingMacros.h:
  • bindings/v8/custom/V8DeviceMotionEventCustom.cpp: (WebCore::V8DeviceMotionEvent::initDeviceMotionEventCallback):
  • bindings/v8/cstom/V8DeviceOrientationEventCustom.cpp: (WebCore::V8DeviceMotionEvent::initDeviceOrientationEventCallback):
12:25 PM Changeset in webkit [66520] by kov@webkit.org
  • 2 edits in trunk/WebKit/gtk

2010-08-31 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Unreviewed. Minor documentation typo fix.

  • webkit/webkitwebview.cpp:
12:21 PM Changeset in webkit [66519] by kov@webkit.org
  • 25 edits in trunk/WebKit/gtk/po

2010-08-31 Gustavo Noronha Silva <Gustavo Noronha Silva>

Refreshed all po files with the latest potfile.

  • cs.po:
  • de.po:
  • en_GB.po:
  • es.po:
  • et.po:
  • gl.po:
  • gu.po:
  • he.po:
  • it.po:
  • lt.po:
  • lv.po:
  • nb.po:
  • nl.po:
  • pa.po:
  • pt.po:
  • pt_BR.po:
  • ru.po:
  • sl.po:
  • sr.po:
  • sr@latin.po:
  • sv.po:
  • uk.po:
  • vi.po:
  • zh_CN.po:
12:09 PM Changeset in webkit [66518] by eric@webkit.org
  • 4 edits in trunk/WebKitTools

2010-08-31 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Show more status on queue status pages
https://bugs.webkit.org/show_bug.cgi?id=44938

I upped the number of status lines from 6 to 15 --
this has been bugging me for a while...

I also disabled showing the chromium-win EWS queue
since it's been down for almost 5 months now.

  • QueueStatusServer/handlers/dashboard.py:
  • QueueStatusServer/handlers/queuestatus.py:
  • QueueStatusServer/model/queues.py:
12:03 PM Changeset in webkit [66517] by tony@chromium.org
  • 2 edits
    6 adds in trunk/LayoutTests

2010-08-31 Tony Chang <tony@chromium.org>

Unreviewed, updating chromium test_expectations.txt.

  • platform/chromium-linux/fast/multicol/paginate-block-replaced-expected.checksum: Added.
  • platform/chromium-linux/fast/multicol/paginate-block-replaced-expected.png: Added.
  • platform/chromium-linux/fast/multicol/paginate-block-replaced-expected.txt: Added.
  • platform/chromium-win/fast/multicol/paginate-block-replaced-expected.checksum: Added.
  • platform/chromium-win/fast/multicol/paginate-block-replaced-expected.png: Added.
  • platform/chromium-win/fast/multicol/paginate-block-replaced-expected.txt: Added.
  • platform/chromium/test_expectations.txt: Mark notifications-click-event.html as failing and rebase paginate-block-replaced on linux/win.
11:55 AM Changeset in webkit [66516] by loislo@chromium.org
  • 4 edits
    2 adds in trunk

2010-08-30 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Joseph Pecoraro.

WebInspector: it'd be better to introduce inspector API related tests.

As far as we have some kind of API for Inspector
it'd be better to have API related tests. This is the test
for API wrappers. These wrappers are tracking the types of arguments
of API functions.

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

Test: inspector/protocol-error.html

  • inspector/CodeGeneratorInspector.pm:
  • inspector/front-end/inspector.js: (WebInspector_syncDispatch): (WebInspector.reportProtocolError):

2010-08-30 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Joseph Pecoraro.

WebInspector: it'd be better to introduce inspector API related tests.

As far as we have some kind of API for Inspector
it'd be better to have API related tests. This is the test
for API wrappers. These wrappers are tracking the types of arguments
of API functions.

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

  • inspector/protocol-error-expected.txt: Added.
  • inspector/protocol-error.html: Added.
11:55 AM Changeset in webkit [66515] by kov@webkit.org
  • 2 edits in trunk/WebKit/gtk/po

2010-08-31 Jorge González <aloriel@gmail.com>

Reviewed by Gustavo Noronha.

[GTK] Spanish translation for trunk
https://bugs.webkit.org/show_bug.cgi?id=44395

  • es.po: Updated.
11:47 AM Changeset in webkit [66514] by Adam Roben
  • 3 edits in trunk/WebKit2

Handle WM_PRINTCLIENT in WebKit2 on Windows

Reviewed by Sam Weinig.

  • UIProcess/win/WebView.cpp:

(WebKit::WebView::wndProc): Call through to onPrintClientEvent when we
get a WM_PRINTCLIENT message.
(WebKit::WebView::onPrintClientEvent): Added. Paints the entire view
into the HDC provided by Windows.

  • UIProcess/win/WebView.h: Added onPrintClientEvent.
11:46 AM Changeset in webkit [66513] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-31 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66484.
http://trac.webkit.org/changeset/66484
https://bugs.webkit.org/show_bug.cgi?id=44966

Broke EFL build (Requested by acidx on #webkit).

  • CMakeLists.txt:
11:39 AM Changeset in webkit [66512] by commit-queue@webkit.org
  • 1 edit
    2 adds in trunk/WebKit/wince

2010-08-31 Patrick Gansterer <paroga@paroga.com>

Reviewed by Kenneth Rohde Christiansen.

Add EditorClientWinCE
https://bugs.webkit.org/show_bug.cgi?id=44822

  • WebCoreSupport/EditorClientWinCE.cpp: Added. (WebKit::EditorClient::EditorClient): (WebKit::EditorClient::~EditorClient): (WebKit::EditorClient::setInputMethodState): (WebKit::EditorClient::shouldDeleteRange): (WebKit::EditorClient::shouldShowDeleteInterface): (WebKit::EditorClient::isContinuousSpellCheckingEnabled): (WebKit::EditorClient::isGrammarCheckingEnabled): (WebKit::EditorClient::spellCheckerDocumentTag): (WebKit::EditorClient::shouldBeginEditing): (WebKit::EditorClient::shouldEndEditing): (WebKit::EditorClient::shouldInsertText): (WebKit::EditorClient::shouldChangeSelectedRange): (WebKit::EditorClient::shouldApplyStyle): (WebKit::EditorClient::shouldMoveRangeAfterDelete): (WebKit::EditorClient::didBeginEditing): (WebKit::EditorClient::respondToChangedContents): (WebKit::EditorClient::respondToChangedSelection): (WebKit::EditorClient::didEndEditing): (WebKit::EditorClient::didWriteSelectionToPasteboard): (WebKit::EditorClient::didSetSelectionTypesForPasteboard): (WebKit::EditorClient::isEditable): (WebKit::EditorClient::registerCommandForUndo): (WebKit::EditorClient::registerCommandForRedo): (WebKit::EditorClient::clearUndoRedoOperations): (WebKit::EditorClient::canUndo): (WebKit::EditorClient::canRedo): (WebKit::EditorClient::undo): (WebKit::EditorClient::redo): (WebKit::EditorClient::shouldInsertNode): (WebKit::EditorClient::pageDestroyed): (WebKit::EditorClient::smartInsertDeleteEnabled): (WebKit::EditorClient::isSelectTrailingWhitespaceEnabled): (WebKit::EditorClient::toggleContinuousSpellChecking): (WebKit::EditorClient::toggleGrammarChecking): (WebKit::EditorClient::handleKeyboardEvent): (WebKit::EditorClient::handleInputMethodKeydown): (WebKit::EditorClient::textFieldDidBeginEditing): (WebKit::EditorClient::textFieldDidEndEditing): (WebKit::EditorClient::textDidChangeInTextField): (WebKit::EditorClient::doTextFieldCommandFromEvent): (WebKit::EditorClient::textWillBeDeletedInTextField): (WebKit::EditorClient::textDidChangeInTextArea): (WebKit::EditorClient::ignoreWordInSpellDocument): (WebKit::EditorClient::learnWord): (WebKit::EditorClient::checkSpellingOfString): (WebKit::EditorClient::getAutoCorrectSuggestionForMisspelledWord): (WebKit::EditorClient::checkGrammarOfString): (WebKit::EditorClient::updateSpellingUIWithGrammarString): (WebKit::EditorClient::updateSpellingUIWithMisspelledWord): (WebKit::EditorClient::showSpellingUI): (WebKit::EditorClient::spellingUIIsShowing): (WebKit::EditorClient::getGuessesForWord): (WebKit::EditorClient::willSetInputMethodState):
  • WebCoreSupport/EditorClientWinCE.h: Added.
11:22 AM Changeset in webkit [66511] by ojan@chromium.org
  • 2 edits in trunk/WebCore

2010-08-31 Ojan Vafai <ojan@chromium.org>

Reviewed by Tony Chang.

deduplicate code from Node::checkReplaceChild and Node::checkAddChild
https://bugs.webkit.org/show_bug.cgi?id=44962

Remove duplicate code in preparation for fixing https://bugs.webkit.org/show_bug.cgi?id=19524
No new tests since there is no change in functionality.

  • dom/Node.cpp: (WebCore::isChildTypeAllowed): (WebCore::Node::canReplaceChild): (WebCore::checkAcceptChild): (WebCore::transferOwnerDocument): (WebCore::Node::checkReplaceChild): (WebCore::Node::checkAddChild):
11:19 AM Changeset in webkit [66510] by commit-queue@webkit.org
  • 1 edit
    2 adds in trunk/WebKit/wince

2010-08-31 Patrick Gansterer <paroga@paroga.com>

Reviewed by Kenneth Rohde Christiansen.

Add DragClientWinCE
https://bugs.webkit.org/show_bug.cgi?id=44821

  • WebCoreSupport/DragClientWinCE.cpp: Added. (WebKit::DragClient::willPerformDragDestinationAction): (WebKit::DragClient::willPerformDragSourceAction): (WebKit::DragClient::actionMaskForDrag): (WebKit::DragClient::dragSourceActionMaskForPoint): (WebKit::DragClient::startDrag): (WebKit::DragClient::createDragImageForLink): (WebKit::DragClient::dragControllerDestroyed):
  • WebCoreSupport/DragClientWinCE.h: Added.
11:01 AM Changeset in webkit [66509] by zmo@google.com
  • 4 edits in trunk/WebCore

2010-08-30 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

[Chromium] bindTexture(TEXTURE_CUBE_MAP) shouldn't generate errors with valid cubemap texture
https://bugs.webkit.org/show_bug.cgi?id=44922

  • html/canvas/WebGLRenderingContext.cpp: Remove TEXTURE_WRAP_R code. (WebCore::WebGLRenderingContext::bindTexture):
  • html/canvas/WebGLTexture.cpp: Remove the code for tracking TEXTURE_WRAP_R. (WebCore::WebGLTexture::WebGLTexture):
  • html/canvas/WebGLTexture.h: Ditto.
10:54 AM Changeset in webkit [66508] by Adam Roben
  • 2 edits in trunk/WebKit2

Don't send messages to the injected bundle if the web process has exited

Fixes <http://webkit.org/b/43046> <rdar://problem/8239455> Crash in
WKContextPostMessageToInjectedBundle if the web process has exited

Reviewed by Sam Weinig.

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::postMessageToInjectedBundle): Only send messages
when we have a valid web process.

10:53 AM Changeset in webkit [66507] by kov@webkit.org
  • 1 edit
    1 add in trunk/WebKit/gtk/po

2010-08-31 Kjartan Maraas <kmaraas@gnome.org>

Reviewed by Gustavo Noronha Silva.

WebKitGTK+ translation needed
https://bugzilla.gnome.org/show_bug.cgi?id=610099

Initial Norwegian (bokmal) translation.

  • nb.po: Added.
10:53 AM Changeset in webkit [66506] by Adam Roben
  • 3 edits in trunk/WebKit2

Use the Windows thread pool instead of a dedicated thread for WorkQueue on Windows

WorkQueue now uses ::RegisterWaitForSingleObject to find out when work
items need to be executed. This causes Windows to wait on the objects
on a thread pool wait thread, and then to spawn a thread pool worker
thread when an object is signaled. This is more efficient than using
our own dedicated thread to perform the wait and the work because
multiple WorkQueues (and even other parts of WebKit or other modules)
can all share the same wait thread and worker thread pool.

Each time WorkQueue::m_performWorkEvent or any handle in
WorkQueue::m_handles is signaled, a worker thread will be spawned.
To maintain WorkQueue's serial nature, only one worker thread is
allowed to perform work items at a time. (The worker thread that is
actually performing work items is called the queue's "work thread".)
To accomplish this, worker threads must register as the queue's work
thread before performing work items.
WorkQueue::m_isWorkThreadRegistered is used as an atomic guard to make
sure that only one worker thread is registered at a time.

Fixes <http://webkit.org/b/43150> <rdar://problem/8247280>.

Reviewed by Anders Carlsson.

  • Platform/WorkQueue.h:
    • Added the WorkItemWin class, which is used to wrap WorkItems for WorkQueue's Windows implementation
    • Changed m_workItemQueue and m_handles to hold RefPtr<WorkItemWin>s
    • Replaced "work queue thread"-related members with new members that handle our thread pool code
  • Platform/win/WorkQueueWin.cpp:

(WorkQueue::WorkItemWin::WorkItemWin):
(WorkQueue::WorkItemWin::create):
Added simple constructor/creator.

(WorkQueue::handleCallback): Added. This function is called whenever a
handle in WorkQueue::m_handles is signaled. We add the WorkItemWin
that corresponds to the handle (passed via the context parameter) to
the work item queue, then try to register as the work thread and
perform any queued work. If another thread is already registered as
the work thread, we just exit and let that thread handle the work we
queued.
(WorkQueue::registerHandle): Changed to wrap the WorkItem in a
WorkItemWin, and to use ::RegisterWaitForSingleObject to wait on the
handle.
(WorkQueue::eventCallback): Added. This function is called whenever
m_performWorkEvent is signaled. We try to register as the work thread
and perfom any queued work. If another thread is already registered as
the work thread, we just exit and let that thread handle the work.
(WorkQueue::performWorkOnRegisteredWorkThread): Added. Performs any
queued work in a loop until either the queue becomes invalid or no
work is left to perform. Unregisters as the work thread before exiting
so that other threads can perform work in the future.
(WorkQueue::platformInitialize): Added initialization of
m_isWorkThreadRegistered. Replaced code to spawn the old work queue
thread with a call to ::RegisterWaitForSingleObject so that a worker
thread from the thread pool will be spawned when m_performWorkEvent is
signaled.
(WorkQueue::tryRegisterAsWorkThread): Added. Attempts an atomic
compare-and-swap to change m_isWorkThreadRegistered from 0 to 1. If
sucessful, we return true to indicate that this thread is now
registered as the work thread.
(WorkQueue::unregisterAsWorkThread): Added. Uses an atomic
compare-and-swap to change m_isWorkThreadRegistered back from 1 to 0.
(WorkQueue::scheduleWork): Changed to wrap the WorkItem in a
WorkItemWin. Also added an optimization to avoid signaling
m_performWorkEvent when a work thread is already performing work, as
it will pick up the item we just queued without us having to do
anything.

10:52 AM Changeset in webkit [66505] by jianli@chromium.org
  • 2 edits in trunk/WebCore

Rename addTwoCStrings to concatenateTwoCStrings.

Rubber-stamped by David Levin.

  • fileapi/BlobBuilder.cpp:

(WebCore::concatenateTwoCStrings):
(WebCore::BlobBuilder::append):

10:46 AM Changeset in webkit [66504] by jianli@chromium.org
  • 1 edit in trunk/WebCore/ChangeLog

Update WebCore/ChangeLog to fix the missing bug title.

10:37 AM Changeset in webkit [66503] by commit-queue@webkit.org
  • 1 edit
    2 adds in trunk/WebKit/wince

2010-08-31 Patrick Gansterer <paroga@paroga.com>

Reviewed by Kenneth Rohde Christiansen.

Add ContextMenuClientWinCE
https://bugs.webkit.org/show_bug.cgi?id=44820

  • WebCoreSupport/ContextMenuClientWinCE.cpp: Added. (WebKit::ContextMenuClient::ContextMenuClient): (WebKit::ContextMenuClient::contextMenuDestroyed): (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems): (WebKit::ContextMenuClient::contextMenuItemSelected): (WebKit::ContextMenuClient::downloadURL): (WebKit::ContextMenuClient::copyImageToClipboard): (WebKit::ContextMenuClient::searchWithGoogle): (WebKit::ContextMenuClient::lookUpInDictionary): (WebKit::ContextMenuClient::speak): (WebKit::ContextMenuClient::stopSpeaking): (WebKit::ContextMenuClient::isSpeaking):
  • WebCoreSupport/ContextMenuClientWinCE.h: Added.
10:25 AM Changeset in webkit [66502] by evan@chromium.org
  • 4 edits in trunk/LayoutTests

2010-08-31 Evan Martin <evan@chromium.org>

Reviewed by Tony Chang.

[chromium] rebaseline linux fast/backgrounds/001
https://bugs.webkit.org/show_bug.cgi?id=44899

Only difference is font antialiasing.

  • platform/chromium-linux/fast/backgrounds/001-expected.checksum:
  • platform/chromium-linux/fast/backgrounds/001-expected.png:
  • platform/chromium/test_expectations.txt:
10:24 AM Changeset in webkit [66501] by abecsi@webkit.org
  • 2 edits in trunk/WebKitTools

2010-08-31 Zoltan Horvath <zoltan@webkit.org>

Reviewed by Antonio Gomes.

[Qt] Read command line arguments and open them as URLs in new windows
https://bugs.webkit.org/show_bug.cgi?id=44944

Extend MiniBrowser to accept command line arguments and open them as URLs in new browser windows.

  • MiniBrowser/qt/main.cpp: (main):
10:23 AM Changeset in webkit [66500] by evan@chromium.org
  • 2 edits
    3 adds in trunk/LayoutTests

2010-08-31 Evan Martin <evan@chromium.org>

Reviewed by Tony Chang.

[chromium] new linux baseline for fast/text/capitalize-boundaries
https://bugs.webkit.org/show_bug.cgi?id=44898

This differs from the Windows baseline in antialiasing and that the Windows
result has a missing-glyph box.

  • platform/chromium-linux/fast/text/capitalize-boundaries-expected.checksum: Added.
  • platform/chromium-linux/fast/text/capitalize-boundaries-expected.png: Added.
  • platform/chromium-linux/fast/text/capitalize-boundaries-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
10:17 AM Changeset in webkit [66499] by jianli@chromium.org
  • 2 edits in trunk/WebCore

Improve BlobBuilder to combine adjacent strings.
https://bugs.webkit.org/post_bug.cgi

Reviewed by Darin Fisher.

  • fileapi/BlobBuilder.cpp:

(WebCore::addTwoCStrings):
(WebCore::BlobBuilder::append):

10:08 AM Changeset in webkit [66498] by Darin Adler
  • 119 edits in trunk/WebCore

2010-08-31 Darin Adler <Darin Adler>

Reviewed by Simon Fraser.

Make DOM classes start with a reference count of 1, like all other RefCounted
https://bugs.webkit.org/show_bug.cgi?id=28068

  • dom/Document.cpp: (WebCore::Document::accessSVGExtensions): Use adoptPtr instead of set.
  • dom/Document.h: Removed initialRefCount in Node constructor. It's always 1 now.
  • dom/Node.h: Removed CreateWithZeroRefCountFlag, CreateStyledElementZeroRefCount, CreateSVGElementZeroRefCount, and initialRefCount.
  • platform/TreeShared.h: Removed initialRefCount argument. It's always 1 now.
  • rendering/RenderSVGShadowTreeRootContainer.cpp: (WebCore::RenderSVGShadowTreeRootContainer::updateFromElement): Use create instead of new.
  • rendering/SVGResources.h: Inherit from Noncopyable.
  • rendering/SVGResourcesCache.cpp: (WebCore::SVGResourcesCache::~SVGResourcesCache): Removed unneeded special case code.
  • rendering/SVGShadowTreeElements.cpp: (WebCore::SVGShadowTreeContainerElement::create): Added. (WebCore::SVGShadowTreeRootElement::SVGShadowTreeRootElement): Made argument type more specific. (WebCore::SVGShadowTreeRootElement::create): Added.
  • rendering/SVGShadowTreeElements.h: Added create functions, and made the argument type more specific.
  • svg/SVGDocumentExtensions.cpp: (WebCore::SVGDocumentExtensions::SVGDocumentExtensions): Use adoptPtr.
  • svg/graphics/SVGImage.cpp: (WebCore::SVGImage::dataChanged): Use adoptPtr instead of set.
  • svg/SVGElement.cpp: (WebCore::SVGElement::SVGElement): Use CreateSVGElement instead of CreateSVGElementZeroRefCount. (WebCore::SVGElement::create): Use adoptRef.
  • wml/WMLElement.cpp: (WebCore::WMLElement::WMLElement): Use CreateStyledElement instead of CreateStyledElementZeroRefCount. (WebCore::WMLElement::create): Use adoptRef.
  • svg/SVGAElement.cpp: (WebCore::SVGAElement::create):
  • svg/SVGAltGlyphElement.cpp: (WebCore::SVGAltGlyphElement::create):
  • svg/SVGAnimateColorElement.cpp: (WebCore::SVGAnimateColorElement::create):
  • svg/SVGAnimateElement.cpp: (WebCore::SVGAnimateElement::create):
  • svg/SVGAnimateMotionElement.cpp: (WebCore::SVGAnimateMotionElement::create):
  • svg/SVGAnimateTransformElement.cpp: (WebCore::SVGAnimateTransformElement::create):
  • svg/SVGCircleElement.cpp: (WebCore::SVGCircleElement::create):
  • svg/SVGClipPathElement.cpp: (WebCore::SVGClipPathElement::create):
  • svg/SVGCursorElement.cpp: (WebCore::SVGCursorElement::create):
  • svg/SVGDefsElement.cpp: (WebCore::SVGDefsElement::create):
  • svg/SVGDescElement.cpp: (WebCore::SVGDescElement::create):
  • svg/SVGEllipseElement.cpp: (WebCore::SVGEllipseElement::create):
  • svg/SVGFEBlendElement.cpp: (WebCore::SVGFEBlendElement::create):
  • svg/SVGFEColorMatrixElement.cpp: (WebCore::SVGFEColorMatrixElement::create):
  • svg/SVGFEComponentTransferElement.cpp: (WebCore::SVGFEComponentTransferElement::create):
  • svg/SVGFECompositeElement.cpp: (WebCore::SVGFECompositeElement::create):
  • svg/SVGFEConvolveMatrixElement.cpp: (WebCore::SVGFEConvolveMatrixElement::create):
  • svg/SVGFEDiffuseLightingElement.cpp: (WebCore::SVGFEDiffuseLightingElement::create):
  • svg/SVGFEDisplacementMapElement.cpp: (WebCore::SVGFEDisplacementMapElement::create):
  • svg/SVGFEDistantLightElement.cpp: (WebCore::SVGFEDistantLightElement::create):
  • svg/SVGFEFloodElement.cpp: (WebCore::SVGFEFloodElement::create):
  • svg/SVGFEFuncAElement.cpp: (WebCore::SVGFEFuncAElement::create):
  • svg/SVGFEFuncBElement.cpp: (WebCore::SVGFEFuncBElement::create):
  • svg/SVGFEFuncGElement.cpp: (WebCore::SVGFEFuncGElement::create):
  • svg/SVGFEFuncRElement.cpp: (WebCore::SVGFEFuncRElement::create):
  • svg/SVGFEGaussianBlurElement.cpp: (WebCore::SVGFEGaussianBlurElement::create):
  • svg/SVGFEImageElement.cpp: (WebCore::SVGFEImageElement::create):
  • svg/SVGFEMergeElement.cpp: (WebCore::SVGFEMergeElement::create):
  • svg/SVGFEMergeNodeElement.cpp: (WebCore::SVGFEMergeNodeElement::create):
  • svg/SVGFEMorphologyElement.cpp: (WebCore::SVGFEMorphologyElement::create):
  • svg/SVGFEOffsetElement.cpp: (WebCore::SVGFEOffsetElement::create):
  • svg/SVGFEPointLightElement.cpp: (WebCore::SVGFEPointLightElement::create):
  • svg/SVGFESpecularLightingElement.cpp: (WebCore::SVGFESpecularLightingElement::create):
  • svg/SVGFESpotLightElement.cpp: (WebCore::SVGFESpotLightElement::create):
  • svg/SVGFETileElement.cpp: (WebCore::SVGFETileElement::create):
  • svg/SVGFETurbulenceElement.cpp: (WebCore::SVGFETurbulenceElement::create):
  • svg/SVGFilterElement.cpp: (WebCore::SVGFilterElement::create):
  • svg/SVGFontElement.cpp: (WebCore::SVGFontElement::create):
  • svg/SVGFontFaceElement.cpp: (WebCore::SVGFontFaceElement::create):
  • svg/SVGFontFaceFormatElement.cpp: (WebCore::SVGFontFaceFormatElement::create):
  • svg/SVGFontFaceNameElement.cpp: (WebCore::SVGFontFaceNameElement::create):
  • svg/SVGFontFaceSrcElement.cpp: (WebCore::SVGFontFaceSrcElement::create):
  • svg/SVGFontFaceUriElement.cpp: (WebCore::SVGFontFaceUriElement::create):
  • svg/SVGForeignObjectElement.cpp: (WebCore::SVGForeignObjectElement::create):
  • svg/SVGGElement.cpp: (WebCore::SVGGElement::create):
  • svg/SVGGlyphElement.cpp: (WebCore::SVGGlyphElement::create):
  • svg/SVGHKernElement.cpp: (WebCore::SVGHKernElement::create):
  • svg/SVGImageElement.cpp: (WebCore::SVGImageElement::create):
  • svg/SVGLineElement.cpp: (WebCore::SVGLineElement::create):
  • svg/SVGLinearGradientElement.cpp: (WebCore::SVGLinearGradientElement::create):
  • svg/SVGMPathElement.cpp: (WebCore::SVGMPathElement::create):
  • svg/SVGMarkerElement.cpp: (WebCore::SVGMarkerElement::create):
  • svg/SVGMaskElement.cpp: (WebCore::SVGMaskElement::create):
  • svg/SVGMetadataElement.cpp: (WebCore::SVGMetadataElement::create):
  • svg/SVGMissingGlyphElement.cpp: (WebCore::SVGMissingGlyphElement::create):
  • svg/SVGPathElement.cpp: (WebCore::SVGPathElement::create):
  • svg/SVGPatternElement.cpp: (WebCore::SVGPatternElement::create):
  • svg/SVGPolygonElement.cpp: (WebCore::SVGPolygonElement::create):
  • svg/SVGPolylineElement.cpp: (WebCore::SVGPolylineElement::create):
  • svg/SVGRadialGradientElement.cpp: (WebCore::SVGRadialGradientElement::create):
  • svg/SVGRectElement.cpp: (WebCore::SVGRectElement::create):
  • svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::create): (WebCore::SVGSVGElement::currentView):
  • svg/SVGScriptElement.cpp: (WebCore::SVGScriptElement::create):
  • svg/SVGSetElement.cpp: (WebCore::SVGSetElement::create):
  • svg/SVGStopElement.cpp: (WebCore::SVGStopElement::create):
  • svg/SVGStyleElement.cpp: (WebCore::SVGStyleElement::create):
  • svg/SVGSwitchElement.cpp: (WebCore::SVGSwitchElement::create):
  • svg/SVGSymbolElement.cpp: (WebCore::SVGSymbolElement::create):
  • svg/SVGTRefElement.cpp: (WebCore::SVGTRefElement::create):
  • svg/SVGTSpanElement.cpp: (WebCore::SVGTSpanElement::create):
  • svg/SVGTextElement.cpp: (WebCore::SVGTextElement::create):
  • svg/SVGTextPathElement.cpp: (WebCore::SVGTextPathElement::create):
  • svg/SVGTitleElement.cpp: (WebCore::SVGTitleElement::create):
  • svg/SVGUseElement.cpp: (WebCore::SVGUseElement::create): (WebCore::SVGUseElement::expandUseElementsInShadowTree):
  • svg/SVGVKernElement.cpp: (WebCore::SVGVKernElement::create):
  • svg/SVGViewElement.cpp: (WebCore::SVGViewElement::create):
  • wml/WMLAElement.cpp: (WebCore::WMLAElement::create):
  • wml/WMLAccessElement.cpp: (WebCore::WMLAccessElement::create):
  • wml/WMLAnchorElement.cpp: (WebCore::WMLAnchorElement::create):
  • wml/WMLBRElement.cpp: (WebCore::WMLBRElement::create):
  • wml/WMLCardElement.cpp: (WebCore::WMLCardElement::create):
  • wml/WMLDoElement.cpp: (WebCore::WMLDoElement::create):
  • wml/WMLDocument.h: (WebCore::WMLDocument::create):
  • wml/WMLFieldSetElement.cpp: (WebCore::WMLFieldSetElement::create):
  • wml/WMLFormControlElement.cpp: (WebCore::WMLFormControlElement::create):
  • wml/WMLGoElement.cpp: (WebCore::WMLGoElement::create):
  • wml/WMLImageElement.cpp: (WebCore::WMLImageElement::create):
  • wml/WMLInputElement.cpp: (WebCore::WMLInputElement::create):
  • wml/WMLInsertedLegendElement.cpp: (WebCore::WMLInsertedLegendElement::create):
  • wml/WMLIntrinsicEvent.cpp: (WebCore::WMLIntrinsicEvent::create):
  • wml/WMLMetaElement.cpp: (WebCore::WMLMetaElement::create):
  • wml/WMLNoopElement.cpp: (WebCore::WMLNoopElement::create):
  • wml/WMLOnEventElement.cpp: (WebCore::WMLOnEventElement::create):
  • wml/WMLOptGroupElement.cpp: (WebCore::WMLOptGroupElement::create):
  • wml/WMLOptionElement.cpp: (WebCore::WMLOptionElement::create):
  • wml/WMLPElement.cpp: (WebCore::WMLPElement::create):
  • wml/WMLPostfieldElement.cpp: (WebCore::WMLPostfieldElement::create):
  • wml/WMLPrevElement.cpp: (WebCore::WMLPrevElement::create):
  • wml/WMLRefreshElement.cpp: (WebCore::WMLRefreshElement::create):
  • wml/WMLSelectElement.cpp: (WebCore::WMLSelectElement::create):
  • wml/WMLSetvarElement.cpp: (WebCore::WMLSetvarElement::create):
  • wml/WMLTableElement.cpp: (WebCore::WMLTableElement::create):
  • wml/WMLTaskElement.cpp: (WebCore::WMLTaskElement::create):
  • wml/WMLTemplateElement.cpp: (WebCore::WMLTemplateElement::create):
  • wml/WMLTimerElement.cpp: (WebCore::WMLTimerElement::create): Use adoptRef.
10:05 AM Changeset in webkit [66497] by evan@chromium.org
  • 2 edits
    2 deletes in trunk/LayoutTests

2010-08-31 Evan Martin <evan@chromium.org>

Reviewed by Tony Chang.

[chromium] incorrect baseline for fast/css/font-face-implicit-local-font
https://bugs.webkit.org/show_bug.cgi?id=44893

The test is verifying that the CSS unicode-range: property is correctly
modifying the font for a substring of text. The checked-in image shows
the wrong font.

Also, update the comment in test_expectations to reflect this
information.

  • platform/chromium-linux/fast/css/font-face-implicit-local-font-expected.checksum: Removed.
  • platform/chromium-linux/fast/css/font-face-implicit-local-font-expected.png: Removed.
  • platform/chromium/test_expectations.txt:
10:04 AM Changeset in webkit [66496] by jschuh@chromium.org
  • 3 edits
    2 adds in trunk

2010-08-31 Justin Schuh <jschuh@chromium.org>

Reviewed by Nate Chapin.

Local frame loads should check against origin (not referrer)
https://bugs.webkit.org/show_bug.cgi?id=44888

Test: fast/frames/iframe-no-src-local-origin-allow.html

  • loader/SubframeLoader.cpp: (WebCore::SubframeLoader::loadSubframe):

2010-08-31 Justin Schuh <jschuh@chromium.org>

Reviewed by Nate Chapin.

Local frame loads should check against origin (not referrer)
https://bugs.webkit.org/show_bug.cgi?id=44888

  • fast/frames/iframe-no-src-local-origin-allow-expected.txt: Added.
  • fast/frames/iframe-no-src-local-origin-allow.html: Added.
10:01 AM Changeset in webkit [66495] by Csaba Osztrogonác
  • 4 edits in trunk/WebKit2

2010-08-31 Csaba Osztrogonác <Csaba Osztrogonác>

Reviewed by Antonio Gomes.

[Qt] Fix warnings in WebKit2 directory
https://bugs.webkit.org/show_bug.cgi?id=44593

  • Platform/CoreIPC/qt/ConnectionQt.cpp: Mark unused variables for compiler. (CoreIPC::Connection::readyReadHandler): (CoreIPC::Connection::sendOutgoingMessage):
  • Shared/qt/WebEventFactoryQt.cpp: (WebKit::WebEventFactory::createWebTouchEvent): Initialize state variable. Default case added.
  • WebProcess/Plugins/Netscape/qt/NetscapePluginQt.cpp: (WebKit::toNP): Return initialized NPEvent.
9:57 AM Changeset in webkit [66494] by zmo@google.com
  • 5 edits in trunk

2010-08-25 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (cg)
https://bugs.webkit.org/show_bug.cgi?id=44566

  • platform/graphics/cg/GraphicsContext3DCG.cpp: (WebCore::GraphicsContext3D::getImageData): Fix the premultiplyAlpha issue for cg.

2010-08-25 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (cg)
https://bugs.webkit.org/show_bug.cgi?id=44566

  • fast/canvas/webgl/gl-teximage-expected.txt: Fix a typo in the file.
  • platform/chromium/test_expectations.txt: Re-enable gl-teximage.html test.
  • platform/mac/Skipped: Ditto.
9:52 AM Changeset in webkit [66493] by abecsi@webkit.org
  • 2 edits in trunk/WebKit2

2010-08-31 Andras Becsi <abecsi@webkit.org>

Reviewed by Antonio Gomes.

[Qt] Determine application path of MiniBrowser at runtime and use that path
for QtWebProcess if the executable exists in that path.

  • UIProcess/Launcher/qt/ProcessLauncherQt.cpp: (WebKit::ProcessLauncherHelper::launch):
9:30 AM Changeset in webkit [66492] by hyatt@apple.com
  • 3 edits
    4 adds in trunk

WebCore: https://bugs.webkit.org/show_bug.cgi?id=44956, paginate block-level replaced elements.

<rdar://problem/8000991> Images with display:block get split between columns or pages

Reviewed by Adam Roben.

Added fast/multicol/paginate-block-replaced.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::paintChildren):

LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=44956, paginate block-level replaced elements.

Reviewed by Adam Roben.

  • fast/multicol/paginate-block-replaced.html: Added.
  • platform/mac/fast/multicol/paginate-block-replaced-expected.checksum: Added.
  • platform/mac/fast/multicol/paginate-block-replaced-expected.png: Added.
  • platform/mac/fast/multicol/paginate-block-replaced-expected.txt: Added.
9:24 AM Changeset in webkit [66491] by commit-queue@webkit.org
  • 1 edit
    18 adds in trunk/WebKitTools

2010-08-31 Adrian Perez <Adrian Perez de Castro>

Reviewed by Martin Robinson.

Support scripts to run Buildbot slaves under daemontools (gtk related)
https://bugs.webkit.org/show_bug.cgi?id=40053

  • BuildSlaveSupport/gtk: Added.
  • BuildSlaveSupport/gtk/README: Added.
  • BuildSlaveSupport/gtk/buildbot: Added.
  • BuildSlaveSupport/gtk/buildbot/log: Added.
  • BuildSlaveSupport/gtk/buildbot/log/run: Added.
  • BuildSlaveSupport/gtk/buildbot/run: Added.
  • BuildSlaveSupport/gtk/crashmon: Added.
  • BuildSlaveSupport/gtk/crashmon/crashmon: Added.
  • BuildSlaveSupport/gtk/crashmon/log: Added.
  • BuildSlaveSupport/gtk/crashmon/log/run: Added.
  • BuildSlaveSupport/gtk/crashmon/run: Added.
  • BuildSlaveSupport/gtk/daemontools-buildbot.conf: Added.
  • BuildSlaveSupport/gtk/pulseaudio: Added.
  • BuildSlaveSupport/gtk/pulseaudio/run: Added.
  • BuildSlaveSupport/gtk/xvfb: Added.
  • BuildSlaveSupport/gtk/xvfb/log: Added.
  • BuildSlaveSupport/gtk/xvfb/log/run: Added.
  • BuildSlaveSupport/gtk/xvfb/run: Added.
9:23 AM Changeset in webkit [66490] by Adam Roben
  • 5 adds in trunk/WebKit/wince

Add InspectorClientWinCE

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

Patch by Patrick Gansterer <paroga@paroga.com> on 2010-08-28
Reviewed by Adam Roben.

  • WebCoreSupport/InspectorClientWinCE.cpp: Added.

(WebKit::InspectorClient::InspectorClient):
(WebKit::InspectorClient::~InspectorClient):
(WebKit::InspectorClient::inspectorDestroyed):
(WebKit::InspectorClient::openInspectorFrontend):
(WebKit::InspectorClient::releaseFrontendPage):
(WebKit::InspectorClient::highlight):
(WebKit::InspectorClient::hideHighlight):
(WebKit::InspectorClient::populateSetting):
(WebKit::InspectorClient::storeSetting):
(WebKit::InspectorClient::sendMessageToFrontend):

  • WebCoreSupport/InspectorClientWinCE.h: Added.
9:23 AM Changeset in webkit [66489] by Csaba Osztrogonác
  • 3 edits in trunk/JavaScriptCore

Modify ASSERT_UNUSED and UNUSED_PARAM similar to Qt's Q_UNUSED.
https://bugs.webkit.org/show_bug.cgi?id=44870

Reviewed by Darin Adler.

  • wtf/Assertions.h:
  • wtf/UnusedParam.h:
8:58 AM Changeset in webkit [66488] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/efl

2010-08-31 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Unreviewed build fix.

[EFL] Build break for r66456
https://bugs.webkit.org/post_bug.cgi

Replace firstRectsForMarkers with renderedRectsForMarkers.

  • ewk/ewk_frame.cpp: (ewk_frame_text_matches_nth_pos_get):
8:55 AM Changeset in webkit [66487] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-08-31 Philippe Normand <pnormand@igalia.com>

Unreviewed, unskip fixed test for the GTK port.

media/video-loop.html fails intermittently on GTK and Chromium bots
https://bugs.webkit.org/show_bug.cgi?id=33671

  • platform/gtk/Skipped: Unskip media/video-loop.html
8:49 AM Changeset in webkit [66486] by ap@apple.com
  • 3 edits
    2 adds in trunk

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=36515
CSS style definitions are ignored if they just follow a "@charset" which appears in lines
other than the first line in stylesheet.

Test: fast/css/misplaced-charset.html

  • css/CSSGrammar.y: Ignore a misplaced charset rule without consuming extra characters and thus breaking subsequent rules.
8:43 AM Changeset in webkit [66485] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-31 Patrick Gansterer <paroga@paroga.com>

Reviewed by Antonio Gomes.

[CMake] Add IF (ENABLE_MATHML) around MathML sources
https://bugs.webkit.org/show_bug.cgi?id=44927

  • CMakeLists.txt:
7:59 AM Changeset in webkit [66484] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-31 Patrick Gansterer <paroga@paroga.com>

Reviewed by Kenneth Rohde Christiansen.

[CMake] Unify GENERATE_DOM_NAMES code
https://bugs.webkit.org/show_bug.cgi?id=44842

  • CMakeLists.txt: Added property svn:eol-style.
7:38 AM Changeset in webkit [66483] by commit-queue@webkit.org
  • 3 edits
    1 add in trunk/WebCore

2010-08-31 Daniel Cheng <dcheng@chromium.org>

Reviewed by Tony Chang.

[chromium] Add an interface for platform copy/paste drag/drop data objects
https://bugs.webkit.org/show_bug.cgi?id=44914

Currently, Chromium only supports a few hardcoded data types in
event.dataTransfer. This is the first of several patches to add support
for arbitrary data types.

No new tests.

  • WebCore.gypi:
  • platform/chromium/ChromiumDataObjectNew.h: Added.
  • platform/chromium/ClipboardChromium.cpp:
7:22 AM Changeset in webkit [66482] by abarth@webkit.org
  • 13 edits in trunk/LayoutTests

2010-08-31 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Update in-test expectations to account for HTML5 parsing changes
https://bugs.webkit.org/show_bug.cgi?id=44889

We've already updated the -expected.txt files for these tests to
account for the behavior changes with the HTML5 parser. This patch
updates the redundant "in-test" expectations so that the results say
"PASS" instead of "FAIL".

  • fast/forms/datalist-nonoption-child.html:
  • fast/forms/state-restore-to-non-edited-controls-expected.txt:
  • fast/forms/state-restore-to-non-edited-controls.html:
  • fast/parser/fragment-parser-expected.txt:
  • fast/parser/residual-style-close-across-n-blocks-expected.txt:
  • fast/parser/residual-style-close-across-n-blocks.html:
  • fast/parser/script-tests/fragment-parser.js:
  • http/tests/misc/isindex-formdata-expected.txt:
  • http/tests/misc/isindex-formdata.html:
  • http/tests/misc/isindex-with-no-form-base-href-expected.txt:
  • http/tests/misc/resources/isindex-with-no-form-base-href.html:
7:06 AM Changeset in webkit [66481] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

2010-08-31 Mihai Parparita <mihaip@chromium.org>

Reviewed by Tony Chang.

Remove passing tests from Chromium's test_expectations.txt
https://bugs.webkit.org/show_bug.cgi?id=44906

Remove test expectations from Chromium's test_expectations.txt that are
incorrect (the tests now pass).

fast/events/special-key-events-in-input-text.html

fixed by http://crrev.com/57503

fast/events/tabindex-focus-chain.html

fixed by http://trac.webkit.org/changeset/66311

fast/forms/tabs-with-modifiers.html

fixed by http://trac.webkit.org/changeset/65748

editing/selection/drag-in-iframe.html

fixed by http://trac.webkit.org/changeset/66269/ (appeared twice in
the file)

  • platform/chromium/drt_expectations.txt:
  • platform/chromium/test_expectations.txt:
6:49 AM Changeset in webkit [66480] by caseq@chromium.org
  • 3 edits in trunk/LayoutTests

2010-08-31 Andrey Kosyakov <caseq@chromium.org>

Unreviewed. Attempt to fix flakiness of inspector extensions API audits tests on Qt.
Synchronize last output() with signalling test completion.

  • inspector/resources/extension-main.html:
  • inspector/resources/extension-main.js: (onTestsDone):
6:26 AM Changeset in webkit [66479] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-08-31 Philippe Normand <pnormand@igalia.com>

Rubber-stamped by Xan Lopez.

fast/parser/xml-declaration-missing-ending-mark.html crashed on Gtk bot
https://bugs.webkit.org/show_bug.cgi?id=33027

  • platform/gtk/Skipped: Unskip now passing test.
5:57 AM Changeset in webkit [66478] by benjamin.poulain@nokia.com
  • 2 edits in trunk/WebKit/qt

2010-08-31 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

JSC TimeoutChecker::didTimeOut overflows on ARM
https://bugs.webkit.org/show_bug.cgi?id=38538

Re-enabled the test that was skipped for Maemo 5.

  • tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::infiniteLoopJS):
5:38 AM Changeset in webkit [66477] by caseq@chromium.org
  • 22 edits
    10 adds
    1 delete in trunk

2010-08-30 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: add audits support to extension API
Exposed (late) adding of categories from AuditPanel.
Removed indexOfObjectInListSortedByFunction in favor of
insertionIndexForObjectInListSortedByFunction (the former had
weird interface always returning negative numbers and was only used in
the latter).
https://bugs.webkit.org/show_bug.cgi?id=44518

Tests: inspector/extensions-audits-api.html

inspector/extensions-audits.html

  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/front-end/AuditFormatters.js: Added. (WebInspector.applyFormatters): (WebInspector.AuditFormatters.text): (WebInspector.AuditFormatters.snippet): (WebInspector.AuditFormatters.concat): (WebInspector.AuditFormatters.url):
  • inspector/front-end/AuditLauncherView.js: (WebInspector.AuditLauncherView): (WebInspector.AuditLauncherView.prototype.addCategory.compareCategories): (WebInspector.AuditLauncherView.prototype.addCategory): (WebInspector.AuditLauncherView.prototype._launchButtonClicked): (WebInspector.AuditLauncherView.prototype._selectAllClicked): (WebInspector.AuditLauncherView.prototype._categoryClicked): (WebInspector.AuditLauncherView.prototype._createCategoryElement): (WebInspector.AuditLauncherView.prototype._createLauncherUI):
  • inspector/front-end/AuditResultView.js: (WebInspector.AuditCategoryResultPane.prototype._appendResult):
  • inspector/front-end/AuditsPanel.js: (WebInspector.AuditsPanel): (WebInspector.AuditsPanel.prototype.addCategory): (WebInspector.AuditsPanel.prototype.getCategory): (WebInspector.AuditsPanel.prototype._executeAudit): (WebInspector.AuditCategory.prototype.run):
  • inspector/front-end/ExtensionAPI.js: (WebInspector.injectedExtensionAPI): (WebInspector.injectedExtensionAPI.EventSinkImpl.prototype.addListener): (WebInspector.injectedExtensionAPI.EventSinkImpl.prototype._fire): (WebInspector.injectedExtensionAPI.EventSinkImpl.prototype._dispatch): (WebInspector.injectedExtensionAPI.EventSink): (WebInspector.injectedExtensionAPI.InspectorExtensionAPI): (WebInspector.injectedExtensionAPI.Panels.prototype.create): (WebInspector.injectedExtensionAPI.Audits): (WebInspector.injectedExtensionAPI.Audits.prototype.addCategory): (WebInspector.injectedExtensionAPI.AuditCategory.customDispatch): (WebInspector.injectedExtensionAPI.AuditCategory): (WebInspector.injectedExtensionAPI.AuditCategoryImpl): (WebInspector.injectedExtensionAPI.AuditResult): (WebInspector.injectedExtensionAPI.AuditResult.prototype.get Severity): (WebInspector.injectedExtensionAPI.AuditResultImpl): (WebInspector.injectedExtensionAPI.AuditResultImpl.prototype.addResult): (WebInspector.injectedExtensionAPI.AuditResultImpl.prototype.createResult): (WebInspector.injectedExtensionAPI.AuditResultImpl.prototype.done): (WebInspector.injectedExtensionAPI.AuditResultImpl.prototype._nodeFactory): (WebInspector.injectedExtensionAPI.AuditResultNode): (WebInspector.injectedExtensionAPI.AuditResultNode.prototype.addChild):
  • inspector/front-end/ExtensionAuditCategory.js: Added. (WebInspector.ExtensionAuditCategory): (WebInspector.ExtensionAuditCategory.prototype.get id): (WebInspector.ExtensionAuditCategory.prototype.get displayName): (WebInspector.ExtensionAuditCategory.prototype.get ruleCount): (WebInspector.ExtensionAuditCategory.prototype.run): (WebInspector.ExtensionAuditCategoryResults): (WebInspector.ExtensionAuditCategoryResults.prototype.get complete): (WebInspector.ExtensionAuditCategoryResults.prototype.cancel): (WebInspector.ExtensionAuditCategoryResults.prototype.addResult): (WebInspector.ExtensionAuditCategoryResults.prototype._addNode): (WebInspector.ExtensionAuditCategoryResults.prototype._addResult):
  • inspector/front-end/ExtensionCommon.js: Added. (WebInspector.commonExtensionSymbols):
  • inspector/front-end/ExtensionServer.js: (WebInspector.ExtensionServer): (WebInspector.ExtensionServer.prototype.startAuditRun): (WebInspector.ExtensionServer.prototype.stopAuditRun): (WebInspector.ExtensionServer.prototype._postNotification): (WebInspector.ExtensionServer.prototype._onAddAuditCategory): (WebInspector.ExtensionServer.prototype._onAddAuditResult): (WebInspector.ExtensionServer.prototype._onStopAuditCategoryRun): (WebInspector.ExtensionServer.prototype._addExtensions): (WebInspector.ExtensionServer.prototype._buildExtensionAPIInjectedScript): (WebInspector.ExtensionStatus):
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.html:
  • inspector/front-end/utilities.js: ():

2010-08-30 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: add audits support to extension API
https://bugs.webkit.org/show_bug.cgi?id=44518

  • http/tests/inspector/inspector-test2.js: (initialize_InspectorTest): (runTest.runTestInFrontend): (runTest):
  • inspector/audits-panel-functional.html:
  • inspector/audits-tests.js: Added. (frontend_collectAuditResults): (frontend_collectTextContent):
  • inspector/audits-tests2.js: Added. (initialize_AuditTests.InspectorTest.collectAuditResults): (initialize_AuditTests.InspectorTest.collectTextContent): (initialize_AuditTests):
  • inspector/extensions-api-expected.txt:
  • inspector/extensions-api.html:
  • inspector/extensions-audits-api-expected.txt: Added.
  • inspector/extensions-audits-api.html: Added.
  • inspector/extensions-audits-expected.txt: Added.
  • inspector/extensions-audits-tests.js: Added. (extension_runAudits.onMessage): (extension_runAudits): (initialize_ExtensionsAuditsTest.InspectorTest.startExtensionAudits.onAuditsDone): (initialize_ExtensionsAuditsTest.InspectorTest.startExtensionAudits): (initialize_ExtensionsAuditsTest): (test):
  • inspector/extensions-audits.html: Added.
  • inspector/extensions-expected.txt:
  • inspector/extensions-test.js: (extensionFunctions): (initialize_ExtensionsTest.InspectorTest.dispatchOnMessage): (initialize_ExtensionsTest.InspectorTest.runExtensionTests): (test):
  • inspector/extensions.html:
  • inspector/resources/audits-script3.js: Removed.
  • inspector/resources/extension-main.js: (onTestsDone):
  • platform/chromium/test_expectations.txt:
5:26 AM Changeset in webkit [66476] by jschuh@chromium.org
  • 2 edits in trunk/WebCore

2010-08-31 Justin Schuh <jschuh@chromium.org>

Reviewed by Nate Chapin.

Remove unused canReferToParentFrameEncoding() function from FrameLoader.cpp
https://bugs.webkit.org/show_bug.cgi?id=44895

No new tests; no behavior changed.

  • loader/FrameLoader.cpp:
5:02 AM Changeset in webkit [66475] by benjamin.poulain@nokia.com
  • 2 edits in trunk/JavaScriptCore

2010-08-31 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

JSC TimeoutChecker::didTimeOut overflows on ARM
https://bugs.webkit.org/show_bug.cgi?id=38538

Make getCPUTime() return values relative to the first call.
The previous implementation relied on simply on currentTime(), which
return a time since epoch and not a time since the thread started. This
made the return value of getCPUTime() overflow on 32 bits.

  • runtime/TimeoutChecker.cpp: (JSC::getCPUTime):
4:33 AM Changeset in webkit [66474] by jorlow@chromium.org
  • 2 edits in trunk/WebCore

2010-08-31 Jeremy Orlow <jorlow@chromium.org>

Build fix.

  • storage/IDBObjectStoreBackendImpl.cpp: (WebCore::IDBObjectStoreBackendImpl::openCursor):
3:46 AM Changeset in webkit [66473] by jorlow@chromium.org
  • 18 edits
    2 adds in trunk

2010-08-24 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

Implement the rest of IDBCursors + make them persistent
https://bugs.webkit.org/show_bug.cgi?id=44546

  • storage/indexeddb/keyrange-expected.txt:
  • storage/indexeddb/objectstore-cursor.html: Added.
  • storage/indexeddb/open-cursor-expected.txt:
  • storage/indexeddb/script-tests/keyrange.js: (checkLeftBoundKeyRange): ():
  • storage/indexeddb/script-tests/open-cursor.js: (emptyCursorSuccess):

2010-08-24 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

Implement the rest of IDBCursors + make them persistent
https://bugs.webkit.org/show_bug.cgi?id=44546

Because the old (memory only) backend didn't support ranges, IDBCursors
were never really finished. This completes them on top of SQLite like
the rest of IndexedDB.

Test: storage/indexeddb/objectstore-cursor.html

  • storage/IDBCursor.cpp: (WebCore::IDBCursor::value):
  • storage/IDBCursorBackendImpl.cpp: (WebCore::IDBCursorBackendImpl::IDBCursorBackendImpl): (WebCore::IDBCursorBackendImpl::key): (WebCore::IDBCursorBackendImpl::value): (WebCore::IDBCursorBackendImpl::update): (WebCore::IDBCursorBackendImpl::continueFunction): (WebCore::IDBCursorBackendImpl::remove): (WebCore::IDBCursorBackendImpl::loadCurrentRow):
  • storage/IDBCursorBackendImpl.h: (WebCore::IDBCursorBackendImpl::create):
  • storage/IDBCursorBackendInterface.h:
  • storage/IDBKey.cpp: (WebCore::IDBKey::isEqual):
  • storage/IDBKey.h:
  • storage/IDBKeyRange.cpp: (WebCore::IDBKeyRange::leftBound): (WebCore::IDBKeyRange::rightBound): (WebCore::IDBKeyRange::bound):
  • storage/IDBObjectStoreBackendImpl.cpp: (WebCore::cursorWhereFragment): (WebCore::IDBObjectStoreBackendImpl::openCursor):

2010-08-24 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

Implement the rest of IDBCursors + make them persistent
https://bugs.webkit.org/show_bug.cgi?id=44546

  • src/IDBCursorBackendProxy.cpp: (WebCore::IDBCursorBackendProxy::value):
  • src/IDBCursorBackendProxy.h:
  • src/WebIDBCursorImpl.cpp: (WebKit::WebIDBCursorImpl::value):
2:56 AM Changeset in webkit [66472] by commit-queue@webkit.org
  • 6 edits in trunk/LayoutTests

2010-08-31 Mihai Parparita <mihaip@chromium.org>

Reviewed by Adam Barth.

fast/dom/frame-loading-via-document-write.html fails on Chromium and is otherwise flaky
https://bugs.webkit.org/show_bug.cgi?id=44894

Detect all frames loading more reliably (add a counter to count down when each of
the three frames has loaded). Install onload handler on images instead of the document
to not tickle bug 29615.

  • fast/dom/frame-loading-via-document-write.html:
  • fast/dom/resources/frame-loading-via-document-write.js: (didImageLoad):
  • platform/chromium/test_expectations.txt:
  • platform/mac-leopard/Skipped:
  • platform/mac-snowleopard/Skipped:
2:40 AM Changeset in webkit [66471] by abarth@webkit.org
  • 3 edits in trunk/BugsSite

2010-08-31 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

[reviewtool] Allow reviewer to select lines of context by dragging over the line numbers
https://bugs.webkit.org/show_bug.cgi?id=44936

  • PrettyPatch/PrettyPatch.rb:
    • Add a version number to bust through bugs.webkit.org's aggressive cacheing.
  • code-review.js:
1:58 AM Changeset in webkit [66470] by johnnyg@google.com
  • 13 edits
    2 adds in trunk

2010-08-27 John Gregg <johnnyg@google.com>

Reviewed by David Levin.

Notifications should support a click event
https://bugs.webkit.org/show_bug.cgi?id=44800

  • public/WebNotification.h:
  • src/WebNotification.cpp: (WebKit::WebNotification::dispatchClickEvent):

2010-08-27 John Gregg <johnnyg@google.com>

Reviewed by David Levin.

Notifications should support a click event
https://bugs.webkit.org/show_bug.cgi?id=44800

Test: fast/notifications/notifications-click-event.html

  • notifications/Notification.h:
  • notifications/Notification.idl:

2010-08-27 John Gregg <johnnyg@google.com>

Reviewed by David Levin.

Notifications should support a click event
https://bugs.webkit.org/show_bug.cgi?id=44800

  • fast/notifications/notifications-click-event-expected.txt: Added.
  • fast/notifications/notifications-click-event.html: Added.
  • platform/qt/Skipped:

2010-08-27 John Gregg <johnnyg@google.com>

Reviewed by David Levin.

Notifications should support a click event.
Adds necessary hooks to chromium's DRT so that clicks on desktop notifications
can be simulated during a layout test. Requires storing a list of active
notifications so that they can be referred to later for clicking.
https://bugs.webkit.org/show_bug.cgi?id=44800

  • DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (LayoutTestController::simulateDesktopNotificationClick):
  • DumpRenderTree/chromium/LayoutTestController.h:
  • DumpRenderTree/chromium/NotificationPresenter.cpp: (NotificationPresenter::simulateClick): (NotificationPresenter::show): (NotificationPresenter::cancel): (NotificationPresenter::objectDestroyed):
  • DumpRenderTree/chromium/NotificationPresenter.h:
1:25 AM Changeset in webkit [66469] by alex
  • 2 edits in trunk/LayoutTests

2010-08-31 Alejandro G. Castro <alex@igalia.com>

Unreviewed.

[GTK] canvas/philip/tests/2d.path.isPointInPath.edge-actual.txt
fails in the bots
https://bugs.webkit.org/show_bug.cgi?id=44932

Skip a test that is failing in the bots.

  • platform/gtk/Skipped:
1:21 AM Changeset in webkit [66468] by jianli@chromium.org
  • 2 edits in trunk/LayoutTests

Skip fast/files/apply-blob-url-to-img.html for now until finding out
how to generate the right result.

  • platform/mac/Skipped:
1:10 AM Changeset in webkit [66467] by tkent@chromium.org
  • 7 edits
    1 add in trunk

[V8] Custom binding for "dataset"
https://bugs.webkit.org/show_bug.cgi?id=44930

Reviewed by Adam Barth.

WebCore:

  • WebCore.gyp/WebCore.gyp: Remove the exclusion of DOMStringMap.idl.
  • WebCore.gypi: Add V8DOMStringMapCustom.cpp.
  • bindings/v8/custom/V8DOMStringMapCustom.cpp: Added.

(WebCore::V8DOMStringMap::namedPropertyQuery):
(WebCore::V8DOMStringMap::namedPropertyGetter):
(WebCore::V8DOMStringMap::namedPropertyEnumerator):
(WebCore::V8DOMStringMap::namedPropertyDeleter):
(WebCore::V8DOMStringMap::namedPropertySetter):

  • dom/Element.idl: Remove V8 exclusion.
  • page/DOMWindow.idl: ditto.

LayoutTests:

  • platform/chromium/test_expectations.txt: Remove dataset.html and dataset-xhtml.xhtml.
1:06 AM Changeset in webkit [66466] by zoltan@webkit.org
  • 3 edits in trunk/WebKit2

Build fix after r66448 on WebKit2.

[Qt] qt_wk_didFinishDocumentLoadForFrame needs to be implemented
https://bugs.webkit.org/show_bug.cgi?id=44934

  • UIProcess/API/qt/ClientImpl.cpp:

(qt_wk_didFinishDocumentLoadForFrame):

  • UIProcess/API/qt/ClientImpl.h:
12:56 AM Changeset in webkit [66465] by jianli@chromium.org
  • 2 edits in trunk/LayoutTests

Update chromium test result.

  • platform/chromium/test_expectations.txt:
12:39 AM Changeset in webkit [66464] by jianli@chromium.org
  • 2 edits in trunk/WebCore

Fix chromium build break.

  • page/DOMWindow.h:
12:35 AM Changeset in webkit [66463] by abarth@webkit.org
  • 4 edits
    2 adds in trunk

2010-08-31 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Stale document crashes at multiple URLs (with new parser)
https://bugs.webkit.org/show_bug.cgi?id=44885

We're not supposed to load resources in detached documents. According
to several locations I examined, it's the job of the caller of
DocLoader to check this invariant. Like most code dealing with
detached documents, this check isn't overly consistent. At some point,
we'll need to rationalize all the different patterns here. However, at
this point, this patch appears correct because it matches what we do
for <link rel="stylesheet">.

Test: fast/dom/HTMLLinkElement/prefetch-detached.html

  • html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::process):
  • loader/DocLoader.cpp: (WebCore::DocLoader::requestLinkPrefetch):

2010-08-31 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Stale document crashes at multiple URLs (with new parser)
https://bugs.webkit.org/show_bug.cgi?id=44885

Test what happens when you insert a link prefetch element into a
detached document.

  • fast/dom/HTMLLinkElement/prefetch-detached-expected.txt: Added.
  • fast/dom/HTMLLinkElement/prefetch-detached.html: Added.
12:25 AM Changeset in webkit [66462] by jianli@chromium.org
  • 14 edits
    9 adds in trunk

Expose window.createBlobURL and window.revokeBlobURL.
https://bugs.webkit.org/show_bug.cgi?id=44908

Reviewed by David Levin.

WebCore:

Tests: fast/files/apply-blob-url-to-img.html

fast/files/apply-blob-url-to-xhr.html

  • page/DOMWindow.cpp:

(WebCore::DOMWindow::createBlobURL):
(WebCore::DOMWindow::revokeBlobURL):

  • page/DOMWindow.h:
  • page/DOMWindow.idl:
  • xml/XMLHttpRequest.cpp:

(WebCore::XMLHttpRequest::createRequest):

LayoutTests:

  • fast/dom/Window/script-tests/window-property-descriptors.js:
  • fast/dom/Window/window-properties.html:
  • fast/dom/script-tests/prototype-inheritance.js:
  • fast/files/apply-blob-url-to-img.html: Added.
  • fast/files/apply-blob-url-to-xhr-expected.txt: Added.
  • fast/files/apply-blob-url-to-xhr.html: Added.
  • fast/files/resources/abe.png: Copied from LayoutTests/editing/resources/abe.png.
  • platform/chromium/test_expectations.txt:
  • platform/gtk/Skipped:
  • platform/mac-wk2/Skipped:
  • platform/mac/fast/files/apply-blob-url-to-img-expected.checksum: Added.
  • platform/mac/fast/files/apply-blob-url-to-img-expected.png: Added.
  • platform/mac/fast/files/apply-blob-url-to-img-expected.txt: Added.
  • platform/qt/Skipped:
  • platform/win/Skipped:
12:06 AM Changeset in webkit [66461] by jianli@chromium.org
  • 24 edits
    3 copies
    16 adds in trunk

Support FileReaderSync in workers.
https://bugs.webkit.org/show_bug.cgi?id=44657

Reviewed by David Levin.

WebCore:

Also add FileException interface and make Blob/File/FileError useable in
workers.

Tests: fast/files/workers/worker-read-blob-async.html

fast/files/workers/worker-read-blob-sync.html
fast/files/workers/worker-read-file-async.html
fast/files/workers/worker-read-file-sync.html

  • DerivedSources.cpp:
  • DerivedSources.make:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • fileapi/Blob.idl: Added NoStaticTables attribute.
  • fileapi/File.idl: Added NoStaticTables attribute.
  • fileapi/FileError.idl: Added NoStaticTables attribute.
  • fileapi/FileException.h: Added.
  • fileapi/FileException.idl: Added.
  • fileapi/FileReaderSync.cpp: Added.
  • fileapi/FileReaderSync.h: Added.
  • fileapi/FileReaderSync.idl: Added.
  • workers/WorkerContext.idl: Expose FileReaderSync and BlodBuilder in workers.

LayoutTests:

Added 4 test files to test FileReaderSync in workers.

  • fast/files/read-blob-async.html:
  • fast/files/read-file-async.html:
  • fast/files/resources/read-common.js:

(readBlobAsBinaryString):
(readBlobAsText):
(readBlobAsDataURL):
(_readBlobAsBinaryStringAsync):
(_readBlobAsTextAsync):
(_readBlobAsDataURLAsync):
(_readBlobAsBinaryStringSync):
(_readBlobAsTextSync):
(_readBlobAsDataURLSync):
(createReaderSync):

  • fast/files/resources/read-blob-test-cases.js:

(runNextTest):

  • fast/files/resources/read-file-test-cases.js:

(runNextTest):
(testMultipleReads):

  • fast/files/resources/setup-for-read-common.js:

(log):
(startWorker.worker.onmessage):
(startWorker.worker.onerror):
(startWorker):

  • fast/files/workers/resources/worker-read-blob-async.js: Added.
  • fast/files/workers/resources/worker-read-blob-sync.js: Added.
  • fast/files/workers/resources/worker-read-common.js: Added.
  • fast/files/workers/resources/worker-read-file-async.js: Added.
  • fast/files/workers/resources/worker-read-file-sync.js: Added.
  • fast/files/workers/worker-read-blob-async-expected.txt: Added.
  • fast/files/workers/worker-read-blob-async.html: Added.
  • fast/files/workers/worker-read-blob-sync-expected.txt: Added.
  • fast/files/workers/worker-read-blob-sync.html: Added.
  • fast/files/workers/worker-read-file-async-expected.txt: Added.
  • fast/files/workers/worker-read-file-async.html: Added.
  • fast/files/workers/worker-read-file-sync-expected.txt: Added.
  • fast/files/workers/worker-read-file-sync.html: Added.
  • platform/chromium/test_expectations.txt:
  • platform/gtk/Skipped:
  • platform/mac-wk2/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:

Aug 30, 2010:

11:44 PM Changeset in webkit [66460] by Philippe Normand
  • 2 edits in trunk/WebCore

2010-08-30 Philippe Normand <pnormand@igalia.com>

Reviewed by Martin Robinson.

[GTK] Buffered ranges drawing support
https://bugs.webkit.org/show_bug.cgi?id=44869

Refactored the media slider track painting code to support
multiple buffered ranges painting. This change introduces no
functional regression.

  • platform/gtk/RenderThemeGtk.cpp: (WebCore::RenderThemeGtk::paintMediaSliderTrack):
10:51 PM Changeset in webkit [66459] by jianli@chromium.org
  • 1 edit in trunk/WebCore/ChangeLog

Update WebCore/ChangeLog to add missing entries.

  • loader/RedirectScheduler.cpp:

(WebCore::RedirectScheduler::scheduleHistoryNavigation):

10:39 PM Changeset in webkit [66458] by commit-queue@webkit.org
  • 8 edits
    2 adds in trunk

2010-08-30 Mihai Parparita <mihaip@chromium.org>

Reviewed by Adam Barth.

HISTORY_ALWAYS_ASYNC should be removed (history should always be async)
https://bugs.webkit.org/show_bug.cgi?id=44315

Remove ENABLE_HISTORY_ALWAYS_ASYNC #define.

  • wtf/Platform.h:

2010-08-30 Mihai Parparita <mihaip@chromium.org>

Reviewed by Adam Barth.

HISTORY_ALWAYS_ASYNC should be removed (history should always be async)
https://bugs.webkit.org/show_bug.cgi?id=44315

Add test that checks history.back() asynchronous behavior. Modifies
location-hash.html to not assume synchronous traversal and removes it
from the Chromium test expectations, since it passes there now too.

  • fast/dom/location-hash-expected.txt:
  • fast/dom/location-hash.html:
  • fast/history/history-traversal-is-asynchronous-expected.txt: Added.
  • fast/history/history-traversal-is-asynchronous.html: Added.
  • platform/chromium/test_expectations.txt:

2010-08-30 Mihai Parparita <mihaip@chromium.org>

Reviewed by Adam Barth.

HISTORY_ALWAYS_ASYNC should be removed (history should always be async)
https://bugs.webkit.org/show_bug.cgi?id=44315

Remove check in RedirectScheduler::scheduleHistoryNavigation that would
dispatch some navigations synchronously.

Test: fast/history/history-traversal-is-asynchronous.html

  • loader/RedirectScheduler.cpp: (WebCore::RedirectScheduler::scheduleHistoryNavigation):
10:37 PM Changeset in webkit [66457] by jianli@chromium.org
  • 1 edit in trunk/WebCore/fileapi/ThreadableBlobRegistry.cpp

2010-08-30 Jian Li <jianli@chromium.org>

Try to fix break again.

  • fileapi/ThreadableBlobRegistry.cpp: (WebCore::ThreadableBlobRegistry::registerBlobURL): (WebCore::ThreadableBlobRegistry::unregisterBlobURL):
10:26 PM Changeset in webkit [66456] by jianli@chromium.org
  • 2 edits in trunk/WebCore/fileapi

2010-08-30 Jian Li <jianli@chromium.org>

Fix another build break. Also fix directory upload test break.

  • fileapi/File.cpp: (WebCore::File::File):
  • fileapi/ThreadableBlobRegistry.cpp:
10:17 PM Changeset in webkit [66455] by jianli@chromium.org
  • 1 edit in trunk/WebCore/xml/XMLHttpRequest.cpp

2010-08-30 Jian Li <jianli@chromium.org>

Fix build break.

  • xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send):
10:05 PM Changeset in webkit [66454] by commit-queue@webkit.org
  • 3 edits in trunk/WebKit/efl

2010-08-30 Kamil Blank <k.blank@samsung.com>

Reviewed by Adam Barth.

[EFL] Added API which returns position of n-th text matches mark
https://bugs.webkit.org/show_bug.cgi?id=44258

  • ewk/ewk_frame.cpp: (_ewk_frame_rect_cmp_less_than): Private. (_ewk_frame_rect_is_negative_value): Private. (ewk_frame_text_matches_nth_pos_get): Added. Function returns position of n-th text match in frame.
  • ewk/ewk_frame.h:
9:56 PM Changeset in webkit [66453] by jianli@chromium.org
  • 1 edit in trunk/WebCore/platform/network/BlobRegistryImpl.cpp

2010-08-30 Jian Li <jianli@chromium.org>

Fix qt/gtk build break.

  • platform/network/BlobRegistryImpl.cpp:
9:45 PM Changeset in webkit [66452] by jianli@chromium.org
  • 33 edits
    1 copy
    1 move
    8 adds
    3 deletes in trunk

Switch the Blob implementation to using the blob data registration model
https://bugs.webkit.org/show_bug.cgi?id=44389

Reviewed by Darin Fisher.

WebCore:

Tests: fast/files/read-blob-async.html

fast/files/read-file-async.html

With this switch, File/Blob/BlobBuilder are changed to register the blob
data. FileReader is changed to route through loading the blob resource.
FormData is also updated to take BlobData. The WebKit mac implementation
is updated to resolve the blob references in the BlobData.

  • CMakeLists.txt: Update the project file to remove BlobItem.*.
  • GNUmakefile.am: Update the project file to remove BlobItem.*.
  • WebCore.gypi: Update the project file to remove BlobItem.*.
  • WebCore.pro: Update the project file to remove BlobItem.*.
  • WebCore.vcproj/WebCore.vcproj: Update the project file to remove BlobItem.*.
  • WebCore.xcodeproj/project.pbxproj: Update the project file to remove BlobItem.*.
  • fileapi/Blob.cpp: Switch to using BlobData.

(WebCore::Blob::Blob):
(WebCore::Blob::slice):

  • fileapi/Blob.h: Switch to using BlobData.

(WebCore::Blob::create):
(WebCore::Blob::size):
(WebCore::Blob::isFile):

  • fileapi/BlobBuilder.cpp: Switch to using BlobData.

(WebCore::BlobBuilder::BlobBuilder):
(WebCore::BlobBuilder::append):
(WebCore::BlobBuilder::getBlob):

  • fileapi/BlobBuilder.h: Switch to using BlobData.
  • fileapi/BlobURL.cpp: Add a new helper method used in FormData.

(WebCore::BlobURL::getIdentifier):

  • fileapi/BlobURL.h:
  • fileapi/File.cpp: Switch to using BlobData.

(WebCore::createBlobDataForFile):
(WebCore::File::File):
(WebCore::File::size):
(WebCore::File::captureSnapshot):

  • fileapi/File.h: Switch to using BlobData.

(WebCore::File::create):
(WebCore::File::path):
(WebCore::File::name):
(WebCore::File::webkitRelativePath):

  • fileapi/FileReader.cpp: Change the reading to route through blob resource loading.

(WebCore::FileReader::FileReader):
(WebCore::FileReader::readAsBinaryString):
(WebCore::FileReader::readAsText):
(WebCore::FileReader::readAsDataURL):
(WebCore::delayedStart):
(WebCore::FileReader::readInternal):
(WebCore::FileReader::terminate):
(WebCore::FileReader::start):
(WebCore::FileReader::didReceiveResponse):
(WebCore::FileReader::didReceiveData):
(WebCore::FileReader::didFinishLoading):
(WebCore::FileReader::didFail):
(WebCore::FileReader::failed):
(WebCore::FileReader::httpStatusCodeToExceptionCode):
(WebCore::FileReader::result):
(WebCore::FileReader::convertToDataURL):

  • fileapi/FileReader.h:
  • html/FormDataList.cpp: Account to BlobData change.

(WebCore::FormDataList::appendString):
(WebCore::FormDataList::appendBlob):

  • html/FormDataList.h: Account to BlobData change.

(WebCore::FormDataList::appendBlob):
(WebCore::FormDataList::Item::Item):
(WebCore::FormDataList::Item::data):
(WebCore::FormDataList::Item::blob):
(WebCore::FormDataList::items):

  • loader/FormSubmission.cpp: Account to BlobData change.

(WebCore::FormSubmission::create):

  • platform/BlobItem.cpp: Removed.
  • platform/BlobItem.h: Removed.
  • platform/network/BlobRegistryImpl.cpp: Add the implementations for resource loading.

(WebCore::BlobRegistryImpl::createResourceHandle):
(WebCore::BlobRegistryImpl::loadResourceSynchronously):

  • platform/network/BlobResourceHandle.cpp: Fix a bug that the ref is not added.

(WebCore::BlobResourceHandle::BlobResourceHandle):

  • platform/network/FormData.cpp: Account to BlobData change.

(WebCore::FormData::create):
(WebCore::FormData::createMultiPart):
(WebCore::FormData::deepCopy):
(WebCore::FormData::appendFile):
(WebCore::FormData::appendKeyValuePairItems):

  • platform/network/FormData.h: Account to BlobData change.
  • platform/network/mac/FormDataStreamMac.mm: Resolve blob references in the form data.

(WebCore::closeCurrentStream):
(WebCore::advanceCurrentStream):
(WebCore::formCreate):
(WebCore::formRead):
(WebCore::setHTTPBody):

  • xml/XMLHttpRequest.cpp: Account to BlobData change.

(WebCore::XMLHttpRequest::send):

WebKit/chromium:

  • src/WebSearchableFormData.cpp:

(WebCore::HasSuitableTextElement):

LayoutTests:

Add a new test and change an existing test. Both tests are written in
better organized utility files and modules.

  • fast/files/file-reader-expected.txt: Removed.
  • fast/files/file-reader.html: Removed.
  • fast/files/read-blob-async-expected.txt: Added.
  • fast/files/read-blob-async.html: Added.
  • fast/files/read-file-async-expected.txt: Added.
  • fast/files/read-file-async.html: Added.
  • fast/files/resources/UTF8-2.txt: Added.
  • fast/files/resources/UTF8-3.txt: Added.
  • fast/files/resources/read-blob-test-cases.js: Added.
  • fast/files/resources/read-common.js: Added.
  • fast/files/resources/read-file-test-cases.js: Added.
  • fast/files/resources/setup-for-read-common.js: Added.
  • platform/gtk/Skipped: Account to the test changes for gtk.
  • platform/mac-wk2/Skipped: Account to the test changes for mac-wk2.
  • platform/qt/Skipped: Account to the test changes for qt.
  • platform/win/Skipped: Account to the test changes for win.
9:41 PM Changeset in webkit [66451] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/efl

2010-08-30 Ryuan Choi <ryuan.choi@samsung.com>

Reviewed by Adam Barth.

[EFL]Url of HistoryItem was broken for special character like korean
https://bugs.webkit.org/show_bug.cgi?id=44495

Remove unnecessary code. This makes a bug with complicated URL.

  • ewk/ewk_frame.cpp: (ewk_frame_view_state_save):
9:24 PM Changeset in webkit [66450] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/chromium

2010-08-30 Nat Duca <nduca@chromium.org>

Reviewed by Adam Barth.

[chromium] Accelerated Compositing: Artifacts/blink when enabling compositor.
https://bugs.webkit.org/show_bug.cgi?id=44196

If accelerated compositing enables after a page loads, the dirtied
portion of the screen will be only a subset of the full screen,
leading to artefacts. Avoid these artefacts by invalidating the
visible content rect on compositor initialization.

  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
8:44 PM Changeset in webkit [66449] by eric@webkit.org
  • 36 edits in trunk

2010-08-30 Eric Seidel <eric@webkit.org>

Unreviewed, rolling out r66418.
http://trac.webkit.org/changeset/66418
https://bugs.webkit.org/show_bug.cgi?id=44896

Adam tried to roll this out with:
https://bugs.webkit.org/show_bug.cgi?id=44924
but we hit a commit-queue edgecase and it failed, trying again.

Causing test failures on multiple bots

  • platform/mac-leopard/svg/css/composite-shadow-example-expected.checksum:
  • platform/mac-leopard/svg/css/composite-shadow-example-expected.png:
  • platform/mac-leopard/svg/css/composite-shadow-with-opacity-expected.checksum:
  • platform/mac-leopard/svg/css/composite-shadow-with-opacity-expected.png:
  • platform/mac/svg/css/composite-shadow-example-expected.txt:
  • platform/mac/svg/css/composite-shadow-with-opacity-expected.txt:

2010-08-30 Eric Seidel <eric@webkit.org>

Unreviewed, rolling out r66418.
http://trac.webkit.org/changeset/66418
https://bugs.webkit.org/show_bug.cgi?id=44896

Adam tried to roll this out with:
https://bugs.webkit.org/show_bug.cgi?id=44924
but we hit a commit-queue edgecase and it failed, trying again.

Causing test failures on multiple bots

  • rendering/RenderForeignObject.cpp: (WebCore::RenderForeignObject::layout):
  • rendering/RenderObject.cpp:
  • rendering/RenderObject.h: (WebCore::RenderObject::setNeedsBoundariesUpdate):
  • rendering/RenderObjectChildList.cpp: (WebCore::RenderObjectChildList::removeChildNode):
  • rendering/RenderPath.cpp: (WebCore::RenderPath::layout): (WebCore::RenderPath::paint): (WebCore::RenderPath::styleWillChange):
  • rendering/RenderPath.h: (WebCore::RenderPath::setNeedsBoundariesUpdate):
  • rendering/RenderSVGBlock.cpp:
  • rendering/RenderSVGBlock.h:
  • rendering/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::RenderSVGContainer): (WebCore::RenderSVGContainer::layout): (WebCore::RenderSVGContainer::paint): (WebCore::RenderSVGContainer::objectBoundingBox): (WebCore::RenderSVGContainer::strokeBoundingBox): (WebCore::RenderSVGContainer::repaintRectInLocalCoordinates):
  • rendering/RenderSVGContainer.h: (WebCore::RenderSVGContainer::calculateLocalTransform):
  • rendering/RenderSVGGradientStop.h:
  • rendering/RenderSVGHiddenContainer.cpp: (WebCore::RenderSVGHiddenContainer::clippedOverflowRectForRepaint): (WebCore::RenderSVGHiddenContainer::objectBoundingBox): (WebCore::RenderSVGHiddenContainer::repaintRectInLocalCoordinates):
  • rendering/RenderSVGHiddenContainer.h:
  • rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::layout):
  • rendering/RenderSVGImage.h:
  • rendering/RenderSVGInline.cpp:
  • rendering/RenderSVGInline.h:
  • rendering/RenderSVGModelObject.cpp:
  • rendering/RenderSVGModelObject.h:
  • rendering/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::RenderSVGRoot): (WebCore::RenderSVGRoot::layout): (WebCore::RenderSVGRoot::objectBoundingBox): (WebCore::RenderSVGRoot::strokeBoundingBox): (WebCore::RenderSVGRoot::repaintRectInLocalCoordinates):
  • rendering/RenderSVGRoot.h:
  • rendering/RenderSVGText.cpp: (WebCore::RenderSVGText::layout):
  • rendering/RenderSVGTransformableContainer.cpp: (WebCore::RenderSVGTransformableContainer::calculateLocalTransform):
  • rendering/RenderSVGTransformableContainer.h:
  • rendering/RenderSVGViewportContainer.cpp: (WebCore::RenderSVGViewportContainer::calcViewport):
  • rendering/SVGRenderSupport.cpp: (WebCore::SVGRenderSupport::computeContainerBoundingBox):
  • rendering/SVGRenderSupport.h:
  • rendering/style/SVGRenderStyle.cpp: (WebCore::SVGRenderStyle::diff):
8:34 PM Changeset in webkit [66448] by alice.liu@apple.com
  • 15 edits in trunk

Add missing parts of didFinishDocumentLoadForFrame
https://bugs.webkit.org/show_bug.cgi?id=44913

Reviewed by Darin Adler.

WebKit2:

  • Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: Added new kind
  • UIProcess/API/C/WKPage.h:
  • UIProcess/API/qt/qwkpage.cpp:

(QWKPage::QWKPage): Updated struct

  • UIProcess/WebLoaderClient.cpp:

(WebKit::WebLoaderClient::didFinishDocumentLoadForFrame): Added

  • UIProcess/WebLoaderClient.h:
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::didReceiveMessage): Added case for WebPageProxyMessage::DidFinishDocumentLoadForFrame
(WebKit::WebPageProxy::didFinishDocumentLoadForFrame): Added

  • UIProcess/WebPageProxy.h:

Just rearranging existing code in these:

  • WebProcess/InjectedBundle/API/c/WKBundlePage.h:
  • WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:

(WebKit::InjectedBundlePageLoaderClient::didFinishDocumentLoadForFrame):

  • WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:

WebKitTools:

  • MiniBrowser/mac/BrowserWindowController.m:

(didFinishDocumentLoadForFrame): Added
(-[BrowserWindowController awakeFromNib]): Updated struct

  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:

(WTR::InjectedBundlePage::InjectedBundlePage): Rearranged function ptr

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::initialize): Updated struct

7:14 PM Changeset in webkit [66447] by abarth@webkit.org
  • 6 edits in trunk

2010-08-30 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Implement CDATASection state for the HTMLTokenizer
https://bugs.webkit.org/show_bug.cgi?id=44923

In the spec, this state refers back to the HTMLTreeBuilder from the
HTMLTokenizer. Rather that introduce that (backwards) dependencies, we
have the tree builder set a bit on the tokenizer.

  • html/parser/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::reset): (WebCore::HTMLTokenizer::nextToken):
  • html/parser/HTMLTokenizer.h: (WebCore::HTMLTokenizer::shouldAllowCDATA): (WebCore::HTMLTokenizer::setShouldAllowCDATA):
  • html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::constructTreeFromToken):

2010-08-30 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Implement CDATASection state for the HTMLTokenizer
https://bugs.webkit.org/show_bug.cgi?id=44923

Large test progression.

  • html5lib/runner-expected.txt:
7:04 PM Changeset in webkit [66446] by crogers@google.com
  • 3 edits in trunk/JavaScriptCore

2010-08-30 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

Fix namespace for wtf/Complex.h and wtf/Vector3.h
https://bugs.webkit.org/show_bug.cgi?id=44892

  • wtf/Complex.h:
  • wtf/Vector3.h:
6:40 PM Changeset in webkit [66445] by mrowe@apple.com
  • 4 edits in tags/Safari-534.6.3/WebKit/mac

Merge r66441.

6:40 PM Changeset in webkit [66444] by mrowe@apple.com
  • 5 edits in tags/Safari-534.6.3

Versioning.

6:32 PM Changeset in webkit [66443] by abarth@webkit.org
  • 5 edits in trunk

2010-08-30 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Enable HTML5lib's test_innerHTML01.dat
https://bugs.webkit.org/show_bug.cgi?id=44919

These tests provoked two branches that we hadn't implemented yet.

  • html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processStartTag): (WebCore::HTMLTreeBuilder::processEndTag):

2010-08-30 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Enable HTML5lib's test_innerHTML01.dat
https://bugs.webkit.org/show_bug.cgi?id=44919

Enable these tests now that they don't ASSERT. Yay! They pass. :)

  • html5lib/runner-expected.txt:
  • html5lib/runner.html:
6:32 PM Changeset in webkit [66442] by mrowe@apple.com
  • 1 copy in tags/Safari-534.6.3

New tag.

6:07 PM Changeset in webkit [66441] by mrowe@apple.com
  • 4 edits in trunk/WebKit/mac

<rdar://problem/8369736> WebKit build fails.

Reviewed by Darin Adler.

Temporarily add some extra includes in order to get things building again until <rdar://problem/8374711> is addressed.

  • Carbon/HIViewAdapter.m:
  • Carbon/HIWebView.mm:
  • Plugins/WebNetscapePluginView.mm:
6:06 PM Changeset in webkit [66440] by mrowe@apple.com
  • 2 edits in trunk/WebCore

Stop using a QuickDraw function that was only used for debugging purposes.

Reviewed by Darin Adler.

  • platform/graphics/mac/SimpleFontDataMac.mm:

(WebCore::pathFromFont):

6:04 PM Changeset in webkit [66439] by weinig@apple.com
  • 2 edits in trunk/WebKit2

Try and fix the WebKit2 buildbot.

  • WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:

(InitWebCoreSystemInterface): Add missing initialization of QTMovieDisableComponent.

6:04 PM Changeset in webkit [66438] by Adam Roben
  • 2 edits in trunk/WebKit/win

Fix crash on launch on Windows due to changing IWebFramePrivate's vtable

This regressed in r65107.

Fixes <http://webkit.org/b/44755>.

Rubber-stamped by Jon Honeycutt.

  • Interfaces/IWebFramePrivate.idl: Moved suspendAnimations and

resumeAnimations to the end of the interface so that the vtable will
match what Safari expects.

6:01 PM Changeset in webkit [66437] by aestes@apple.com
  • 4 edits in trunk/WebKit

WebKit: Add 'application/x-snkp' to StringsNotToBeLocalized.txt.

Reviewed by Darin Adler.

  • StringsNotToBeLocalized.txt:

WebKit/mac: REGRESSION (r66156): Sites using AppleConnect for authentication fail to log in.
https://bugs.webkit.org/show_bug.cgi?id=44865

Reviewed by Darin Adler.

After http://trac.webkit.org/changeset/66156, sites using the AppleConnect plug-in
for authentication fail to log in. This is due to a bug in AppleConnect that r66156
exposed, but since this will have a significant impact on users of WebKit nightly
builds, a plugin-specific hack should be added while the underlying issue is being
addressed.

  • WebCoreSupport/WebFrameLoaderClient.mm:

(WebFrameLoaderClient::createPlugin): Convert plug-in parameter names to lowercase
if the plugin is of type 'application/x-snkp'.

5:51 PM Changeset in webkit [66436] by weinig@apple.com
  • 17 edits
    15 adds in trunk/WebKit2

Add URLRequest API for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=44910

Reviewed by Anders Carlsson.

Add WebURLRequest class and WKURLRequestRef C API to go with it. Right now,
instance of WKURLRequestRef are manipulated via platform types, a la the
WKStringRef and WKURLRef types.

  • Pipes WKPageLoadURLRequest through to the WebProcess.
  • Shared/APIObject.h:
  • Shared/CoreIPCSupport/WebPageMessageKinds.h:
  • Shared/WebCoreArgumentCoders.h:
  • Shared/WebURLRequest.cpp: Added.

(WebKit::WebURLRequest::WebURLRequest):

  • Shared/WebURLRequest.h: Added.

(WebKit::WebURLRequest::create):
(WebKit::WebURLRequest::resourceRequest):
(WebKit::WebURLRequest::type):

  • Shared/mac/WebCoreArgumentCodersMac.mm: Added.

(CoreIPC::encodeResourceRequest):
(CoreIPC::decodeResourceRequest):

  • Shared/mac/WebURLRequestMac.mm: Added.

(WebKit::WebURLRequest::WebURLRequest):
(WebKit::WebURLRequest::platformRequest):

  • Shared/qt/WebCoreArgumentCodersQt.cpp: Added.

(CoreIPC::encodeResourceRequest):
(CoreIPC::decodeResourceRequest):

  • Shared/qt/WebURLRequestQt.cpp: Added.

(WebKit::WebURLRequest::WebURLRequest):
(WebKit::WebURLRequest::platformRequest):

  • Shared/win/WebCoreArgumentCodersWin.cpp: Added.

(CoreIPC::encodeResourceRequest):
(CoreIPC::decodeResourceRequest):

  • Shared/win/WebURLRequestWin.cpp: Added.

(WebKit::WebURLRequest::WebURLRequest):
(WebKit::WebURLRequest::platformRequest):

  • UIProcess/API/C/WKAPICast.h:
  • UIProcess/API/C/WKBase.h:
  • UIProcess/API/C/WKPage.cpp:

(WKPageLoadURLRequest):

  • UIProcess/API/C/WKPage.h:
  • UIProcess/API/C/WKURLRequest.cpp: Added.

(WKURLRequestGetTypeID):

  • UIProcess/API/C/WKURLRequest.h: Added.
  • UIProcess/API/C/WebKit2.h:
  • UIProcess/API/C/cf/WKURLRequestCF.cpp: Added.

(WKURLRequestCreateWithCFURLRequest):
(WKURLRequestCopyCFURLRequest):

  • UIProcess/API/C/cf/WKURLRequestCF.h: Added.
  • UIProcess/API/C/mac: Added.
  • UIProcess/API/C/mac/WKURLRequestNS.h: Added.
  • UIProcess/API/C/mac/WKURLRequestNS.mm: Added.

(WKURLRequestCreateWithNSURLRequest):
(WKURLRequestCopyNSURLRequest):

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::loadURL):
(WebKit::WebPageProxy::loadURLRequest):

  • UIProcess/WebPageProxy.h:
  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::loadURL):
(WebKit::WebPage::loadURLRequest):
(WebKit::WebPage::didReceiveMessage):

  • WebProcess/WebPage/WebPage.h:
  • win/WebKit2.vcproj:
  • win/WebKit2Generated.make:
5:44 PM Changeset in webkit [66435] by abarth@webkit.org
  • 5 edits
    2 adds in trunk/LayoutTests

2010-08-30 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Import new tests from HTML5lib
https://bugs.webkit.org/show_bug.cgi?id=44912

  • html5lib/resources/tests10.dat:
  • html5lib/resources/tests20.dat:
  • html5lib/resources/tests21.dat: Added.
  • html5lib/resources/tests_innerHTML_1.dat: Added.
  • html5lib/runner-expected.txt:
  • html5lib/runner.html:
5:39 PM Changeset in webkit [66434] by morrita@google.com
  • 6 edits
    5 adds
    4 deletes in trunk/LayoutTests

2010-08-30 Yuta Kitamura <yutak@chromium.org>

Unreviewed test expectation update.

Update Chromium test expectations
https://bugs.webkit.org/show_bug.cgi?id=44859

  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-80-t-expected.checksum: Removed. Test expectation was wrong.
  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png: Ditto.
  • platform/chromium-linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png: Added.
  • platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-80-t-expected.checksum: Removed.
  • platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png: Removed.
  • platform/chromium-win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.checksum:
  • platform/chromium-win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png:
  • platform/chromium-win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum: Added.
  • platform/chromium-win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png: Added.
  • platform/chromium-win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
5:38 PM Changeset in webkit [66433] by vangelis@chromium.org
  • 2 edits in trunk/WebKitTools

2010-08-30 Vangelis Kokkevis <vangelis@chromium.org>

Unreviewed: Add myself to the list of Committers.

  • Scripts/webkitpy/common/config/committers.py:
5:29 PM Changeset in webkit [66432] by dumi@chromium.org
  • 1 edit
    3 deletes in trunk/LayoutTests

Unreviewed, updating Chromium expectations.

  • platform/chromium-win/fast/lists/w3-css3-list-styles-numeric-expected.checksum: Removed.
  • platform/chromium-win/fast/lists/w3-css3-list-styles-numeric-expected.png: Removed.
  • platform/chromium-win/fast/lists/w3-css3-list-styles-numeric-expected.txt: Removed.
5:26 PM Changeset in webkit [66431] by rniwa@webkit.org
  • 7 edits
    2 adds in trunk

2010-08-30 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

queryCommandValue("BackColor") returns rgb(0,0,0) for elements with transparent background
https://bugs.webkit.org/show_bug.cgi?id=21680

The bug was caused by WebKit's using the computed style to obtain the background color,
which is rgba(0,0,0,0) for nodes with transparent background color. While this is correct
in the accordance to CSS2 because background-color is not inherited by default,
it is not desirable for editing purposes where the background color in effect is expected.

Modified valueStyle in EditorCommand.cpp to call Editor::selectionStartCSSPropertyValue,
instead of Frame::selectionStartStylePropertyValue, which traverses common ancestors of
the selected range or caret to retrieve the effective background color of the selected region
instead of the background color at the start of the selection.
This takes effect when the original background color is transparent or the selection is range
(to avoid picking up the background color only present at the start of paragraph).

Removed selectionStartStylePropertyValue and migrated it to Editor::selectionStartCSSPropertyValue.

Test: editing/execCommand/query-command-value-background-color.html

  • editing/Editor.cpp: (WebCore::hasTransparentBackgroundColor): Checks whether the specified style's background color is transparent or not. (WebCore::Editor::selectionStartCSSPropertyValue): Migrated the contents of selectionStartStylePropertyValue and added the special case for background color.
  • editing/Editor.h: Added the prototype for selectionStartCSSPropertyValue.
  • editing/EditorCommand.cpp: (WebCore::valueStyle): Calls Editor::selectionStartCSSPropertyValue.
  • page/Frame.cpp: Removed selectionStartStylePropertyValue.
  • page/Frame.h: Ditto.

2010-08-30 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

queryCommandValue("BackColor") returns rgb(0,0,0) for elements with transparent background
https://bugs.webkit.org/show_bug.cgi?id=21680

Tests queryCommandValue("BackColor") on various cases, especially the cases where
the background color of the selected node is transparent but that of its ancestor has a color.

  • editing/execCommand/query-command-value-background-color-expected.txt: Added.
  • editing/execCommand/query-command-value-background-color.html: Added.
5:19 PM Changeset in webkit [66430] by tkent@chromium.org
  • 4 edits in trunk

2010-08-30 Kent Tamura <tkent@chromium.org>

Reviewed by Adam Barth.

Fix fast/notifications/notifications-display-close-events.html failure
https://bugs.webkit.org/show_bug.cgi?id=44585

  • platform/chromium/drt_expectations.txt:

2010-08-30 Kent Tamura <tkent@chromium.org>

Reviewed by Adam Barth.

Fix fast/notifications/notifications-display-close-events.html failure
https://bugs.webkit.org/show_bug.cgi?id=44585

Apply http://crrev.com/48893. We should dispatch display events
asynchronously.

  • DumpRenderTree/chromium/NotificationPresenter.cpp: (deferredDisplayDispatch): (NotificationPresenter::show):
5:11 PM Changeset in webkit [66429] by tony@chromium.org
  • 3 edits in trunk/LayoutTests

2010-08-30 Tony Chang <tony@chromium.org>

Unreviewed, rebaseline plugins/mouse-event.html on chromium win/linux
after http://trac.webkit.org/changeset/66408.

  • platform/chromium-linux/plugins/mouse-events-expected.txt:
  • platform/chromium-win/plugins/mouse-events-expected.txt:
5:02 PM Changeset in webkit [66428] by commit-queue@webkit.org
  • 4 edits
    1 add in trunk/WebCore

2010-08-30 Lei Zhang <thestig@chromium.org>

Reviewed by Shinichiro Hamaji.

Defer printing until the FrameLoader finishes loading.
https://bugs.webkit.org/show_bug.cgi?id=43658

  • manual-tests/print-before-load.html: Added.
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::finishedLoading):
  • page/DOMWindow.cpp: (WebCore::DOMWindow::DOMWindow): (WebCore::DOMWindow::print):
  • page/DOMWindow.h: (WebCore::DOMWindow::printDeferred):
5:01 PM Changeset in webkit [66427] by crogers@google.com
  • 22 edits
    1 add in branches/audio

audio branch: lots of random cleanup for moving to trunk

5:00 PM Changeset in webkit [66426] by demarchi@webkit.org
  • 2 edits in trunk

2010-08-30 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Adam Barth.

[EFL] Remove compiler optimization for gcc 4.5.1
https://bugs.webkit.org/show_bug.cgi?id=44520

GCC 4.5.1 generates wrong code because of -ftree-sra which is enabled
by default at any optimization level.

Newer and older versions are not affected, so check for compiler
version before disabling this.

  • cmake/WebKitHelpers.cmake: add flag depending on compiler version.
4:37 PM Changeset in webkit [66425] by rniwa@webkit.org
  • 3 edits in trunk/LayoutTests

2010-08-30 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Adele Peterson.

REGRESSION(r51939): platform/win/editing/selection/doubleclick-should-not-expand-across-lines.html fails
https://bugs.webkit.org/show_bug.cgi?id=44897

Fixed the path to fast/js/resources/

  • platform/chromium/test_expectations.txt: No longer fails.
  • platform/win/editing/selection/doubleclick-should-not-expand-across-lines.html: Fixed.
4:29 PM Changeset in webkit [66424] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-30 Tony Chang <tony@chromium.org>

Unreviewed, fixing chromium test_expectations after r66299.

  • platform/chromium/test_expectations.txt:
4:14 PM Changeset in webkit [66423] by evan@chromium.org
  • 2 edits
    6 deletes in trunk/LayoutTests

2010-08-30 Evan Martin <evan@chromium.org>

Reviewed by Tony Chang.

[chromium] incorrect baselines on all platforms for fast/css/font-weight-1
https://bugs.webkit.org/show_bug.cgi?id=44904

This test uses a custom font. From the change that checked them in, it
required build changes to make this custom font available for the tests.
The Chromium baselines were obviously wrong.

  • platform/chromium-linux/fast/css/font-weight-1-expected.checksum: Removed.
  • platform/chromium-linux/fast/css/font-weight-1-expected.png: Removed.
  • platform/chromium-linux/fast/css/font-weight-1-expected.txt: Removed.
  • platform/chromium-win/fast/css/font-weight-1-expected.checksum: Removed.
  • platform/chromium-win/fast/css/font-weight-1-expected.png: Removed.
  • platform/chromium-win/fast/css/font-weight-1-expected.txt: Removed.
  • platform/chromium/test_expectations.txt: mark as failing on all platforms.
3:57 PM Changeset in webkit [66422] by abarth@webkit.org
  • 1 edit in trunk/BugsSite/PrettyPatch/PrettyPatch.rb

Typo fix.

3:53 PM Changeset in webkit [66421] by dumi@chromium.org
  • 2 edits
    33 deletes in trunk/LayoutTests

Unreviewed, updating Chromium expectations.

  • platform/chromium-linux/fast/lists/li-values-expected.checksum: Removed.
  • platform/chromium-linux/fast/lists/li-values-expected.png: Removed.
  • platform/chromium-linux/fast/lists/li-values-expected.txt: Removed.
  • platform/chromium-linux/fast/lists/w3-css3-list-styles-alphabetic-expected.checksum: Removed.
  • platform/chromium-linux/fast/lists/w3-css3-list-styles-alphabetic-expected.png: Removed.
  • platform/chromium-linux/fast/lists/w3-css3-list-styles-alphabetic-expected.txt: Removed.
  • platform/chromium-linux/fast/lists/w3-css3-list-styles-numeric-expected.checksum: Removed.
  • platform/chromium-linux/fast/lists/w3-css3-list-styles-numeric-expected.png: Removed.
  • platform/chromium-linux/fast/lists/w3-css3-list-styles-numeric-expected.txt: Removed.
  • platform/chromium-linux/fast/lists/w3-list-styles-expected.checksum: Removed.
  • platform/chromium-linux/fast/lists/w3-list-styles-expected.png: Removed.
  • platform/chromium-linux/fast/lists/w3-list-styles-expected.txt: Removed.
  • platform/chromium-win-xp/fast/lists/w3-css3-list-styles-alphabetic-expected.checksum: Removed.
  • platform/chromium-win-xp/fast/lists/w3-css3-list-styles-alphabetic-expected.png: Removed.
  • platform/chromium-win-xp/fast/lists/w3-css3-list-styles-alphabetic-expected.txt: Removed.
  • platform/chromium-win/fast/lists/alpha-boundary-values-expected.checksum: Removed.
  • platform/chromium-win/fast/lists/alpha-boundary-values-expected.png: Removed.
  • platform/chromium-win/fast/lists/alpha-boundary-values-expected.txt: Removed.
  • platform/chromium-win/fast/lists/alpha-list-wrap-expected.checksum: Removed.
  • platform/chromium-win/fast/lists/alpha-list-wrap-expected.png: Removed.
  • platform/chromium-win/fast/lists/alpha-list-wrap-expected.txt: Removed.
  • platform/chromium-win/fast/lists/decimal-leading-zero-expected.checksum: Removed.
  • platform/chromium-win/fast/lists/decimal-leading-zero-expected.png: Removed.
  • platform/chromium-win/fast/lists/decimal-leading-zero-expected.txt: Removed.
  • platform/chromium-win/fast/lists/list-style-type-dynamic-change-expected.checksum: Removed.
  • platform/chromium-win/fast/lists/list-style-type-dynamic-change-expected.png: Removed.
  • platform/chromium-win/fast/lists/list-style-type-dynamic-change-expected.txt: Removed.
  • platform/chromium-win/fast/lists/w3-css3-list-styles-alphabetic-expected.checksum: Removed.
  • platform/chromium-win/fast/lists/w3-css3-list-styles-alphabetic-expected.png: Removed.
  • platform/chromium-win/fast/lists/w3-css3-list-styles-alphabetic-expected.txt: Removed.
  • platform/chromium-win/fast/lists/w3-list-styles-expected.checksum: Removed.
  • platform/chromium-win/fast/lists/w3-list-styles-expected.png: Removed.
  • platform/chromium-win/fast/lists/w3-list-styles-expected.txt: Removed.
  • platform/chromium/test_expectations.txt:
3:52 PM Changeset in webkit [66420] by abarth@webkit.org
  • 3 edits in trunk/BugsSite

2010-08-30 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

[review tool] Let reviewer select how much context to show in snippet
https://bugs.webkit.org/show_bug.cgi?id=44905

We now highlight the context for a comment in yellow on the left (where
the line numbers are). Clicking a line number expands or contracts the
amount of context, as appropriate. Informal user testing indicates
that we might want to support drag as well.

This patch also changes the "open a comment box here" action to
double-click to avoid issues with mis-clicks.

  • PrettyPatch/PrettyPatch.rb:
  • code-review.js:
3:43 PM Changeset in webkit [66419] by crogers@google.com
  • 1 edit
    8 adds in trunk/WebCore

2010-08-30 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

audio engine: add ReverbConvolver class
https://bugs.webkit.org/show_bug.cgi?id=34912

No new tests since audio API is not yet implemented.

  • platform/audio: Added.
  • platform/audio/ReverbAccumulationBuffer.cpp: Added. (WebCore::ReverbAccumulationBuffer::ReverbAccumulationBuffer): (WebCore::ReverbAccumulationBuffer::readAndClear): (WebCore::ReverbAccumulationBuffer::updateReadIndex): (WebCore::ReverbAccumulationBuffer::accumulate): (WebCore::ReverbAccumulationBuffer::reset):
  • platform/audio/ReverbAccumulationBuffer.h: Added. (WebCore::ReverbAccumulationBuffer::readIndex): (WebCore::ReverbAccumulationBuffer::readTimeFrame):
  • platform/audio/ReverbConvolver.cpp: Added. (WebCore::backgroundThreadEntry): (WebCore::ReverbConvolver::ReverbConvolver): (WebCore::ReverbConvolver::~ReverbConvolver): (WebCore::ReverbConvolver::backgroundThreadEntry): (WebCore::ReverbConvolver::process): (WebCore::ReverbConvolver::reset):
  • platform/audio/ReverbConvolver.h: Added. (WebCore::ReverbConvolver::impulseResponseLength): (WebCore::ReverbConvolver::inputBuffer): (WebCore::ReverbConvolver::useBackgroundThreads):
  • platform/audio/ReverbConvolverStage.cpp: Added. (WebCore::ReverbConvolverStage::ReverbConvolverStage): (WebCore::ReverbConvolverStage::processInBackground): (WebCore::ReverbConvolverStage::process): (WebCore::ReverbConvolverStage::reset):
  • platform/audio/ReverbConvolverStage.h: Added. (WebCore::ReverbConvolverStage::inputReadIndex):
  • platform/audio/ReverbInputBuffer.cpp: Added. (WebCore::ReverbInputBuffer::ReverbInputBuffer): (WebCore::ReverbInputBuffer::write): (WebCore::ReverbInputBuffer::directReadFrom): (WebCore::ReverbInputBuffer::reset):
  • platform/audio/ReverbInputBuffer.h: Added. (WebCore::ReverbInputBuffer::writeIndex):
3:37 PM Changeset in webkit [66418] by Nikolas Zimmermann
  • 36 edits in trunk

2010-08-30 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Dirk Schulze.

Add culling to RenderSVGContainer
https://bugs.webkit.org/show_bug.cgi?id=44896

Cache object/strokeBoundingBox and repaintRectInLocalCoordinates() in RenderSVGContainer & RenderSVGRoot, just like it's done in RenderPath.
Propagate boundary changes up the render tree, in layout phase, in order to notify parents that they should update their cached boundaries.

This is a huge speed benefit when interacting with an already layouted document, as there's no need anymore to traverse all children
of any container or <svg> element, just to retrieve the repaint rect.

  • rendering/RenderForeignObject.cpp: (WebCore::RenderForeignObject::layout):
  • rendering/RenderObject.cpp: (WebCore::RenderObject::setNeedsBoundariesUpdate):
  • rendering/RenderObject.h:
  • rendering/RenderObjectChildList.cpp: (WebCore::RenderObjectChildList::removeChildNode):
  • rendering/RenderPath.cpp: (WebCore::RenderPath::layout): (WebCore::RenderPath::paint):
  • rendering/RenderPath.h: (WebCore::RenderPath::path): (WebCore::RenderPath::setNeedsBoundariesUpdate):
  • rendering/RenderSVGBlock.cpp: (WebCore::RenderSVGBlock::styleWillChange):
  • rendering/RenderSVGBlock.h:
  • rendering/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::RenderSVGContainer): (WebCore::RenderSVGContainer::layout): (WebCore::RenderSVGContainer::paint): (WebCore::RenderSVGContainer::updateCachedBoundaries):
  • rendering/RenderSVGContainer.h: (WebCore::RenderSVGContainer::setNeedsBoundariesUpdate): (WebCore::RenderSVGContainer::objectBoundingBox): (WebCore::RenderSVGContainer::strokeBoundingBox): (WebCore::RenderSVGContainer::repaintRectInLocalCoordinates): (WebCore::RenderSVGContainer::calculateLocalTransform):
  • rendering/RenderSVGGradientStop.h: (WebCore::RenderSVGGradientStop::strokeBoundingBox):
  • rendering/RenderSVGHiddenContainer.cpp:
  • rendering/RenderSVGHiddenContainer.h: (WebCore::RenderSVGHiddenContainer::clippedOverflowRectForRepaint):
  • rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::layout): (WebCore::RenderSVGImage::styleWillChange):
  • rendering/RenderSVGImage.h:
  • rendering/RenderSVGInline.cpp: (WebCore::RenderSVGInline::styleWillChange):
  • rendering/RenderSVGInline.h:
  • rendering/RenderSVGModelObject.cpp: (WebCore::RenderSVGModelObject::styleWillChange):
  • rendering/RenderSVGModelObject.h:
  • rendering/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::RenderSVGRoot): (WebCore::RenderSVGRoot::layout): (WebCore::RenderSVGRoot::styleWillChange): (WebCore::RenderSVGRoot::updateCachedBoundaries):
  • rendering/RenderSVGRoot.h: (WebCore::RenderSVGRoot::setNeedsBoundariesUpdate): (WebCore::RenderSVGRoot::setNeedsTransformUpdate): (WebCore::RenderSVGRoot::objectBoundingBox): (WebCore::RenderSVGRoot::strokeBoundingBox): (WebCore::RenderSVGRoot::repaintRectInLocalCoordinates):
  • rendering/RenderSVGText.cpp: (WebCore::RenderSVGText::layout):
  • rendering/RenderSVGTransformableContainer.cpp: (WebCore::RenderSVGTransformableContainer::calculateLocalTransform):
  • rendering/RenderSVGTransformableContainer.h:
  • rendering/RenderSVGViewportContainer.cpp: (WebCore::RenderSVGViewportContainer::calcViewport):
  • rendering/SVGRenderSupport.cpp: (WebCore::SVGRenderSupport::computeContainerBoundingBoxes): (WebCore::SVGRenderSupport::paintInfoIntersectsRepaintRect):
  • rendering/SVGRenderSupport.h:
  • rendering/style/SVGRenderStyle.cpp: (WebCore::SVGRenderStyle::diff):

2010-08-30 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Dirk Schulze.

Add culling to RenderSVGContainer
https://bugs.webkit.org/show_bug.cgi?id=44896

Update some pixel test results, that show marginal changes.

  • platform/mac-leopard/svg/css/composite-shadow-example-expected.checksum:
  • platform/mac-leopard/svg/css/composite-shadow-example-expected.png:
  • platform/mac-leopard/svg/css/composite-shadow-with-opacity-expected.checksum:
  • platform/mac-leopard/svg/css/composite-shadow-with-opacity-expected.png:
  • platform/mac/svg/css/composite-shadow-example-expected.txt:
  • platform/mac/svg/css/composite-shadow-with-opacity-expected.txt:
3:31 PM Changeset in webkit [66417] by leandro@webkit.org
  • 3 edits in trunk/WebCore

2010-08-30 Leandro Pereira <leandro@profusion.mobi>

[EFL] Unreviewed. Build fix when ENABLE_WEB_SOCKETS=ON.

EFL port does not yet support automated tests.

  • CMakeLists.txt: Add missing files.
  • CMakeListsEfl.txt: Ditto.
3:28 PM Changeset in webkit [66416] by kbr@google.com
  • 3 edits in trunk/WebCore

2010-08-30 Kenneth Russell <kbr@google.com>

Reviewed by Chris Marrin.

Expose Vector3 and associated operations
https://bugs.webkit.org/show_bug.cgi?id=44666

Rolling out earlier patch exposing Vector3 class in
TransformationMatrix.h. A different approach will be taken under
another bug.

  • platform/graphics/transforms/TransformationMatrix.cpp: (WebCore::v3Length): (WebCore::v3Scale): (WebCore::v3Dot): (WebCore::v3Combine): (WebCore::v3Cross): (WebCore::decompose):
  • platform/graphics/transforms/TransformationMatrix.ha:
3:25 PM Changeset in webkit [66415] by jer.noble@apple.com
  • 2 edits in trunk/WebCore

Build fix; Unreviewed.

Added a export symbol to the WebCore.exp.in list.

  • WebCore.exp.in:
3:20 PM Changeset in webkit [66414] by crogers@google.com
  • 1 edit
    2 adds in trunk/WebCore

2010-08-30 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

Add audio cone effect files. The cone effect operates as defined in the OpenAL specification.
https://bugs.webkit.org/show_bug.cgi?id=44712

No new tests since audio API not implemented yet.

  • platform/audio: Added.
  • platform/audio/Cone.cpp: Added. (WebCore::ConeEffect::ConeEffect): (WebCore::ConeEffect::gain):
  • platform/audio/Cone.h: Added. (WebCore::ConeEffect::setInnerAngle): (WebCore::ConeEffect::innerAngle): (WebCore::ConeEffect::setOuterAngle): (WebCore::ConeEffect::outerAngle): (WebCore::ConeEffect::setOuterGain): (WebCore::ConeEffect::outerGain):
3:16 PM Changeset in webkit [66413] by crogers@google.com
  • 1 edit
    2 adds in trunk/WebCore

2010-08-30 Chris Rogers <crogers@google.com>

Reviewed by Chris Marrin.

audio engine: add Reverb class
https://bugs.webkit.org/show_bug.cgi?id=36466

No new tests since audio API is not yet implemented.

  • platform/audio: Added.
  • platform/audio/Reverb.cpp: Added. (WebCore::calculateNormalizationScale): (WebCore::Reverb::Reverb): (WebCore::Reverb::initialize): (WebCore::Reverb::process): (WebCore::Reverb::reset):
  • platform/audio/Reverb.h: Added. (WebCore::Reverb::): (WebCore::Reverb::impulseResponseLength):
3:10 PM Changeset in webkit [66412] by crogers@google.com
  • 1 edit
    1 add in trunk/WebCore

2010-08-30 Chris Rogers <crogers@google.com>

Unreviewed

Add WebCore/platform/audio directory
in preparation for landing: https://bugs.webkit.org/show_bug.cgi?id=36466

  • platform/audio: Added.
2:47 PM Changeset in webkit [66411] by jer.noble@apple.com
  • 10 edits
    5 adds in trunk

2010-08-27 Jer Noble <jer.noble@apple.com>

Reviewed by Eric Carlson.

text/plain non-video files cause <video> to hang (while reading them?)
https://bugs.webkit.org/show_bug.cgi?id=44212


Add the new WebKitSystemInterface function WKQTMovieDisableComponent to
the initialization routine.

  • WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize WKQTMovieDisableComponent.

2010-08-27 Jer Noble <jer.noble@apple.com>

Reviewed by Eric Carlson.

text/plain non-video files cause <video> to hang (while reading them?)
https://bugs.webkit.org/show_bug.cgi?id=44212


Disable all the QuickTime components which ingest .txt files.

New tests:

  • http/tests/media/video-served-as-text.html: Added.
  • http/tests/media/text-served-as-text.html: Added.
  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::createQTMovie): Disable all four text

'eat' components.

  • platform/mac/WebCoreSystemInterface.h: Add wkQTMovieDisableComponent.
  • platform/mac/WebCoreSystemInterface.mm: Add wkQTMovieDisableComponent.

2010-08-27 Jer Noble <jer.noble@apple.com>

Reviewed by Eric Carlson.

text/plain non-video files cause <video> to hang (while reading them?)
https://bugs.webkit.org/show_bug.cgi?id=44212


Added two new tests: video-served-as-text.html and
text-served-as-text.html. The second checks that a text file does not
generates an error when loaded by a <video> element. The first checks
that media served as text/plain still loads without errors.

  • http/tests/media/resources/test.txt: Added.
  • http/tests/media/text-served-as-text-expected.txt: Added.
  • http/tests/media/text-served-as-text.html: Added.
  • http/tests/media/video-served-as-text-expected.txt: Added.
  • http/tests/media/video-served-as-text.html: Added.
2:39 PM Changeset in webkit [66410] by evan@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-30 Evan Martin <evan@chromium.org>

Unreviewed, updating Chromium expectations.

Revert part of my update in r66406 that was wrong.

  • platform/chromium/test_expectations.txt:
2:26 PM Changeset in webkit [66409] by abarth@webkit.org
  • 3 edits in trunk/LayoutTests

2010-08-30 Adam Barth <abarth@webkit.org>

Reviewed by Alexey Proskuryakov.

Update LayoutTest for file inputs to show "pass" for fakepath
https://bugs.webkit.org/show_bug.cgi?id=44882

As requested by Alexey.

  • editing/pasteboard/file-input-files-access-expected.txt:
  • editing/pasteboard/script-tests/file-input-files-access.js: (draggingPathsShouldResultInFiles):
2:16 PM Changeset in webkit [66408] by robert@webkit.org
  • 10 edits in trunk

2010-08-30 Robert Hogan <robert@webkit.org>

Reviewed by Simon Hausmann.

allow ports with windowed plugins to support windowless plugin tests

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

Ports that implement plugins windowed by default need to have a way of
supporting plugin tests that assume the plugin is windowless. Add this
feature to the tests and support it in the webkit test plugin. Also
add mouse and keyboard event logging to the webkit-test plugin on Unix.

Unskip the following tests on Qt:

plugins/mouse-events.html
plugins/keyboard-events.html
plugins/mouse-events-fixedpos.html

  • platform/qt/Skipped:
  • plugins/keyboard-events.html:
  • plugins/mouse-events-fixedpos.html:
  • plugins/mouse-events.html:

2010-08-30 Robert Hogan <robert@webkit.org>

Reviewed by Simon Hausmann.

allow ports with windowed plugins to support windowless plugin tests

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

Ports that implement plugins windowed by default need to have a way of
supporting plugin tests that assume the plugin is windowless. Add this
feature to the tests and support it in the webkit test plugin. Also
add mouse and keyboard event logging to the webkit-test plugin on Unix.

Unskip the following tests on Qt:

plugins/mouse-events.html
plugins/keyboard-events.html
plugins/mouse-events-fixedpos.html

  • plugins/qt/PluginViewQt.cpp: (WebCore::PluginView::setFocus): (WebCore::setXKeyEventSpecificFields):

2010-08-30 Robert Hogan <robert@webkit.org>

Reviewed by Simon Hausmann.

allow ports with windowed plugins to support windowless plugin tests

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

Ports that implement plugins windowed by default need to have a way of
supporting plugin tests that assume the plugin is windowless. Add this
feature to the tests and support it in the webkit test plugin. Also
add mouse and keyboard event logging to the webkit-test plugin on Unix.

Unskip the following tests on Qt:

plugins/mouse-events.html
plugins/keyboard-events.html
plugins/mouse-events-fixedpos.html

  • DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (pluginSetProperty):
  • DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: (NPP_New):
  • DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: (webkit_test_plugin_handle_event):
1:50 PM Changeset in webkit [66407] by kinuko@chromium.org
  • 15 edits in trunk

2010-08-30 Kinuko Yasuda <kinuko@chromium.osrc>

Reviewed by Darin Fisher.

Add DOMFileSystem implementation to support Entry manipulation operations
https://bugs.webkit.org/show_bug.cgi?id=44732

Fixed virtual-path / platform-path conversion timing. (The conversion needs to be done before calling AsyncFileSystem methods to support cross-filesystem operations.)

  • src/AsyncFileSystemChromium.cpp: (WebCore::AsyncFileSystemChromium::move): (WebCore::AsyncFileSystemChromium::copy): (WebCore::AsyncFileSystemChromium::remove): (WebCore::AsyncFileSystemChromium::readMetadata): (WebCore::AsyncFileSystemChromium::createFile): (WebCore::AsyncFileSystemChromium::createDirectory): (WebCore::AsyncFileSystemChromium::fileExists): (WebCore::AsyncFileSystemChromium::directoryExists): (WebCore::AsyncFileSystemChromium::readDirectory):

2010-08-30 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by Darin Fisher.

Add DOMFileSystem implementation to support Entry manipulation operations
https://bugs.webkit.org/show_bug.cgi?id=44732

No new tests; tests will be added later.

  • storage/DOMFileSystem.cpp: (WebCore::DOMFileSystem::root): (WebCore::checkValidityForForCopyOrMove): Added. (WebCore::DOMFileSystem::getMetadata): Added. (WebCore::DOMFileSystem::move): Added. (WebCore::DOMFileSystem::copy): Added. (WebCore::DOMFileSystem::remove): Added. (WebCore::DOMFileSystem::getParent): Added. (WebCore::DOMFileSystem::getFile): Added. (WebCore::DOMFileSystem::getDirectory): Added. (WebCore::DOMFileSystem::readDirectory): Added.
  • storage/DirectoryEntry.cpp: (WebCore::DirectoryEntry::getFile): Added implementation. (WebCore::DirectoryEntry::getDirectory): Added implementation.
  • storage/DirectoryReader.cpp: (WebCore::DirectoryReader::DirectoryReader): Added implementation. (WebCore::DirectoryReader::readEntries): Added implementation.
  • storage/DirectoryReader.h:
  • storage/Entry.cpp: (WebCore::Entry::getMetadata): Added implementation. (WebCore::Entry::moveTo): Added implementation. (WebCore::Entry::copyTo): Added implementation. (WebCore::Entry::remove): Added implementation. (WebCore::Entry::getParent): Added implementation.
  • storage/Entry.h:
  • storage/FileEntry.h:

Added a helper template to schedule callbacks.

  • storage/DOMFileSystem.h: (WebCore::DOMFileSystem::DispatchCallbackTask): Added to schedule callbacks. (WebCore::DOMFileSystem::scheduleCallback): Added to schedule callbacks.

Changed to fire callbacks asynchronously.

  • storage/LocalFileSystem.cpp: (WebCore::LocalFileSystem::requestFileSystem):
1:39 PM Changeset in webkit [66406] by evan@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-30 Evan Martin <evan@chromium.org>

Unreviewed, updating Chromium expectations.

Simplify some obsolete test expectations based on looking at their
current behavior on the dashboard.

  • platform/chromium/test_expectations.txt:
1:20 PM Changeset in webkit [66405] by kevino@webkit.org
  • 2 edits in trunk/WebKitTools

[wx] Build fix after addition of fileapi directory in WebCore.

1:16 PM Changeset in webkit [66404] by alex
  • 5 edits in trunk

2010-08-30 Alejandro G. Castro <alex@igalia.com>

Reviewed by Xan Lopez.

Fixed compilation error, now that we have included the
GtkVersioning.h we have to remove some version dependent code from
EventSender.

  • platform/gtk/GtkVersioning.c: (gdk_window_get_root_coords):
  • platform/gtk/GtkVersioning.h:

2010-08-30 Alejandro G. Castro <alex@igalia.com>

Reviewed by Xan Lopez.

Fixed compilation error, now that we have included the
GtkVersioning.h we have to remove some version dependent code from
EventSender.

  • DumpRenderTree/gtk/EventSender.cpp:
1:03 PM Changeset in webkit [66403] by Beth Dakin
  • 3 edits
    4 adds in trunk

WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=44804 Crashes in
RenderMathMLRoot::layout() and RenderMathMLRoot::paint()
-and corresponding-
<rdar://problem/8342055>

Reviewed by Sam Weinig.

All of the calls to firstChild() and lastChild() in
RenderMathMLRoot::layout() and RenderMathMLRoot::paint() need to be
null checked.

  • mathml/RenderMathMLRoot.cpp:

(WebCore::RenderMathMLRoot::paint):
(WebCore::RenderMathMLRoot::layout):

LayoutTests: Tests for https://bugs.webkit.org/show_bug.cgi?id=44804 Crashes in
RenderMathMLRoot::layout() and RenderMathMLRoot::paint()
-and-
https://bugs.webkit.org/show_bug.cgi?id=44801 Crash in
RenderMathMLSubSup::layout()

Reviewed by Sam Weinig.

  • mathml/empty-mroot-crash-expected.txt: Added.
  • mathml/empty-mroot-crash.xhtml: Added.
  • mathml/msubsup-no-grandchild-expected.txt: Added.
  • mathml/msubsup-no-grandchild.xhtml: Added.
12:56 PM Changeset in webkit [66402] by Beth Dakin
  • 2 edits in trunk/WebCore

Fix for https://bugs.webkit.org/show_bug.cgi?id=44801 Crash in
RenderMathMLSubSup::layout()
-and corresponding-
<rdar://problem/8325203>

Reviewed by Darin Adler.

Null-check m_scripts. It is null-checked everywhere else in the
class and can legitimately be null.

  • mathml/RenderMathMLSubSup.cpp:

(WebCore::RenderMathMLSubSup::layout):

12:27 PM Changeset in webkit [66401] by aestes@apple.com
  • 2 edits in trunk/JavaScriptCore

2010-08-30 Andy Estes <aestes@apple.com>

Reviewed by Eric Carlson.

Strings returned by asciiDebug() should be NULL-terminated.
https://bugs.webkit.org/show_bug.cgi?id=44866

  • wtf/text/WTFString.cpp: (asciiDebug):
12:21 PM Changeset in webkit [66400] by Martin Robinson
  • 2 edits
    12 adds in trunk/LayoutTests

2010-08-30 Martin Robinson <mrobinson@igalia.com>

Unskip passing philip canvas tests and unskip and add results for some more shadow tests.

  • platform/gtk/Skipped:
  • platform/gtk/svg/css/composite-shadow-example-expected.checksum: Added.
  • platform/gtk/svg/css/composite-shadow-example-expected.png: Added.
  • platform/gtk/svg/css/composite-shadow-example-expected.txt: Added.
  • platform/gtk/svg/css/composite-shadow-text-expected.checksum: Added.
  • platform/gtk/svg/css/composite-shadow-text-expected.png: Added.
  • platform/gtk/svg/css/composite-shadow-text-expected.txt: Added.
  • platform/gtk/svg/css/shadow-with-large-radius-expected.checksum: Added.
  • platform/gtk/svg/css/shadow-with-large-radius-expected.png: Added.
  • platform/gtk/svg/css/shadow-with-large-radius-expected.txt: Copied from LayoutTests/platform/mac/svg/css/shadow-with-large-radius-expected.txt.
  • platform/gtk/svg/css/shadow-with-negative-offset-expected.checksum: Added.
  • platform/gtk/svg/css/shadow-with-negative-offset-expected.png: Added.
  • platform/gtk/svg/css/shadow-with-negative-offset-expected.txt: Copied from LayoutTests/platform/mac/svg/css/shadow-with-negative-offset-expected.txt.
12:06 PM Changeset in webkit [66399] by cmarrin@apple.com
  • 1 edit in trunk/WebKitTools/Scripts/webkitpy/common/config/committers.py

Moved my name from committer to reviewer

12:06 PM Changeset in webkit [66398] by alex
  • 10 edits
    1 move in trunk

2010-08-30 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[Gtk] gdk_display_get_core_pointer and gdk_device_get_core_pointer
are deprecated
https://bugs.webkit.org/show_bug.cgi?id=44787

We have replaced GtkVersioning.cpp with GtkVersioning.c and
created a function (getDefaultGDKPointerDevice) to get the pointer
of the window with the new APIs. We added that function to DRT and
copyandpaste unit test.

  • GNUmakefile.am:
  • platform/gtk/GtkVersioning.c: Added. (gtk_adjustment_set_value): (gtk_adjustment_configure): (getDefaultGDKPointerDevice):
  • platform/gtk/GtkVersioning.cpp: Removed.
  • platform/gtk/GtkVersioning.h:

2010-08-30 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[Gtk] gdk_display_get_core_pointer and gdk_device_get_core_pointer
are deprecated
https://bugs.webkit.org/show_bug.cgi?id=44787

We have replaced GtkVersioning.cpp with GtkVersioning.c and
created a function (getDefaultGDKPointerDevice) to get the pointer
of the window with the new APIs. We added that function to DRT and
copyandpaste unit test.

  • GNUmakefile.am:

2010-08-30 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[Gtk] gdk_display_get_core_pointer and gdk_device_get_core_pointer
are deprecated
https://bugs.webkit.org/show_bug.cgi?id=44787

We have replaced GtkVersioning.cpp with GtkVersioning.c and
created a function (getDefaultGDKPointerDevice) to get the pointer
of the window with the new APIs. We added that function to DRT and
copyandpaste unit test.

  • DumpRenderTree/gtk/EventSender.cpp: (prepareMouseButtonEvent): (mouseMoveToCallback): (keyDownCallback):
  • GNUmakefile.am:
11:44 AM Changeset in webkit [66397] by Darin Adler
  • 257 edits in trunk/WebCore

2010-08-30 Darin Adler <Darin Adler>

Reviewed by Sam Weinig.

Make SVG constructors private to make sure callers all use create
https://bugs.webkit.org/show_bug.cgi?id=44872

Made as many members private and protected as possible, and got rid of many
unneeded empty constructor and destructor definitions, in some cases changing
a class to be non-polymorphic. Made some functions inline. Used the word document
instead of the abbreviation doc. Removed unneeded explicit base class
initialization in cases where it is no different from the default behavior.

  • svg/SVGAElement.cpp: (WebCore::SVGAElement::SVGAElement): (WebCore::SVGAElement::childShouldCreateRenderer):
  • svg/SVGAElement.h:
  • svg/SVGAltGlyphElement.cpp: (WebCore::SVGAltGlyphElement::SVGAltGlyphElement):
  • svg/SVGAltGlyphElement.h:
  • svg/SVGAngle.cpp:
  • svg/SVGAngle.h:
  • svg/SVGAnimateColorElement.cpp: (WebCore::SVGAnimateColorElement::SVGAnimateColorElement):
  • svg/SVGAnimateColorElement.h:
  • svg/SVGAnimateElement.cpp: (WebCore::SVGAnimateElement::SVGAnimateElement):
  • svg/SVGAnimateElement.h:
  • svg/SVGAnimateMotionElement.cpp: (WebCore::SVGAnimateMotionElement::SVGAnimateMotionElement):
  • svg/SVGAnimateMotionElement.h:
  • svg/SVGAnimateTransformElement.cpp: (WebCore::SVGAnimateTransformElement::SVGAnimateTransformElement):
  • svg/SVGAnimateTransformElement.h:
  • svg/SVGAnimatedPathData.cpp:
  • svg/SVGAnimatedPathData.h:
  • svg/SVGAnimatedPoints.cpp:
  • svg/SVGAnimatedPoints.h:
  • svg/SVGAnimationElement.cpp: (WebCore::SVGAnimationElement::SVGAnimationElement):
  • svg/SVGAnimationElement.h:
  • svg/SVGCircleElement.cpp: (WebCore::SVGCircleElement::SVGCircleElement):
  • svg/SVGCircleElement.h:
  • svg/SVGClipPathElement.cpp: (WebCore::SVGClipPathElement::SVGClipPathElement):
  • svg/SVGClipPathElement.h:
  • svg/SVGColor.cpp:
  • svg/SVGColor.h:
  • svg/SVGComponentTransferFunctionElement.cpp: (WebCore::SVGComponentTransferFunctionElement::SVGComponentTransferFunctionElement):
  • svg/SVGComponentTransferFunctionElement.h:
  • svg/SVGCursorElement.cpp: (WebCore::SVGCursorElement::SVGCursorElement):
  • svg/SVGCursorElement.h:
  • svg/SVGDefsElement.cpp: (WebCore::SVGDefsElement::SVGDefsElement):
  • svg/SVGDefsElement.h:
  • svg/SVGDescElement.cpp: (WebCore::SVGDescElement::SVGDescElement):
  • svg/SVGDescElement.h:
  • svg/SVGDocument.cpp:
  • svg/SVGDocument.h:
  • svg/SVGDocumentExtensions.cpp: (WebCore::SVGDocumentExtensions::SVGDocumentExtensions): (WebCore::SVGDocumentExtensions::reportWarning): (WebCore::SVGDocumentExtensions::reportError):
  • svg/SVGDocumentExtensions.h:
  • svg/SVGElement.h:
  • svg/SVGElementInstanceList.h:
  • svg/SVGEllipseElement.cpp: (WebCore::SVGEllipseElement::SVGEllipseElement):
  • svg/SVGEllipseElement.h:
  • svg/SVGExternalResourcesRequired.cpp:
  • svg/SVGExternalResourcesRequired.h:
  • svg/SVGFEBlendElement.cpp: (WebCore::SVGFEBlendElement::SVGFEBlendElement):
  • svg/SVGFEBlendElement.h:
  • svg/SVGFEColorMatrixElement.cpp: (WebCore::SVGFEColorMatrixElement::SVGFEColorMatrixElement):
  • svg/SVGFEColorMatrixElement.h:
  • svg/SVGFEComponentTransferElement.cpp: (WebCore::SVGFEComponentTransferElement::SVGFEComponentTransferElement):
  • svg/SVGFEComponentTransferElement.h:
  • svg/SVGFECompositeElement.cpp: (WebCore::SVGFECompositeElement::SVGFECompositeElement):
  • svg/SVGFECompositeElement.h:
  • svg/SVGFEConvolveMatrixElement.cpp: (WebCore::SVGFEConvolveMatrixElement::SVGFEConvolveMatrixElement):
  • svg/SVGFEConvolveMatrixElement.h:
  • svg/SVGFEDiffuseLightingElement.cpp: (WebCore::SVGFEDiffuseLightingElement::SVGFEDiffuseLightingElement):
  • svg/SVGFEDiffuseLightingElement.h:
  • svg/SVGFEDisplacementMapElement.cpp: (WebCore::SVGFEDisplacementMapElement::SVGFEDisplacementMapElement):
  • svg/SVGFEDisplacementMapElement.h:
  • svg/SVGFEDistantLightElement.cpp: (WebCore::SVGFEDistantLightElement::SVGFEDistantLightElement):
  • svg/SVGFEDistantLightElement.h:
  • svg/SVGFEFloodElement.cpp: (WebCore::SVGFEFloodElement::SVGFEFloodElement):
  • svg/SVGFEFloodElement.h:
  • svg/SVGFEFuncAElement.cpp: (WebCore::SVGFEFuncAElement::SVGFEFuncAElement):
  • svg/SVGFEFuncAElement.h:
  • svg/SVGFEFuncBElement.cpp: (WebCore::SVGFEFuncBElement::SVGFEFuncBElement):
  • svg/SVGFEFuncBElement.h:
  • svg/SVGFEFuncGElement.cpp: (WebCore::SVGFEFuncGElement::SVGFEFuncGElement):
  • svg/SVGFEFuncGElement.h:
  • svg/SVGFEFuncRElement.cpp: (WebCore::SVGFEFuncRElement::SVGFEFuncRElement):
  • svg/SVGFEFuncRElement.h:
  • svg/SVGFEGaussianBlurElement.cpp: (WebCore::SVGFEGaussianBlurElement::SVGFEGaussianBlurElement):
  • svg/SVGFEGaussianBlurElement.h:
  • svg/SVGFEImageElement.cpp: (WebCore::SVGFEImageElement::SVGFEImageElement):
  • svg/SVGFEImageElement.h:
  • svg/SVGFELightElement.cpp: (WebCore::SVGFELightElement::SVGFELightElement):
  • svg/SVGFELightElement.h:
  • svg/SVGFEMergeElement.cpp: (WebCore::SVGFEMergeElement::SVGFEMergeElement):
  • svg/SVGFEMergeElement.h:
  • svg/SVGFEMergeNodeElement.cpp: (WebCore::SVGFEMergeNodeElement::SVGFEMergeNodeElement):
  • svg/SVGFEMergeNodeElement.h:
  • svg/SVGFEMorphologyElement.cpp: (WebCore::SVGFEMorphologyElement::SVGFEMorphologyElement):
  • svg/SVGFEMorphologyElement.h:
  • svg/SVGFEOffsetElement.cpp: (WebCore::SVGFEOffsetElement::SVGFEOffsetElement):
  • svg/SVGFEOffsetElement.h:
  • svg/SVGFEPointLightElement.cpp: (WebCore::SVGFEPointLightElement::SVGFEPointLightElement): (WebCore::SVGFEPointLightElement::lightSource):
  • svg/SVGFEPointLightElement.h:
  • svg/SVGFESpecularLightingElement.cpp: (WebCore::SVGFESpecularLightingElement::SVGFESpecularLightingElement):
  • svg/SVGFESpecularLightingElement.h:
  • svg/SVGFESpotLightElement.cpp: (WebCore::SVGFESpotLightElement::SVGFESpotLightElement):
  • svg/SVGFESpotLightElement.h:
  • svg/SVGFETileElement.cpp: (WebCore::SVGFETileElement::SVGFETileElement):
  • svg/SVGFETileElement.h:
  • svg/SVGFETurbulenceElement.cpp: (WebCore::SVGFETurbulenceElement::SVGFETurbulenceElement):
  • svg/SVGFETurbulenceElement.h:
  • svg/SVGFilterElement.cpp: (WebCore::SVGFilterElement::SVGFilterElement):
  • svg/SVGFilterElement.h:
  • svg/SVGFilterPrimitiveStandardAttributes.cpp: (WebCore::SVGFilterPrimitiveStandardAttributes::SVGFilterPrimitiveStandardAttributes):
  • svg/SVGFilterPrimitiveStandardAttributes.h:
  • svg/SVGFitToViewBox.cpp:
  • svg/SVGFitToViewBox.h:
  • svg/SVGFontData.cpp:
  • svg/SVGFontData.h:
  • svg/SVGFontElement.cpp: (WebCore::SVGFontElement::SVGFontElement):
  • svg/SVGFontElement.h:
  • svg/SVGFontFaceElement.cpp: (WebCore::SVGFontFaceElement::SVGFontFaceElement):
  • svg/SVGFontFaceElement.h:
  • svg/SVGFontFaceFormatElement.cpp: (WebCore::SVGFontFaceFormatElement::SVGFontFaceFormatElement):
  • svg/SVGFontFaceFormatElement.h:
  • svg/SVGFontFaceNameElement.cpp: (WebCore::SVGFontFaceNameElement::SVGFontFaceNameElement):
  • svg/SVGFontFaceNameElement.h:
  • svg/SVGFontFaceSrcElement.cpp: (WebCore::SVGFontFaceSrcElement::SVGFontFaceSrcElement):
  • svg/SVGFontFaceSrcElement.h:
  • svg/SVGFontFaceUriElement.cpp: (WebCore::SVGFontFaceUriElement::SVGFontFaceUriElement):
  • svg/SVGFontFaceUriElement.h:
  • svg/SVGForeignObjectElement.cpp: (WebCore::SVGForeignObjectElement::SVGForeignObjectElement):
  • svg/SVGForeignObjectElement.h:
  • svg/SVGGElement.cpp: (WebCore::SVGGElement::SVGGElement):
  • svg/SVGGElement.h:
  • svg/SVGGlyphElement.cpp: (WebCore::SVGGlyphElement::SVGGlyphElement):
  • svg/SVGGlyphElement.h:
  • svg/SVGGradientElement.cpp: (WebCore::SVGGradientElement::SVGGradientElement):
  • svg/SVGGradientElement.h:
  • svg/SVGHKernElement.cpp: (WebCore::SVGHKernElement::SVGHKernElement):
  • svg/SVGHKernElement.h:
  • svg/SVGImageElement.cpp: (WebCore::SVGImageElement::SVGImageElement):
  • svg/SVGImageElement.h:
  • svg/SVGImageLoader.cpp:
  • svg/SVGImageLoader.h:
  • svg/SVGLangSpace.cpp:
  • svg/SVGLangSpace.h:
  • svg/SVGLengthList.cpp:
  • svg/SVGLengthList.h:
  • svg/SVGLineElement.cpp: (WebCore::SVGLineElement::SVGLineElement):
  • svg/SVGLineElement.h:
  • svg/SVGLinearGradientElement.cpp: (WebCore::SVGLinearGradientElement::SVGLinearGradientElement):
  • svg/SVGLinearGradientElement.h:
  • svg/SVGLocatable.cpp:
  • svg/SVGLocatable.h:
  • svg/SVGMPathElement.cpp: (WebCore::SVGMPathElement::SVGMPathElement):
  • svg/SVGMPathElement.h:
  • svg/SVGMarkerElement.cpp: (WebCore::SVGMarkerElement::SVGMarkerElement):
  • svg/SVGMarkerElement.h:
  • svg/SVGMaskElement.cpp: (WebCore::SVGMaskElement::SVGMaskElement):
  • svg/SVGMaskElement.h:
  • svg/SVGMetadataElement.cpp: (WebCore::SVGMetadataElement::SVGMetadataElement):
  • svg/SVGMetadataElement.h:
  • svg/SVGMissingGlyphElement.cpp: (WebCore::SVGMissingGlyphElement::SVGMissingGlyphElement):
  • svg/SVGMissingGlyphElement.h:
  • svg/SVGNumberList.cpp:
  • svg/SVGNumberList.h:
  • svg/SVGPaint.cpp:
  • svg/SVGPaint.h:
  • svg/SVGParserUtilities.cpp: (WebCore::genericParseNumber): (WebCore::parseNumber):
  • svg/SVGPathBlender.cpp:
  • svg/SVGPathBlender.h:
  • svg/SVGPathBuilder.h:
  • svg/SVGPathByteStreamBuilder.h:
  • svg/SVGPathByteStreamSource.cpp:
  • svg/SVGPathByteStreamSource.h:
  • svg/SVGPathConsumer.h:
  • svg/SVGPathElement.cpp: (WebCore::SVGPathElement::SVGPathElement):
  • svg/SVGPathElement.h:
  • svg/SVGPathParser.cpp:
  • svg/SVGPathParser.h:
  • svg/SVGPathSeg.cpp:
  • svg/SVGPathSeg.h:
  • svg/SVGPathSegArc.h:
  • svg/SVGPathSegClosePath.cpp:
  • svg/SVGPathSegClosePath.h:
  • svg/SVGPathSegCurvetoCubic.h:
  • svg/SVGPathSegCurvetoCubicSmooth.h:
  • svg/SVGPathSegCurvetoQuadratic.h:
  • svg/SVGPathSegCurvetoQuadraticSmooth.h:
  • svg/SVGPathSegLineto.h:
  • svg/SVGPathSegLinetoHorizontal.h:
  • svg/SVGPathSegLinetoVertical.h:
  • svg/SVGPathSegList.cpp:
  • svg/SVGPathSegList.h:
  • svg/SVGPathSegListBuilder.h:
  • svg/SVGPathSegListSource.cpp:
  • svg/SVGPathSegListSource.h:
  • svg/SVGPathSegMoveto.h:
  • svg/SVGPathSource.h:
  • svg/SVGPathStringBuilder.cpp:
  • svg/SVGPathStringBuilder.h:
  • svg/SVGPathStringSource.cpp:
  • svg/SVGPathStringSource.h:
  • svg/SVGPatternElement.cpp: (WebCore::SVGPatternElement::SVGPatternElement):
  • svg/SVGPatternElement.h:
  • svg/SVGPointList.cpp:
  • svg/SVGPointList.h:
  • svg/SVGPolyElement.cpp: (WebCore::SVGPolyElement::SVGPolyElement):
  • svg/SVGPolyElement.h:
  • svg/SVGPolygonElement.cpp: (WebCore::SVGPolygonElement::SVGPolygonElement):
  • svg/SVGPolygonElement.h:
  • svg/SVGPolylineElement.cpp: (WebCore::SVGPolylineElement::SVGPolylineElement):
  • svg/SVGPolylineElement.h:
  • svg/SVGPreserveAspectRatio.cpp:
  • svg/SVGPreserveAspectRatio.h:
  • svg/SVGRadialGradientElement.cpp: (WebCore::SVGRadialGradientElement::SVGRadialGradientElement):
  • svg/SVGRadialGradientElement.h:
  • svg/SVGRectElement.cpp: (WebCore::SVGRectElement::SVGRectElement):
  • svg/SVGRectElement.h:
  • svg/SVGSVGElement.h:
  • svg/SVGScriptElement.cpp: (WebCore::SVGScriptElement::SVGScriptElement):
  • svg/SVGScriptElement.h:
  • svg/SVGSetElement.cpp: (WebCore::SVGSetElement::SVGSetElement):
  • svg/SVGSetElement.h:
  • svg/SVGStopElement.cpp: (WebCore::SVGStopElement::SVGStopElement):
  • svg/SVGStopElement.h:
  • svg/SVGStringList.cpp:
  • svg/SVGStringList.h:
  • svg/SVGStylable.cpp:
  • svg/SVGStylable.h:
  • svg/SVGStyleElement.cpp: (WebCore::SVGStyleElement::SVGStyleElement):
  • svg/SVGStyleElement.h:
  • svg/SVGStyledElement.cpp: (WebCore::SVGStyledElement::SVGStyledElement):
  • svg/SVGStyledElement.h:
  • svg/SVGStyledLocatableElement.cpp: (WebCore::SVGStyledLocatableElement::SVGStyledLocatableElement):
  • svg/SVGStyledLocatableElement.h:
  • svg/SVGStyledTransformableElement.cpp: (WebCore::SVGStyledTransformableElement::SVGStyledTransformableElement):
  • svg/SVGStyledTransformableElement.h:
  • svg/SVGSwitchElement.cpp: (WebCore::SVGSwitchElement::SVGSwitchElement): (WebCore::SVGSwitchElement::childShouldCreateRenderer):
  • svg/SVGSwitchElement.h:
  • svg/SVGSymbolElement.cpp: (WebCore::SVGSymbolElement::SVGSymbolElement):
  • svg/SVGSymbolElement.h:
  • svg/SVGTRefElement.cpp: (WebCore::SVGTRefElement::SVGTRefElement):
  • svg/SVGTRefElement.h:
  • svg/SVGTSpanElement.cpp: (WebCore::SVGTSpanElement::SVGTSpanElement):
  • svg/SVGTests.cpp:
  • svg/SVGTests.h:
  • svg/SVGTextContentElement.cpp: (WebCore::SVGTextContentElement::SVGTextContentElement):
  • svg/SVGTextContentElement.h:
  • svg/SVGTextElement.cpp: (WebCore::SVGTextElement::SVGTextElement):
  • svg/SVGTextElement.h:
  • svg/SVGTextPathElement.cpp: (WebCore::SVGTextPathElement::SVGTextPathElement):
  • svg/SVGTextPathElement.h:
  • svg/SVGTextPositioningElement.cpp: (WebCore::SVGTextPositioningElement::SVGTextPositioningElement):
  • svg/SVGTextPositioningElement.h:
  • svg/SVGTitleElement.cpp: (WebCore::SVGTitleElement::SVGTitleElement):
  • svg/SVGTransform.cpp:
  • svg/SVGTransform.h:
  • svg/SVGTransformable.cpp:
  • svg/SVGTransformable.h:
  • svg/SVGURIReference.cpp:
  • svg/SVGURIReference.h:
  • svg/SVGUseElement.cpp: (WebCore::SVGUseElement::SVGUseElement): (WebCore::SVGUseElement::expandSymbolElementsInShadowTree):
  • svg/SVGUseElement.h:
  • svg/SVGViewElement.cpp: (WebCore::SVGViewElement::SVGViewElement):
  • svg/SVGViewElement.h:
  • svg/SVGViewSpec.cpp: (WebCore::SVGViewSpec::SVGViewSpec):
  • svg/SVGViewSpec.h:
  • svg/SVGZoomAndPan.cpp:
  • svg/SVGZoomAndPan.h:
  • svg/SVGZoomEvent.cpp:
  • svg/SVGZoomEvent.h:
10:35 AM Changeset in webkit [66396] by andersca@apple.com
  • 2 edits in trunk/WebKit2

WorkQueue leaks its dispatch queue
<rdar://problem/8358509>
https://bugs.webkit.org/show_bug.cgi?id=44689

Reviewed by Sam Weinig.

  • Platform/mac/WorkQueueMac.cpp:

(WorkQueue::platformInvalidate):

10:18 AM Changeset in webkit [66395] by eric.carlson@apple.com
  • 7 edits
    3 adds in trunk

2010-08-30 Eric Carlson <eric.carlson@apple.com>

Reviewed by Dan Bernstein.

Disable automatic looping
https://bugs.webkit.org/show_bug.cgi?id=44844

Test: media/video-does-not-loop.html

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::createQTMovie): Disable QuickTime automatic looping.
  • platform/graphics/win/QTMovie.cpp: (QTMoviePrivate::createMovieController): Ditto.

2010-08-30 Eric Carlson <eric.carlson@apple.com>

Reviewed by Dan Bernstein.

Disable automatic looping
https://bugs.webkit.org/show_bug.cgi?id=44844

  • media/content/silence-loop.mov: Added.
  • media/video-does-not-loop-expected.txt: Added.
  • media/video-does-not-loop.html: Added.
  • platform/chromium/test_expectations.txt: Skip new test.
  • platform/gtk/Skipped: Ditto.
  • platform/qt/Skipped: Ditto.
10:12 AM Changeset in webkit [66394] by rniwa@webkit.org
  • 2 edits in trunk/WebCore

2010-08-30 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

ApplyStyleCommand::applyInlineStyle needs cleanup
https://bugs.webkit.org/show_bug.cgi?id=44458

Cleanup:

  1. Isolated code to find the highest ancestor with embedding style, and deployed it in ApplyStyleCommand::applyInlineStyle.
  2. Combined the code to remove embedding style up to enclosing block and the code to remove unicode-bidi and direction properties between start and end nodes.
  3. Simplified the conditionals to apply embedding styles.

No new tests are added since this is a cleanup.

  • editing/ApplyStyleCommand.cpp: (WebCore::highestEmbeddingAncestor): Added. (WebCore::ApplyStyleCommand::applyInlineStyle): See above.
9:45 AM Changeset in webkit [66393] by Martin Robinson
  • 2 edits
    65 adds in trunk/LayoutTests

2010-08-30 Martin Robinson <mrobinson@igalia.com>

Adding layout and pixel results in preparation for landing GTK+ shadow performance improvements.

  • platform/gtk/Skipped: Unskip tests that now have results, skip tests that are definitely failing.
  • platform/gtk/fast/box-shadow/basic-shadows-expected.checksum: Added.
  • platform/gtk/fast/box-shadow/basic-shadows-expected.png: Added.
  • platform/gtk/fast/box-shadow/basic-shadows-expected.txt: Added.
  • platform/gtk/fast/box-shadow/border-radius-big-expected.checksum: Added.
  • platform/gtk/fast/box-shadow/border-radius-big-expected.png: Added.
  • platform/gtk/fast/box-shadow/border-radius-big-expected.txt: Added.
  • platform/gtk/fast/box-shadow/inset-expected.checksum: Added.
  • platform/gtk/fast/box-shadow/inset-expected.png: Added.
  • platform/gtk/fast/box-shadow/inset-expected.txt: Added.
  • platform/gtk/fast/box-shadow/spread-expected.checksum: Added.
  • platform/gtk/fast/box-shadow/spread-expected.png: Added.
  • platform/gtk/fast/box-shadow/spread-expected.txt: Copied from LayoutTests/platform/mac/fast/box-shadow/spread-expected.txt.
  • platform/gtk/fast/box-shadow/transform-fringing-expected.checksum: Added.
  • platform/gtk/fast/box-shadow/transform-fringing-expected.png: Added.
  • platform/gtk/fast/box-shadow/transform-fringing-expected.txt: Added.
  • platform/gtk/fast/canvas/shadow-offset-1-expected.checksum: Added.
  • platform/gtk/fast/canvas/shadow-offset-1-expected.png: Added.
  • platform/gtk/fast/canvas/shadow-offset-1-expected.txt: Added.
  • platform/gtk/fast/canvas/shadow-offset-2-expected.checksum: Added.
  • platform/gtk/fast/canvas/shadow-offset-2-expected.png: Added.
  • platform/gtk/fast/canvas/shadow-offset-2-expected.txt: Added.
  • platform/gtk/fast/canvas/shadow-offset-3-expected.checksum: Added.
  • platform/gtk/fast/canvas/shadow-offset-3-expected.png: Added.
  • platform/gtk/fast/canvas/shadow-offset-3-expected.txt: Added.
  • platform/gtk/fast/canvas/shadow-offset-4-expected.checksum: Added.
  • platform/gtk/fast/canvas/shadow-offset-4-expected.png: Added.
  • platform/gtk/fast/canvas/shadow-offset-4-expected.txt: Added.
  • platform/gtk/fast/canvas/shadow-offset-5-expected.checksum: Added.
  • platform/gtk/fast/canvas/shadow-offset-5-expected.png: Added.
  • platform/gtk/fast/canvas/shadow-offset-5-expected.txt: Added.
  • platform/gtk/fast/canvas/shadow-offset-6-expected.checksum: Added.
  • platform/gtk/fast/canvas/shadow-offset-6-expected.png: Added.
  • platform/gtk/fast/canvas/shadow-offset-6-expected.txt: Added.
  • platform/gtk/fast/canvas/shadow-offset-7-expected.checksum: Added.
  • platform/gtk/fast/canvas/shadow-offset-7-expected.png: Added.
  • platform/gtk/fast/canvas/shadow-offset-7-expected.txt: Added.
  • platform/gtk/fast/css/shadow-multiple-expected.checksum: Added.
  • platform/gtk/fast/css/shadow-multiple-expected.png: Added.
  • platform/gtk/fast/css/shadow-multiple-expected.txt: Added.
  • platform/gtk/fast/forms/box-shadow-override-expected.checksum: Added.
  • platform/gtk/fast/forms/box-shadow-override-expected.png: Added.
  • platform/gtk/fast/forms/box-shadow-override-expected.txt: Added.
  • platform/gtk/fast/text/shadow-no-blur-expected.checksum: Added.
  • platform/gtk/fast/text/shadow-no-blur-expected.png: Added.
  • platform/gtk/fast/text/shadow-no-blur-expected.txt: Added.
  • platform/gtk/fast/transforms/shadows-expected.checksum: Added.
  • platform/gtk/fast/transforms/shadows-expected.png: Added.
  • platform/gtk/fast/transforms/shadows-expected.txt: Copied from LayoutTests/platform/mac/fast/transforms/shadows-expected.txt.
  • platform/gtk/svg/css/arrow-with-shadow-expected.checksum: Added.
  • platform/gtk/svg/css/arrow-with-shadow-expected.png: Added.
  • platform/gtk/svg/css/arrow-with-shadow-expected.txt: Copied from LayoutTests/platform/mac/svg/css/arrow-with-shadow-expected.txt.
  • platform/gtk/svg/css/group-with-shadow-expected.checksum: Added.
  • platform/gtk/svg/css/group-with-shadow-expected.png: Added.
  • platform/gtk/svg/css/group-with-shadow-expected.txt: Added.
  • platform/gtk/svg/css/mask-with-shadow-expected.checksum: Added.
  • platform/gtk/svg/css/mask-with-shadow-expected.png: Added.
  • platform/gtk/svg/css/mask-with-shadow-expected.txt: Added.
  • platform/gtk/svg/css/path-with-shadow-expected.checksum: Added.
  • platform/gtk/svg/css/path-with-shadow-expected.png: Added.
  • platform/gtk/svg/css/path-with-shadow-expected.txt: Copied from LayoutTests/platform/mac/svg/css/path-with-shadow-expected.txt.
  • platform/gtk/svg/css/stars-with-shadow-expected.checksum: Added.
  • platform/gtk/svg/css/stars-with-shadow-expected.png: Added.
  • platform/gtk/svg/css/stars-with-shadow-expected.txt: Added.
9:18 AM Changeset in webkit [66392] by Simon Fraser
  • 2 edits in trunk/LayoutTests

2010-08-30 Simon Fraser <Simon Fraser>

Disable http/tests/css/css-image-loading.html on Windows.

  • platform/win/Skipped:
8:58 AM Changeset in webkit [66391] by Simon Fraser
  • 9 edits in trunk/WebCore

2010-08-29 Simon Fraser <Simon Fraser>

Reviewed by Darin Adler.

Fix RenderStyle::addCursor to use a StyleImage, not a CachedImage
https://bugs.webkit.org/show_bug.cgi?id=44719

Modernize the CSS cursor code to use a StyleImage, rather
than a CachedImage in the CursorData, and handle the loading
of pending images for the cursor property.

Covered by manual tests in WebCore/manual-tests

  • css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): (WebCore::CSSStyleSelector::loadPendingImages):
  • html/canvas/WebGLRenderingContext.cpp:
  • page/EventHandler.cpp: (WebCore::EventHandler::selectCursor):
  • rendering/style/CursorData.h: (WebCore::CursorData::CursorData): (WebCore::CursorData::image): (WebCore::CursorData::setImage):
  • rendering/style/CursorList.h: (WebCore::CursorList::operator[]):
  • rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::addCursor):
  • rendering/style/RenderStyle.h:
8:48 AM Changeset in webkit [66390] by Martin Robinson
  • 2 edits in trunk/WebCore

2010-08-30 Martin Robinson <mrobinson@igalia.com>

Build fix. Add the new fileapi directory to the IDL vpath.

  • GNUmakefile.am:
8:16 AM Changeset in webkit [66389] by Martin Robinson
  • 3 edits
    1 add in trunk

2010-08-30 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] WebKit DOM bindings build should not depend on output GNUMakefile
https://bugs.webkit.org/show_bug.cgi?id=44805

Move the DOM bindings source lists and generator rules to
WebCore/bindings/gobject/GNUmakefile.am. This will prevent a full WebKit API
rebuild whenever the automake files change, decreasing build times.

  • GNUmakefile.am:

2010-08-30 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] WebKit DOM bindings build should not depend on output GNUMakefile
https://bugs.webkit.org/show_bug.cgi?id=44805

Move WebKit DOM bindings build rules to bindings/gobject/GNUmakefile.am to
prevent full WebKit API rebuilds when the automake files change.

No new tests as this is just a build change.

  • bindings/gobject/GNUmakefile.am: Added.
7:27 AM Changeset in webkit [66388] by pfeldman@chromium.org
  • 2 edits in trunk/WebCore

2010-08-30 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: event listener properties are rendered as [object Object].
https://bugs.webkit.org/show_bug.cgi?id=44779

  • inspector/front-end/EventListenersSidebarPane.js:
7:15 AM Changeset in webkit [66387] by kov@webkit.org
  • 1 copy in releases/WebKitGTK/webkit-1.2.0

Late tagging of 1.2.0.

7:10 AM Changeset in webkit [66386] by zoltan@webkit.org
  • 4 edits in trunk/WebKitTools

[Qt] Add new window menu to MiniBrowser

Reviewed by Kenneth Rohde Christiansen.

Implement newWindow function and add a menu item for opening new window in MiniBrowser.

  • MiniBrowser/qt/BrowserWindow.cpp:

(BrowserWindow::BrowserWindow):
(BrowserWindow::newWindow):

  • MiniBrowser/qt/BrowserWindow.h:
  • MiniBrowser/qt/main.cpp:

(main):

5:40 AM Changeset in webkit [66385] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-30 Ryuan Choi <ryuan.choi@samsung.com>

Unreviewed build fix with Blob Support

[EFL] Build break with Blob support
https://bugs.webkit.org/show_bug.cgi?id=44858

No new features added, so no new tests.

  • CMakeLists.txt:
4:57 AM Changeset in webkit [66384] by abecsi@webkit.org
  • 2 edits in trunk/WebCore

2010-08-30 Andras Becsi <abecsi@webkit.org>

Unreviewed trivial fix.

[Qt] Let qmake know about HTML parser headers.

No new tests needed.

  • WebCore.pro:
4:38 AM Changeset in webkit [66383] by abecsi@webkit.org
  • 2 edits in trunk/WebCore

2010-08-30 Andras Becsi <abecsi@webkit.org>

Unreviewed build fix.

[Qt] Fix fileapi header paths to fix warnings after r66365.

No new tests needed.

  • WebCore.pro:
3:34 AM Changeset in webkit [66382] by dumi@chromium.org
  • 2 edits
    3 deletes in trunk/LayoutTests

Unreviewed, updating Chromium expectations.

  • platform/chromium-win/fast/lists/li-values-expected.checksum: Removed.
  • platform/chromium-win/fast/lists/li-values-expected.png: Removed.
  • platform/chromium-win/fast/lists/li-values-expected.txt: Removed.
  • platform/chromium/test_expectations.txt:
3:06 AM Changeset in webkit [66381] by yuzo@google.com
  • 3 edits
    1 add in trunk/LayoutTests

2010-08-30 Yuzo Fujishima <yuzo@google.com>

Unreviewed Chromium test expectation change.

  • platform/chromium-linux/fast/lists/li-values-expected.txt: Added.
  • platform/chromium-win/fast/lists/li-values-expected.txt:
  • platform/chromium/test_expectations.txt:
2:53 AM Changeset in webkit [66380] by yuzo@google.com
  • 3 edits
    2 adds in trunk/LayoutTests

2010-08-30 Yuzo Fujishima <yuzo@google.com>

Unreviewed Chromium test expectation change for r66359.

  • platform/chromium-linux/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt: Added.
  • platform/chromium-mac/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
  • platform/chromium-win/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
2:48 AM Changeset in webkit [66379] by Csaba Osztrogonác
  • 2 edits in trunk/WebCore

2010-08-30 Csaba Osztrogonác <Csaba Osztrogonác>

Reviewed by Kent Tamura.

REGRESSION(r66355): Fix warnings in html/DateComponents.cpp
https://bugs.webkit.org/show_bug.cgi?id=44855

  • html/DateComponents.cpp:
(WebCore::DateComponents::setMillisecondsSinceEpochForWeek): Suggested parentheses added around && within
2:42 AM Changeset in webkit [66378] by Csaba Osztrogonác
  • 2 edits in trunk/WebCore

REGRESSION(r66324): Fix warnings in editing/ApplyStyleCommand.cpp
https://bugs.webkit.org/show_bug.cgi?id=44843

Reviewed by Darin Adler.

  • editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::removeImplicitlyStyledElement): Suggested parentheses added around && within
2:13 AM Changeset in webkit [66377] by commit-queue@webkit.org
  • 4 edits in trunk/WebKit/efl

2010-08-30 Mikołaj Małecki <m.malecki@samsung.com>

Reviewed by Kenneth Rohde Christiansen

[EFL] Added initial setting to turn on offline pages.
https://bugs.webkit.org/show_bug.cgi?id=44239

  • ewk/ewk_main.cpp: Torn off non-EFL init to _ewk_init_body (ewk_init): Changed non-EFL init to call _ewk_init_body (_ewk_init_body): Moved internal init here and added cache directory path setting.
  • ewk/ewk_view.cpp: Added new config items: offline_app_cache and cache_directory (_ewk_view_priv_new): creating cache_directory string (_ewk_view_priv_del): deleting cache_directory string (ewk_view_setting_offline_app_cache_get): (ewk_view_setting_offline_app_cache_set): (ewk_view_setting_cache_directory_get): (ewk_view_setting_cache_directory_set):
  • ewk/ewk_view.h: added offline_app_cache and cache_directory props to ewk API
1:48 AM Changeset in webkit [66376] by commit-queue@webkit.org
  • 24 edits in trunk

2010-08-30 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66198.
http://trac.webkit.org/changeset/66198
https://bugs.webkit.org/show_bug.cgi?id=44856

It made tests crash on Qt bot (Requested by Ossy_ on #webkit).

  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::inspectedPageDestroyed): (WebCore::InspectorController::close):
  • inspector/InspectorFrontendClient.h:
  • inspector/InspectorFrontendHost.cpp:
  • inspector/InspectorFrontendHost.h:
  • inspector/InspectorFrontendHost.idl:
  • inspector/front-end/InspectorFrontendHostStub.js:
  • inspector/front-end/inspector.js: (WebInspector.inspectedPageDestroyed):

2010-08-30 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66198.
http://trac.webkit.org/changeset/66198
https://bugs.webkit.org/show_bug.cgi?id=44856

It made tests crash on Qt bot (Requested by Ossy_ on #webkit).

  • src/InspectorFrontendClientImpl.cpp:
  • src/InspectorFrontendClientImpl.h:

2010-08-30 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66198.
http://trac.webkit.org/changeset/66198
https://bugs.webkit.org/show_bug.cgi?id=44856

It made tests crash on Qt bot (Requested by Ossy_ on #webkit).

  • WebCoreSupport/InspectorClientGtk.cpp: (WebKit::notifyWebViewDestroyed): (WebKit::InspectorFrontendClient::destroyInspectorWindow): (WebKit::InspectorFrontendClient::closeWindow):
  • WebCoreSupport/InspectorClientGtk.h:

2010-08-30 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66198.
http://trac.webkit.org/changeset/66198
https://bugs.webkit.org/show_bug.cgi?id=44856

It made tests crash on Qt bot (Requested by Ossy_ on #webkit).

  • WebCoreSupport/WebInspectorClient.h:
  • WebCoreSupport/WebInspectorClient.mm: (WebInspectorFrontendClient::closeWindow): (-[WebInspectorWindowController windowShouldClose:]): (-[WebInspectorWindowController destroyInspectorView]):

2010-08-30 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66198.
http://trac.webkit.org/changeset/66198
https://bugs.webkit.org/show_bug.cgi?id=44856

It made tests crash on Qt bot (Requested by Ossy_ on #webkit).

  • WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::inspectorDestroyed): (WebCore::InspectorClientQt::openInspectorFrontend): (WebCore::InspectorClientQt::releaseFrontendPage): (WebCore::InspectorFrontendClientQt::closeWindow):
  • WebCoreSupport/InspectorClientQt.h:

2010-08-30 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66198.
http://trac.webkit.org/changeset/66198
https://bugs.webkit.org/show_bug.cgi?id=44856

It made tests crash on Qt bot (Requested by Ossy_ on #webkit).

  • WebCoreSupport/WebInspectorClient.cpp: (WebInspectorFrontendClient::~WebInspectorFrontendClient): (WebInspectorFrontendClient::closeWindow): (WebInspectorFrontendClient::closeWindowWithoutNotifications): (WebInspectorFrontendClient::destroyInspectorView):
  • WebCoreSupport/WebInspectorClient.h:
1:24 AM Changeset in webkit [66375] by zherczeg@webkit.org
  • 3 edits in trunk/JavaScriptCore

Refactor number parsing in the lexer
https://bugs.webkit.org/show_bug.cgi?id=44104

Reviewed by Darin Adler.

Number parsing was full of gotos, and needed a complete
redesign to remove them (Only one remained). Furthermore
integer arithmetic is empolyed for fast cases (= small
integer numbers).

  • parser/Lexer.cpp:

(JSC::Lexer::parseHex):
(JSC::Lexer::parseOctal):
(JSC::Lexer::parseDecimal):
(JSC::Lexer::parseNumberAfterDecimalPoint):
(JSC::Lexer::parseNumberAfterExponentIndicator):
(JSC::Lexer::lex):

  • parser/Lexer.h:
1:03 AM Changeset in webkit [66374] by Simon Hausmann
  • 2 edits in trunk/PlanetWebKit

Renamed Trolltech Labs to Qt Labs.

Reviewed by Tor Arne Vestbø.

  • config.ini:
12:45 AM Changeset in webkit [66373] by tkent@chromium.org
  • 2 edits in trunk/WebCore

2010-08-30 Marc-Antoine Ruel <maruel@chromium.org>

Reviewed by Kent Tamura.

Split webcore_svg off webcore_remaining. webcore_svg contains all svg
sources files.
https://bugs.webkit.org/show_bug.cgi?id=44840

  • WebCore.gyp/WebCore.gyp:
12:44 AM Changeset in webkit [66372] by morrita@google.com
  • 7 edits
    1 add in trunk

2010-08-13 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

https://bugs.webkit.org/show_bug.cgi?id=43960
[Chromium] styled scroll bar on the window is painted badly.

  • platform/chromium/test_expectations.txt: Skips at this time and will rebaseline shortly.
  • platform/mac/Skipped: Mac doesn't suffer from the problem.
  • scrollbars/custom-scrollbar-with-incomplete-style.html: Added.

2010-08-13 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

https://bugs.webkit.org/show_bug.cgi?id=43960
[Chromium] styled scroll bar on the window is painted badly.

WebKit assumes outermost scrollbar always painted.
So force their style to have the background color if it isn't
given by the stylesheet.

Test: scrollbars/custom-scrollbar-with-incomplete-style.html

  • rendering/RenderObject.h: (WebCore::RenderObject::hasBackground): Extracted body to RenderStyle for sharing.
  • rendering/RenderScrollbar.cpp: (WebCore::RenderScrollbar::getScrollbarPseudoStyle): Added the workaround as mentioned above.
  • rendering/RenderScrollbar.h:
  • rendering/style/RenderStyle.h: (WebCore::InheritedFlags::hasBackground): Extracted from RenderObject.
12:35 AM Changeset in webkit [66371] by abarth@webkit.org
  • 3 edits
    2 adds in trunk

2010-08-30 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

WebCore::RenderBlock::addChild* NULL ptrs
https://bugs.webkit.org/show_bug.cgi?id=43722

  • fast/ruby/before-doesnt-crash-expected.txt: Added.
  • fast/ruby/before-doesnt-crash.html: Added.

2010-08-30 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

WebCore::RenderBlock::addChild* NULL ptrs
https://bugs.webkit.org/show_bug.cgi?id=43722

Also includes some cleanup of comments and ASSERTs.

Test: fast/ruby/before-doesnt-crash.html

  • rendering/RenderRuby.cpp: (WebCore::RenderRubyAsInline::addChild):
12:28 AM Changeset in webkit [66370] by tkent@chromium.org
  • 2 edits in trunk/WebCore

2010-08-30 Marc-Antoine Ruel <maruel@chromium.org>

Reviewed by Kent Tamura

Move most dependencies to webcore_prerequisites
https://bugs.webkit.org/show_bug.cgi?id=44814

  • WebCore.gyp/WebCore.gyp:
12:15 AM Changeset in webkit [66369] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2010-08-30 Adam Barth <abarth@webkit.org>

Move AsyncImageResizer back to html to fix Chromium build.

  • WebCore.gypi:
12:13 AM Changeset in webkit [66368] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2010-08-30 Adam Barth <abarth@webkit.org>

Fix silly typo that breaks the build.

  • WebCore.pro:
12:07 AM Changeset in webkit [66367] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2010-08-30 Adam Barth <abarth@webkit.org>

Attempt to fix the Qt build.

  • WebCore.pri:
12:04 AM Changeset in webkit [66366] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2010-08-30 Adam Barth <abarth@webkit.org>

Attempt to fix Chromium build.

  • WebCore.gyp/WebCore.gyp:
12:00 AM Changeset in webkit [66365] by abarth@webkit.org
  • 10 edits
    31 moves
    1 add in trunk/WebCore

2010-08-29 Adam Barth <abarth@webkit.org>

Rubber-stamped by Maciej Stachowiak.

Move File and Blob related files from WebCore/html to WebCore/fileapi.

  • Android.mk:
  • CMakeLists.txt:
  • DerivedSources.make:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.vcproj/WebCoreCommon.vsprops:
  • WebCore.xcodeproj/project.pbxproj:
  • fileapi: Added.
  • fileapi/AsyncFileWriter.h: Copied from WebCore/html/AsyncFileWriter.h.
  • fileapi/Blob.cpp: Copied from WebCore/html/Blob.cpp.
  • fileapi/Blob.h: Copied from WebCore/html/Blob.h.
  • fileapi/Blob.idl: Copied from WebCore/html/Blob.idl.
  • fileapi/BlobBuilder.cpp: Copied from WebCore/html/BlobBuilder.cpp.
  • fileapi/BlobBuilder.h: Copied from WebCore/html/BlobBuilder.h.
  • fileapi/BlobBuilder.idl: Copied from WebCore/html/BlobBuilder.idl.
  • fileapi/BlobURL.cpp: Copied from WebCore/html/BlobURL.cpp.
  • fileapi/BlobURL.h: Copied from WebCore/html/BlobURL.h.
  • fileapi/File.cpp: Copied from WebCore/html/File.cpp.
  • fileapi/File.h: Copied from WebCore/html/File.h.
  • fileapi/File.idl: Copied from WebCore/html/File.idl.
  • fileapi/FileError.h: Copied from WebCore/html/FileError.h.
  • fileapi/FileError.idl: Copied from WebCore/html/FileError.idl.
  • fileapi/FileList.cpp: Copied from WebCore/html/FileList.cpp.
  • fileapi/FileList.h: Copied from WebCore/html/FileList.h.
  • fileapi/FileList.idl: Copied from WebCore/html/FileList.idl.
  • fileapi/FileReader.cpp: Copied from WebCore/html/FileReader.cpp.
  • fileapi/FileReader.h: Copied from WebCore/html/FileReader.h.
  • fileapi/FileReader.idl: Copied from WebCore/html/FileReader.idl.
  • fileapi/FileStreamProxy.cpp: Copied from WebCore/html/FileStreamProxy.cpp.
  • fileapi/FileStreamProxy.h: Copied from WebCore/html/FileStreamProxy.h.
  • fileapi/FileThread.cpp: Copied from WebCore/html/FileThread.cpp.
  • fileapi/FileThread.h: Copied from WebCore/html/FileThread.h.
  • fileapi/FileThreadTask.h: Copied from WebCore/html/FileThreadTask.h.
  • fileapi/FileWriter.cpp: Copied from WebCore/html/FileWriter.cpp.
  • fileapi/FileWriter.h: Copied from WebCore/html/FileWriter.h.
  • fileapi/FileWriter.idl: Copied from WebCore/html/FileWriter.idl.
  • fileapi/FileWriterClient.h: Copied from WebCore/html/FileWriterClient.h.
  • fileapi/ThreadableBlobRegistry.cpp: Copied from WebCore/html/ThreadableBlobRegistry.cpp.
  • fileapi/ThreadableBlobRegistry.h: Copied from WebCore/html/ThreadableBlobRegistry.h.
  • html/AsyncFileWriter.h: Removed.
  • html/Blob.cpp: Removed.
  • html/Blob.h: Removed.
  • html/Blob.idl: Removed.
  • html/BlobBuilder.cpp: Removed.
  • html/BlobBuilder.h: Removed.
  • html/BlobBuilder.idl: Removed.
  • html/BlobURL.cpp: Removed.
  • html/BlobURL.h: Removed.
  • html/File.cpp: Removed.
  • html/File.h: Removed.
  • html/File.idl: Removed.
  • html/FileError.h: Removed.
  • html/FileError.idl: Removed.
  • html/FileList.cpp: Removed.
  • html/FileList.h: Removed.
  • html/FileList.idl: Removed.
  • html/FileReader.cpp: Removed.
  • html/FileReader.h: Removed.
  • html/FileReader.idl: Removed.
  • html/FileStreamProxy.cpp: Removed.
  • html/FileStreamProxy.h: Removed.
  • html/FileThread.cpp: Removed.
  • html/FileThread.h: Removed.
  • html/FileThreadTask.h: Removed.
  • html/FileWriter.cpp: Removed.
  • html/FileWriter.h: Removed.
  • html/FileWriter.idl: Removed.
  • html/FileWriterClient.h: Removed.
  • html/ThreadableBlobRegistry.cpp: Removed.
  • html/ThreadableBlobRegistry.h: Removed.
Note: See TracTimeline for information about the timeline view.