WebKit.git
10 years ago2011-02-10 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Thu, 10 Feb 2011 20:36:12 +0000 (20:36 +0000)]
2011-02-10  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Anders Carlsson.

        Skip newly added tests that use eventSender
        https://bugs.webkit.org/show_bug.cgi?id=54235

        * platform/mac-wk2/Skipped:

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

10 years ago2011-02-10 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 10 Feb 2011 20:26:58 +0000 (20:26 +0000)]
2011-02-10  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [Soup] ResourceHandleSoup does not ever call didSendData for file uploads
        https://bugs.webkit.org/show_bug.cgi?id=52090

        * platform/gtk/Skipped: Unskip tests which should now be passing.
2011-02-10  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [Soup] ResourceHandleSoup does not ever call didSendData for file uploads
        https://bugs.webkit.org/show_bug.cgi?id=52090

        Call didSendData as body data is uploaded to the server. This is necessary
        for XHR upload events to function properly.

        * platform/network/ResourceHandleInternal.h:
        (WebCore::ResourceHandleInternal::ResourceHandleInternal): Add two new members.
        One to track the total amount of body data and one to track the total amount of
        body data sent so far.
        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::wroteBodyDataCallback): Added.
        (WebCore::addFormElementsToSoupMessage): Split this out into a helper function.
        Will now now sum the total amount of body data.
        (WebCore::startHttp): Attach a wrote-body-data signal handler.

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

10 years ago2011-02-10 Robert Hogan <robert@webkit.org>
robert@webkit.org [Thu, 10 Feb 2011 20:18:27 +0000 (20:18 +0000)]
2011-02-10  Robert Hogan  <robert@webkit.org>

        Reviewed by Laszlo Gombos.

        [Qt] Return menu items from eventSender.contextMenu()
        https://bugs.webkit.org/show_bug.cgi?id=53039

        * platform/qt/Skipped: unskip editing/selection/context-menu-on-text.html
2011-02-10  Robert Hogan  <robert@webkit.org>

        Reviewed by Laszlo Gombos.

        [Qt] Return menu items from eventSender.contextMenu()
        https://bugs.webkit.org/show_bug.cgi?id=53039

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (iterateContextMenu):
        (DumpRenderTreeSupportQt::contextMenu):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-02-10  Robert Hogan  <robert@webkit.org>

        Reviewed by Laszlo Gombos.

        [Qt] Return menu items from eventSender.contextMenu()
        https://bugs.webkit.org/show_bug.cgi?id=53039

        * DumpRenderTree/qt/EventSenderQt.cpp:
        (EventSender::contextClick):
        * DumpRenderTree/qt/EventSenderQt.h:

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

10 years agoTry again to fix the Qt build.
andersca@apple.com [Thu, 10 Feb 2011 20:12:54 +0000 (20:12 +0000)]
Try again to fix the Qt build.

* UIProcess/TiledDrawingAreaProxy.cpp:
(WebKit::TiledDrawingAreaProxy::sizeDidChange):
(WebKit::TiledDrawingAreaProxy::setPageIsVisible):
(WebKit::TiledDrawingAreaProxy::takeSnapshot):
(WebKit::TiledDrawingAreaProxy::removeTile):

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

10 years ago2011-02-10 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 10 Feb 2011 19:58:41 +0000 (19:58 +0000)]
2011-02-10  Zhenyao Mo  <zmo@google.com>

        Unreviewed, rebaseline.

        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-light-04-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-light-04-f-expected.png:
        * platform/chromium-linux/svg/transforms/animated-path-inside-transformed-html-expected.checksum:
        * platform/chromium-linux/svg/transforms/animated-path-inside-transformed-html-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-light-04-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-light-04-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-light-04-f-expected.txt:
        * platform/chromium-win/svg/transforms/animated-path-inside-transformed-html-expected.checksum:
        * platform/chromium-win/svg/transforms/animated-path-inside-transformed-html-expected.png:

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

10 years ago2011-02-10 Bill Budge <bbudge@chromium.org>
commit-queue@webkit.org [Thu, 10 Feb 2011 19:50:37 +0000 (19:50 +0000)]
2011-02-10  Bill Budge  <bbudge@chromium.org>

        Reviewed by David Levin.

        Add fields to ResourceRequest and ResourceResponse in preparation for adding CORS support to AssociatedURLLoader.
        https://bugs.webkit.org/show_bug.cgi?id=53925

        * platform/network/chromium/ResourceRequest.cpp:
        (WebCore::ResourceRequest::doPlatformCopyData):
        (WebCore::ResourceRequest::doPlatformAdopt):
        * platform/network/chromium/ResourceRequest.h:
        (WebCore::ResourceRequest::ResourceRequest):
        (WebCore::ResourceRequest::downloadToFile):
        (WebCore::ResourceRequest::setDownloadToFile):
        * platform/network/chromium/ResourceResponse.cpp:
        (WebCore::ResourceResponse::doPlatformCopyData):
        (WebCore::ResourceResponse::doPlatformAdopt):
        * platform/network/chromium/ResourceResponse.h:
        (WebCore::ResourceResponse::downloadFilePath):
        (WebCore::ResourceResponse::setDownloadFilePath):

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

10 years agoAttempt to fix the Qt build.
andersca@apple.com [Thu, 10 Feb 2011 19:37:27 +0000 (19:37 +0000)]
Attempt to fix the Qt build.

* UIProcess/TiledDrawingAreaProxy.cpp:
(WebKit::TiledDrawingAreaProxy::sizeDidChange):
(WebKit::TiledDrawingAreaProxy::setPageIsVisible):
(WebKit::TiledDrawingAreaProxy::requestTileUpdate):
(WebKit::TiledDrawingAreaProxy::takeSnapshot):
(WebKit::TiledDrawingAreaProxy::removeTile):
* WebProcess/WebPage/TiledDrawingArea.cpp:
(WebKit::TiledDrawingArea::display):
(WebKit::TiledDrawingArea::setSize):
(WebKit::TiledDrawingArea::updateTile):
(WebKit::TiledDrawingArea::tileUpdateTimerFired):
(WebKit::TiledDrawingArea::didReceiveMessage):

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

10 years agoHandle a null FindIndicator correctly
aroben@apple.com [Thu, 10 Feb 2011 19:26:07 +0000 (19:26 +0000)]
Handle a null FindIndicator correctly

We are passed a null FindIndicator when the find indicator becomes hidden.

Fixes <http://webkit.org/b/54213> <rdar://problem/8983261> REGRESSION (r78198): Crash in
FindIndicator::contentImage when scrolling page

Reviewed by Steve Falkenburg.

Source/WebKit2:

* Platform/win/SharedMemoryWin.cpp:
(WebKit::SharedMemory::Handle::isNull): Implemented.
(WebKit::SharedMemory::create): Bail out if the handle is null, just like Mac does.
Otherwise assert that ::MapViewOfFile succeeded. This doesn't fix the bug, but should help
catch other errors.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::setFindIndicator): Null-check the FindIndicator before dereferencing it.
Also changed the function to store the FindIndicator in a RefPtr.

Tools:

Test showing and hiding the find indicator on Windows

* TestWebKitAPI/Tests/WebKit2/win/HideFindIndicator.cpp: Added.
(TestWebKitAPI::didFinishLoadForFrame): Record that the load finished.
(TestWebKitAPI::findIndicatorCallback): Record that the callback was called, and save the
bitmap.
(TestWebKitAPI::initialize): Hook up our callbacks.
(TestWebKitAPI::TEST): Test showing then hiding the find indicator to see if we crash.

* TestWebKitAPI/PlatformWebView.h:
* TestWebKitAPI/mac/PlatformWebViewMac.mm:
(TestWebKitAPI::PlatformWebView::page):
* TestWebKitAPI/win/PlatformWebViewWin.cpp:
(TestWebKitAPI::PlatformWebView::page):
Made page a const member function.

* TestWebKitAPI/win/TestWebKitAPI.vcproj: Added the new test.

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

10 years agoPrint locations of assertions and logs in a way that Visual Studio understands
aroben@apple.com [Thu, 10 Feb 2011 19:25:18 +0000 (19:25 +0000)]
Print locations of assertions and logs in a way that Visual Studio understands

With this change, double-clicking one of these locations in Visual Studio's Output Window
will focus that line of code in the editor.

Fixes <http://webkit.org/b/54208> Double-clicking locations of assertions/logs in Visual
Studio's Output Window does nothing

Reviewed by Alexey Proskuryakov.

* wtf/Assertions.cpp:
(printCallSite): Use OS(WINDOWS) instead of the meaningless OS(WIN). When we aren't using
the debug CRT (and thus can't call _CrtDbgReport), print the file and line number using the
same format that cl.exe uses when it prints compiler errors.

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

10 years ago2011-02-10 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Thu, 10 Feb 2011 19:16:16 +0000 (19:16 +0000)]
2011-02-10  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        SVGAnimateElement needs information about the animated attribute type
        https://bugs.webkit.org/show_bug.cgi?id=53442

        For animations, we need to know the SVG property type for a XML attribute. A global static mapping between
        attribute name and a type is not possible, since one attribute name can be bound to different property types:
        x can be a SVGNumberList, a SVGNumber or a SVGLength. So we have to ask every target element, if it supports
        the animated attribute and of which type it is. Just for CSS properties we can share an explicit mapping between
        the name and the type. This is done in a static map in SVGStyledElement. All other mappings are stored in local static
        HashMaps for all SVG elements with animated properties. These maps get filled once with the fillAttributeToPropertyTypeMap function
        that needs to be included in every SVG element. The function is not virtual in base classes for performance reasons.

        No change of functionality, so no new test cases.

        * svg/SVGAElement.cpp:
        (WebCore::SVGAElement::attributeToPropertyTypeMap):
        (WebCore::SVGAElement::fillAttributeToPropertyTypeMap):
        * svg/SVGAElement.h:
        * svg/SVGAltGlyphElement.cpp:
        (WebCore::SVGAltGlyphElement::attributeToPropertyTypeMap):
        (WebCore::SVGAltGlyphElement::fillAttributeToPropertyTypeMap):
        * svg/SVGAltGlyphElement.h:
        * svg/SVGAnimateElement.cpp:
        (WebCore::SVGAnimateElement::determinePropertyType):
        * svg/SVGCircleElement.cpp:
        (WebCore::SVGCircleElement::attributeToPropertyTypeMap):
        (WebCore::SVGCircleElement::fillAttributeToPropertyTypeMap):
        * svg/SVGCircleElement.h:
        * svg/SVGClipPathElement.cpp:
        (WebCore::SVGClipPathElement::attributeToPropertyTypeMap):
        (WebCore::SVGClipPathElement::fillAttributeToPropertyTypeMap):
        * svg/SVGClipPathElement.h:
        * svg/SVGComponentTransferFunctionElement.cpp:
        (WebCore::SVGComponentTransferFunctionElement::attributeToPropertyTypeMap):
        (WebCore::SVGComponentTransferFunctionElement::fillAttributeToPropertyTypeMap):
        * svg/SVGComponentTransferFunctionElement.h:
        * svg/SVGCursorElement.cpp:
        (WebCore::SVGCursorElement::attributeToPropertyTypeMap):
        (WebCore::SVGCursorElement::fillAttributeToPropertyTypeMap):
        * svg/SVGCursorElement.h:
        * svg/SVGElement.cpp:
        (WebCore::SVGElement::attributeToPropertyTypeMap):
        (WebCore::SVGElement::animatedPropertyTypeForAttribute):
        * svg/SVGElement.h:
        (WebCore::SVGElement::fillAttributeToPropertyTypeMap):
        * svg/SVGEllipseElement.cpp:
        (WebCore::SVGEllipseElement::attributeToPropertyTypeMap):
        (WebCore::SVGEllipseElement::fillAttributeToPropertyTypeMap):
        * svg/SVGEllipseElement.h:
        * svg/SVGFEBlendElement.cpp:
        (WebCore::SVGFEBlendElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEBlendElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEBlendElement.h:
        * svg/SVGFEColorMatrixElement.cpp:
        (WebCore::SVGFEColorMatrixElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEColorMatrixElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEColorMatrixElement.h:
        * svg/SVGFEComponentTransferElement.cpp:
        (WebCore::SVGFEComponentTransferElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEComponentTransferElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEComponentTransferElement.h:
        * svg/SVGFECompositeElement.cpp:
        (WebCore::SVGFECompositeElement::attributeToPropertyTypeMap):
        (WebCore::SVGFECompositeElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFECompositeElement.h:
        * svg/SVGFEConvolveMatrixElement.cpp:
        (WebCore::SVGFEConvolveMatrixElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEConvolveMatrixElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEConvolveMatrixElement.h:
        * svg/SVGFEDiffuseLightingElement.cpp:
        (WebCore::SVGFEDiffuseLightingElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEDiffuseLightingElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEDiffuseLightingElement.h:
        * svg/SVGFEDisplacementMapElement.cpp:
        (WebCore::SVGFEDisplacementMapElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEDisplacementMapElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEDisplacementMapElement.h:
        * svg/SVGFEFloodElement.cpp:
        (WebCore::SVGFEFloodElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEFloodElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEFloodElement.h:
        * svg/SVGFEGaussianBlurElement.cpp:
        (WebCore::SVGFEGaussianBlurElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEGaussianBlurElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEGaussianBlurElement.h:
        * svg/SVGFEImageElement.cpp:
        (WebCore::SVGFEImageElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEImageElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEImageElement.h:
        * svg/SVGFELightElement.cpp:
        (WebCore::SVGFELightElement::attributeToPropertyTypeMap):
        (WebCore::SVGFELightElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFELightElement.h:
        * svg/SVGFEMergeElement.cpp:
        (WebCore::SVGFEMergeElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEMergeElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEMergeElement.h:
        * svg/SVGFEMergeNodeElement.cpp:
        (WebCore::SVGFEMergeNodeElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEMergeNodeElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEMergeNodeElement.h:
        * svg/SVGFEMorphologyElement.cpp:
        (WebCore::SVGFEMorphologyElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEMorphologyElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEMorphologyElement.h:
        * svg/SVGFEOffsetElement.cpp:
        (WebCore::SVGFEOffsetElement::attributeToPropertyTypeMap):
        (WebCore::SVGFEOffsetElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFEOffsetElement.h:
        * svg/SVGFESpecularLightingElement.cpp:
        (WebCore::SVGFESpecularLightingElement::attributeToPropertyTypeMap):
        (WebCore::SVGFESpecularLightingElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFESpecularLightingElement.h:
        * svg/SVGFETileElement.cpp:
        (WebCore::SVGFETileElement::attributeToPropertyTypeMap):
        (WebCore::SVGFETileElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFETileElement.h:
        * svg/SVGFETurbulenceElement.cpp:
        (WebCore::SVGFETurbulenceElement::attributeToPropertyTypeMap):
        (WebCore::SVGFETurbulenceElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFETurbulenceElement.h:
        * svg/SVGFilterElement.cpp:
        (WebCore::SVGFilterElement::attributeToPropertyTypeMap):
        (WebCore::SVGFilterElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFilterElement.h:
        * svg/SVGFilterPrimitiveStandardAttributes.cpp:
        (WebCore::SVGFilterPrimitiveStandardAttributes::fillAttributeToPropertyTypeMap):
        * svg/SVGFilterPrimitiveStandardAttributes.h:
        * svg/SVGFontElement.cpp:
        (WebCore::SVGFontElement::attributeToPropertyTypeMap):
        (WebCore::SVGFontElement::fillAttributeToPropertyTypeMap):
        * svg/SVGFontElement.h:
        (WebCore::SVGFontElement::rendererIsNeeded):
        * svg/SVGForeignObjectElement.cpp:
        (WebCore::SVGForeignObjectElement::attributeToPropertyTypeMap):
        (WebCore::SVGForeignObjectElement::fillAttributeToPropertyTypeMap):
        * svg/SVGForeignObjectElement.h:
        * svg/SVGGlyphElement.cpp:
        (WebCore::SVGGlyphElement::attributeToPropertyTypeMap):
        (WebCore::SVGGlyphElement::fillAttributeToPropertyTypeMap):
        * svg/SVGGlyphElement.h:
        * svg/SVGGradientElement.cpp:
        (WebCore::SVGGradientElement::fillAttributeToPropertyTypeMap):
        * svg/SVGGradientElement.h:
        * svg/SVGImageElement.cpp:
        (WebCore::SVGImageElement::attributeToPropertyTypeMap):
        (WebCore::SVGImageElement::fillAttributeToPropertyTypeMap):
        * svg/SVGImageElement.h:
        * svg/SVGLineElement.cpp:
        (WebCore::SVGLineElement::attributeToPropertyTypeMap):
        (WebCore::SVGLineElement::fillAttributeToPropertyTypeMap):
        * svg/SVGLineElement.h:
        * svg/SVGLinearGradientElement.cpp:
        (WebCore::SVGLinearGradientElement::attributeToPropertyTypeMap):
        (WebCore::SVGLinearGradientElement::fillAttributeToPropertyTypeMap):
        * svg/SVGLinearGradientElement.h:
        * svg/SVGMPathElement.cpp:
        (WebCore::SVGMPathElement::attributeToPropertyTypeMap):
        (WebCore::SVGMPathElement::fillAttributeToPropertyTypeMap):
        * svg/SVGMPathElement.h:
        * svg/SVGMarkerElement.cpp:
        (WebCore::SVGMarkerElement::attributeToPropertyTypeMap):
        (WebCore::SVGMarkerElement::fillAttributeToPropertyTypeMap):
        * svg/SVGMarkerElement.h:
        * svg/SVGMaskElement.cpp:
        (WebCore::SVGMaskElement::attributeToPropertyTypeMap):
        (WebCore::SVGMaskElement::fillAttributeToPropertyTypeMap):
        * svg/SVGMaskElement.h:
        * svg/SVGMissingGlyphElement.cpp:
        (WebCore::SVGMissingGlyphElement::attributeToPropertyTypeMap):
        (WebCore::SVGMissingGlyphElement::fillAttributeToPropertyTypeMap):
        * svg/SVGMissingGlyphElement.h:
        * svg/SVGPathElement.cpp:
        (WebCore::SVGPathElement::attributeToPropertyTypeMap):
        (WebCore::SVGPathElement::fillAttributeToPropertyTypeMap):
        * svg/SVGPathElement.h:
        * svg/SVGPatternElement.cpp:
        (WebCore::SVGPatternElement::attributeToPropertyTypeMap):
        (WebCore::SVGPatternElement::fillAttributeToPropertyTypeMap):
        * svg/SVGPatternElement.h:
        * svg/SVGPolyElement.cpp:
        (WebCore::SVGPolyElement::attributeToPropertyTypeMap):
        (WebCore::SVGPolyElement::fillAttributeToPropertyTypeMap):
        * svg/SVGPolyElement.h:
        * svg/SVGRadialGradientElement.cpp:
        (WebCore::SVGRadialGradientElement::attributeToPropertyTypeMap):
        (WebCore::SVGRadialGradientElement::fillAttributeToPropertyTypeMap):
        * svg/SVGRadialGradientElement.h:
        * svg/SVGRectElement.cpp:
        (WebCore::SVGRectElement::attributeToPropertyTypeMap):
        (WebCore::SVGRectElement::fillAttributeToPropertyTypeMap):
        * svg/SVGRectElement.h:
        * svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::attributeToPropertyTypeMap):
        (WebCore::SVGSVGElement::fillAttributeToPropertyTypeMap):
        * svg/SVGSVGElement.h:
        * svg/SVGScriptElement.cpp:
        (WebCore::SVGScriptElement::attributeToPropertyTypeMap):
        (WebCore::SVGScriptElement::fillAttributeToPropertyTypeMap):
        * svg/SVGScriptElement.h:
        * svg/SVGStopElement.cpp:
        (WebCore::SVGStopElement::attributeToPropertyTypeMap):
        (WebCore::SVGStopElement::fillAttributeToPropertyTypeMap):
        * svg/SVGStopElement.h:
        * svg/SVGStyledElement.cpp:
        (WebCore::cssPropertyToTypeMap):
        (WebCore::SVGStyledElement::animatedPropertyTypeForCSSProperty):
        (WebCore::SVGStyledElement::fillAttributeToPropertyTypeMap):
        * svg/SVGStyledElement.h:
        * svg/SVGStyledTransformableElement.cpp:
        (WebCore::SVGStyledTransformableElement::fillAttributeToPropertyTypeMap):
        * svg/SVGStyledTransformableElement.h:
        * svg/SVGSwitchElement.cpp:
        (WebCore::SVGSwitchElement::attributeToPropertyTypeMap):
        (WebCore::SVGSwitchElement::fillAttributeToPropertyTypeMap):
        * svg/SVGSwitchElement.h:
        * svg/SVGSymbolElement.cpp:
        (WebCore::SVGSymbolElement::attributeToPropertyTypeMap):
        (WebCore::SVGSymbolElement::fillAttributeToPropertyTypeMap):
        * svg/SVGSymbolElement.h:
        * svg/SVGTRefElement.cpp:
        (WebCore::SVGTRefElement::attributeToPropertyTypeMap):
        (WebCore::SVGTRefElement::fillAttributeToPropertyTypeMap):
        * svg/SVGTRefElement.h:
        * svg/SVGTSpanElement.cpp:
        (WebCore::SVGTSpanElement::attributeToPropertyTypeMap):
        (WebCore::SVGTSpanElement::fillAttributeToPropertyTypeMap):
        * svg/SVGTSpanElement.h:
        * svg/SVGTextContentElement.cpp:
        (WebCore::SVGTextContentElement::fillAttributeToPropertyTypeMap):
        * svg/SVGTextContentElement.h:
        * svg/SVGTextElement.cpp:
        (WebCore::SVGTextElement::attributeToPropertyTypeMap):
        (WebCore::SVGTextElement::fillAttributeToPropertyTypeMap):
        * svg/SVGTextElement.h:
        * svg/SVGTextPathElement.cpp:
        (WebCore::SVGTextPathElement::attributeToPropertyTypeMap):
        (WebCore::SVGTextPathElement::fillAttributeToPropertyTypeMap):
        * svg/SVGTextPathElement.h:
        * svg/SVGTextPositioningElement.cpp:
        (WebCore::SVGTextPositioningElement::fillAttributeToPropertyTypeMap):
        * svg/SVGTextPositioningElement.h:
        * svg/SVGTitleElement.cpp:
        (WebCore::SVGTitleElement::attributeToPropertyTypeMap):
        (WebCore::SVGTitleElement::fillAttributeToPropertyTypeMap):
        * svg/SVGTitleElement.h:
        * svg/SVGUseElement.cpp:
        (WebCore::SVGUseElement::attributeToPropertyTypeMap):
        (WebCore::SVGUseElement::fillAttributeToPropertyTypeMap):
        * svg/SVGUseElement.h:
        * svg/SVGViewElement.cpp:
        (WebCore::SVGViewElement::attributeToPropertyTypeMap):
        (WebCore::SVGViewElement::fillAttributeToPropertyTypeMap):
        * svg/SVGViewElement.h:

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

10 years ago2011-02-10 Alexis Menard <alexis.menard@nokia.com>
andreas.kling@nokia.com [Thu, 10 Feb 2011 19:05:42 +0000 (19:05 +0000)]
2011-02-10  Alexis Menard  <alexis.menard@nokia.com>

        Reviewed by Andreas Kling.

        Fix a Warning after removing FileSystem support for the inspector.

        * WebCore.pro:

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

10 years ago2011-02-10 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 10 Feb 2011 18:55:32 +0000 (18:55 +0000)]
2011-02-10  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Add 'deprecated' to the deprecated CoreIPC functions
        https://bugs.webkit.org/show_bug.cgi?id=54223

        * Platform/CoreIPC/Connection.cpp:
        (CoreIPC::Connection::sendMessage):
        * Platform/CoreIPC/Connection.h:
        (CoreIPC::Connection::send):
        (CoreIPC::Connection::deprecatedSendSync):
        (CoreIPC::Connection::deprecatedSend):
        (CoreIPC::Connection::deprecatedWaitFor):
        * Platform/CoreIPC/mac/ConnectionMac.cpp:
        (CoreIPC::Connection::open):
        * PluginProcess/PluginProcess.cpp:
        * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp:
        (WebKit::ChunkedUpdateDrawingAreaProxy::paint):
        * UIProcess/Plugins/PluginProcessProxy.cpp:
        (WebKit::PluginProcessProxy::createWebProcessConnection):
        * WebProcess/InjectedBundle/InjectedBundle.cpp:
        (WebKit::InjectedBundle::postMessage):
        (WebKit::InjectedBundle::postSynchronousMessage):
        * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
        (WebKit::PluginProcessConnectionManager::getPluginProcessConnection):
        * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
        (WebKit::ChunkedUpdateDrawingArea::display):
        (WebKit::ChunkedUpdateDrawingArea::setSize):
        * WebProcess/WebPage/LayerBackedDrawingArea.cpp:
        (WebKit::LayerBackedDrawingArea::setSize):
        * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
        (WebKit::LayerBackedDrawingArea::attachCompositingContext):

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

10 years ago2011-02-10 Sam Weinig <sam@webkit.org>
weinig@apple.com [Thu, 10 Feb 2011 18:50:02 +0000 (18:50 +0000)]
2011-02-10  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Window resizer does not have a border when there are scrollbars in WebKit2 windows
        <rdar://problem/8488476>
        https://bugs.webkit.org/show_bug.cgi?id=54222

        * UIProcess/API/mac/PageClientImpl.h:
        * UIProcess/API/mac/PageClientImpl.mm:
        (WebKit::PageClientImpl::didChangeScrollbarsForMainFrame):
        * UIProcess/API/mac/WKView.mm:
        (-[WKView _updateGrowBoxForWindowFrameChange]):
        (-[WKView _didChangeScrollbarsForMainFrame]):
        * UIProcess/API/mac/WKViewInternal.h:
        * UIProcess/API/qt/qwkpage_p.h:
        (QWKPagePrivate::didChangeScrollbarsForMainFrame):
        * UIProcess/PageClient.h:
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::didChangeScrollbarsForMainFrame):
        * UIProcess/win/WebView.cpp:
        (WebKit::WebView::didChangeScrollbarsForMainFrame):
        * UIProcess/win/WebView.h:

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

10 years ago2011-02-10 Ivan Krstić <ike@apple.com>
ike@apple.com [Thu, 10 Feb 2011 18:44:14 +0000 (18:44 +0000)]
2011-02-10  Ivan Krstić  <ike@apple.com>

        Reviewed by Adam Roben.

        Rename remaining instances of _HOME sandbox parameter.
        <rdar://problem/8983428>

        * WebProcess/com.apple.WebProcess.sb:

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

10 years ago2011-02-10 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Thu, 10 Feb 2011 18:42:18 +0000 (18:42 +0000)]
2011-02-10  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Log signals from AtkDocument interface also in AccessibilityController
        https://bugs.webkit.org/show_bug.cgi?id=54198

        Trace AtkDocument's signals emission through AccessibilityController.

        Also, taken the code related to adding and removing global
        listeners for ATK signals out to a separate file, for the sake of
        clarity and to ease future additions.

        * DumpRenderTree/gtk/AccessibilityCallbacks.h: Added.
        * DumpRenderTree/gtk/AccessibilityCallbacks.cpp: Added
        (printAccessibilityEvent): Print information about an event.
        (axObjectEventListener): Global listener for AtkObject's signals.
        (axDocumentEventListener): Global listener for AtkDocument's signals.
        (connectAccessibilityCallbacks): Connect all global listeners.
        (disconnectAccessibilityCallbacks): Disconnect all global listeners.

        * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
        (AccessibilityController::setLogAccessibilityEvents): Call to
        connectAccessibilityCallbacks and disconnectAccessibilityCallbacks.

        * GNUmakefile.am: Added new files.

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

10 years ago2011-02-10 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 10 Feb 2011 18:40:30 +0000 (18:40 +0000)]
2011-02-10  Zhenyao Mo  <zmo@google.com>

        Unreviewed, rebaseline.

        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png:
        * platform/mac-leopard/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png:
        * platform/mac-leopard/svg/batik/filters/feTile-expected.checksum:
        * platform/mac-leopard/svg/batik/filters/feTile-expected.png:
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.checksum: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.png: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.checksum: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.png: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.checksum: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.png: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.checksum: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.png: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.checksum: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.png: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.checksum: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.png: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.checksum: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.png: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.checksum: Added.
        * platform/mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.png: Added.
        * platform/mac-leopard/svg/foreignObject/text-tref-02-b-expected.checksum:
        * platform/mac-leopard/svg/foreignObject/text-tref-02-b-expected.png:

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

10 years agoAX: AX needs to stop using WebCoreViewFactory
cfleizach@apple.com [Thu, 10 Feb 2011 18:25:16 +0000 (18:25 +0000)]
AX: AX needs to stop using WebCoreViewFactory
https://bugs.webkit.org/show_bug.cgi?id=54153

Reviewed by Anders Carlsson.

../WebCore:

WebKit2 no longer uses WebCoreViewFactory, which means that accessibility code needs
to get off of it and use WebCoreSystemInterface, like other clients.

* WebCore.exp.in:
* accessibility/AXObjectCache.h:
* accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::handleFocusedUIElementChanged):
* accessibility/mac/AccessibilityObjectWrapper.h:
* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper unregisterUniqueIdForUIElement]):
(CFAutoreleaseHelper):
(AXObjectIsTextMarker):
(AXObjectIsTextMarkerRange):
(AXTextMarkerRange):
(AXTextMarkerRangeStart):
(AXTextMarkerRangeEnd):
(textMarkerForVisiblePosition):
(-[AccessibilityObjectWrapper textMarkerForVisiblePosition:]):
(visiblePositionForTextMarker):
(-[AccessibilityObjectWrapper visiblePositionForTextMarker:]):
(visiblePositionForStartOfTextMarkerRange):
(visiblePositionForEndOfTextMarkerRange):
(textMarkerRangeFromMarkers):
(AXAttributeStringSetElement):
(-[AccessibilityObjectWrapper doAXAttributedStringForTextMarkerRange:]):
(textMarkerRangeFromVisiblePositions):
(-[AccessibilityObjectWrapper textMarkerRangeFromVisiblePositions:endPosition:]):
(-[AccessibilityObjectWrapper visiblePositionRangeForTextMarkerRange:]):
(-[AccessibilityObjectWrapper textMarkerRangeForSelection]):
(-[AccessibilityObjectWrapper accessibilitySetValue:forAttribute:]):
(-[AccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
* editing/mac/SelectionControllerMac.mm:
(WebCore::accessibilityConvertScreenRect):
(WebCore::SelectionController::notifyAccessibilityForSelectionChange):
* platform/mac/WebCoreSystemInterface.h:
* platform/mac/WebCoreSystemInterface.mm:

../WebKit/mac:

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

../WebKit2:

* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

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

10 years ago2011-02-10 Alexis Menard <alexis.menard@nokia.com>
commit-queue@webkit.org [Thu, 10 Feb 2011 18:15:37 +0000 (18:15 +0000)]
2011-02-10  Alexis Menard  <alexis.menard@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] In trunk with Qt Multimedia the full screen mode doesn't work.
        https://bugs.webkit.org/show_bug.cgi?id=54201

        Add files for the fullscreen video playback handling. It also fix
        a missing header.

        * WebCore.pro:
2011-02-10  Alexis Menard  <alexis.menard@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] In trunk with Qt Multimedia the full screen mode doesn't work.
        https://bugs.webkit.org/show_bug.cgi?id=54201

        Add a default fullscreen handler when there is no plaftform plugin
        installed. This handler creates a fullscreen QVideoWidget and plays
        the video. Space pause/resume the video playback and esc quit the
        fullscreen mode.

        * WebCoreSupport/FullScreenVideoQt.cpp:
        (WebCore::DefaultFullScreenVideoHandler::DefaultFullScreenVideoHandler):
        (WebCore::DefaultFullScreenVideoHandler::~DefaultFullScreenVideoHandler):
        (WebCore::DefaultFullScreenVideoHandler::requiresFullScreenForVideoPlayback):
        (WebCore::DefaultFullScreenVideoHandler::enterFullScreen):
        (WebCore::DefaultFullScreenVideoHandler::exitFullScreen):
        (WebCore::FullScreenVideoQt::FullScreenVideoQt):
        * WebCoreSupport/FullScreenVideoQt.h:
        * WebCoreSupport/FullScreenVideoWidget.cpp: Added.
        (WebCore::FullScreenVideoWidget::FullScreenVideoWidget):
        (WebCore::FullScreenVideoWidget::~FullScreenVideoWidget):
        (WebCore::FullScreenVideoWidget::show):
        (WebCore::FullScreenVideoWidget::closeEvent):
        (WebCore::FullScreenVideoWidget::event):
        (WebCore::FullScreenVideoWidget::keyPressEvent):
        (WebCore::FullScreenVideoWidget::hideCursor):
        (WebCore::FullScreenVideoWidget::showCursor):
        * WebCoreSupport/FullScreenVideoWidget.h: Added.

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

10 years agoSandbox violations trying to read crypto preferences.
weinig@apple.com [Thu, 10 Feb 2011 18:11:48 +0000 (18:11 +0000)]
Sandbox violations trying to read crypto preferences.
<rdar://problem/8981151>

Reviewed by Anders Carlsson.

* WebProcess/com.apple.WebProcess.sb:

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

10 years ago2011-02-10 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 10 Feb 2011 18:07:26 +0000 (18:07 +0000)]
2011-02-10  Martin Robinson  <mrobinson@igalia.com>

        Clump the tests failing only on the GTK+ 32-bit bot together with the
        other tests that have this kind of failure.

        * platform/gtk/Skipped: Clean up the skipped list slightly.

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

10 years agoLLVM Compiler build fix.
mitz@apple.com [Thu, 10 Feb 2011 17:49:52 +0000 (17:49 +0000)]
LLVM Compiler build fix.

* runtime/MarkedBlock.cpp:
(JSC::MarkedBlock::create):

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

10 years ago2011-02-10 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 10 Feb 2011 17:47:38 +0000 (17:47 +0000)]
2011-02-10  Zhenyao Mo  <zmo@google.com>

        Unreviewed, rebaseline.

        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt: Removed.
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png:
        * platform/chromium-linux/svg/batik/filters/feTile-expected.checksum:
        * platform/chromium-linux/svg/batik/filters/feTile-expected.png:
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.png: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.checksum: Added.
        * platform/chromium-linux/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.png: Added.
        * platform/chromium-linux/svg/foreignObject/text-tref-02-b-expected.checksum:
        * platform/chromium-linux/svg/foreignObject/text-tref-02-b-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt: Removed.
        * platform/chromium-win/svg/batik/filters/feTile-expected.checksum:
        * platform/chromium-win/svg/batik/filters/feTile-expected.png:
        * platform/chromium-win/svg/batik/filters/feTile-expected.txt:
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.png: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.checksum: Added.
        * platform/chromium-win/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.png: Added.
        * platform/chromium-win/svg/foreignObject/text-tref-02-b-expected.checksum:
        * platform/chromium-win/svg/foreignObject/text-tref-02-b-expected.png:
        * platform/chromium-win/svg/foreignObject/text-tref-02-b-expected.txt: Removed.

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

10 years ago2011-02-09 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 10 Feb 2011 17:43:48 +0000 (17:43 +0000)]
2011-02-09  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Remove FileSystem support from the inspector.
        https://bugs.webkit.org/show_bug.cgi?id=50695

        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * inspector/Inspector.idl:
        * inspector/InspectorApplicationCacheAgent.cpp:
        (WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):
        (WebCore::InspectorApplicationCacheAgent::getApplicationCaches):
        * inspector/InspectorApplicationCacheAgent.h:
        * inspector/InspectorFileSystemAgent.cpp: Removed.
        * inspector/InspectorFileSystemAgent.h: Removed.
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl):
        (WebCore::InspectorInstrumentation::willSendRequestImpl):
        (WebCore::InspectorInstrumentation::markResourceAsCachedImpl):
        (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl):
        (WebCore::InspectorInstrumentation::didReceiveResourceResponseImpl):
        (WebCore::InspectorInstrumentation::didReceiveContentLengthImpl):
        (WebCore::InspectorInstrumentation::didFinishLoadingImpl):
        (WebCore::InspectorInstrumentation::didFailLoadingImpl):
        (WebCore::InspectorInstrumentation::resourceRetrievedByXMLHttpRequestImpl):
        (WebCore::InspectorInstrumentation::scriptImportedImpl):
        (WebCore::InspectorInstrumentation::networkStateChangedImpl):
        (WebCore::InspectorInstrumentation::updateApplicationCacheStatusImpl):
        (WebCore::InspectorInstrumentation::retrieveResourceAgent):
        * inspector/front-end/FileSystemView.js: Removed.
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:

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

10 years ago2011-02-10 Sheriff Bot <webkit.review.bot@gmail.com>
philn@webkit.org [Thu, 10 Feb 2011 17:13:32 +0000 (17:13 +0000)]
2011-02-10  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r78219.
        http://trac.webkit.org/changeset/78219
        https://bugs.webkit.org/show_bug.cgi?id=54215

        breaks editing/style/iframe-onload-crash.html on GTK 64-bit
        Debug (Requested by philn-tp on #webkit).

        * dom/Document.h:
        * dom/DocumentFragment.h:
        * dom/Element.h:
        * dom/Node.h:
        * dom/Text.h:
        * editing/htmlediting.cpp:
        (WebCore::editingIgnoresContent):
        (WebCore::canHaveChildrenForEditing):
        * editing/htmlediting.h:
        * html/HTMLBRElement.h:
        * html/HTMLButtonElement.h:
        * html/HTMLDataGridElement.h:
        * html/HTMLFormControlElement.h:
        * html/HTMLFrameElementBase.h:
        * html/HTMLHRElement.h:
        * html/HTMLImageElement.h:
        * html/HTMLMeterElement.h:
        * html/HTMLOutputElement.h:
        * html/HTMLPlugInElement.h:
        * html/HTMLProgressElement.h:
        * wml/WMLBRElement.h:
        * wml/WMLDoElement.h:
        * wml/WMLImageElement.h:
        * wml/WMLInputElement.h:
        * wml/WMLSelectElement.h:

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

10 years ago2011-02-09 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 10 Feb 2011 16:46:23 +0000 (16:46 +0000)]
2011-02-09  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] Default error page is interfering with tests which require failed loads
        https://bugs.webkit.org/show_bug.cgi?id=54157

        Unskip passing tests and remove some bogus expected results.

        * platform/gtk/Skipped: Unskip some tests which are now passing.
        * platform/gtk/fast/dom/null-document-location-put-crash-expected.txt: Removed.
2011-02-09  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] Default error page is interfering with tests which require failed loads
        https://bugs.webkit.org/show_bug.cgi?id=54157

        Disable the default error page during DRT runs. This prevents unexpected loads
        from interfering with tests that have planned failed loads.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (webViewLoadError): Added, disable default handler.
        (createWebView): Connect the new load-error handler.

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

10 years agoUnreviewed translation file.
christian@webkit.org [Thu, 10 Feb 2011 16:21:16 +0000 (16:21 +0000)]
Unreviewed translation file.

French translation for Webkit/GTK
https://bugs.webkit.org/show_bug.cgi?id=26108

* fr.po: Added.

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

10 years ago2011-02-10 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Thu, 10 Feb 2011 16:16:06 +0000 (16:16 +0000)]
2011-02-10  Andras Becsi  <abecsi@webkit.org>

        Rubber-stamped by Csaba Osztrogonác.

        [Qt][V8] Fix the build.

        No new tests needed.

        * bindings/v8/WorkerContextExecutionProxy.cpp: add missing CString header.
        * loader/cache/CachedScript.h: do not use extra qualification for base class enum.

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

10 years ago2011-02-10 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Thu, 10 Feb 2011 16:03:18 +0000 (16:03 +0000)]
2011-02-10  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: [STYLES] Suggest CSS property values once Up/Down is pressed with an empty input
        https://bugs.webkit.org/show_bug.cgi?id=54205

        * inspector/front-end/CSSCompletions.js:
        (WebInspector.CSSCompletions):
        (WebInspector.CSSCompletions.prototype._firstIndexOfPrefix):
        * inspector/front-end/CSSKeywordCompletions.js:
        (WebInspector.CSSKeywordCompletions.forProperty):
        * inspector/front-end/StylesSidebarPane.js:
        ():
        * inspector/front-end/TextPrompt.js:
        (WebInspector.TextPrompt.prototype.complete):

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

10 years ago2011-02-10 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 10 Feb 2011 16:01:20 +0000 (16:01 +0000)]
2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Unreviewed skip failing fast/text/international/hindi-whitespace.html test on GTK
        https://bugs.webkit.org/show_bug.cgi?id=54212

        * platform/gtk/Skipped:

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

10 years ago2011-02-10 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 10 Feb 2011 15:50:10 +0000 (15:50 +0000)]
2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Unreviewed skip failing fast/text/atsui* tests on GTK
        https://bugs.webkit.org/show_bug.cgi?id=54210

        * platform/gtk/Skipped:

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

10 years ago2011-02-10 Renata Hodovan <reni@webkit.org>
reni@webkit.org [Thu, 10 Feb 2011 15:47:16 +0000 (15:47 +0000)]
2011-02-10  Renata Hodovan  <reni@webkit.org>

        Reviewed by Dirk Schulze.

        SVGFESpecularLightingElement doesn't support dynamic invalidation, when attributes change.
        https://bugs.webkit.org/show_bug.cgi?id=54186

        Adding layout tests for feSpecularLighting dynamic changes.

        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.png: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr.html: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr.html: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr.html: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr.html: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.txt: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop.html: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.txt: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop.html: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.txt: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop.html: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.txt: Added.
        * svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop.html: Added.
        * svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-dom-in-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-dom-specularConstant-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-dom-specularExponent-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-dom-surfaceScale-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-svgdom-in-prop.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-svgdom-specularConstant-prop.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-svgdom-specularExponent-prop.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-svgdom-surfaceScale-prop.js: Added.
        (executeTest):
2011-02-10  Renata Hodovan  <reni@webkit.org>

        Reviewed by Dirk Schulze.

        SVGFESpecularLightingElement doesn't support dynamic invalidation, when attributes change.
        https://bugs.webkit.org/show_bug.cgi?id=54186

        The dynamic changes are captured by the svgAttributeChange function, and invalidate the filter primitive if necessary.

        Tests: svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr.html
               svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr.html
               svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr.html
               svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr.html
               svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop.html
               svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop.html
               svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop.html
               svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop.html

        * svg/SVGFESpecularLightingElement.cpp:
        (WebCore::SVGFESpecularLightingElement::svgAttributeChanged):
        * svg/SVGFESpecularLightingElement.h:

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

10 years ago2011-02-10 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 10 Feb 2011 14:59:30 +0000 (14:59 +0000)]
2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Unreviewed skipping websocket tests on GTK
        https://bugs.webkit.org/show_bug.cgi?id=53683

        * platform/gtk/Skipped:

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

10 years ago2011-02-10 Andrey Adaikin <aandrey@google.com>
podivilov@chromium.org [Thu, 10 Feb 2011 14:54:51 +0000 (14:54 +0000)]
2011-02-10  Andrey Adaikin  <aandrey@google.com>

        Reviewed by Pavel Feldman.

        Web Inspector: Error messages are not displayed for the last line in a script
        https://bugs.webkit.org/show_bug.cgi?id=54204

        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype.addMessage):
        (WebInspector.SourceFrame.prototype._addMessageToSource):
        (WebInspector.SourceFrame.prototype._createConditionElement):

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

10 years ago2011-02-10 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 10 Feb 2011 14:47:26 +0000 (14:47 +0000)]
2011-02-10  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Make canHaveChildrenForEditing more efficient
        https://bugs.webkit.org/show_bug.cgi?id=53564

        Improved the performance (1-2% in release and 20% in debug) by adding virtual member function
        canContainRangeEndPoint to Node. It returns true whenever the associated node can have be a container
        node for a position.

        As of this revision, canContainRangeEndPoint returns true on Document, DocumentFragment, Text nodes
        and any elements except:

        HTML: applet, br, button, datagrid, embed, frame, frameset, hr, img, input,
              meter, object, output, progress, and select.

        WML: br, do, img, input, and select.

        No new tests are added since this change cannot be tested directly.

        * dom/Document.h:
        (WebCore::Document::canContainRangeEndPoint): Added; returns false.
        * dom/DocumentFragment.h:
        (WebCore::DocumentFragment::canContainRangeEndPoint): Added; returns true.
        * dom/Element.h:
        (WebCore::Element::canContainRangeEndPoint): Ditto.
        * dom/Node.h:
        (WebCore::Node::canContainRangeEndPoint): Added; returns false.
        * dom/Text.h:
        (WebCore::Text::canContainRangeEndPoint): Added; returns true.
        * editing/htmlediting.cpp: Removed editingIgnoresContent and canHaveChildrenForEditing.
        * editing/htmlediting.h:
        (WebCore::editingIgnoresContent): Moved from htmlediting.cpp; made it inline.
        (WebCore::canHaveChildrenForEditing): Ditto.
        * html/HTMLBRElement.h:
        (WebCore::HTMLBRElement::canContainRangeEndPoint): Added; returns false.
        * html/HTMLButtonElement.h:
        (WebCore::HTMLButtonElement::canContainRangeEndPoint): Ditto.
        * html/HTMLDataGridElement.h:
        (WebCore::HTMLDataGridElement::canContainRangeEndPoint): Ditto.
        * html/HTMLFormControlElement.h:
        (WebCore::HTMLFormControlElementWithState::canContainRangeEndPoint): Ditto.
        * html/HTMLFrameElementBase.h:
        (WebCore::HTMLFrameElementBase::canContainRangeEndPoint): Ditto.
        * html/HTMLHRElement.h:
        (WebCore::HTMLHRElement::canContainRangeEndPoint): Ditto.
        * html/HTMLImageElement.h:
        (WebCore::HTMLImageElement::canContainRangeEndPoint): Ditto.
        * html/HTMLMeterElement.h:
        (WebCore::HTMLMeterElement::canContainRangeEndPoint): Ditto.
        * html/HTMLOutputElement.h:
        (WebCore::HTMLOutputElement::canContainRangeEndPoint): Ditto.
        * html/HTMLPlugInElement.h:
        (WebCore::HTMLPlugInElement::canContainRangeEndPoint): Ditto.
        * html/HTMLProgressElement.h:
        (WebCore::HTMLProgressElement::canContainRangeEndPoint): Ditto.
        * wml/WMLBRElement.h:
        (WebCore::WMLBRElement::canContainRangeEndPoint): Ditto.
        * wml/WMLDoElement.h:
        (WebCore::WMLDoElement::canContainRangeEndPoint): Ditto.
        * wml/WMLImageElement.h:
        (WebCore::WMLImageElement::canContainRangeEndPoint): Ditto.
        * wml/WMLInputElement.h:
        (WebCore::WMLInputElement::canContainRangeEndPoint): Ditto.
        * wml/WMLSelectElement.h:
        (WebCore::WMLSelectElement::canContainRangeEndPoint): Ditto.

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

10 years ago2011-02-10 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 10 Feb 2011 14:32:48 +0000 (14:32 +0000)]
2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Update GTK results after r78204

        * platform/gtk/fast/text/international/text-combine-image-test-expected.txt:

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

10 years ago[Qt] Add UrlLoader and command line argument handling to MiniBrowser
zoltan@webkit.org [Thu, 10 Feb 2011 14:20:03 +0000 (14:20 +0000)]
[Qt] Add UrlLoader and command line argument handling to MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=54192

Reviewed by Andreas Kling.

Copy and modify files from QtTestBrowser's implementation.

* MiniBrowser/qt/BrowserWindow.cpp:
(BrowserWindow::BrowserWindow):
(BrowserWindow::newWindow):
* MiniBrowser/qt/BrowserWindow.h:
* MiniBrowser/qt/MiniBrowser.pro:
* MiniBrowser/qt/MiniBrowserApplication.cpp: Copied from QtTestBrowser/launcherwindow.cpp
(MiniBrowserApplication::MiniBrowserApplication):
(MiniBrowserApplication::handleUserOptions):
* MiniBrowser/qt/MiniBrowserApplication.h: Copied from QtTestBrowser/launcherwindow.h
(WindowOptions::WindowOptions):
(MiniBrowserApplication::urls):
(MiniBrowserApplication::isRobotized):
(MiniBrowserApplication::robotTimeout):
(MiniBrowserApplication::robotExtraTime):
* MiniBrowser/qt/UrlLoader.cpp: Copied from QtTestBrowser/urlloader.cpp
(UrlLoader::UrlLoader):
(UrlLoader::loadNext):
(UrlLoader::checkIfFinished):
(UrlLoader::frameLoadStarted):
(UrlLoader::frameLoadFinished):
(UrlLoader::loadUrlList):
(UrlLoader::getUrl):
* MiniBrowser/qt/UrlLoader.h: Copied from QtTestBrowser/urlloader.h
* MiniBrowser/qt/main.cpp:
(main):
* MiniBrowser/qt/utils.cpp: Copied from QtTestBrowser/utils.cpp
(takeOptionValue):
(formatKeys):
(enumToKeys):
(appQuit):
(urlFromUserInput):
* MiniBrowser/qt/utils.h: Copied from QtTestBrowser/utils.h

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

10 years ago2011-02-10 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 10 Feb 2011 14:18:18 +0000 (14:18 +0000)]
2011-02-10  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: chromium build fix.

        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::WebDevToolsAgent::shouldInterruptForMessage):

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

10 years agocheck-webkit-style: Add -build/include exemption for Tools/MiniBrowser/qt
zoltan@webkit.org [Thu, 10 Feb 2011 14:14:45 +0000 (14:14 +0000)]
check-webkit-style: Add -build/include exemption for Tools/MiniBrowser/qt
https://bugs.webkit.org/show_bug.cgi?id=54200

Reviewed by Andreas Kling.

* Scripts/webkitpy/style/checker.py:
* Scripts/webkitpy/style/checker_unittest.py:

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

10 years agoUpdate Windows results after r78204
aroben@apple.com [Thu, 10 Feb 2011 14:05:24 +0000 (14:05 +0000)]
Update Windows results after r78204

* platform/win/fast/text/international/text-combine-image-test-expected.checksum:
* platform/win/fast/text/international/text-combine-image-test-expected.png:
* platform/win/fast/text/international/text-combine-image-test-expected.txt:

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

10 years agoUpdate Windows results after r78182
aroben@apple.com [Thu, 10 Feb 2011 14:04:38 +0000 (14:04 +0000)]
Update Windows results after r78182

Nikolas Zimmermann says he thinks we're not matching the Mac results anymore due to rounding
differences.

* platform/win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt: Added.

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

10 years ago2011-02-10 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 10 Feb 2011 14:03:14 +0000 (14:03 +0000)]
2011-02-10  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: define interface per domain in Inspector.idl.
        https://bugs.webkit.org/show_bug.cgi?id=54135

        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.idl:

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

10 years ago2011-02-10 Peter Varga <pvarga@webkit.org>
pvarga@webkit.org [Thu, 10 Feb 2011 13:39:13 +0000 (13:39 +0000)]
2011-02-10  Peter Varga  <pvarga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Remove PCRE source from trunk
        https://bugs.webkit.org/show_bug.cgi?id=54188

        * Source/cmake/WebKitFS.cmake:
2011-02-10  Peter Varga  <pvarga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Remove PCRE source from trunk
        https://bugs.webkit.org/show_bug.cgi?id=54188

        * Android.mk:
        * Android.v8.wtf.mk:
        * CMakeLists.txt:
        * DerivedSources.make:
        * DerivedSources.pro:
        * GNUmakefile.am:
        * JavaScriptCore.gypi:
        * JavaScriptCore.order:
        * JavaScriptCore.pri:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make:
        * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops:
        * JavaScriptCore.vcproj/jsc/jscCommon.vsprops:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * pcre/AUTHORS: Removed.
        * pcre/COPYING: Removed.
        * pcre/dftables: Removed.
        * pcre/pcre.h: Removed.
        * pcre/pcre.pri: Removed.
        * pcre/pcre_compile.cpp: Removed.
        * pcre/pcre_exec.cpp: Removed.
        * pcre/pcre_internal.h: Removed.
        * pcre/pcre_tables.cpp: Removed.
        * pcre/pcre_ucp_searchfuncs.cpp: Removed.
        * pcre/pcre_xclass.cpp: Removed.
        * pcre/ucpinternal.h: Removed.
        * pcre/ucptable.cpp: Removed.
        * wscript:
2011-02-10  Peter Varga  <pvarga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Remove PCRE source from trunk
        https://bugs.webkit.org/show_bug.cgi?id=54188

        * ForwardingHeaders/pcre/pcre.h: Removed.
2011-02-10  Peter Varga  <pvarga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Remove PCRE source from trunk
        https://bugs.webkit.org/show_bug.cgi?id=54188

        * WebKit2.pro:
2011-02-10  Peter Varga  <pvarga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Remove PCRE source from trunk
        https://bugs.webkit.org/show_bug.cgi?id=54188

        * wx/build/settings.py:

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

10 years ago2011-02-10 Andrey Adaikin <aandrey@google.com>
podivilov@chromium.org [Thu, 10 Feb 2011 13:37:26 +0000 (13:37 +0000)]
2011-02-10  Andrey Adaikin  <aandrey@google.com>

        Reviewed by Pavel Feldman.

        Web Inspector: [regression] Fix syncing heights of the gutter and main panel lines, and add 2px padding-left
        https://bugs.webkit.org/show_bug.cgi?id=54098

        * inspector/front-end/TextViewer.js:
        (WebInspector.TextViewer):
        (WebInspector.TextViewer.prototype._updatePanelOffsets):
        (WebInspector.TextViewer.prototype._syncScroll):
        (WebInspector.TextViewer.prototype._syncDecorationsForLine):
        (WebInspector.TextEditorChunkedPanel.prototype._totalHeight):
        (WebInspector.TextEditorChunkedPanel.prototype.resize):
        (WebInspector.TextEditorGutterPanel):
        (WebInspector.TextEditorGutterChunk.prototype.set expanded):
        (WebInspector.TextEditorGutterChunk.prototype.get height):
        (WebInspector.TextEditorMainChunk.prototype.get height):
        * inspector/front-end/textViewer.css:
        (.webkit-line-content):

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

10 years ago2011-02-10 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 10 Feb 2011 13:24:46 +0000 (13:24 +0000)]
2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skip failing fast/text/midword-break-after-breakable-char.html on
        GTK

        * platform/gtk/Skipped:

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

10 years ago2011-02-10 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 10 Feb 2011 13:15:24 +0000 (13:15 +0000)]
2011-02-10  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Add randomValuesFromOS for OS(WINDOWS)
        https://bugs.webkit.org/show_bug.cgi?id=54155

        Use CryptGenRandom for generating cryptographically secure random numbers.
        This will work on WinCE and MinGW too.

        * config.h:
        * wtf/OSRandomSource.cpp:
        (WTF::randomValuesFromOS):

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

10 years ago2011-02-10 Jochen Eisinger <jochen@chromium.org>
jochen@chromium.org [Thu, 10 Feb 2011 13:06:05 +0000 (13:06 +0000)]
2011-02-10  Jochen Eisinger  <jochen@chromium.org>

        Reviewed by Jeremy Orlow.

        [chromium] add WebIDBObjectStore::clear method

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

        * public/WebIDBObjectStore.h:
        (WebKit::WebIDBObjectStore::put):
        (WebKit::WebIDBObjectStore::deleteFunction):
        (WebKit::WebIDBObjectStore::clear):

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

10 years ago2011-02-10 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 10 Feb 2011 12:59:43 +0000 (12:59 +0000)]
2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skip failing fast/text/capitalize-boundaries.html on
        GTK

        * platform/gtk/Skipped:

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

10 years ago2011-02-10 David Levin <levin@chromium.org>
levin@chromium.org [Thu, 10 Feb 2011 12:52:48 +0000 (12:52 +0000)]
2011-02-10  David Levin  <levin@chromium.org>

        Reviewed by Shinichiro Hamaji.

        check-webkit-style should be able to figure out function modifiers and return type.
        https://bugs.webkit.org/show_bug.cgi?id=54124

        * Scripts/webkitpy/style/checkers/cpp.py:
        (_rfind_in_lines): A way to search backwards in lines.
        (_FunctionState.modifiers_and_return_type):
        * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests for the new functionality.

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

10 years ago2011-02-10 takano takumi <takano@apple.com>
commit-queue@webkit.org [Thu, 10 Feb 2011 12:48:20 +0000 (12:48 +0000)]
2011-02-10  takano takumi  <takano@apple.com>

        Reviewed by Dan Bernstein.

        A full-width character rotated leftward 90 degrees in text-combine
        https://bugs.webkit.org/show_bug.cgi?id=54169

        Added a test for this bug to existing text-combine test.

        * fast/text/international/text-combine-image-test.html:
        * platform/mac/fast/text/international/text-combine-image-test-expected.checksum:
        * platform/mac/fast/text/international/text-combine-image-test-expected.png:
        * platform/mac/fast/text/international/text-combine-image-test-expected.txt:
2011-02-10  takano takumi  <takano@apple.com>

        Reviewed by Dan Bernstein.

        A full-width character rotated leftward 90 degrees in text-combine
        https://bugs.webkit.org/show_bug.cgi?id=54169

        * rendering/RenderCombineText.cpp:
        (WebCore::RenderCombineText::combineText):
        - Fixed by resetting font's orientation to horizontal when we decided to make combined text.
        Otherwise the text will be unexpectedly rotated in showGlyphsWithAdvances() in FontMac.mm.

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

10 years ago2011-02-10 Jarred Nicholls <jarred@sencha.com>
commit-queue@webkit.org [Thu, 10 Feb 2011 12:46:26 +0000 (12:46 +0000)]
2011-02-10  Jarred Nicholls  <jarred@sencha.com>

        Reviewed by Adam Barth.

        REGRESSION(r78149): Return value of read() shouldn't be ignored.
        https://bugs.webkit.org/show_bug.cgi?id=54167

        stdio read should have its return value handled. Build error in gcc 4.4.5.

        * wtf/OSRandomSource.cpp:
        (WTF::randomValuesFromOS):

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

10 years ago2011-02-10 Alexey Proskuryakov <ap@apple.com>
ap@apple.com [Thu, 10 Feb 2011 12:42:43 +0000 (12:42 +0000)]
2011-02-10  Alexey Proskuryakov  <ap@apple.com>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=50306
        <rdar://problem/8976152> REGRESSION: WebChromeClient::shouldReplaceWithGeneratedFileForUpload()
        uses an initialized result value (breaks form submission with clang-built WebKit)

        No new test, because I can't reproduce the observable effect with my gcc build.

        * platform/network/FormData.cpp: (WebCore::FormData::appendKeyValuePairItems): Restore an
        empty path check - an empty path was causing an exception in Foundation.

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

10 years agoTurn on the new drawing area on Windows
aroben@apple.com [Thu, 10 Feb 2011 12:41:15 +0000 (12:41 +0000)]
Turn on the new drawing area on Windows

Fixes <http://webkit.org/b/53805> <rdar://problem/8960666> WebKit2 on Windows should use
DrawingAreaProxyImpl

Reviewed by Darin Adler.

* UIProcess/win/WebView.cpp:
(WebKit::useNewDrawingArea): Return true!

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

10 years agoHook up WM_PRINT to the new drawing area
aroben@apple.com [Thu, 10 Feb 2011 12:40:47 +0000 (12:40 +0000)]
Hook up WM_PRINT to the new drawing area

Fixes <http://webkit.org/b/54145> <rdar://problem/8979559> WM_PRINT doesn't work with new
drawing area (assertion failure in DrawingAreaProxyImpl in Debug builds)

Reviewed by Darin Adler.

Source/WebKit2:

* UIProcess/win/WebView.cpp:
(WebKit::WebView::paint): Added. Code came from onPaintEvent.

(WebKit::WebView::onPaintEvent):
(WebKit::WebView::onPrintClientEvent):
Changed to call paint.

* UIProcess/win/WebView.h: Added paint. Also separated message handler functions into their
own paragraph.

Tools:

Test that WM_PRINT doesn't trigger an assertion

* TestWebKitAPI/Tests/WebKit2/win/WMPrint.cpp: Added.
(TestWebKitAPI::TEST): Send a WM_PRINT message to a WKView.

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

10 years agoNotice when the backing store goes away after DidSetSize
aroben@apple.com [Thu, 10 Feb 2011 12:40:09 +0000 (12:40 +0000)]
Notice when the backing store goes away after DidSetSize

Fixes <http://webkit.org/b/54142> <rdar://problem/8979365> Crash in
DrawingAreaProxyImpl::paint when WKView paints after being resized while hidden

Reviewed by Darin Adler.

Source/WebKit2:

* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::paint): Null-check m_backingStore after waiting for
DidSetSize, as m_backingStore can go away when we receive that message. This is the bug fix.
Also moved the accelerated compositing check inside the block where we wait for DidSetSize.
If we didn't wait for DidSetSize, we already know that we're not in accelerated compositing
mode (and asserted so earlier in this function).

Tools:

Test that having a WKView paint after being resized while hidden doesn't cause a crash

* TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp:
(TestWebKitAPI::TEST): Force the WKView to paint after resizing it while hidden.

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

10 years agoDecode a null SharedMemory::Handle correctly on Windows
aroben@apple.com [Thu, 10 Feb 2011 12:39:33 +0000 (12:39 +0000)]
Decode a null SharedMemory::Handle correctly on Windows

Fixes <http://webkit.org/b/54141> <rdar://problem/8979195> WKView draws at wrong size,
performs badly if is resized while hidden (assertion fails in
BackingStore::incorporateUpdate in Debug builds)

Reviewed by Darin Adler.

Source/WebKit2:

* Platform/win/SharedMemoryWin.cpp:
(WebKit::getDuplicatedHandle): Added. Code came from decode. The only changes were to
null-check sourceHandle (this is the bug fix) and to assert when ::DuplicateHandle fails
(which would have caught the bug earlier).
(WebKit::SharedMemory::Handle::decode): Changed to use getDuplicatedHandle.

Tools:

Add a test that resizes a WKView while it's hidden

* TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp: Added.
(TestWebKitAPI::didFinishLoadForFrame): Record that the load finished.
(TestWebKitAPI::setPageLoaderClient): Hook up our didFinishLoadForFrame callback.
(TestWebKitAPI::flushMessages): Load a URL and wait for the load to complete. This ensures
that all pending messages have been handled by the UI and web process.
(TestWebKitAPI::timerCallback): Kill the timer and record that it fired.
(TestWebKitAPI::runForDuration): Set a timer and run the run loop until it fires.
(TestWebKitAPI::waitForBackingStoreUpdate): Wait for half a second to give the web process a
chance to display, then flush all pending messages.
(TestWebKitAPI::TEST): Resize the WKView while it's hidden, then show it again and wait for
the backing store to update. This triggers the assertion from bug 54141.

* TestWebKitAPI/win/PlatformWebViewWin.cpp:
(TestWebKitAPI::PlatformWebView::resizeTo): Implemented.

* TestWebKitAPI/win/TestWebKitAPI.vcproj: Added new test.

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

10 years agoDon't invalidate outside of the WebPage's bounds
aroben@apple.com [Thu, 10 Feb 2011 12:38:14 +0000 (12:38 +0000)]
Don't invalidate outside of the WebPage's bounds

Fixes <http://webkit.org/b/54123> <rdar://problem/8978383> Assertion failure in
BackingStore::BackingStore if a new WebPage becomes active before receiving a size

Reviewed by Darin Adler.

* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::setNeedsDisplay): Intersect the dirty rect with our bounds before
doing anything else.
(WebKit::DrawingAreaImpl::display): Added an assertion to help catch the bad case a little
earlier.

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

10 years ago2011-02-09 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Thu, 10 Feb 2011 12:36:37 +0000 (12:36 +0000)]
2011-02-09  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Network & Resource panels make multiple requests for images with no content
        https://bugs.webkit.org/show_bug.cgi?id=54085

        - Added success parameter to resourceContent
        - NetworkManager.requestContent() now returns empty for zero-length resources, null for errors

        * inspector/Inspector.idl:
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::InspectorResourceAgent::resourceData):
        (WebCore::InspectorResourceAgent::resourceContent):
        * inspector/InspectorResourceAgent.h:
        * inspector/front-end/NetworkManager.js:
        (WebInspector.NetworkManager.prototype.requestContent):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.requestContent):
        (WebInspector.Resource.prototype._contentURL):

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

10 years ago2011-02-10 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 10 Feb 2011 12:26:58 +0000 (12:26 +0000)]
2011-02-10  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename randomValuesFromOS to cryptographicallyRandomValuesFromOS
        https://bugs.webkit.org/show_bug.cgi?id=54156

        randomValuesFromOS generates random numbers of cryptographic quality.
        Make this clear by adding "cryptographically" to the function name.

        * wtf/CryptographicallyRandomNumber.cpp:
        (WTF::ARC4Stream::ARC4RandomNumberGenerator::stir):
        * wtf/OSRandomSource.cpp:
        (WTF::cryptographicallyRandomValuesFromOS):
        * wtf/OSRandomSource.h:

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

10 years ago2011-02-10 Renata Hodovan <reni@webkit.org>
reni@webkit.org [Thu, 10 Feb 2011 12:23:48 +0000 (12:23 +0000)]
2011-02-10  Renata Hodovan  <reni@webkit.org>

        Reviewed by Dirk Schulze.

        Move the light source implementations into their own files.
        https://bugs.webkit.org/show_bug.cgi?id=53996

        Splitting LightSource.cpp into 3 files.

        No new tests are added since this is a refactoring.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * platform/graphics/filters/DistantLightSource.cpp: Added.
        (WebCore::DistantLightSource::initPaintingData):
        (WebCore::DistantLightSource::updatePaintingData):
        (WebCore::DistantLightSource::setAzimuth):
        (WebCore::DistantLightSource::setElevation):
        (WebCore::DistantLightSource::externalRepresentation):
        * platform/graphics/filters/LightSource.cpp:
        * platform/graphics/filters/PointLightSource.cpp: Added.
        (WebCore::PointLightSource::initPaintingData):
        (WebCore::PointLightSource::updatePaintingData):
        (WebCore::PointLightSource::setX):
        (WebCore::PointLightSource::setY):
        (WebCore::PointLightSource::setZ):
        (WebCore::operator<<):
        (WebCore::PointLightSource::externalRepresentation):
        * platform/graphics/filters/SpotLightSource.cpp: Added.
        (WebCore::SpotLightSource::initPaintingData):
        (WebCore::SpotLightSource::updatePaintingData):
        (WebCore::SpotLightSource::setX):
        (WebCore::SpotLightSource::setY):
        (WebCore::SpotLightSource::setZ):
        (WebCore::SpotLightSource::setPointsAtX):
        (WebCore::SpotLightSource::setPointsAtY):
        (WebCore::SpotLightSource::setPointsAtZ):
        (WebCore::SpotLightSource::setSpecularExponent):
        (WebCore::SpotLightSource::setLimitingConeAngle):
        (WebCore::operator<<):
        (WebCore::SpotLightSource::externalRepresentation):

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

10 years ago2011-02-10 Avi Drissman <avi@google.com>
commit-queue@webkit.org [Thu, 10 Feb 2011 12:07:10 +0000 (12:07 +0000)]
2011-02-10  Avi Drissman  <avi@google.com>

        Reviewed by Darin Fisher.

        <option> should implement the dir attribute. Mac Chromium version, followup to r76983, r77654.
        https://bugs.webkit.org/show_bug.cgi?id=50969

        Use manual test Source/WebCore/manual-tests/pop-up-alignment-and-direction.html added in r76983.

        * platform/chromium/PopupMenuChromium.cpp:
        (WebCore::PopupListBox::updateFromElement):
        * platform/chromium/PopupMenuChromium.h:
2011-02-10  Avi Drissman  <avi@google.com>

        Reviewed by Darin Fisher.

        <option> should implement the dir attribute. Mac Chromium version, followup to r76983, r77654.
        https://bugs.webkit.org/show_bug.cgi?id=50969

        Use manual test Source/WebCore/manual-tests/pop-up-alignment-and-direction.html added in r76983.

        * public/WebMenuItemInfo.h:
        * public/WebPopupMenuInfo.h:
        * src/ChromeClientImpl.cpp:
        (WebKit::ChromeClientImpl::getPopupMenuInfo):
        * src/ExternalPopupMenu.cpp:
        (WebKit::ExternalPopupMenu::getPopupMenuInfo):

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

10 years ago2011-02-10 kasthuri <kasthuri.n-s@nokia.com>
commit-queue@webkit.org [Thu, 10 Feb 2011 11:58:00 +0000 (11:58 +0000)]
2011-02-10  kasthuri  <kasthuri.n-s@nokia.com>

        Reviewed by Antonio Gomes.

        [Qt] QWebFrame::setHtml doesn't emit loadFinished signal
        https://bugs.webkit.org/show_bug.cgi?id=38634

        QWebView->page()->mainFrame()->setHtml(html) is always emitting
        the loadFinished() signal for all types of html files.
        But the proposed test content was trying to catch the signal after
        calling setHtml() api and becuase of this the emitted signal for a
        simple html page is never caught as its emitted before even the connect
        call was successful.

        updated the tst_QWebFrame::setHtml() in tst_qwebframe.cpp to check for
        signal using the QSignalSpy.

        * tests/qwebframe/tst_qwebframe.cpp:

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

10 years ago2011-02-10 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 10 Feb 2011 11:54:51 +0000 (11:54 +0000)]
2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skip failing fast/replaced/border-radius-clip.html on GTK

        * platform/gtk/Skipped:

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

10 years ago2011-02-10 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 10 Feb 2011 11:39:59 +0000 (11:39 +0000)]
2011-02-10  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        LayoutTests/svg cleanup
        https://bugs.webkit.org/show_bug.cgi?id=54184

        Regenerate result with a 64bit SL machine.. a pity that we have diffs there.

        * platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.txt:

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

10 years ago2011-02-10 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 10 Feb 2011 11:11:43 +0000 (11:11 +0000)]
2011-02-10  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        LayoutTests/svg cleanup
        https://bugs.webkit.org/show_bug.cgi?id=54184

        Update mac-leopard/qt baselines after r78182.

        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt:
        * platform/mac-leopard/svg/foreignObject/text-tref-02-b-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt:
        * platform/qt/svg/foreignObject/text-tref-02-b-expected.txt:

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

10 years ago2011-02-10 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 10 Feb 2011 11:06:27 +0000 (11:06 +0000)]
2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, updated svg GTK baselines after r78182.

        * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.txt:
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt:
        * platform/gtk/svg/foreignObject/text-tref-02-b-expected.txt:

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

10 years ago2011-02-10 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Thu, 10 Feb 2011 11:02:06 +0000 (11:02 +0000)]
2011-02-10  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: Update the semantics of put()
        https://bugs.webkit.org/show_bug.cgi?id=54102

        Update test to reflect the new semantics.

        * storage/indexeddb/objectstore-autoincrement-expected.txt:
        * storage/indexeddb/objectstore-autoincrement.html:
2011-02-10  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: Update the semantics of put()
        https://bugs.webkit.org/show_bug.cgi?id=54102

        Update the semantics of put: For object stores with auto increment,
        it should be allowed to provide an explicit key, or an in-line key,
        overriding the key generator mechanism.

        This reflects the spec changes suggested here:
        http://www.w3.org/Bugs/Public/show_bug.cgi?id=11976

        Extracting key-selection logic into its own function
        to make it a bit easier on the eyes.

        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::selectKeyForPut):
        (WebCore::IDBObjectStoreBackendImpl::putInternal):
        * storage/IDBObjectStoreBackendImpl.h:
        (WebCore::IDBObjectStoreBackendImpl::resetAutoIncrementKeyCache):

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

10 years ago2011-02-10 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 10 Feb 2011 10:51:36 +0000 (10:51 +0000)]
2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK build fix after roll out of r78157...

        * GNUmakefile.am:

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

10 years ago2011-02-10 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 10 Feb 2011 10:49:11 +0000 (10:49 +0000)]
2011-02-10  Eric Seidel  <eric@webkit.org>

        Unreviewed, rolling out r78157.
        http://trac.webkit.org/changeset/78157
        https://bugs.webkit.org/show_bug.cgi?id=54150

        Fails on a bunch of bots

        * plugins/npruntime/evaluate-js-destroying-plugin-from-destroy-stream-expected.txt: Removed.
        * plugins/npruntime/evaluate-js-destroying-plugin-from-destroy-stream.html: Removed.
2011-02-10  Eric Seidel  <eric@webkit.org>

        Unreviewed, rolling out r78157.
        http://trac.webkit.org/changeset/78157
        https://bugs.webkit.org/show_bug.cgi?id=54150

        Fails on a bunch of bots

        * WebProcess/Plugins/PluginView.cpp:
        (WebKit::PluginView::~PluginView):
        (WebKit::PluginView::evaluate):
2011-02-10  Eric Seidel  <eric@webkit.org>

        Unreviewed, rolling out r78157.
        http://trac.webkit.org/changeset/78157
        https://bugs.webkit.org/show_bug.cgi?id=54150

        Fails on a bunch of bots

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
        * DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSDestroyingPluginFromDestroyStream.cpp: Removed.
        * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
        * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:

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

10 years ago2011-02-10 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Thu, 10 Feb 2011 10:44:57 +0000 (10:44 +0000)]
2011-02-10  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Reset GTK' DRT's AccessibilityController to consistent value before every test
        https://bugs.webkit.org/show_bug.cgi?id=54185

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (resetDefaultsToConsistentValues):

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=54103
antti@apple.com [Thu, 10 Feb 2011 10:43:13 +0000 (10:43 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=54103
Implement fast path for matching simple selectors

Reviewed by Darin Adler.

Implement a fast path for single and descendant selectors consisting
of id, class and tag selectors only.

Selectors like this are marked on style selector initialization. When
encountered during style matching they are resolved using a fast path.

Since selectors like this are very common this speeds up style matching
quite a bit (up to 50% on some sites according to Shark).

* css/CSSStyleSelector.cpp:
(WebCore::RuleData::hasFastCheckableSelector):
(WebCore::RuleData::hasMultipartSelector):
(WebCore::RuleData::hasTopSelectorMatchingHTMLBasedOnRuleHash):
(WebCore::CSSStyleSelector::matchRulesForList):
(WebCore::CSSStyleSelector::checkSelector):
(WebCore::selectorTagMatches):
(WebCore::isFastCheckableSelector):
(WebCore::CSSStyleSelector::SelectorChecker::fastCheckSelector):
(WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
(WebCore::isSelectorMatchingHTMLBasedOnRuleHash):
(WebCore::RuleData::RuleData):
* css/CSSStyleSelector.h:

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

10 years ago2011-02-10 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 10 Feb 2011 10:25:55 +0000 (10:25 +0000)]
2011-02-10  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Maciej Stachowiak.

        LayoutTests/svg cleanup
        https://bugs.webkit.org/show_bug.cgi?id=54184

        Fix wrong xlink:hrefs in dozens of SVG testcases. SVGFreeSans.svg is now used in more places.
        Remove unnecessary xml-stylesheet declarations, and unneeded text css attributes in some places.

        Updated pixel test results for the affected testcases.

        * platform/mac-snowleopard/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/filters-light-04-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/filters-light-04-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-light-04-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt:
        * platform/mac/svg/batik/filters/feTile-expected.checksum:
        * platform/mac/svg/batik/filters/feTile-expected.png:
        * platform/mac/svg/batik/filters/feTile-expected.txt:
        * platform/mac/svg/css/circle-in-mask-with-shadow-expected.checksum:
        * platform/mac/svg/css/circle-in-mask-with-shadow-expected.png:
        * platform/mac/svg/css/mask-with-shadow-expected.checksum:
        * platform/mac/svg/css/mask-with-shadow-expected.png:
        * platform/mac/svg/foreignObject/text-tref-02-b-expected.checksum:
        * platform/mac/svg/foreignObject/text-tref-02-b-expected.png:
        * platform/mac/svg/foreignObject/text-tref-02-b-expected.txt:
        * platform/mac/svg/text/text-tref-01-b-expected.checksum:
        * platform/mac/svg/text/text-tref-01-b-expected.png:
        * platform/mac/svg/transforms/animated-path-inside-transformed-html-expected.checksum:
        * platform/mac/svg/transforms/animated-path-inside-transformed-html-expected.png:
        * platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.checksum:
        * platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.png:
        * platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.txt:
        * svg/W3C-SVG-1.1-SE/coords-dom-01-f.svg:
        * svg/W3C-SVG-1.1-SE/coords-dom-02-f.svg:
        * svg/W3C-SVG-1.1-SE/coords-dom-03-f.svg:
        * svg/W3C-SVG-1.1-SE/coords-dom-04-f.svg:
        * svg/W3C-SVG-1.1-SE/paths-dom-02-f.svg:
        * svg/W3C-SVG-1.1-SE/pservers-pattern-04-f.svg:
        * svg/W3C-SVG-1.1-SE/types-dom-01-b.svg:
        * svg/W3C-SVG-1.1-SE/types-dom-02-f.svg:
        * svg/W3C-SVG-1.1-SE/types-dom-03-b.svg:
        * svg/W3C-SVG-1.1-SE/types-dom-04-b.svg:
        * svg/W3C-SVG-1.1-SE/types-dom-05-b.svg:
        * svg/W3C-SVG-1.1-SE/types-dom-06-f.svg:
        * svg/W3C-SVG-1.1-SE/types-dom-07-f.svg:
        * svg/W3C-SVG-1.1/filters-light-04-f.svg:
        * svg/W3C-SVG-1.1/filters-turb-02-f.svg:
        * svg/W3C-SVG-1.1/resources/interact-order-02-b-targ.svg:
        * svg/W3C-SVG-1.1/resources/interact-order-03-b-targ.svg:
        * svg/W3C-SVG-1.1/resources/linkingToc-t.svg:
        * svg/batik/filters/feTile.svg:
        * svg/css/circle-in-mask-with-shadow.svg:
        * svg/css/mask-with-shadow.svg:
        * svg/custom/image-clipped-hit.svg:
        * svg/foreignObject/text-tref-02-b.svg:
        * svg/hixie/cascade/002.css: Removed.
        * svg/text/text-tref-01-b.svg:
        * svg/transforms/animated-path-inside-transformed-html.xhtml:
        * svg/zoom/page/zoom-mask-with-percentages.svg:
        * svg/zoom/page/zoom-zoom-coords.xhtml:

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

10 years ago2011-02-10 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 10 Feb 2011 10:04:43 +0000 (10:04 +0000)]
2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Unreviewed GTK build fix.

        Adding
        Tools/DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSDestroyingPluginFromDestroyStream.cpp
        in the build, fixing the
        plugins/npruntime/evaluate-js-destroying-plugin-from-destroy-stream.html
        test.

        * GNUmakefile.am:

2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, typo fix.

        * platform/gtk/Skipped:

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

10 years ago2011-02-10 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 10 Feb 2011 09:29:38 +0000 (09:29 +0000)]
2011-02-10  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skip failing test.

        * platform/gtk/Skipped: Skip fast/events/focusingUnloadedFrame.html

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

10 years ago2011-02-10 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Thu, 10 Feb 2011 09:03:30 +0000 (09:03 +0000)]
2011-02-10  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [GTK] Add support in DRT to log "accessibility events"
        https://bugs.webkit.org/show_bug.cgi?id=54116

        Added a way to log accessibility related events, in a
        platform-dependant way.

        Add new function to AccessibilityController.

        * DumpRenderTree/AccessibilityController.h:
        * DumpRenderTree/AccessibilityController.cpp:
        (logAccessibilityEventsCallback): New callback.
        (AccessibilityController::getJSClass): Added new function.
        (AccessibilityController::resetToConsistentState): Initialized
        calling setLogAccessibilityEvents(false).

        Provided implementation for the GTK port.

        * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
        (accessibility_event_listener): Common listener for logging
        information about all the signals emitted by any AtkObject.
        (AccessibilityController::setLogAccessibilityEvents): Add or
        remove listeners for signals, as specified by the parameter.

        Provide dummy implementations for mac and win ports.

        * DumpRenderTree/mac/AccessibilityControllerMac.mm:
        (AccessibilityController::setLogAccessibilityEvents):
        * DumpRenderTree/win/AccessibilityControllerWin.cpp:
        (AccessibilityController::setLogAccessibilityEvents):

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

10 years ago2011-02-10 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Thu, 10 Feb 2011 09:00:40 +0000 (09:00 +0000)]
2011-02-10  Shinichiro Hamaji  <hamaji@chromium.org>

        Chromium expectations update.

        fast/box-shadow/shadow-buffer-partial.html is failing.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-02-09 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Thu, 10 Feb 2011 08:09:30 +0000 (08:09 +0000)]
2011-02-09  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Kent Tamura.

        Skip newly added test that depends on unimplemented DRT functionality
        https://bugs.webkit.org/show_bug.cgi?id=54172

        * platform/mac-wk2/Skipped:

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

10 years ago<rdar://problem/8805364> Malloc zone enumeration code should be safe in the face...
mrowe@apple.com [Thu, 10 Feb 2011 07:13:19 +0000 (07:13 +0000)]
<rdar://problem/8805364> Malloc zone enumeration code should be safe in the face of errors from the memory reader.

Reviewed by Sam Weinig.

* wtf/FastMalloc.cpp:
(WTF::PageHeapAllocator::recordAdministrativeRegions): Use the new helper function to walk the linked list safely.
(WTF::TCMalloc_ThreadCache_FreeList::enumerateFreeObjects): Ditto.
(WTF::TCMalloc_Central_FreeList::enumerateFreeObjects): Ditto.
(WTF::TCMallocStats::PageMapFreeObjectFinder::visit): Bail out if the span could not be read.
(WTF::TCMallocStats::PageMapMemoryUsageRecorder::visit): Ditto.
* wtf/MallocZoneSupport.h:
(WTF::RemoteMemoryReader::operator()): Remove an assert that is not valid.
(WTF::RemoteMemoryReader::nextEntryInLinkedList): Add a helper function for retrieving the next entry in
a linked list. It maps a failed read of the remote memory in to a null pointer, which all callers can
handle gracefully.

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

10 years ago2011-02-09 Hayato Ito <hayato@chromium.org>
hayato@chromium.org [Thu, 10 Feb 2011 05:31:16 +0000 (05:31 +0000)]
2011-02-09  Hayato Ito  <hayato@chromium.org>

        Reviewed by Tony Chang.

        [NRWT] Remove encoding parameters where we can assume data can be
        written in binary mode.

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

        * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
        * Scripts/webkitpy/layout_tests/port/base.py:

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

10 years agoBug 54164 - Optimize global_var accesses on JSVALUE64
barraclough@apple.com [Thu, 10 Feb 2011 05:21:33 +0000 (05:21 +0000)]
Bug 54164 - Optimize global_var accesses on JSVALUE64

Reviewed by Sam Weinig.

Directly embed the pointer to d->registers, optimize out the load
from the variable object, as we do already in JSVALUE32_64.

This is a ~1.5% win on sunspidey.

* jit/JIT.cpp:
* jit/JIT.h:
* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_get_global_var):
(JSC::JIT::emit_op_put_global_var):
(JSC::JIT::emit_op_get_scoped_var):
(JSC::JIT::emit_op_put_scoped_var):

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

10 years ago2011-02-09 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 10 Feb 2011 05:15:48 +0000 (05:15 +0000)]
2011-02-09  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        REGRESSION (r77101) box-shadow sometimes renders incorrectly
        https://bugs.webkit.org/show_bug.cgi?id=54160

        Fix an issue when ShadowBlur had a cached image buffer
        that was larger than that of the current shadow being drawn,
        and the current shadow was partially clipped out.

        In that situation endShadowLayer() would clip to the image
        buffer, using the size of the buffer (as it must), but failed
        to take into account the fact that we'd only cleared and painted
        into a smaller section of the buffer. So we need to additionally
        constrain the clip to cover only the valid part of the buffer.

        Test: fast/box-shadow/shadow-buffer-partial.html

        * platform/graphics/ShadowBlur.cpp:
        (WebCore::ShadowBlur::endShadowLayer):

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

10 years ago2011-02-09 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 10 Feb 2011 03:37:39 +0000 (03:37 +0000)]
2011-02-09  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed; removed Windows port's expected result for r78104.

        * platform/win/editing/undo/undo-paste-when-caret-is-not-in-range-expected.txt: Removed.

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

10 years agoFix for <rdar://problem/8977051> CrashTracer: 8 crashes
bdakin@apple.com [Thu, 10 Feb 2011 03:07:29 +0000 (03:07 +0000)]
Fix for <rdar://problem/8977051> CrashTracer: 8 crashes
in WebProcess at com.apple.WebCore:
-[ScrollbarPartAnimation setCurrentProgress:] + 364

Reviewed by Maciej Stachowiak.

The ScrollbarPartAnimation must be sent by reference!
* platform/mac/ScrollAnimatorMac.mm:
(-[ScrollbarPainterDelegate setUpAnimation:scrollerPainter:part:WebCore::animateAlphaTo:duration:]):

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

10 years agoFixed up ChangeLog after my last commit
ggaren@apple.com [Thu, 10 Feb 2011 02:21:51 +0000 (02:21 +0000)]
Fixed up ChangeLog after my last commit

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

10 years ago2011-02-09 Adam Barth <abarth@webkit.org>
ggaren@apple.com [Thu, 10 Feb 2011 02:20:04 +0000 (02:20 +0000)]
2011-02-09  Adam Barth  <abarth@webkit.org>

        Another attempt to fix the Qt Windows build.

        * config.h:
        * wtf/OSRandomSource.cpp:
        (WTF::randomValuesFromOS):

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

10 years ago2011-02-09 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 10 Feb 2011 02:14:49 +0000 (02:14 +0000)]
2011-02-09  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        REGRESSION(r76107): Crash in VisibleSelection::toNormalizedRange
        https://bugs.webkit.org/show_bug.cgi?id=54053

        The bug was caused by RenderBlock::positionForPoint's improperly returning a shadow node inside
        RenderFileUploadControl for hit testing and VisibleSelection::toNormalizedRange's always assuming
        the position variable "s" is not null.

        Fixed the bug by always returning a null position from RenderFileUploadControl::positionForPoint,
        and also exiting early when either "s" or "e" is null in VisibleSelection::toNormalizedRange.

        Test: fast/forms/file-input-hit-test.html

        * editing/VisibleSelection.cpp:
        (WebCore::VisibleSelection::toNormalizedRange):
        * rendering/RenderFileUploadControl.cpp:
        (WebCore::RenderFileUploadControl::positionForPoint):
        * rendering/RenderFileUploadControl.h:
2011-02-09  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        REGRESSION(r76107): Crash in VisibleSelection::toNormalizedRange
        https://bugs.webkit.org/show_bug.cgi?id=54053

        Added a test to ensure WebKit does not crash when a user clicks on a region immediately after a file
        upload control.

        * fast/forms/file-input-hit-test-expected.txt: Added.
        * fast/forms/file-input-hit-test.html: Added.

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

10 years agoOverlay scrollbars crash used with a RenderListBox.
weinig@apple.com [Thu, 10 Feb 2011 01:55:52 +0000 (01:55 +0000)]
Overlay scrollbars crash used with a RenderListBox.

Reviewed by Beth Dakin.

* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::layout):
(WebCore::RenderListBox::contentsSize):
(WebCore::RenderListBox::currentMousePosition):
(WebCore::RenderListBox::setHasVerticalScrollbar):
* rendering/RenderListBox.h:
Implement enough of the ScrollableArea interface to get things generally
working.

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

10 years agoFix a typo in WebSecurityOrigin::protocol.
bweinstein@apple.com [Thu, 10 Feb 2011 01:28:36 +0000 (01:28 +0000)]
Fix a typo in WebSecurityOrigin::protocol.

Rubber-stamped by Sam Weinig.

* Shared/WebSecurityOrigin.h:
(WebKit::WebSecurityOrigin::protocol): This should return the protocol, not the domain.

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

10 years ago2011-02-09 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 10 Feb 2011 01:26:54 +0000 (01:26 +0000)]
2011-02-09  Zhenyao Mo  <zmo@google.com>

        Unreviewed, test expectations update.

        * platform/chromium/test_expectations.txt:

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

10 years agoFile uploads do not work within the sandbox
weinig@apple.com [Thu, 10 Feb 2011 01:17:35 +0000 (01:17 +0000)]
File uploads do not work within the sandbox
<rdar://problem/8950518>
https://bugs.webkit.org/show_bug.cgi?id=54154

Reviewed by Darin Adler.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didChooseFilesForOpenPanel):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::extendSandboxForFileFromOpenPanel):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:

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

10 years agoFix for <rdar://problem/8966868> ScrollbarPainterDelegate
bdakin@apple.com [Thu, 10 Feb 2011 00:28:50 +0000 (00:28 +0000)]
Fix for <rdar://problem/8966868> ScrollbarPainterDelegate
must return a layer if layer-backed to avoid crashing

Reviewed by Simon Fraser.

New virtual function scrollbarWillRenderIntoCompositingLayer()
on ScrollableArea.
* page/FrameView.h:
* platform/ScrollableArea.h:
(WebCore::ScrollableArea::scrollbarWillRenderIntoCompositingLayer):
* rendering/RenderLayer.h:
(WebCore::RenderLayer::scrollbarWillRenderIntoCompositingLayer):
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::scrollbarWillRenderIntoCompositingLayer):
* rendering/RenderListBox.h:

Clean up unnecessary method declarations and call
scrollbarWillRenderIntoCompositingLayer() to deterine if
we need to return a layer.
* platform/mac/ScrollAnimatorMac.mm:
(-[ScrollbarPainterDelegate layer]):

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

10 years ago Reviewed by Darin Adler.
ap@apple.com [Thu, 10 Feb 2011 00:24:58 +0000 (00:24 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=54148
        <rdar://problem/8973887> REGRESSION (WebKit2): Opening two print dialogs causes havoc

        * UIProcess/API/mac/WKPrintingView.h: Moved _isForcingPreviewUpdate into a static variable,
        because dispatching a notification affects all WKPrintingViews at once.
        * UIProcess/API/mac/WKPrintingView.mm:
        (-[WKPrintingView _updatePreview]): Updated for new variable name.
        (-[WKPrintingView knowsPageRange:]): Don't break if the method is called twice in a row
        (we already had this logic when printing from separate thread, but not for preview).
        (-[WKPrintingView drawRect:]): Changed all LOG messages to have view object address for
        easier matching.
        (-[WKPrintingView rectForPage:]): Ditto.
        (-[WKPrintingView beginDocument]): Ditto.
        (-[WKPrintingView endDocument]): Ditto.

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

10 years ago2011-02-09 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 10 Feb 2011 00:24:28 +0000 (00:24 +0000)]
2011-02-09  Martin Robinson  <mrobinson@igalia.com>

        Rebaseline a few tests which differ on the bots. Skip a test which is
        timing out intermittently.

        * platform/gtk/Skipped: Skip a test timing out.
        * platform/gtk/fast/block/float/marquee-shrink-to-avoid-floats-expected.txt:
        * platform/gtk/fast/dom/52776-expected.txt:
        * platform/gtk/fast/text/stroking-decorations-expected.txt:

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

10 years ago2011-02-09 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 10 Feb 2011 00:09:34 +0000 (00:09 +0000)]
2011-02-09  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        nrwt multiprocessing: minor cleanup prior to implementing the new worker

        This patch renames AbstractManager to ManagerConnection and
        changes some argument names to be more consistent between
        manager_worker_broker and message_broker. It also fixes a couple
        of typos in message_broker. These changes will be tested by code
        introduced in the next patch.

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

        * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py:
        * Scripts/webkitpy/layout_tests/layout_package/message_broker2.py:

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

10 years ago2011-02-09 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 9 Feb 2011 23:53:43 +0000 (23:53 +0000)]
2011-02-09  Adam Barth  <abarth@webkit.org>

        Another attempt to fix the Qt Windows build.

        * config.h:
        * wtf/OSRandomSource.cpp:
        (WTF::randomValuesFromOS):

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

10 years ago2011-02-09 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 9 Feb 2011 23:47:01 +0000 (23:47 +0000)]
2011-02-09  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Repro crash with Sony Google TV ad at Gizmodo
        https://bugs.webkit.org/show_bug.cgi?id=54150

        Since PluginView::evaluate can cause the plug-in element to go away, we need to protect it.

        * WebProcess/Plugins/PluginView.cpp:
        (WebKit::PluginView::~PluginView):
        Null out m_pluginElement here so we'll catch crashes earlier.

        (WebKit::PluginView::evaluate):
        Add a plug-in protector.
2011-02-09  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Repro crash with Sony Google TV ad at Gizmodo
        https://bugs.webkit.org/show_bug.cgi?id=54150
        <rdar://problem/8782346>

        Add test.

        * plugins/npruntime/evaluate-js-destroying-plugin-from-destroy-stream-expected.txt: Added.
        * plugins/npruntime/evaluate-js-destroying-plugin-from-destroy-stream.html: Added.
2011-02-09  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Repro crash with Sony Google TV ad at Gizmodo
        https://bugs.webkit.org/show_bug.cgi?id=54150
        <rdar://problem/8782346>

        Add a new plug-in test that runs JavaScript that destroys the plug-in from within its NPN_DestroyStream callback.

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
        * DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSDestroyingPluginFromDestroyStream.cpp: Added.
        (EvaluateJSDestroyingPluginFromDestroyStream::EvaluateJSDestroyingPluginFromDestroyStream):
        (EvaluateJSDestroyingPluginFromDestroyStream::NPP_Destroy):
        (EvaluateJSDestroyingPluginFromDestroyStream::NPP_DestroyStream):
        * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
        * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:

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

10 years ago2011-02-09 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 9 Feb 2011 23:35:48 +0000 (23:35 +0000)]
2011-02-09  Adam Barth  <abarth@webkit.org>

        Attempt to fix the Qt Windows build.

        * wtf/OSRandomSource.cpp:
        (WTF::randomValuesFromOS):

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

10 years ago2011-02-09 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 9 Feb 2011 23:25:16 +0000 (23:25 +0000)]
2011-02-09  Martin Robinson  <mrobinson@igalia.com>

        Clean up the skipped list a bit and unskip a few tests which are passing.

        * platform/gtk/Skipped: Clean up the skipped list.
        * platform/gtk/editing/selection/extend-after-mouse-selection-expected.txt: Removed.
        * platform/gtk/fast/dom/Window/window-properties-expected.txt: Removed.

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

10 years ago2011-02-09 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Wed, 9 Feb 2011 23:13:27 +0000 (23:13 +0000)]
2011-02-09  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Darin Adler.

        Replace static_cast<HTMLElement*> with toHTMLElement
        https://bugs.webkit.org/show_bug.cgi?id=54117

        No new tests since no new functionality was introduced.

        * accessibility/AccessibilityListBox.cpp:
        (WebCore::AccessibilityListBox::addChildren):
        * accessibility/AccessibilityMenuListPopup.cpp:
        (WebCore::AccessibilityMenuListPopup::addChildren):
        * accessibility/AccessibilityRenderObject.cpp:
        (WebCore::accessibleNameForNode):
        (WebCore::AccessibilityRenderObject::accessibilityDescription):
        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (webkit_accessible_get_name):
        (webkit_accessible_get_description):
        * bindings/gobject/WebKitDOMBinding.cpp:
        (WebKit::createWrapper):
        (WebKit::kit):
        * bindings/js/JSElementCustom.cpp:
        (WebCore::toJSNewlyCreated):
        * bindings/js/JSHTMLFrameSetElementCustom.cpp:
        (WebCore::JSHTMLFrameSetElement::nameGetter):
        * bindings/js/JSNodeCustom.cpp:
        (WebCore::createWrapperInline):
        * bindings/v8/custom/V8ElementCustom.cpp:
        (WebCore::toV8):
        * dom/Document.cpp:
        (WebCore::Document::body):
        * dom/Element.cpp:
        (WebCore::Element::deprecatedCreateContextualFragment):
        * dom/Range.cpp:
        (WebCore::Range::createContextualFragment):
        * editing/ApplyStyleCommand.cpp:
        (WebCore::ApplyStyleCommand::applyBlockStyle):
        (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
        (WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi):
        (WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange):
        (WebCore::ApplyStyleCommand::removeStyleFromRunBeforeApplyingStyle):
        (WebCore::ApplyStyleCommand::highestAncestorWithConflictingInlineStyle):
        (WebCore::ApplyStyleCommand::applyInlineStyleToPushDown):
        (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode):
        (WebCore::ApplyStyleCommand::removeInlineStyle):
        (WebCore::ApplyStyleCommand::shouldSplitTextElement):
        (WebCore::ApplyStyleCommand::addInlineStyleIfNeeded):
        * editing/DeleteButtonController.cpp:
        (WebCore::enclosingDeletableElement):
        (WebCore::DeleteButtonController::show):
        * editing/Editor.cpp:
        (WebCore::Editor::setBaseWritingDirection):
        * editing/InsertListCommand.cpp:
        (WebCore::InsertListCommand::mergeWithNeighboringLists):
        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplaceSelectionCommand::negateStyleRulesThatAffectAppearance):
        (WebCore::ReplaceSelectionCommand::handleStyleSpans):
        (WebCore::ReplaceSelectionCommand::copyStyleToChildren):
        * editing/SelectionController.cpp:
        (WebCore::scanForForm):
        (WebCore::SelectionController::currentForm):
        * editing/htmlediting.cpp:
        (WebCore::enclosingList):
        (WebCore::enclosingListChild):
        (WebCore::embeddedSublist):
        (WebCore::appendedSublist):
        * editing/markup.cpp:
        (WebCore::StyledMarkupAccumulator::appendElement):
        * html/HTMLCollection.cpp:
        (WebCore::HTMLCollection::checkForNameMatch):
        (WebCore::HTMLCollection::updateNameCache):
        * html/HTMLElement.cpp:
        (WebCore::HTMLElement::setOuterHTML):
        (WebCore::HTMLElement::shadowAncestorOwnerForm):
        * html/HTMLFormElement.cpp:
        (WebCore::HTMLFormElement::formElementIndex):
        * html/HTMLSelectElement.cpp:
        (WebCore::HTMLSelectElement::setOption):
        (WebCore::HTMLSelectElement::setLength):
        * inspector/InspectorDOMAgent.cpp:
        (WebCore::InspectorDOMAgent::getOuterHTML):
        (WebCore::InspectorDOMAgent::setOuterHTML):
        * page/EventHandler.cpp:
        (WebCore::EventHandler::handleMouseMoveEvent):
        * rendering/RenderMeter.cpp:
        (WebCore::RenderMeter::createPart):
        * rendering/RenderTextControl.cpp:
        (WebCore::RenderTextControl::createSubtreeIfNeeded):
        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::createSubtreeIfNeeded):

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

10 years ago2011-02-09 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 9 Feb 2011 23:11:56 +0000 (23:11 +0000)]
2011-02-09  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Add WTF::cryptographicallyRandomNumber
        https://bugs.webkit.org/show_bug.cgi?id=54083

        Introduce a cryptographically strong random number generator to WTF.
        The random number generator is based on arc4random as found in:

        http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/crypt/arc4random.c?rev=1.22

        I've changed to source to WebKit style and abstracted the operating
        system interaction to OSRandomSource.  We'll use this functionality to
        expose a cryptographically strong random number generator to
        JavaScript.

        * Android.mk:
        * Android.v8.wtf.mk:
        * GNUmakefile.am:
        * JavaScriptCore.gypi:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * config.h:
        * wtf/CMakeLists.txt:
        * wtf/CryptographicallyRandomNumber.cpp: Added.
        (WTF::initMutexIfNeeded):
        (WTF::init):
        (WTF::addRandomData):
        (WTF::stir):
        (WTF::stirIfNeeded):
        (WTF::getByte):
        (WTF::getWord):
        (WTF::cryptographicallyRandomNumber):
        (WTF::cryptographicallyRandomValues):
        * wtf/CryptographicallyRandomNumber.h: Added.
        * wtf/OSRandomSource.cpp: Added.
        (WTF::randomValuesFromOS):
        * wtf/OSRandomSource.h: Added.
        * wtf/wtf.pri:

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

10 years ago2011-02-09 Mike Reed <reed@google.com>
commit-queue@webkit.org [Wed, 9 Feb 2011 23:10:31 +0000 (23:10 +0000)]
2011-02-09  Mike Reed  <reed@google.com>

        Reviewed by Kenneth Russell.

        Use Skia's device->readPixels() when its bitmap claims to have no pixels, as this
        handles the case when the device is backed by the GPU.
        Patch developed by bsalomon@google.com

        No new tests. Existing canvas tests suffice
        e.g. LayoutTests/canvas/philip/...

        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::getImageData):
        (WebCore::ImageBuffer::getUnmultipliedImageData):
        (WebCore::ImageBuffer::getPremultipliedImageData):
        (WebCore::putImageData):
        (WebCore::ImageBuffer::putUnmultipliedImageData):
        (WebCore::ImageBuffer::putPremultipliedImageData):

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