WebKit-https.git
10 years ago2011-06-03 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Fri, 3 Jun 2011 21:45:05 +0000 (21:45 +0000)]
2011-06-03  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch paintCell to use IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=62033

        Switching paintCell to take an IntPoint representing the paint offset
        instead of a pair of ints.

        No new tests since this is simple refactoring.

        * rendering/RenderTableSection.cpp:
        (WebCore::RenderTableSection::paintCell):
        (WebCore::RenderTableSection::paintObject):
        * rendering/RenderTableSection.h:

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

10 years ago2011-06-03 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 3 Jun 2011 21:39:13 +0000 (21:39 +0000)]
2011-06-03  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Dimitri Glazkov.

        Teach Gtk build about window.internals
        https://bugs.webkit.org/show_bug.cgi?id=61071

        * Source/autotools/symbols.filter: Added some symbols necessary for
        window.internals to function to the global symbol list.
2011-06-03  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Dimitri Glazkov.

        Teach Gtk build about window.internals
        https://bugs.webkit.org/show_bug.cgi?id=61071

        * platform/gtk/Skipped: Unskip the one new window.internals test.
2011-06-03  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Dimitri Glazkov.

        Teach Gtk build about window.internals
        https://bugs.webkit.org/show_bug.cgi?id=61071

        * GNUmakefile.am: Add new internals directories to the VPATH
        (for idl processing) and the include list.
2011-06-03  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Dimitri Glazkov.

        Teach Gtk build about window.internals
        https://bugs.webkit.org/show_bug.cgi?id=61071

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (webViewWindowObjectCleared): Inject the new internals object when the
        window object clears.
        * GNUmakefile.am: Add new source files and includes necessary for window.internals.
        Also do a little bit of cleanup.

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

10 years ago2011-06-03 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Fri, 3 Jun 2011 21:26:20 +0000 (21:26 +0000)]
2011-06-03  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Antonio Gomes.

        [Qt] Enable ArrayBuffer passing tests as ArrayBuffer is enabled by default
        https://bugs.webkit.org/show_bug.cgi?id=62025

        * platform/qt/Skipped:

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

10 years ago2011-06-03 Andrew Scherkus <scherkus@chromium.org>
scherkus@chromium.org [Fri, 3 Jun 2011 21:24:24 +0000 (21:24 +0000)]
2011-06-03  Andrew Scherkus  <scherkus@chromium.org>

        Unreviewed, adding Ogg Theora version of media/content/test-par-16-9.mp4.

        * media/content/test-par-16-9.ogv: Added.

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

10 years ago2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Fri, 3 Jun 2011 21:02:07 +0000 (21:02 +0000)]
2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] Warning fixes on comparisons between a signed and an unsigned.

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
        (DumpRenderTreeSupportQt::nodesFromRect):

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

10 years ago2011-06-03 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Fri, 3 Jun 2011 20:59:40 +0000 (20:59 +0000)]
2011-06-03  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch paintBackgroundsBehindCell to use IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=62031

        Switching paintBackgroundsBehindCell to take an IntPoint representing
        the paint offset instead of a pair of ints.

        No new tests as this is simple refactoring.

        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::paintBackgroundsBehindCell):
        (WebCore::RenderTableCell::paintBoxDecorations):
        * rendering/RenderTableCell.h:
        * rendering/RenderTableRow.cpp:
        (WebCore::RenderTableRow::paint):
        * rendering/RenderTableSection.cpp:
        (WebCore::RenderTableSection::paintCell):

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

10 years ago2011-06-03 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Fri, 3 Jun 2011 20:57:43 +0000 (20:57 +0000)]
2011-06-03  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch paintCaret and paintDragCaret to use IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=62037

        Switching paintCaret and paintDragCaret to use an IntPoint representing
        the paint offset instead of a pair of ints.

        No new tests since this is simple refactoring.

        * editing/FrameSelection.cpp:
        (WebCore::FrameSelection::paintCaret):
        (WebCore::CaretBase::paintCaret):
        (WebCore::DragCaretController::paintDragCaret):
        * editing/FrameSelection.h:
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::paintCaret):
        (WebCore::RenderBlock::paintObject):
        (WebCore::RenderBlock::positionForPoint):
        (WebCore::RenderBlock::offsetForContents):
        * rendering/RenderBlock.h:

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

10 years ago2011-06-03 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Fri, 3 Jun 2011 20:55:44 +0000 (20:55 +0000)]
2011-06-03  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch paintItemForeground and paintItemForeground to use IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=62035

        Switching paintItemFore/Background to use IntPoint instead of a pair of ints.

        No new tests since this is simple refactoring.

        * rendering/RenderListBox.cpp:
        (WebCore::RenderListBox::paintObject):
        (WebCore::RenderListBox::paintItemForeground):
        (WebCore::RenderListBox::paintItemBackground):
        * rendering/RenderListBox.h:

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

10 years ago2011-06-03 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 3 Jun 2011 20:53:47 +0000 (20:53 +0000)]
2011-06-03  Anders Carlsson  <andersca@apple.com>

        Reviewed by Brady Eidson.

        Disable the sync message timeout for the Microsoft SharePoint plug-in
        https://bugs.webkit.org/show_bug.cgi?id=62043
        <rdar://problem/9536303>

        * WebProcess/Plugins/PluginProcessConnection.cpp:
        (WebKit::defaultSyncMessageTimeout):

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

10 years ago2011-06-03 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 3 Jun 2011 20:49:38 +0000 (20:49 +0000)]
2011-06-03  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change. Fix conflict in expectations.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-06-03 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Fri, 3 Jun 2011 20:35:09 +0000 (20:35 +0000)]
2011-06-03  Andreas Kling  <kling@webkit.org>

        Reviewed by Benjamin Poulain.

        [Qt] TiledDrawingArea: Initialize tiles to transparent.

        * UIProcess/qt/TiledDrawingAreaTileQt.cpp:
        (WebKit::TiledDrawingAreaTile::incorporateUpdate): When constructing new
        back buffers, fill them with transparent pixels.

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

10 years ago2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Fri, 3 Jun 2011 20:32:47 +0000 (20:32 +0000)]
2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Andreas Kling.

        To support building namespaced Qt, we require that forward-declarations
        of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.

        * WebCoreSupport/FrameLoaderClientQt.h:
2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Andreas Kling.

        To support building namespaced Qt, we require that forward-declarations
        of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.

        * platform/network/qt/QtMIMETypeSniffer.h:

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

10 years ago[Chromium] Unreviewed test expectations update for inspector/profiler/cpu-profiler...
mnaganov@chromium.org [Fri, 3 Jun 2011 20:29:39 +0000 (20:29 +0000)]
[Chromium] Unreviewed test expectations update for inspector/profiler/cpu-profiler-profiling* on Linux. https://bugs.webkit.org/show_bug.cgi?id=61533

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

10 years ago2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Fri, 3 Jun 2011 20:07:53 +0000 (20:07 +0000)]
2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>

        Unreviewed build fix after r87902.

        To support building namespaced Qt, we require that forward-declarations
        of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE but
        only on classes inside Qt.

        * WebCoreSupport/DumpRenderTreeSupportQt.h:

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

10 years ago2011-06-03 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 3 Jun 2011 19:43:52 +0000 (19:43 +0000)]
2011-06-03  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        Worker may not be stopped after LT.
        https://bugs.webkit.org/show_bug.cgi?id=61847

        Re-submit a variant of the first fix for this bug. It's possible
        that actually calling cleanup() in the worker threads was taking
        too long and we triggered the assertions in the manager thread.

        I've bumped up the timeout in the manager and added better
        diagnostics. I also cleaned up the cleanup() code a bit because
        there was some unnecessary if-checks.

        * Scripts/webkitpy/layout_tests/layout_package/manager.py:
        * Scripts/webkitpy/layout_tests/layout_package/worker.py:

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

10 years ago2011-06-03 Rob Buis <rbuis@rim.com>
rwlbuis@webkit.org [Fri, 3 Jun 2011 19:35:34 +0000 (19:35 +0000)]
2011-06-03  Rob Buis  <rbuis@rim.com>

        Reviewed by Nikolas Zimmermann.

        Cleanup member variable usage in svg/animation classes
        https://bugs.webkit.org/show_bug.cgi?id=62029

        Cleanup member variables.

        * svg/animation/SMILTimeContainer.cpp:
        (WebCore::SMILTimeContainer::SMILTimeContainer):
        (WebCore::SMILTimeContainer::sampleAnimationAtTime):
        (WebCore::SMILTimeContainer::updateAnimations):
        * svg/animation/SMILTimeContainer.h:
        * svg/animation/SVGSMILElement.cpp:
        (WebCore::SVGSMILElement::SVGSMILElement):
        * svg/animation/SVGSMILElement.h:

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

10 years ago2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Fri, 3 Jun 2011 19:18:09 +0000 (19:18 +0000)]
2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Benjamin Poulain.

        Some warning fixes. Values in switch not handled, and
        a comparison between a signed and an unsigned.

        * Api/qwebpage.cpp:
        (QWebPagePrivate::inputMethodEvent):
        (QWebPagePrivate::dynamicPropertyChangeEvent):
        (QWebPage::action):

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

10 years ago2011-06-03 Chris Rogers <crogers@google.com>
crogers@google.com [Fri, 3 Jun 2011 19:17:31 +0000 (19:17 +0000)]
2011-06-03  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        Add AudioParam parameter scheduling implementation
        https://bugs.webkit.org/show_bug.cgi?id=61830

        No new tests since audio API is not yet implemented.

        * WebCore.gypi:
        * WebCore.xcodeproj/project.pbxproj:
        * webaudio/AudioParam.cpp:
        (WebCore::AudioParam::value):
        (WebCore::AudioParam::smoothedValue):
        (WebCore::AudioParam::smooth):
        (WebCore::AudioParam::calculateSampleAccurateValues):
        * webaudio/AudioParam.h:
        (WebCore::AudioParam::setContext):
        (WebCore::AudioParam::context):
        (WebCore::AudioParam::setValueAtTime):
        (WebCore::AudioParam::linearRampToValueAtTime):
        (WebCore::AudioParam::exponentialRampToValueAtTime):
        (WebCore::AudioParam::setTargetValueAtTime):
        (WebCore::AudioParam::setValueCurveAtTime):
        (WebCore::AudioParam::cancelScheduledValues):
        (WebCore::AudioParam::hasTimelineValues):
        * webaudio/AudioParam.idl:
        * webaudio/AudioParamTimeline.cpp: Added.
        (WebCore::AudioParamTimeline::setValueAtTime):
        (WebCore::AudioParamTimeline::linearRampToValueAtTime):
        (WebCore::AudioParamTimeline::exponentialRampToValueAtTime):
        (WebCore::AudioParamTimeline::setTargetValueAtTime):
        (WebCore::AudioParamTimeline::setValueCurveAtTime):
        (WebCore::isValidNumber):
        (WebCore::AudioParamTimeline::insertEvent):
        (WebCore::AudioParamTimeline::cancelScheduledValues):
        (WebCore::AudioParamTimeline::valueForContextTime):
        (WebCore::AudioParamTimeline::valuesForTimeRange):
        (WebCore::timeToSampleFrame):
        (WebCore::AudioParamTimeline::valuesForTimeRangeImpl):
        * webaudio/AudioParamTimeline.h: Added.
        (WebCore::AudioParamTimeline::AudioParamTimeline):
        (WebCore::AudioParamTimeline::hasValues):
        (WebCore::AudioParamTimeline::ParamEvent::ParamEvent):
        (WebCore::AudioParamTimeline::ParamEvent::type):
        (WebCore::AudioParamTimeline::ParamEvent::value):
        (WebCore::AudioParamTimeline::ParamEvent::time):
        (WebCore::AudioParamTimeline::ParamEvent::timeConstant):
        (WebCore::AudioParamTimeline::ParamEvent::duration):
        (WebCore::AudioParamTimeline::ParamEvent::curve):

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

10 years ago2011-06-03 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 3 Jun 2011 19:00:09 +0000 (19:00 +0000)]
2011-06-03  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        nrwt: fix duplicate logging regression
        https://bugs.webkit.org/show_bug.cgi?id=61981

        * Scripts/webkitpy/layout_tests/layout_package/printing.py:

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

10 years ago2011-06-01 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Fri, 3 Jun 2011 18:48:15 +0000 (18:48 +0000)]
2011-06-01  Jer Noble  <jer.noble@apple.com>

        Reviewed by Simon Fraser.

        Flash of broken page when exiting full screen at jerryseinfeld.com
        https://bugs.webkit.org/show_bug.cgi?id=61897
        <rdar://problem/9522985>

        * fullscreen/full-screen-placeholder-expected.txt: Added.
        * fullscreen/full-screen-placeholder.html: Added.
2011-06-01  Jer Noble  <jer.noble@apple.com>

        Reviewed by Simon Fraser.

        Flash of broken page when exiting full screen at jerryseinfeld.com
        https://bugs.webkit.org/show_bug.cgi?id=61897
        <rdar://problem/9522985>

        Test: fullscreen/full-screen-placeholder.html

        Entering full-screen mode is causing the page layout to change because the full-screen
        element is taken out of the normal flow.  To counteract this effect, insert a placeholder
        block as a parent of the full-screen renderer with the same size and style as the full-screen
        element pre-full-screen.

        Only create a placeholder for block-level elements; the technique required for inline elements
        would be vastly more complicated.

        * dom/Document.cpp:
        (WebCore::Document::webkitWillEnterFullScreenForElement): Create a placeholder
            based on the size and style of the full-screen element.
        (WebCore::Document::setFullScreenRenderer): Persist the placeholder size and
            style across new renderers.
        * rendering/RenderFullScreen.cpp:
        (RenderFullScreen::RenderFullScreen): Added ivar.
        (RenderFullScreen::destroy): Make sure to safely destroy our placeholder.
        (RenderFullScreen::createPlaceholder): Added.
        * rendering/RenderFullScreen.h:
        (WebCore::RenderFullScreen::placeholder): Ivar accessor.

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

10 years ago2011-06-03 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Fri, 3 Jun 2011 18:43:15 +0000 (18:43 +0000)]
2011-06-03  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch paintBoxDecorations to IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=61968

        Switching paintBoxDecorations to take an IntPoint representing
        the paint offset instead of a pair of ints. Also cleaning up
        some duplicated code in InlineFlowBox related to constraining
        the paint rect to the linetop and linebottom.

        No new tests since this is just refactoring.

        * rendering/InlineFlowBox.cpp:
        (WebCore::InlineFlowBox::paint):
        (WebCore::InlineFlowBox::constrainToLineTopAndBottomIfNeeded): Added
        to remove duplicate code in paintBoxDecorations and paintMask.
        (WebCore::InlineFlowBox::paintBoxDecorations):
        (WebCore::InlineFlowBox::paintMask):
        * rendering/InlineFlowBox.h:
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::paintObject):
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::paintBoxDecorations):
        * rendering/RenderBox.h:
        * rendering/RenderFieldset.cpp:
        (WebCore::RenderFieldset::paintBoxDecorations):
        * rendering/RenderFieldset.h:
        * rendering/RenderReplaced.cpp:
        (WebCore::RenderReplaced::paint):
        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::paintObject):
        (WebCore::RenderTable::paintBoxDecorations):
        * rendering/RenderTable.h:
        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::paintBoxDecorations):
        * rendering/RenderTableCell.h:
        * rendering/RenderView.cpp:
        (WebCore::RenderView::paintBoxDecorations):
        * rendering/RenderView.h:
        * rendering/RenderWidget.cpp:
        (WebCore::RenderWidget::paint):
        * rendering/svg/RenderSVGRoot.cpp:
        (WebCore::RenderSVGRoot::paint):

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

10 years ago2011-06-03 Robert Kroeger <rjkroege@chromium.org>
commit-queue@webkit.org [Fri, 3 Jun 2011 18:33:37 +0000 (18:33 +0000)]
2011-06-03  Robert Kroeger  <rjkroege@chromium.org>

        Reviewed by Adam Barth.

        Removed test_expectations failure entry for BUGCR36415 as is fixed
        with patch in https://bugs.webkit.org/show_bug.cgi?id=62016

        * platform/chromium/test_expectations.txt:
2011-06-03  Robert Kroeger  <rjkroege@chromium.org>

        Reviewed by Adam Barth.

        Modified addTouchPoint to correctly re-use touchPoint id values starting
        from the lowest not-un-use touchPoint id as is done by the embedder
        APIs. (Fixes BUGCR36415)

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

        * DumpRenderTree/chromium/EventSender.cpp:
        (EventSender::addTouchPoint):

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

10 years ago2011-06-03 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Fri, 3 Jun 2011 18:22:29 +0000 (18:22 +0000)]
2011-06-03  James Simonsen  <simonjam@chromium.org>

        [Chromium] Unreviewed, pixel baselines for selectlist-minsize.html.

        * platform/chromium-linux/fast/forms/selectlist-minsize-expected.png: Added.
        * platform/chromium-linux/fast/forms/selectlist-minsize-expected.txt: Added.
        * platform/chromium-mac/fast/forms/selectlist-minsize-expected.png: Added.
        * platform/chromium-win/fast/forms/selectlist-minsize-expected.png: Added.
        * platform/chromium-win/fast/forms/selectlist-minsize-expected.txt: Added.

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

10 years ago2011-06-03 Philippe Beauchamp <philippe.beauchamp@gmail.com>
commit-queue@webkit.org [Fri, 3 Jun 2011 17:39:10 +0000 (17:39 +0000)]
2011-06-03  Philippe Beauchamp  <philippe.beauchamp@gmail.com>

        Reviewed by Dimitri Glazkov.

        Add the feature "Add as search engine..." in a search text field context menu for chromium
        https://bugs.webkit.org/show_bug.cgi?id=47980

        * public/WebContextMenuData.h:
        * public/WebSearchableFormData.h:
        * src/ContextMenuClientImpl.cpp:
        (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
        * src/WebSearchableFormData.cpp:
        (WebKit::WebSearchableFormData::WebSearchableFormData):

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

10 years ago2011-06-03 Doreen Jiang <doreen.jiang@nokia.com>
commit-queue@webkit.org [Fri, 3 Jun 2011 17:03:21 +0000 (17:03 +0000)]
2011-06-03  Doreen Jiang  <doreen.jiang@nokia.com>

        Reviewed by Benjamin Poulain.

        [Qt]The minimum size of the select menu list is incorrect for qtwebkit
        https://bugs.webkit.org/show_bug.cgi?id=56752

        The test is to get the render tree of select menu lists with varying widths based on content.
        Some select list based tests are rebaselined because minimum width of RenderMenuList changes
        based on the content with this fix.

        * fast/forms/selectlist-minsize.html: Added.
        * platform/mac/fast/forms/selectlist-minsize-expected.txt: Added.
        * platform/qt/editing/pasteboard/4641033-expected.txt:
        * platform/qt/editing/pasteboard/4944770-1-expected.txt:
        * platform/qt/editing/pasteboard/4944770-2-expected.txt:
        * platform/qt/editing/selection/caret-before-select-expected.txt:
        * platform/qt/fast/forms/003-expected.txt:
        * platform/qt/fast/forms/004-expected.txt:
        * platform/qt/fast/forms/HTMLOptionElement_label06-expected.txt:
        * platform/qt/fast/forms/HTMLOptionElement_label07-expected.txt:
        * platform/qt/fast/forms/basic-selects-expected.txt:
        * platform/qt/fast/forms/menulist-deselect-update-expected.txt:
        * platform/qt/fast/forms/menulist-separator-painting-expected.txt:
        * platform/qt/fast/forms/menulist-style-color-expected.txt:
        * platform/qt/fast/forms/option-script-expected.txt:
        * platform/qt/fast/forms/select-background-none-expected.txt:
        * platform/qt/fast/forms/select-baseline-expected.txt:
        * platform/qt/fast/forms/select-dirty-parent-pref-widths-expected.txt:
        * platform/qt/fast/forms/select-empty-option-height-expected.txt:
        * platform/qt/fast/forms/select-size-expected.txt:
        * platform/qt/fast/forms/select-style-expected.txt:
        * platform/qt/fast/forms/selectlist-minsize-expected.txt: Added.
        * platform/qt/fast/invalid/014-expected.txt:
        * platform/qt/fast/replaced/replaced-breaking-expected.txt:
        * platform/qt/fast/replaced/replaced-breaking-mixture-expected.txt:
        * platform/qt/fast/replaced/three-selects-break-expected.txt:
        * platform/qt/tables/mozilla/bugs/bug29326-expected.txt:
        * platform/qt/tables/mozilla/core/margins-expected.txt:
2011-06-03  Doreen Jiang  <doreen.jiang@nokia.com>

        Reviewed by Benjamin Poulain.

        [Qt]The minimum size of the select menu list is incorrect for qtwebkit
        https://bugs.webkit.org/show_bug.cgi?id=56752

        The minimum width of the select-box is calculated to be as small as possible
        instead of hardcoded value (width of 7 characters) in minimumMenuListSize() function
        This will avoid overapping the select lists in popular websites.

        Test: fast/forms/selectlist-minsize.html

        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::minimumMenuListSize):

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

10 years ago2011-06-03 Marcus Bulach <bulach@chromium.org>
bulach@chromium.org [Fri, 3 Jun 2011 17:00:21 +0000 (17:00 +0000)]
2011-06-03  Marcus Bulach  <bulach@chromium.org>

        Reviewed by Unreviewed rebaseline.

        [chromium] Rebaseline following r88020
        https://bugs.webkit.org/show_bug.cgi?id=62028

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

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

10 years ago2011-06-03 No'am Rosenthal <noam.rosenthal@nokia.com>
andreas.kling@nokia.com [Fri, 3 Jun 2011 16:54:12 +0000 (16:54 +0000)]
2011-06-03  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Andreas Kling.

        [Qt][WK2] Make tiling on WebKit2 more responsive.
        https://bugs.webkit.org/show_bug.cgi?id=50064

        Instead of creating and destroying pixmaps, and copying them using QPixmap::copy()
        or relying on the implicit sharing functionality, we keep the QPixmaps alive
        and just make sure their content is synchronized.

        This seems to improve responsiveness noticably, as now the UI process doesn't deal
        with allocating/deallocating pixmaps, and the copies are done with the optimized
        path (QPainter) vs the unoptimized ones (QPixmap::copy().)

        * UIProcess/TiledDrawingAreaTile.h:
        * UIProcess/qt/TiledDrawingAreaTileQt.cpp:
        (WebKit::TiledDrawingAreaTile::TiledDrawingAreaTile):
        (WebKit::TiledDrawingAreaTile::isReadyToPaint):
        (WebKit::TiledDrawingAreaTile::hasReadyBackBuffer):
        (WebKit::TiledDrawingAreaTile::swapBackBufferToFront):
        (WebKit::TiledDrawingAreaTile::incorporateUpdate):

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

10 years ago2011-06-02 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Fri, 3 Jun 2011 16:26:15 +0000 (16:26 +0000)]
2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Prevent event dispatch for events with related target when host is the target.
        https://bugs.webkit.org/show_bug.cgi?id=61979

        * fast/events/shadow-boundary-crossing-expected.txt: Added test.
        * fast/events/shadow-boundary-crossing.html: Added expectations.
2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Prevent event dispatch for events with related target when host is the target.
        https://bugs.webkit.org/show_bug.cgi?id=61979

        Turns out, even if we trim the ancestor chain to 0, the event is still dispatched during AT_TARGET.
        So might as well be explicit about what we are trying to do and add a flag to prevent dispatch in these cases.

        * dom/EventDispatcher.cpp:
        (WebCore::EventDispatcher::adjustToShadowBoundaries): Added preventing dispatch when the ancestor chain is trimmed to nothing.
        (WebCore::EventDispatcher::EventDispatcher): Added initializer.
        (WebCore::EventDispatcher::dispatchEvent): Added a check to prevent dispatch.
        * dom/EventDispatcher.h: Added a def.

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

10 years ago2011-06-03 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Fri, 3 Jun 2011 16:24:23 +0000 (16:24 +0000)]
2011-06-03  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, new baselines for GTK after r88007 and r8009.

        * platform/gtk/svg/as-image/img-preserveAspectRatio-support-2-expected.png: Added.
        * platform/gtk/svg/as-image/img-preserveAspectRatio-support-2-expected.txt: Added.
        * platform/gtk/svg/as-object/object-box-sizing-no-width-height-expected.png: Added.
        * platform/gtk/svg/as-object/object-box-sizing-no-width-height-expected.txt: Added.
        * platform/gtk/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png: Added.
        * platform/gtk/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Added.

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

10 years ago2011-06-03 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Fri, 3 Jun 2011 16:14:03 +0000 (16:14 +0000)]
2011-06-03  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, new baselines for GTK after r88011.

        * platform/gtk/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.png: Added.
        * platform/gtk/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.txt: Added.
        * platform/gtk/fast/frames/flattening/iframe-flattening-out-of-view-expected.png: Added.
        * platform/gtk/fast/frames/flattening/iframe-flattening-out-of-view-expected.txt: Added.
        * platform/gtk/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.png: Added.
        * platform/gtk/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.txt: Added.

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

10 years agoMac build fix.
mitz@apple.com [Fri, 3 Jun 2011 16:08:46 +0000 (16:08 +0000)]
Mac build fix.

* WebCore.xcodeproj/project.pbxproj:

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

10 years ago2011-06-03 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Fri, 3 Jun 2011 16:07:00 +0000 (16:07 +0000)]
2011-06-03  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, tests rebaselines for GTK after r88011.

        * platform/gtk/fast/frames/flattening/iframe-flattening-fixed-height-expected.txt:
        * platform/gtk/fast/frames/flattening/iframe-flattening-fixed-height-expected.png: Added.
        * platform/gtk/fast/frames/flattening/iframe-flattening-fixed-width-and-height-expected.txt:
        * platform/gtk/fast/frames/flattening/iframe-flattening-fixed-width-and-height-expected.png: Added.
        * platform/gtk/fast/frames/flattening/iframe-flattening-fixed-width-expected.txt:
        * platform/gtk/fast/frames/flattening/iframe-flattening-fixed-width-expected.png: Added.
        * platform/gtk/fast/frames/flattening/iframe-flattening-offscreen-expected.txt:
        * platform/gtk/fast/frames/flattening/iframe-flattening-offscreen-expected.png: Added.
        * platform/gtk/fast/frames/flattening/iframe-flattening-simple-expected.txt:
        * platform/gtk/fast/frames/flattening/iframe-flattening-simple-expected.png: Added.

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

10 years ago2011-06-03 Naoki Takano <takano.naoki@gmail.com>
commit-queue@webkit.org [Fri, 3 Jun 2011 16:00:25 +0000 (16:00 +0000)]
2011-06-03  Naoki Takano  <takano.naoki@gmail.com>

        Reviewed by Eric Seidel.

        [Chromium] Call setToolTipText() in WebPopupMenuImpl mouse move handler to show tool tip in select popup window.
        https://bugs.webkit.org/show_bug.cgi?id=61260
        http://code.google.com/p/chromium/issues/detail?id=12721

        Manual test: select-popup-tooltip-test.html

        * manual-tests/select-popup-tooltip-test.html: Added.
        * platform/chromium/PopupMenuChromium.cpp:
        (WebCore::PopupContainer::getSelectedItemToolTip): Get selected item tooltip string according to hovering mouse position.
        * platform/chromium/PopupMenuChromium.h: Add getSelectedItemToolTip() declaration.
2011-06-03  Naoki Takano  <takano.naoki@gmail.com>

        Reviewed by Eric Seidel.

        [Chromium] Call setToolTipText() in WebPopupMenuImpl mouse move handler to show tool tip in select popup window.
        https://bugs.webkit.org/show_bug.cgi?id=61260
        http://code.google.com/p/chromium/issues/detail?id=12721

        * public/WebMenuItemInfo.h: Add toolTip.
        * public/WebViewClient.h: Remove setToolTipText().
        * public/WebWidgetClient.h: Add setTooTipText().
        (WebKit::WebWidgetClient::setToolTipText):
        * src/ExternalPopupMenu.cpp:
        (WebKit::ExternalPopupMenu::getPopupMenuInfo): Add popupItem.toolTip set.
        * src/WebPopupMenuImpl.cpp:
        (WebKit::WebPopupMenuImpl::MouseMove): Call setToolTipText().

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

10 years ago2011-06-03 Rob Buis <rbuis@rim.com>
rwlbuis@webkit.org [Fri, 3 Jun 2011 15:45:27 +0000 (15:45 +0000)]
2011-06-03  Rob Buis  <rbuis@rim.com>

        Reviewed by Nikolas Zimmermann.

        Creating <animateMotion> elements via javascript do not execute
        https://bugs.webkit.org/show_bug.cgi?id=34301

        Update test results.

        * fast/dom/Window/window-properties-expected.txt:
        * fast/dom/Window/window-property-descriptors-expected.txt:
        * fast/dom/prototype-inheritance-2-expected.txt:
        * fast/dom/prototype-inheritance-expected.txt:
        * fast/js/global-constructors-expected.txt:
        * svg/custom/global-constructors-expected.txt:
2011-06-03  Rob Buis  <rbuis@rim.com>

        Reviewed by Nikolas Zimmermann.

        Creating <animateMotion> elements via javascript do not execute
        https://bugs.webkit.org/show_bug.cgi?id=34301

        Enable constructors for SVGMPathElement and SVGAnimateMotionElement.

        * DerivedSources.cpp:
        * DerivedSources.make:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * page/DOMWindow.idl:

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

10 years ago2011-06-03 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Fri, 3 Jun 2011 15:02:48 +0000 (15:02 +0000)]
2011-06-03  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        IndexedDB: Clean-up use of INT64_MAX in LevelDB back-end
        https://bugs.webkit.org/show_bug.cgi?id=62009

        This constant should only be needed inside IDBLevelDBCoding.cpp.

        No new functionality, no new tests.

        * storage/IDBLevelDBBackingStore.cpp:
        (WebCore::getNewDatabaseId):
        (WebCore::IDBLevelDBBackingStore::getObjectStores):
        (WebCore::getNewObjectStoreId):
        (WebCore::IDBLevelDBBackingStore::deleteObjectStore):
        (WebCore::getNewIndexId):
        * storage/IDBLevelDBCoding.cpp:
        (WebCore::IDBLevelDBCoding::DatabaseFreeListKey::encodeMaxKey):
        (WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::encodeMaxKey):
        (WebCore::IDBLevelDBCoding::IndexMetaDataKey::encodeMaxKey):
        (WebCore::IDBLevelDBCoding::ObjectStoreFreeListKey::encodeMaxKey):
        (WebCore::IDBLevelDBCoding::IndexFreeListKey::encodeMaxKey):
        * storage/IDBLevelDBCoding.h:
2011-06-03  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        IndexedDB: Clean-up use of INT64_MAX in LevelDB back-end
        https://bugs.webkit.org/show_bug.cgi?id=62009

        Don't use INT64_MAX, use the various encodeMaxKey() functions instead.

        * tests/IDBLevelDBCodingTest.cpp:
        (IDBLevelDBCoding::TEST):

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

10 years ago2011-06-03 Marcus Bulach <bulach@chromium.org>
bulach@chromium.org [Fri, 3 Jun 2011 14:58:19 +0000 (14:58 +0000)]
2011-06-03  Marcus Bulach  <bulach@chromium.org>

        Reviewed by Unreviewed rebaseline.

        [chromium] Rebaseline following r88007-88008
        https://bugs.webkit.org/show_bug.cgi?id=62018

        * platform/chromium-linux-x86/svg/as-image/img-preserveAspectRatio-support-2-expected.png: Added.
        * platform/chromium-linux-x86/svg/as-object/object-box-sizing-no-width-height-expected.png: Added.
        * platform/chromium-linux/svg/as-image/img-preserveAspectRatio-support-2-expected.png: Added.
        * platform/chromium-linux/svg/as-object/object-box-sizing-no-width-height-expected.png: Added.
        * platform/chromium-win/svg/as-image/img-preserveAspectRatio-support-2-expected.png: Added.
        * platform/chromium-win/svg/as-image/img-preserveAspectRatio-support-2-expected.txt: Added.
        * platform/chromium-win/svg/as-object/object-box-sizing-no-width-height-expected.png: Added.
        * platform/chromium-win/svg/as-object/object-box-sizing-no-width-height-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

10 years ago2011-06-03 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Fri, 3 Jun 2011 14:53:03 +0000 (14:53 +0000)]
2011-06-03  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88014.
        http://trac.webkit.org/changeset/88014
        https://bugs.webkit.org/show_bug.cgi?id=62017

        Broken EFL build (Requested by tonikitoo on #webkit).

        * WebCoreSupport/FrameLoaderClientEfl.cpp:
        (WebCore::FrameLoaderClientEfl::startDownload):

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

10 years ago2011-06-03 Siddharth Mathur <siddharth.mathur@nokia.com>
commit-queue@webkit.org [Fri, 3 Jun 2011 14:47:04 +0000 (14:47 +0000)]
2011-06-03  Siddharth Mathur  <siddharth.mathur@nokia.com>

        Reviewed by Benjamin Poulain.

        [Qt] Build flag for experimental ICU library support
        https://bugs.webkit.org/show_bug.cgi?id=60786

        Adds a build-time flag (CONFIG+=use_system_icu) that enables experimental
        ICU powered Unicode support.

        * JavaScriptCore.pri: Support for use_system_icu CONFIG flag.
        * wtf/unicode/qt4/UnicodeQt4.h: Guard an include file with USE(ICU_UNICODE).
2011-06-03  Siddharth Mathur  <siddharth.mathur@nokia.com>

        Reviewed by Benjamin Poulain.

        [Qt] Build flag for experimental ICU library support
        https://bugs.webkit.org/show_bug.cgi?id=60786

        Adds a build-time flag (CONFIG+=use_system_icu) that enables experimental
        ICU powered Unicode support.

        No new tests as no new features added.

        * WebCore.pri: Removed text_breaking_with_icu CONFIG flag.
        * WebCore.pro: Added TextCodecICU.cpp and qt/TextBreakIteratorInternalICUQt.cpp.
        * editing/qt/SmartReplaceQt.cpp:
        * features.pri: Support for use_system_icu CONFIG flag.
        * platform/text/TextCodecICU.cpp: Guard with USE(ICU_UNICODE).
        * platform/text/qt/TextBreakIteratorInternalICUQt.cpp: Added.
        (WebCore::Q_GLOBAL_STATIC_WITH_INITIALIZER):
        (WebCore::currentSearchLocaleID):
        (WebCore::currentTextBreakLocaleID):
        * platform/text/qt/TextBreakIteratorQt.cpp: Moved out currentTextBreakLocaleID().
        (WebCore::isTextBreak):
        * platform/text/qt/TextCodecQt.cpp: Guard with USE(QT4_UNICODE).
        (WebCore::TextCodecQt::registerEncodingNames):
        (WebCore::TextCodecQt::registerCodecs):

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

10 years ago2011-06-03 Cary Clark <caryclark@google.com>
commit-queue@webkit.org [Fri, 3 Jun 2011 14:39:52 +0000 (14:39 +0000)]
2011-06-03  Cary Clark  <caryclark@google.com>

        Reviewed by Eric Seidel.

        Draw DRT scroll bar thumb with CG when WebKit renders with Skia
        https://bugs.webkit.org/show_bug.cgi?id=61534

        Skia on Mac uses Skia to render WebKit, and CG
        to render UI elements. The CG elements need a
        transcribed graphics context that preserves the
        canvas matrix, and the canvas clip.

        The SkiaBitLocker utility class sets up a CGContext
        from the SkCanvas, locks the bitmap's bits, and
        releases the lock when the class goes out of scope.

        The SkiaBitLocker implementation is described by
        this patch:
        http://codereview.chromium.org/7031006/

        When WebKit uses Skia for rendering, the WebCanvas
        is an SkCanvas. Create an equivalent CGContext to
        draw the scrollbar thumb.

        As the Chrome Mac port does not yet use Skia, this
        patch has no effect and requires no tests.

        * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
        (WebThemeEngineDRTMac::paintHIThemeScrollbarThumb):

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

10 years ago2011-06-03 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Fri, 3 Jun 2011 14:17:42 +0000 (14:17 +0000)]
2011-06-03  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Implement startDownload() in FrameLoaderClientEfl
        https://bugs.webkit.org/show_bug.cgi?id=61998

        Implement startDownload() with download().

        * WebCoreSupport/FrameLoaderClientEfl.cpp:
        (WebCore::FrameLoaderClientEfl::startDownload):

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

10 years ago2011-06-03 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Fri, 3 Jun 2011 14:12:52 +0000 (14:12 +0000)]
2011-06-03  Andras Becsi  <abecsi@webkit.org>

        Unreviewed build fix.

        Fix typo.

        * Scripts/old-run-webkit-tests:

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

10 years ago2011-06-03 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Fri, 3 Jun 2011 13:56:34 +0000 (13:56 +0000)]
2011-06-03  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Csaba Osztrogon√°c.

        Print error message when there is no httpd present on the system
        https://bugs.webkit.org/show_bug.cgi?id=61939

        * Scripts/old-run-webkit-tests: Propose to run with --no-httpd.
        * Scripts/webkitperl/httpd.pm:

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

10 years ago2011-06-03 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Fri, 3 Jun 2011 13:47:02 +0000 (13:47 +0000)]
2011-06-03  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Frame flattening is broken with nested frames
        https://bugs.webkit.org/show_bug.cgi?id=61491

        * fast/frames/flattening/iframe-flattening-out-of-view.html: Added.
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-expected.png: Added.
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-expected.txt: Added.
        * fast/frames/flattening/iframe-flattening-out-of-view-and-scroll.html
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.png: Added.
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.txt: Added.
        * fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout.html
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.png: Added.
        * platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.txt: Added.
2011-06-03  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Frame flattening is broken with nested frames
        https://bugs.webkit.org/show_bug.cgi?id=61491

        Do not flatten offscreen iframes during frame flattening, as flattening might make them visible.

        Test: fast/frames/flattening/iframe-flattening-out-of-view.html
              fast/frames/flattening/iframe-flattening-out-of-view-and-scroll.html
              fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout.html

        * rendering/RenderIFrame.cpp:
        (WebCore::RenderIFrame::flattenFrame):

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

10 years ago2011-06-03 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Fri, 3 Jun 2011 13:29:43 +0000 (13:29 +0000)]
2011-06-03  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: [Chromium] cpu-profiler-profiling layout test is flaky on Linux Debug.
        https://bugs.webkit.org/show_bug.cgi?id=61533

        Skip cpu-profiler-profiling in debug, implement a fast headless alternative.

        * inspector/profiler/cpu-profiler-profiling-without-inspector-expected.txt: Added.
        * inspector/profiler/cpu-profiler-profiling-without-inspector.html: Added.
        * platform/chromium/test_expectations.txt:

2011-06-03  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: [Chromium] cpu-profiler-profiling layout test is flaky on Linux Debug.
        https://bugs.webkit.org/show_bug.cgi?id=61533

        Skip cpu-profiler-profiling in debug, implement a fast headless alternative.

        * public/WebDevToolsAgent.h:
        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::WebDevToolsAgentImpl::setJavaScriptProfilingEnabled):
        * src/WebDevToolsAgentImpl.h:

2011-06-03  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: [Chromium] cpu-profiler-profiling layout test is flaky on Linux Debug.
        https://bugs.webkit.org/show_bug.cgi?id=61533

        Skip cpu-profiler-profiling in debug, implement a fast headless alternative.

        * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
        (DRTDevToolsAgent::setJavaScriptProfilingEnabled):
        * DumpRenderTree/chromium/DRTDevToolsAgent.h:
        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::LayoutTestController):
        (LayoutTestController::setJavaScriptProfilingEnabled):
        * DumpRenderTree/chromium/LayoutTestController.h:
        * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
        (LayoutTestController::setJavaScriptProfilingEnabled):
        * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
        (WTR::LayoutTestController::setJavaScriptProfilingEnabled):
        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:

2011-06-03  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: [Chromium] cpu-profiler-profiling layout test is flaky on Linux Debug.
        https://bugs.webkit.org/show_bug.cgi?id=61533

        Skip cpu-profiler-profiling in debug, implement a fast headless alternative.

        * WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp:
        (WKBundleInspectorSetJavaScriptProfilingEnabled):
        * WebProcess/InjectedBundle/API/c/WKBundleInspector.h:
        * WebProcess/WebPage/WebInspector.cpp:
        (WebKit::WebInspector::setJavaScriptProfilingEnabled):
        * WebProcess/WebPage/WebInspector.h:

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

10 years ago2011-06-03 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Fri, 3 Jun 2011 12:43:26 +0000 (12:43 +0000)]
2011-06-03  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Andreas Kling.

        Incorrect embedded document replaced size calculation for box-sizing: border-box
        https://bugs.webkit.org/show_bug.cgi?id=62007

        When using <object style="box-sizing: border-box" data="foo.svg"/> to embed foo.svg
        which has an intrinsic width/height, the embedded document intrinsic size is incorrect.

        * platform/mac/svg/as-image/img-preserveAspectRatio-support-2-expected.png: Added.
        * platform/mac/svg/as-image/img-preserveAspectRatio-support-2-expected.txt: Added.
        * platform/mac/svg/as-object: Added.
        * platform/mac/svg/as-object/object-box-sizing-no-width-height-expected.png: Added.
        * platform/mac/svg/as-object/object-box-sizing-no-width-height-expected.txt: Added.
        * svg/as-image/img-preserveAspectRatio-support-2.html: Added.
        * svg/as-image/resources/circle-default-default.svg: Added.
        * svg/as-object: Added.
        * svg/as-object/object-box-sizing-no-width-height.html: Added.

2011-06-03  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Andreas Kling.

        Incorrect embedded document replaced size calculation for box-sizing: border-box
        https://bugs.webkit.org/show_bug.cgi?id=62007

        When using <object style="box-sizing: border-box" data="foo.svg"/> to embed foo.svg
        which has an intrinsic width/height, the embedded document intrinsic size is incorrect.

        RenderPart::computeEmbeddedDocumentReplacedWidth/Height has to ask the content renderer for the replaced width/height not ourselves.

        Tests: svg/as-image/img-preserveAspectRatio-support-2.html
               svg/as-object/object-box-sizing-no-width-height.html

        * rendering/RenderPart.cpp:
        (WebCore::RenderPart::computeEmbeddedDocumentReplacedWidth):
        (WebCore::RenderPart::computeEmbeddedDocumentReplacedHeight):

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

10 years ago2011-06-03 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Fri, 3 Jun 2011 12:36:45 +0000 (12:36 +0000)]
2011-06-03  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88004.
        http://trac.webkit.org/changeset/88004
        https://bugs.webkit.org/show_bug.cgi?id=62008

        This patch broke 4 tests in the GTK bots (Requested by
        msanchez on #webkit).

        * platform/gtk/accessibility/caret-browsing-anchor-followed-expected.txt: Removed.
        * platform/gtk/accessibility/caret-browsing-anchor-followed.html: Removed.
2011-06-03  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88004.
        http://trac.webkit.org/changeset/88004
        https://bugs.webkit.org/show_bug.cgi?id=62008

        This patch broke 4 tests in the GTK bots (Requested by
        msanchez on #webkit).

        * accessibility/gtk/AXObjectCacheAtk.cpp:
        (WebCore::AXObjectCache::handleScrolledToAnchor):

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

10 years ago2011-06-03 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Fri, 3 Jun 2011 12:11:19 +0000 (12:11 +0000)]
2011-06-03  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Andreas Kling.

        Zooming <object style="width/height: auto" data="foo.svg"/> doesn't work as expected
        https://bugs.webkit.org/show_bug.cgi?id=62005

        Zooming an object with auto size, that references a svg with fixed size was broken. The svg size stayed the same.
        Added new tests covering this zooming.

        * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png:
        * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt:
        * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png:
        * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt:
        * platform/mac/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png: Added.
        * platform/mac/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Added.
        * svg/zoom/page/resources/circle.svg: Added.
        * svg/zoom/page/zoom-svg-through-object-with-auto-size.html: Added.

2011-06-03  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Andreas Kling.

        Zooming <object style="width/height: auto" data="foo.svg"/> doesn't work as expected
        https://bugs.webkit.org/show_bug.cgi?id=62005

        Zooming an object with auto size, that references a svg with fixed size was broken. The svg size stayed the same.
        Get rid of the dependency between RenderSVGRoot and SVGSVGElement::currentScale(), always ask for the effective
        zoom in the RenderStyle instead of asking SVGSVGElement.

        The SVGSVGElement::currentScale()/setCurrentScale() methods are now only used when called from the bindings (eg. JS).
        They only take effect on the outermost <svg> element in standalone documents, otherwhise they are no-ops.

        Test: svg/zoom/page/zoom-svg-through-object-with-auto-size.html

        * rendering/svg/RenderSVGRoot.cpp:
        (WebCore::RenderSVGRoot::computeIntrinsicWidth):
        (WebCore::RenderSVGRoot::computeIntrinsicHeight):
        (WebCore::RenderSVGRoot::localToBorderBoxTransform):
        * svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::SVGSVGElement):
        (WebCore::SVGSVGElement::currentScale):
        (WebCore::SVGSVGElement::setCurrentScale):
        * svg/SVGSVGElement.h:

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

10 years ago2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Fri, 3 Jun 2011 12:04:22 +0000 (12:04 +0000)]
2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Benjamin Poulain.

        [Qt] Build fix of QtWebKit 2.2 when inside Qt tree with GCC 4.6.
        https://bugs.webkit.org/show_bug.cgi?id=61957

        When building inside the Qt source tree, qmake always append the mkspecs
        defines after ours. We have to workaround and make sure that we append
        our flags after the qmake variable used inside Qt. This workaround was provided
        by our qmake folks. We need to append in both case because qmake behave differently
        when called with -spec or via SUBDIR+=.

        * Source/WebKit.pri:
2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Benjamin Poulain.

        [Qt] Build fix of QtWebKit 2.2 when inside Qt tree with GCC 4.6.
        https://bugs.webkit.org/show_bug.cgi?id=61957

        When building inside the Qt source tree, qmake always append the mkspecs
        defines after ours. We have to workaround and make sure that we append
        our flags after the qmake variable used inside Qt. This workaround was provided
        by our qmake folks. We need to append in both case because qmake behave differently
        when called with -spec or via SUBDIR+=. This patch unbreak r87950 on Mac for Qt port.

        * JavaScriptCore.pro:

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

10 years ago[Qt][WK2] Update platform specific expected file after r87873.
ossy@webkit.org [Fri, 3 Jun 2011 11:20:37 +0000 (11:20 +0000)]
[Qt][WK2] Update platform specific expected file after r87873.

* platform/qt-wk2/fast/events/overflow-viewport-renderer-deleted-expected.txt: Added.

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

10 years ago2011-06-03 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Fri, 3 Jun 2011 11:10:29 +0000 (11:10 +0000)]
2011-06-03  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Martin Robinson.

        Focus and caret position should be updated when same-page links are followed
        https://bugs.webkit.org/show_bug.cgi?id=59737

        Update the caret position to the anchor's position after scrolling.

        This behavior is specific to the Gtk port and requested because of
        accessibility needs, that's why it's implemented in AXObjectCache.

        Test: platform/gtk/accessibility/caret-browsing-anchor-followed.html

        * accessibility/gtk/AXObjectCacheAtk.cpp:
        (WebCore::AXObjectCache::handleScrolledToAnchor): Make sure the
        caret is updated to be in the anchor's position after scrolling.

2011-06-03  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Martin Robinson.

        Focus and caret position should be updated when same-page links are followed
        https://bugs.webkit.org/show_bug.cgi?id=59737

        New layout test for testing this GTK-specific feature.

        * platform/gtk/accessibility/caret-browsing-anchor-followed-expected.txt: Added.
        * platform/gtk/accessibility/caret-browsing-anchor-followed.html: Added.

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

10 years ago2011-06-03 Dominic Cooney <dominicc@chromium.org>
dominicc@chromium.org [Fri, 3 Jun 2011 10:35:54 +0000 (10:35 +0000)]
2011-06-03  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Kent Tamura.

        Adds a test that keygen clones have the right shadow pseudoclass.
        https://bugs.webkit.org/show_bug.cgi?id=61984

        * fast/html/clone-keygen-expected.txt: Added.
        * fast/html/clone-keygen.html: Added.
        * platform/win/Skipped: Test needs DRT functionality not in this port.
2011-06-03  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Kent Tamura.

        Cloned keygen shadows should have -webkit-keygen-select pseudoclass.
        https://bugs.webkit.org/show_bug.cgi?id=61984

        When cloneNode's tag name-based cloning algorithm clones the
        KeygenSelectElements of a keygen shadow as select elements. These
        lack the -webkit-keygen-select pseudoclass.

        Test: fast/html/clone-keygen.html

        * html/HTMLKeygenElement.cpp:
        (WebCore::KeygenSelectElement::cloneElementWithoutAttributesAndChildren): Create a KeygenSelectElement when being cloned.

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

10 years ago2011-06-02 MORITA Hajime <morrita@google.com>
morrita@google.com [Fri, 3 Jun 2011 10:31:13 +0000 (10:31 +0000)]
2011-06-02  MORITA Hajime  <morrita@google.com>

        Unreviewed ChangeLog fix.

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

10 years ago2011-06-03 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Fri, 3 Jun 2011 10:08:00 +0000 (10:08 +0000)]
2011-06-03  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, skipping test with different results in 32-bit and 64-bit.

        * platform/gtk/Skipped: Skipped test.

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

10 years ago2011-06-03 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Fri, 3 Jun 2011 10:05:24 +0000 (10:05 +0000)]
2011-06-03  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Unref the SoupSession used by WebKitGtk+ at exit
        https://bugs.webkit.org/show_bug.cgi?id=60165

        WebKitGtk+ creates a SoupSession instance to handle network stuff
        that is never freed. We should unref that object at exit time.

        * webkit/webkitglobals.cpp:
        (webkitExit):
        (webkitInit):

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

10 years ago[Qt] Update platform specific expected files after r87873.
ossy@webkit.org [Fri, 3 Jun 2011 09:53:09 +0000 (09:53 +0000)]
[Qt] Update platform specific expected files after r87873.

* platform/qt/fast/events/overflow-viewport-renderer-deleted-expected.txt: Added.
* platform/qt/plugins/document-open-expected.txt: Added.

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

10 years ago[Qt][V8] build fix.
pvarga@webkit.org [Fri, 3 Jun 2011 08:57:49 +0000 (08:57 +0000)]
[Qt][V8] build fix.

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

10 years ago2011-06-03 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Fri, 3 Jun 2011 08:36:53 +0000 (08:36 +0000)]
2011-06-03  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed. Test rebaseline for GTK after revision 87936.

        * platform/gtk/fast/repaint/repaint-across-writing-mode-boundary-expected.txt:

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

10 years ago2011-06-03 Dominic Cooney <dominicc@chromium.org>
dominicc@chromium.org [Fri, 3 Jun 2011 08:36:04 +0000 (08:36 +0000)]
2011-06-03  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Kent Tamura.

        Adds a test that range input clones have the right kind of slider.
        https://bugs.webkit.org/show_bug.cgi?id=61982

        * fast/html/clone-range-expected.txt: Added.
        * fast/html/clone-range.html: Added.
        * platform/win/Skipped: Test needs DRT functionality not in this port.
2011-06-03  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Kent Tamura.

        Cloned range input sliders should be SliderThumbElements, not divs.
        https://bugs.webkit.org/show_bug.cgi?id=61982

        Test: fast/html/clone-range.html

        * html/shadow/SliderThumbElement.h:
        (WebCore::SliderThumbElement::cloneElementWithoutAttributesAndChildren): Create a SliderThumbElement when being cloned.

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

10 years ago2011-06-03 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Fri, 3 Jun 2011 08:22:42 +0000 (08:22 +0000)]
2011-06-03  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Csaba Osztrogon√°c.

        [Qt] Organize the disabled features section in the Skipped list
        https://bugs.webkit.org/show_bug.cgi?id=61994

        Move all the tests for disabled features under the "Disabled
        features" section in the Skipped list. Use the name of the build flags to
        identify the features for better tracking.

        * platform/qt/Skipped:

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

10 years ago2011-06-03 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Fri, 3 Jun 2011 07:47:41 +0000 (07:47 +0000)]
2011-06-03  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, unskipping tests, now passing after reverting r87901.

        * platform/gtk/Skipped: Unskipped 3 tests.

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

10 years ago2011-06-02 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Fri, 3 Jun 2011 07:23:53 +0000 (07:23 +0000)]
2011-06-02  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: add an option for automatically attaching to new workers
        https://bugs.webkit.org/show_bug.cgi?id=61930

        Worker list is extended with a checkbox that makes inspector attach to each
        new worker. Whenever a new worker context starts a new inspector window will
        be opened for it.

        Also worker agent and worker list will be updated when worker context is terminated.

        * inspector/Inspector.json:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::InspectorController):
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::workerContextTerminatedImpl):
        * inspector/InspectorInstrumentation.h:
        (WebCore::InspectorInstrumentation::workerContextTerminated):
        * inspector/InspectorWorkerAgent.cpp:
        (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::~WorkerFrontendChannel):
        (WebCore::InspectorWorkerAgent::create):
        (WebCore::InspectorWorkerAgent::InspectorWorkerAgent):
        (WebCore::InspectorWorkerAgent::clearFrontend):
        (WebCore::InspectorWorkerAgent::setAutoconnectToWorkers):
        (WebCore::InspectorWorkerAgent::didStartWorkerContext):
        (WebCore::InspectorWorkerAgent::workerContextTerminated):
        * inspector/InspectorWorkerAgent.h:
        * inspector/front-end/WorkerManager.js:
        (WebInspector.WorkerManager.prototype._workerCreated):
        (WebInspector.WorkerManager.prototype._workerTerminated):
        (WebInspector.WorkerManager.prototype.openWorkerInspector):
        (WebInspector.WorkerManager.prototype._openInspectorWindow):
        (WebInspector.WorkerManager.prototype.reset):
        (WebInspector.WorkerMessageForwarder.prototype.workerCreated):
        (WebInspector.WorkerMessageForwarder.prototype.workerTerminated):
        * inspector/front-end/WorkersSidebarPane.js:
        (WebInspector.WorkerListSidebarPane):
        (WebInspector.WorkerListSidebarPane.prototype._workerAdded):
        (WebInspector.WorkerListSidebarPane.prototype._workerRemoved):
        (WebInspector.WorkerListSidebarPane.prototype._workersCleared):
        (WebInspector.WorkerListSidebarPane.prototype._addWorker):
        (WebInspector.WorkerListSidebarPane.prototype._workerItemClicked):
        (WebInspector.WorkerListSidebarPane.prototype._autoattachToWorkersClicked):
        * inspector/front-end/inspector.js:
        (WebInspector.reset):
2011-06-02  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: add an option for automatically attaching to new workers
        https://bugs.webkit.org/show_bug.cgi?id=61930

        Notification about worker context termination are now sent to the inspector.

        * src/WebWorkerClientImpl.cpp:
        (WebKit::WebWorkerClientImpl::terminateWorkerContext):
        (WebKit::WebWorkerClientImpl::disconnectFromInspector):
        (WebKit::WebWorkerClientImpl::workerContextDestroyed):

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

10 years ago2011-06-02 Hayato Ito <hayato@chromium.org>
hayato@chromium.org [Fri, 3 Jun 2011 05:17:28 +0000 (05:17 +0000)]
2011-06-02  Hayato Ito  <hayato@chromium.org>

        Reviewed by Ryosuke Niwa.

        Show a shadow root node itself in Node::traverseNextNodeAcrossFrame.
        https://bugs.webkit.org/show_bug.cgi?id=61992

        It's better to show a shadow root node itself for debugging.
        Skipping it didn't add any values.

        No new tests since the function is only available in debug builds.

        * dom/Node.cpp:
        (WebCore::traverseNextNodeAcrossFrame):

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

10 years ago2011-06-02 James Robinson <jamesr@chromium.org>
jamesr@google.com [Fri, 3 Jun 2011 03:12:49 +0000 (03:12 +0000)]
2011-06-02  James Robinson  <jamesr@chromium.org>

        Unreviewed, rolling out r87901.
        http://trac.webkit.org/changeset/87901
        https://bugs.webkit.org/show_bug.cgi?id=61894

        Might be responsible for performance regression on Chromium page cyclers, reverting to see...

        * loader/DocumentLoader.h:
        (WebCore::DocumentLoader::didTellClientAboutLoad):
        (WebCore::DocumentLoader::haveToldClientAboutLoad):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::loadedResourceFromMemoryCache):
        * loader/ResourceLoadNotifier.cpp:
        (WebCore::ResourceLoadNotifier::dispatchWillSendRequest):

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

10 years ago2011-06-02 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Fri, 3 Jun 2011 02:41:09 +0000 (02:41 +0000)]
2011-06-02  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch paintReplaced to use IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=61891

        Switching paintReplaced to use IntPoint to represent the paint offset instead
        of a pair of ints.

        Also renaming the IntPoint flavor of IntRect::move to moveBy to clear up the
        fact that the IntPoint is added as an offset as opposed to being relocated
        to that point.

        No tests because this is just a refactoring.

        * page/FrameView.cpp:
        (WebCore::FrameView::invalidateScrollbarRect):
        (WebCore::FrameView::convertFromRenderer):
        (WebCore::FrameView::convertToRenderer):
        * platform/ScrollView.cpp:
        (WebCore::ScrollView::wheelEvent):
        * platform/ScrollbarThemeComposite.cpp:
        (WebCore::ScrollbarThemeComposite::invalidatePart):
        * platform/graphics/gpu/Texture.cpp
        (WebCore::Texture::updateSubRect)
        * platform/graphics/IntRect.h:
        (WebCore::IntRect::moveBy):
        * platform/mac/WidgetMac.mm:
        (WebCore::Widget::paint):
        * rendering/InlineFlowBox.cpp:
        (WebCore::InlineFlowBox::paint):
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::logicalRectToPhysicalRect):
        (WebCore::RenderBlock::selectionGaps):
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::offsetFromContainer):
        (WebCore::RenderBox::computeRectForRepaint):
        (WebCore::RenderBox::localCaretRect):
        * rendering/RenderDetailsMarker.cpp:
        (WebCore::RenderDetailsMarker::paint):
        * rendering/RenderEmbeddedObject.cpp:
        (WebCore::RenderEmbeddedObject::paintReplaced):
        * rendering/RenderEmbeddedObject.h:
        * rendering/RenderHTMLCanvas.cpp:
        (WebCore::RenderHTMLCanvas::paintReplaced):
        * rendering/RenderHTMLCanvas.h:
        * rendering/RenderImage.cpp:
        (WebCore::RenderImage::paintReplaced):
        * rendering/RenderImage.h:
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::culledInlineVisualOverflowBoundingBox):
        * rendering/RenderLayer.cpp:
        (WebCore::expandClipRectForDescendantsAndReflection):
        (WebCore::RenderLayer::paintScrollCorner):
        (WebCore::RenderLayer::paintResizer):
        (WebCore::RenderLayer::paintChildLayerIntoColumns):
        (WebCore::RenderLayer::hitTestChildLayerColumns):
        (WebCore::RenderLayer::boundingBox):
        (WebCore::RenderLayer::setBackingNeedsRepaintInRect):
        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
        (WebCore::paintScrollbar):
        (WebCore::RenderLayerBacking::paintContents):
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::calculateCompositedBounds):
        (WebCore::RenderLayerCompositor::layerWillBeRemoved):
        (WebCore::paintScrollbar):
        (WebCore::RenderLayerCompositor::paintContents):
        * rendering/RenderListBox.cpp:
        (WebCore::RenderListBox::controlClipRect):
        * rendering/RenderListItem.cpp:
        (WebCore::RenderListItem::positionListMarker):
        * rendering/RenderListMarker.cpp:
        (WebCore::RenderListMarker::paint):
        * rendering/RenderReplaced.cpp:
        (WebCore::RenderReplaced::paint):
        * rendering/RenderReplaced.h:
        (WebCore::RenderReplaced::paintReplaced):
        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::computeRectForRepaint):
        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::controlClipRect):
        * rendering/RenderVideo.cpp:
        (WebCore::RenderVideo::paintReplaced):
        * rendering/RenderVideo.h:
        * rendering/RenderView.cpp:
        (WebCore::RenderView::repaintViewRectangle):

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

10 years ago2011-06-02 James Robinson <jamesr@chromium.org>
commit-queue@webkit.org [Fri, 3 Jun 2011 02:34:31 +0000 (02:34 +0000)]
2011-06-02  James Robinson  <jamesr@chromium.org>

        Reviewed by Dimitri Glazkov.

        [chromium][V8] Add trace events for timer fires and event listener dispatches
        https://bugs.webkit.org/show_bug.cgi?id=61977

        Adds TRACE_EVENT macro around timer and event listener dispatches.  When tracing (a chromium feature) is
        enabled, this allows correlating these events with painting, compositing, and everything else in chromium that
        is traced.  When tracing is disabled, this macro does nothing useful.  Trace points are very cheap when tracing
        is disabled so this should have no performance impact for non-developers.

        * bindings/v8/ScheduledAction.cpp:
        (WebCore::ScheduledAction::execute):
        * bindings/v8/V8EventListener.cpp:
        (WebCore::V8EventListener::callListenerFunction):

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

10 years ago2011-06-02 John Bates <jbates@google.com>
commit-queue@webkit.org [Fri, 3 Jun 2011 02:10:44 +0000 (02:10 +0000)]
2011-06-02  John Bates  <jbates@google.com>

        Reviewed by James Robinson.

        DrawingBufferChromium cleanup:
        - Correct FIXME comment about synchronization.
        - Remove unnecessary DrawingBufferInternal indirection struct
          and its unused offscreenColorTexture member.
        https://bugs.webkit.org/show_bug.cgi?id=61953

        * platform/graphics/chromium/DrawingBufferChromium.cpp:
        (WebCore::DrawingBuffer::DrawingBuffer):
        (WebCore::DrawingBuffer::~DrawingBuffer):
        (WebCore::DrawingBuffer::publishToPlatformLayer):
        (WebCore::DrawingBuffer::didReset):
        (WebCore::DrawingBuffer::platformLayer):
        * platform/graphics/gpu/DrawingBuffer.h:

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

10 years ago2011-06-02 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
caio.oliveira@openbossa.org [Fri, 3 Jun 2011 01:44:54 +0000 (01:44 +0000)]
2011-06-02  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] Fix enum order in qwebpage.h public API header
        https://bugs.webkit.org/show_bug.cgi?id=61959

        Since qwebpage.h is a public header, we can't change the values of
        the enumerations. This patch moves the new enumeration to the end
        of the list. As a bonus, adds a missing entry in
        editorCommandWebActions table.

        * Api/qwebpage.cpp:
        * Api/qwebpage.h:

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

10 years ago2011-06-02 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Fri, 3 Jun 2011 01:21:24 +0000 (01:21 +0000)]
2011-06-02  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: ResourceCookiesView.resize() is missing
        https://bugs.webkit.org/show_bug.cgi?id=61868

        * inspector/front-end/ResourceCookiesView.js:
        (WebInspector.ResourceCookiesView.prototype.resize):

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

10 years ago2011-06-02 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Fri, 3 Jun 2011 01:15:25 +0000 (01:15 +0000)]
2011-06-02  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        REGRESSION(r87014): Cloned text <input> doesn't work well.
        https://bugs.webkit.org/show_bug.cgi?id=61909

        * fast/forms/textfield-clone-expected.txt: Added.
        * fast/forms/textfield-clone.html: Added.
2011-06-02  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        REGRESSION(r87014): Cloned text <input> doesn't work well.
        https://bugs.webkit.org/show_bug.cgi?id=61909

        The default implementation of Element::cloneNode() creates a clone
        node by Document::createElement(). So, if a customized class is used for
        shadow nodes, cloneNode() doesn't create a node of the correct class.
        Such custom classes need to override Element::
        cloneElementWithoutAttributesAndChildren().

        TextFieldInputType and SearchInputType had references to shadow nodes
        initialized in createShadowSubtree(). However createShadowSubtree() is
        not called if the host node is cloned. The accessors for shadow nodes
        should search a shadow tree.

        Test: fast/forms/textfield-clone.html

        * html/SearchInputType.cpp:
          Remove data members for shadow nodes, and the accessors search the
          shadow tree for the requested node by TreeScope::getElementById().
        (WebCore::SearchInputType::SearchInputType):
        (WebCore::innerBlockId):
        (WebCore::resultButtonId):
        (WebCore::cancelButtonId):
        (WebCore::SearchInputType::createShadowSubtree):
        (WebCore::SearchInputType::innerBlockElement):
        (WebCore::SearchInputType::resultsButtonElement):
        (WebCore::SearchInputType::cancelButtonElement):
        * html/SearchInputType.h:
        * html/TextFieldInputType.cpp: ditto.
        (WebCore::TextFieldInputType::TextFieldInputType):
        (WebCore::TextFieldInputType::innerTextId):
        (WebCore::spinButtonId):
        (WebCore::TextFieldInputType::speechButtonId):
        (WebCore::TextFieldInputType::appendChildAndSetId):
        (WebCore::TextFieldInputType::createShadowSubtree):
        (WebCore::TextFieldInputType::getShadowElementById):
        (WebCore::TextFieldInputType::innerTextElement):
        (WebCore::TextFieldInputType::innerSpinButtonElement):
        (WebCore::TextFieldInputType::speechButtonElement):
        * html/TextFieldInputType.h:
        * html/shadow/TextControlInnerElements.cpp:
          Overrides cloneElementWithoutAttributesAndChildren() in order that cloneNode()
          produces an instance of the correct class.
        (WebCore::TextControlInnerElement::cloneElementWithoutAttributesAndChildren):
        (WebCore::TextControlInnerTextElement::cloneElementWithoutAttributesAndChildren):
        (WebCore::SearchFieldResultsButtonElement::cloneElementWithoutAttributesAndChildren):
        (WebCore::SearchFieldCancelButtonElement::cloneElementWithoutAttributesAndChildren):
        (WebCore::SpinButtonElement::cloneElementWithoutAttributesAndChildren):
        (WebCore::InputFieldSpeechButtonElement::cloneElementWithoutAttributesAndChildren):
        * html/shadow/TextControlInnerElements.h:

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

10 years ago2011-06-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 3 Jun 2011 01:13:44 +0000 (01:13 +0000)]
2011-06-02  Adam Barth  <abarth@webkit.org>

        Tweaks to which kind of failure we expect.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-05-28 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 3 Jun 2011 01:05:56 +0000 (01:05 +0000)]
2011-05-28  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] Remove PasteboardHelperGtk
        https://bugs.webkit.org/show_bug.cgi?id=61690

        Remove the virtual methods from PasteboardHelper, so that PasteboardHelperGtk
        can be removed. Since the GtkClipboard IDs are verified to be the same between
        WebKit and WebCore we no longer need to communicate from WebCore to WebKit to
        get them.

        No new tests. This is just a code refactor.

        * platform/Pasteboard.h: Remove GTK+ specific methods. They are no longer needed.
        * platform/gtk/ClipboardGtk.cpp: Remove the m_helper member and access the
        PasteboardHelper singleton directly.
        * platform/gtk/ClipboardGtk.h: Ditto.
        * platform/gtk/PasteboardGtk.cpp: Ditto.
        * platform/gtk/PasteboardHelper.cpp:
        (WebCore::removeMarkupPrefix): Remove an extra line.
        (WebCore::PasteboardHelper::defaultPasteboardHelper): Added this static getter
        for the singleton.
        (WebCore::PasteboardHelper::PasteboardHelper): Moved the contents of initTargetList here.
        (WebCore::PasteboardHelper::getCurrentClipboard): Instead of talking with WebKit to determine
        whether or not to use the primary selection clipboard, just use our new member.
        (WebCore::PasteboardHelper::fillSelectionData): Use our local enum to get the ID.
        (WebCore::PasteboardHelper::targetListForDataObject): Ditto.
        (WebCore::PasteboardHelper::dropAtomsForContext): Ditto.
        (WebCore::getClipboardContentsCallback): Ditto.
        * platform/gtk/PasteboardHelper.h: PasteboardHelper now keeps track of whether or
        not to use the primary selection clipboard internally.
        (WebCore::PasteboardHelper::setUsePrimarySelectionClipboard): Added.
        (WebCore::PasteboardHelper::usePrimarySelectionClipboard): Added.
2011-05-28  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] Remove PastboardHelperGtk
        https://bugs.webkit.org/show_bug.cgi?id=61690

        Remove PasteboardHelperGtk and talk directly to WebCore for pasteboard
        activity. This change moves the PasteboardHelper singleton from WebKit
        to WebCore.

        * GNUmakefile.am: Remove PasteboardHelperGtk from the source list.
        * WebCoreSupport/AssertMatchingEnums.cpp: Added assertions verifying that the
        WebCore versions of the GtkClipboard enums match those in the WebKit API.
        * WebCoreSupport/DragClientGtk.cpp:
        (WebKit::DragClient::startDrag): Access the pasteboard helper via a static method.
        * WebCoreSupport/EditorClientGtk.cpp:
        (WebKit::setSelectionPrimaryClipboardIfNeeded): Ditto. Call into the helper to specify
        that the current clipboard is selection primary now.
        * WebCoreSupport/PasteboardHelperGtk.cpp: Removed.
        * webkit/webkitglobals.cpp: Remove function to set and get the pasteboard helper.
        * webkit/webkitglobalsprivate.h: Ditto.
        * webkit/webkitwebview.cpp:
        (webkit_web_view_button_press_event): Access the pasteboard helper via a static method.
        (webkit_web_view_drag_data_get): Ditto.
        (webkit_web_view_drag_motion): Ditto.
        (webkit_web_view_drag_data_received): Ditto.
        (webkit_web_view_init): Ditto.
        (webkit_web_view_get_copy_target_list): Ditto.
        (webkit_web_view_get_paste_target_list): Ditto.
        * webkit/webkitwebviewprivate.h: Ditto.

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

10 years ago2011-06-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 3 Jun 2011 00:52:55 +0000 (00:52 +0000)]
2011-06-02  Adam Barth  <abarth@webkit.org>

        This process is converging (hopefully).

        * platform/chromium-mac/fast/backgrounds/svg-as-mask-expected.png: Added.

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

10 years ago2011-06-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 3 Jun 2011 00:44:59 +0000 (00:44 +0000)]
2011-06-02  Adam Barth  <abarth@webkit.org>

        Some more fallout from http://trac.webkit.org/changeset/87955, this time on Windows.

        * platform/chromium-win-vista/fast/forms/validation-message-appearance-expected.png: Removed.
        * platform/chromium-win/fast/borders/border-radius-huge-assert-expected.png:
        * platform/chromium-win/fast/forms/validation-message-appearance-expected.png:

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

10 years ago2011-06-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 3 Jun 2011 00:30:58 +0000 (00:30 +0000)]
2011-06-02  Adam Barth  <abarth@webkit.org>

        This test is flaky on Linux.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-06-02 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 3 Jun 2011 00:28:10 +0000 (00:28 +0000)]
2011-06-02  Anders Carlsson  <andersca@apple.com>

        Reviewed by Mark Rowe.

        Assert when trying to unload a module that failed to load
        https://bugs.webkit.org/show_bug.cgi?id=61980

        Remove an invalid ASSERT; it's OK for m_bundle to be null if the bundle failed to load.

        * Platform/mac/ModuleMac.mm:
        (WebKit::Module::unload):

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

10 years ago2011-06-02 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 3 Jun 2011 00:21:04 +0000 (00:21 +0000)]
2011-06-02  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        NRWT needs a way to log to a file without including backspaces without needing --verbose
        https://bugs.webkit.org/show_bug.cgi?id=60328

        This change modifies NRWT so that if it can tell if it is
        writing to a terminal, it will overwrite any messages printed
        in the 'one-line-progress' and 'updates' print options, and if
        not (or if --verbose was specified) the messages will be printed
        without backspaces.

        If the overwriting updates are disabled, one-line-progress will
        only print every 10 seconds instead of on every update. This
        ensures that we still get updates once in a while while the
        tests are running, even if we're not in --verbose mode. Note
        that one-line-progress will now still be printed in --verbose,
        since it's useful as long as you're not flooded with the
        updates.

        * Scripts/webkitpy/layout_tests/layout_package/manager.py:
        * Scripts/webkitpy/layout_tests/layout_package/printing.py:
        * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:

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

10 years ago2011-06-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 3 Jun 2011 00:16:38 +0000 (00:16 +0000)]
2011-06-02  Adam Barth  <abarth@webkit.org>

        The next round of updated baselines after
        http://trac.webkit.org/changeset/87955.  Again, these all look fine to
        visual inspection.

        * platform/chromium-mac-leopard/fast/css/shadow-multiple-expected.png: Added.
        * platform/chromium-mac/fast/backgrounds/background-leakage-expected.png: Added.
        * platform/chromium-mac/fast/backgrounds/background-leakage-transforms-expected.png: Added.
        * platform/chromium-mac/fast/backgrounds/svg-as-background-1-expected.png:
        * platform/chromium-mac/fast/backgrounds/svg-as-mask-expected.png: Removed.
        * platform/chromium-mac/fast/blockflow/border-radius-clipping-vertical-lr-expected.png:
        * platform/chromium-mac/fast/blockflow/border-styles-vertical-lr-expected.png: Added.
        * platform/chromium-mac/fast/blockflow/border-styles-vertical-rl-expected.png: Added.
        * platform/chromium-mac/fast/blockflow/border-vertical-lr-expected.png:
        * platform/chromium-mac/fast/blockflow/box-shadow-horizontal-bt-expected.png:
        * platform/chromium-mac/fast/blockflow/box-shadow-vertical-lr-expected.png:
        * platform/chromium-mac/fast/blockflow/box-shadow-vertical-rl-expected.png:
        * platform/chromium-mac/fast/borders/border-radius-circle-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-different-width-001-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-groove-01-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-groove-02-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-groove-03-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-huge-assert-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-inline-flow-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-inset-outset-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-wide-border-02-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-wide-border-03-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-wide-border-04-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-styles-split-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDashed01-expected.png:
        * platform/chromium-mac/fast/borders/borderRadiusDashed04-expected.png:
        * platform/chromium-mac/fast/borders/borderRadiusDashed05-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDashed06-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDotted02-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDotted03-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDotted04-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDotted05-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDotted06-expected.png:
        * platform/chromium-mac/fast/borders/borderRadiusDouble04-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDouble05-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDouble06-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDouble07-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDouble08-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDouble09-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusInvalidColor-expected.png: Added.
        * platform/chromium-mac/fast/borders/mixed-border-styles-radius-expected.png: Added.
        * platform/chromium-mac/fast/borders/mixed-border-styles-radius2-expected.png: Added.
        * platform/chromium-mac/fast/borders/webkit-border-radius-expected.png: Added.
        * platform/chromium-mac/fast/box-shadow/basic-shadows-expected.png:
        * platform/chromium-mac/fast/box-shadow/shadow-tiling-artifact-expected.png: Added.
        * platform/chromium-mac/fast/box-shadow/spread-expected.png:
        * platform/chromium-mac/fast/css/border-radius-non-negative-expected.png: Added.
        * platform/chromium-mac/fast/css/box-shadow-and-border-radius-expected.png: Added.
        * platform/chromium-mac/fast/css/shadow-multiple-expected.png: Added.
        * platform/chromium-mac/fast/forms/basic-selects-expected.png: Added.
        * platform/chromium-mac/fast/forms/menulist-clip-expected.png: Added.
        * platform/chromium-mac/fast/forms/menulist-option-wrap-expected.png: Added.
        * platform/chromium-mac/fast/forms/menulist-restrict-line-height-expected.png: Added.
        * platform/chromium-mac/fast/forms/menulist-separator-painting-expected.png: Added.
        * platform/chromium-mac/fast/forms/menulist-style-color-expected.png: Added.
        * platform/chromium-mac/fast/forms/select-background-none-expected.png:
        * platform/chromium-mac/fast/forms/select-baseline-expected.png: Added.
        * platform/chromium-mac/fast/forms/select-empty-option-height-expected.png: Added.
        * platform/chromium-mac/fast/forms/validation-message-appearance-expected.png: Added.
        * platform/chromium-mac/fast/repaint/shadow-multiple-horizontal-expected.png:
        * platform/chromium-mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
        * platform/chromium-mac/fast/repaint/shadow-multiple-strict-vertical-expected.png: Added.
        * platform/chromium-mac/fast/repaint/shadow-multiple-vertical-expected.png: Added.
        * platform/chromium-mac/svg/carto.net/button-expected.png: Added.

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

10 years ago2011-06-02 Aaron Colwell <acolwell@chromium.org>
commit-queue@webkit.org [Fri, 3 Jun 2011 00:01:53 +0000 (00:01 +0000)]
2011-06-02  Aaron Colwell  <acolwell@chromium.org>

        Reviewed by David Levin.

        Add mediaTimeForTimeValue() implementation.
        https://bugs.webkit.org/show_bug.cgi?id=61555

        * public/WebMediaPlayer.h:
        * src/WebMediaPlayerClientImpl.cpp:
        (WebKit::WebMediaPlayerClientImpl::mediaTimeForTimeValue):
        * src/WebMediaPlayerClientImpl.h:

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

10 years ago2011-06-02 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Thu, 2 Jun 2011 23:49:08 +0000 (23:49 +0000)]
2011-06-02  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Teach InlineBox about FloatPoint
        https://bugs.webkit.org/show_bug.cgi?id=44412

        Original patch by Eric Seidel. Updated by me.

        This is another step towards more point/size
        usage throughout the rendering tree.

        Added left(), right(), top(), and bottom() methods
        to InlineBox. Removed m_x, and m_y and replaced them
        with a single m_topLeft member.

        No new tests since this is just a refactoring.

        * rendering/EllipsisBox.cpp:
        (WebCore::EllipsisBox::paint):
        (WebCore::EllipsisBox::selectionRect):
        (WebCore::EllipsisBox::paintSelection):
        (WebCore::EllipsisBox::nodeAtPoint):
        * rendering/EllipsisBox.h:
        (WebCore::EllipsisBox::EllipsisBox):
        * rendering/InlineBox.cpp:
        (WebCore::InlineBox::adjustPosition):
        (WebCore::InlineBox::canAccommodateEllipsis):
        * rendering/InlineBox.h:
        (WebCore::InlineBox::InlineBox):
        (WebCore::InlineBox::setX):
        (WebCore::InlineBox::x):
        (WebCore::InlineBox::left):
        (WebCore::InlineBox::setY):
        (WebCore::InlineBox::y):
        (WebCore::InlineBox::top):
        (WebCore::InlineBox::topLeft):
        (WebCore::InlineBox::right):
        (WebCore::InlineBox::bottom):
        (WebCore::InlineBox::logicalLeft):
        (WebCore::InlineBox::setLogicalLeft):
        (WebCore::InlineBox::logicalTop):
        (WebCore::InlineBox::setLogicalTop):
        (WebCore::InlineBox::logicalFrameRect):
        * rendering/InlineFlowBox.h:
        (WebCore::InlineFlowBox::frameRectIncludingLineHeight):
        * rendering/InlineTextBox.cpp:
        (WebCore::InlineTextBox::placeEllipsisBox):
        (WebCore::InlineTextBox::paintTextMatchMarker):
        (WebCore::InlineTextBox::computeRectForReplacementMarker):
        * rendering/RenderText.cpp:
        (WebCore::RenderText::firstRunX):
        (WebCore::RenderText::firstRunY):
        * rendering/RenderTreeAsText.cpp:
        (WebCore::writeTextRun):
        * rendering/RootInlineBox.cpp:
        (WebCore::RootInlineBox::placeEllipsis):
        * rendering/svg/RenderSVGText.cpp:
        (WebCore::RenderSVGText::positionForPoint):
        * rendering/svg/SVGInlineTextBox.h:
        (WebCore::SVGInlineTextBox::selectionTop):
        * rendering/svg/SVGRootInlineBox.cpp:
        (WebCore::SVGRootInlineBox::closestLeafChildForPosition):

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

10 years ago2011-06-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 2 Jun 2011 23:45:48 +0000 (23:45 +0000)]
2011-06-02  Adam Barth  <abarth@webkit.org>

        First round of baseline updates after
        http://trac.webkit.org/changeset/87955 changed some floating point
        calculations for borders.  Visually, these appear to all be fine.

        * platform/chromium-gpu-linux/media/video-zoom-controls-expected.png:
        * platform/chromium-gpu-mac/media/video-zoom-controls-expected.png:
        * platform/chromium-gpu-win/media/video-zoom-controls-expected.png:
        * platform/chromium-linux-x86/fast/backgrounds: Added.
        * platform/chromium-linux-x86/fast/backgrounds/border-radius-split-background-expected.png: Added.
        * platform/chromium-linux-x86/fast/backgrounds/border-radius-split-background-image-expected.png: Added.
        * platform/chromium-linux-x86/fast/borders/border-radius-constraints-expected.png: Added.
        * platform/chromium-linux-x86/fast/borders/border-radius-split-inline-expected.png: Added.
        * platform/chromium-linux-x86/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusArcs01-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusDashed02-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusDashed03-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusDotted01-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusDouble01-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusDouble02-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusDouble03-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusGroove01-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusGroove02-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusInset01-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusOutset01-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusRidge01-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusSolid01-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusSolid02-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusSolid03-expected.png:
        * platform/chromium-linux-x86/fast/borders/borderRadiusSolid04-expected.png: Added.
        * platform/chromium-linux-x86/fast/borders/different-color-borders-expected.png: Added.
        * platform/chromium-linux-x86/fast/borders/fieldsetBorderRadius-expected.png: Added.
        * platform/chromium-linux-x86/fast/box-shadow/inset-box-shadows-expected.png: Added.
        * platform/chromium-linux-x86/fast/box-shadow/inset-expected.png: Added.
        * platform/chromium-linux-x86/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png:
        * platform/chromium-linux-x86/fast/box-shadow/spread-multiple-inset-expected.png: Added.
        * platform/chromium-linux-x86/fast/clip: Added.
        * platform/chromium-linux-x86/fast/clip/overflow-border-radius-clip-expected.png: Added.
        * platform/chromium-linux-x86/fast/css/nested-rounded-corners-expected.png: Added.
        * platform/chromium-linux-x86/fast/repaint/border-radius-repaint-expected.png:
        * platform/chromium-linux-x86/fast/transforms: Added.
        * platform/chromium-linux-x86/fast/transforms/shadows-expected.png: Added.
        * platform/chromium-linux-x86/media: Added.
        * platform/chromium-linux-x86/media/video-zoom-controls-expected.png: Added.
        * platform/chromium-linux-x86/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png: Added.
        * platform/chromium-linux-x86/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.png: Added.
        * platform/chromium-linux-x86/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.png: Added.
        * platform/chromium-linux-x86/svg/custom/dasharrayOrigin-expected.png: Added.
        * platform/chromium-linux-x86/svg/custom/fractional-rects-expected.png: Added.
        * platform/chromium-linux-x86/svg/custom/gradient-rotated-bbox-expected.png: Added.
        * platform/chromium-linux-x86/svg/custom/rounded-rects-expected.png: Added.
        * platform/chromium-linux-x86/svg/custom/svg-fonts-in-html-expected.png: Added.
        * platform/chromium-linux-x86/svg/hixie/perf/001-expected.png:
        * platform/chromium-linux-x86/svg/hixie/perf/002-expected.png:
        * platform/chromium-linux-x86/svg/wicd/rightsizing-grid-expected.png:
        * platform/chromium-linux-x86/svg/wicd/test-scalable-background-image1-expected.png:
        * platform/chromium-linux/fast/backgrounds/border-radius-split-background-expected.png:
        * platform/chromium-linux/fast/backgrounds/border-radius-split-background-image-expected.png:
        * platform/chromium-linux/fast/backgrounds/gradient-background-leakage-expected.png:
        * platform/chromium-linux/fast/borders/border-radius-constraints-expected.png:
        * platform/chromium-linux/fast/borders/border-radius-split-inline-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusArcs01-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusDashed02-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusDashed03-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusDotted01-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusDouble01-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusDouble02-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusDouble03-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusGroove01-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusGroove02-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusInset01-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusOutset01-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusRidge01-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusSolid01-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusSolid02-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusSolid03-expected.png:
        * platform/chromium-linux/fast/borders/borderRadiusSolid04-expected.png:
        * platform/chromium-linux/fast/borders/different-color-borders-expected.png:
        * platform/chromium-linux/fast/borders/fieldsetBorderRadius-expected.png:
        * platform/chromium-linux/fast/box-shadow/inset-box-shadows-expected.png:
        * platform/chromium-linux/fast/box-shadow/inset-expected.png:
        * platform/chromium-linux/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png:
        * platform/chromium-linux/fast/box-shadow/spread-multiple-inset-expected.png:
        * platform/chromium-linux/fast/clip/overflow-border-radius-clip-expected.png:
        * platform/chromium-linux/fast/css/nested-rounded-corners-expected.png:
        * platform/chromium-linux/fast/repaint/border-radius-repaint-expected.png:
        * platform/chromium-linux/fast/transforms/shadows-expected.png:
        * platform/chromium-linux/media/video-zoom-controls-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.png:
        * platform/chromium-linux/svg/custom/dasharrayOrigin-expected.png:
        * platform/chromium-linux/svg/custom/fractional-rects-expected.png:
        * platform/chromium-linux/svg/custom/gradient-rotated-bbox-expected.png:
        * platform/chromium-linux/svg/custom/rounded-rects-expected.png:
        * platform/chromium-linux/svg/custom/svg-fonts-in-html-expected.png:
        * platform/chromium-linux/svg/hixie/perf/001-expected.png:
        * platform/chromium-linux/svg/hixie/perf/002-expected.png:
        * platform/chromium-linux/svg/wicd/rightsizing-grid-expected.png:
        * platform/chromium-linux/svg/wicd/test-scalable-background-image1-expected.png:
        * platform/chromium-mac-leopard/fast/borders/border-radius-split-inline-expected.png: Added.
        * platform/chromium-mac-leopard/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png: Added.
        * platform/chromium-mac-leopard/fast/repaint/border-radius-repaint-expected.png: Added.
        * platform/chromium-mac-leopard/fast/transforms/shadows-expected.png: Added.
        * platform/chromium-mac-leopard/svg/hixie/perf: Added.
        * platform/chromium-mac-leopard/svg/hixie/perf/001-expected.png: Added.
        * platform/chromium-mac-leopard/svg/hixie/perf/002-expected.png: Added.
        * platform/chromium-mac/fast/backgrounds/border-radius-split-background-expected.png:
        * platform/chromium-mac/fast/backgrounds/border-radius-split-background-image-expected.png:
        * platform/chromium-mac/fast/backgrounds/gradient-background-leakage-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-constraints-expected.png: Added.
        * platform/chromium-mac/fast/borders/border-radius-split-inline-expected.png:
        * platform/chromium-mac/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
        * platform/chromium-mac/fast/borders/borderRadiusArcs01-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDashed02-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDashed03-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDotted01-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDouble01-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDouble02-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusDouble03-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusGroove01-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusGroove02-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusInset01-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusOutset01-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusRidge01-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusSolid01-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusSolid02-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusSolid03-expected.png: Added.
        * platform/chromium-mac/fast/borders/borderRadiusSolid04-expected.png: Added.
        * platform/chromium-mac/fast/borders/different-color-borders-expected.png: Added.
        * platform/chromium-mac/fast/borders/fieldsetBorderRadius-expected.png: Added.
        * platform/chromium-mac/fast/box-shadow/inset-box-shadows-expected.png:
        * platform/chromium-mac/fast/box-shadow/inset-expected.png: Added.
        * platform/chromium-mac/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png: Added.
        * platform/chromium-mac/fast/box-shadow/spread-multiple-inset-expected.png:
        * platform/chromium-mac/fast/clip: Added.
        * platform/chromium-mac/fast/clip/overflow-border-radius-clip-expected.png: Added.
        * platform/chromium-mac/fast/css/nested-rounded-corners-expected.png:
        * platform/chromium-mac/fast/repaint/border-radius-repaint-expected.png: Added.
        * platform/chromium-mac/fast/transforms/shadows-expected.png:
        * platform/chromium-mac/media/video-zoom-controls-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png: Added.
        * platform/chromium-mac/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.png: Added.
        * platform/chromium-mac/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.png: Added.
        * platform/chromium-mac/svg/custom/dasharrayOrigin-expected.png:
        * platform/chromium-mac/svg/custom/fractional-rects-expected.png: Added.
        * platform/chromium-mac/svg/custom/gradient-rotated-bbox-expected.png:
        * platform/chromium-mac/svg/custom/rounded-rects-expected.png: Added.
        * platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.png:
        * platform/chromium-mac/svg/hixie/perf/001-expected.png:
        * platform/chromium-mac/svg/hixie/perf/002-expected.png:
        * platform/chromium-mac/svg/wicd: Added.
        * platform/chromium-mac/svg/wicd/rightsizing-grid-expected.png: Added.
        * platform/chromium-mac/svg/wicd/test-scalable-background-image1-expected.png: Added.
        * platform/chromium-win-vista/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png:
        * platform/chromium-win-vista/svg/wicd/rightsizing-grid-expected.png: Removed.
        * platform/chromium-win-vista/svg/wicd/test-scalable-background-image1-expected.png: Removed.
        * platform/chromium-win-xp/fast/transforms/shadows-expected.png: Removed.
        * platform/chromium-win/fast/backgrounds/border-radius-split-background-expected.png:
        * platform/chromium-win/fast/backgrounds/border-radius-split-background-image-expected.png:
        * platform/chromium-win/fast/backgrounds/gradient-background-leakage-expected.png:
        * platform/chromium-win/fast/borders/border-radius-constraints-expected.png:
        * platform/chromium-win/fast/borders/border-radius-split-inline-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusArcs01-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusDashed02-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusDashed03-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusDotted01-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusDouble01-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusDouble02-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusDouble03-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusGroove01-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusGroove02-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusInset01-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusOutset01-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusRidge01-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusSolid01-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusSolid02-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusSolid03-expected.png:
        * platform/chromium-win/fast/borders/borderRadiusSolid04-expected.png:
        * platform/chromium-win/fast/borders/different-color-borders-expected.png:
        * platform/chromium-win/fast/borders/fieldsetBorderRadius-expected.png:
        * platform/chromium-win/fast/box-shadow/inset-box-shadows-expected.png:
        * platform/chromium-win/fast/box-shadow/inset-expected.png:
        * platform/chromium-win/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png:
        * platform/chromium-win/fast/box-shadow/spread-multiple-inset-expected.png:
        * platform/chromium-win/fast/clip/overflow-border-radius-clip-expected.png:
        * platform/chromium-win/fast/css/nested-rounded-corners-expected.png:
        * platform/chromium-win/fast/repaint/border-radius-repaint-expected.png:
        * platform/chromium-win/fast/transforms/shadows-expected.png:
        * platform/chromium-win/media/video-zoom-controls-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.png:
        * platform/chromium-win/svg/custom/dasharrayOrigin-expected.png:
        * platform/chromium-win/svg/custom/fractional-rects-expected.png:
        * platform/chromium-win/svg/custom/gradient-rotated-bbox-expected.png:
        * platform/chromium-win/svg/custom/rounded-rects-expected.png:
        * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.png:
        * platform/chromium-win/svg/hixie/perf/001-expected.png:
        * platform/chromium-win/svg/hixie/perf/002-expected.png:
        * platform/chromium-win/svg/wicd/rightsizing-grid-expected.png:
        * platform/chromium-win/svg/wicd/test-scalable-background-image1-expected.png: Added.
        * platform/chromium-win/svg/wicd/test-scalable-background-image1-expected.txt: Added.

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

10 years ago2011-06-02 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 2 Jun 2011 23:02:28 +0000 (23:02 +0000)]
2011-06-02  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Need a way to install the memory pressure handler without initializing WebKit1
        https://bugs.webkit.org/show_bug.cgi?id=61975

        Add a WebInstallMemoryPressureHandler function which will install the memory pressure handler.
        -[WebView WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:] will do this,
        but we'd like to be able to install a memory pressure handler without creating a WebView or even
        calling any WebView method since that will call +[WebView initialize].

        * WebKit.exp:
        * WebView/WebView.mm:
        (WebInstallMemoryPressureHandler):
        * WebView/WebViewPrivate.h:

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

10 years agoUpdate the behavior of multiple reads for FileReader
jianli@chromium.org [Thu, 2 Jun 2011 22:26:10 +0000 (22:26 +0000)]
Update the behavior of multiple reads for FileReader
https://bugs.webkit.org/show_bug.cgi?id=61793

Reviewed by David Levin.

Source/WebCore:

Changed to throw an OperationNotAllowedException with the NOT_ALLOWED_ERR
status code on any of the read methods that occur when readyState = LOADING.
Otherwise, calling any of the read methods should work.

Test: fast/files/read-file-async.html

* CodeGenerators.pri:
* DerivedSources.cpp:
* DerivedSources.make:
* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSDOMBinding.cpp:
(WebCore::setDOMException):
* bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::setDOMException):
* dom/ExceptionCode.cpp:
(WebCore::getExceptionCodeDescription):
* dom/ExceptionCode.h:
* fileapi/FileReader.cpp:
(WebCore::FileReader::FileReader):
(WebCore::FileReader::hasPendingActivity):
(WebCore::FileReader::readAsArrayBuffer):
(WebCore::FileReader::readAsBinaryString):
(WebCore::FileReader::readAsText):
(WebCore::FileReader::readAsDataURL):
(WebCore::FileReader::readInternal):
(WebCore::FileReader::abort):
(WebCore::FileReader::doAbort):
(WebCore::FileReader::terminate):
(WebCore::FileReader::start):
(WebCore::FileReader::didStartLoading):
(WebCore::FileReader::didFinishLoading):
(WebCore::FileReader::didFail):
* fileapi/FileReader.h:
(WebCore::FileReader::readyState):
* fileapi/FileReader.idl:
* fileapi/OperationNotAllowedException.h: Added.
(WebCore::OperationNotAllowedException::create):
(WebCore::OperationNotAllowedException::OperationNotAllowedException):
* fileapi/OperationNotAllowedException.idl: Added.

LayoutTests:

Added test cases to cover calling read methods multiple times.

* fast/files/read-file-async-expected.txt:
* fast/files/resources/read-file-test-cases.js:
(ensureInitialized):
(runNextTest):
(testMultipleReads):
(testReuseReaderStep1):
(testReuseReaderStep2):
* fast/files/workers/worker-read-file-async-expected.txt:

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

10 years ago2011-06-02 Adrienne Walker <enne@google.com>
enne@google.com [Thu, 2 Jun 2011 22:14:03 +0000 (22:14 +0000)]
2011-06-02  Adrienne Walker  <enne@google.com>

        Reviewed by James Robinson.

        [chromium] Compositor HUD should respect mapTexSubImage2D returning NULL
        https://bugs.webkit.org/show_bug.cgi?id=61954

        * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
        (WebCore::CCHeadsUpDisplay::draw):

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

10 years ago<rdar://problem/9539920> and https://bugs.webkit.org/show_bug.cgi?id=61950
beidson@apple.com [Thu, 2 Jun 2011 22:03:49 +0000 (22:03 +0000)]
<rdar://problem/9539920> and https://bugs.webkit.org/show_bug.cgi?id=61950
Repro crash loading certain webarchives after r87566.

Reviewed by Oliver Hunt.

Source/WebCore:

Test: webarchive/loading/javascript-url-iframe-crash.html

* bindings/ScriptControllerBase.cpp:
(WebCore::ScriptController::executeIfJavaScriptURL): DocumentWriter::replaceDocument can
  cause the DocumentLoader to be destroyed, so protect it with a Ref here.

LayoutTests:

* webarchive/loading/javascript-url-iframe-crash-expected.txt: Added.
* webarchive/loading/javascript-url-iframe-crash.html: Added.
* webarchive/loading/resources/javascript-url-iframe-crash.webarchive: Added.

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

10 years ago2011-06-02 Jay Civelli <jcivelli@chromium.org>
jcivelli@chromium.org [Thu, 2 Jun 2011 21:59:29 +0000 (21:59 +0000)]
2011-06-02  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by Adam Barth.

        Added a method to generate RFC 2822 compliant date strings.
        https://bugs.webkit.org/show_bug.cgi?id=7169

        * wtf/DateMath.cpp:
        (WTF::twoDigitStringFromNumber):
        (WTF::makeRFC2822DateString):
        * wtf/DateMath.h:
2011-06-02  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by Adam Barth.

        Adding MHTML generation support to MHTMLArchive.
        https://bugs.webkit.org/show_bug.cgi?id=7169

        * loader/archive/mhtml/MHTMLArchive.cpp:
        (WebCore::generateRandomBoundary):
        (WebCore::replaceNonPrintableCharacters):
        (WebCore::MHTMLArchive::generateMHTMLData):
        * loader/archive/mhtml/MHTMLArchive.h:
        * page/PageSerializer.cpp:
        (WebCore::PageSerializer::serializeFrame):
        (WebCore::PageSerializer::serializeCSSStyleSheet):
        * platform/SharedBuffer.cpp:
        (WebCore::SharedBuffer::append):
        * platform/SharedBuffer.h:
2011-06-02  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by Adam Barth.

        Adding MHTML generation support to MHTMLArchive.
        https://bugs.webkit.org/show_bug.cgi?id=7169

        * public/WebPageSerializer.h:
        * src/WebPageSerializer.cpp:
        (WebKit::WebPageSerializer::serializeToMHTML):

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

10 years ago2011-06-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 2 Jun 2011 21:50:34 +0000 (21:50 +0000)]
2011-06-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] autogen.sh is run twice for each buld on the bots
        https://bugs.webkit.org/show_bug.cgi?id=61951

        * Scripts/webkitdirs.pm: Only check the previous autotools arguments
        for the WebKit project. This prevents build-jsc runs from forcing subsequent
        build-webkit runs to re-rerun autogen.sh.

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

10 years ago2011-06-02 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 2 Jun 2011 21:45:00 +0000 (21:45 +0000)]
2011-06-02  Tony Chang  <tony@chromium.org>

        [chromium] mark media/audio-delete-while-slider-thumb-clicked.html as passing
        https://bugs.webkit.org/show_bug.cgi?id=61967

        This test is passing now that we get proper click events on the
        slider and we no longer use absolute positions on the slider.  The
        test was updated in r78562 while it was disabled, so the chromium
        results were stale (thus I'm deleting them).

        * platform/chromium-win/media/audio-delete-while-slider-thumb-clicked-expected.txt: Removed.
        * platform/chromium/test_expectations.txt:

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

10 years ago2011-06-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 2 Jun 2011 21:43:40 +0000 (21:43 +0000)]
2011-06-02  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Andreas Kling.

        Share Path code that uses beziers to construct a rounded rect
        https://bugs.webkit.org/show_bug.cgi?id=61960

        Have two methods in Path that construct beziers for rounded
        rects to share the same code.

        Make gCircleControlPoint a little more precise, and add
        a comment describing its derivation.

        Make use of FloatRect::maxX() and maxY().

        * platform/graphics/Path.cpp:
        (WebCore::Path::addRoundedRect):
        (WebCore::Path::addBeziersForRoundedRect):
        * platform/graphics/Path.h:

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

10 years ago2011-06-02 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Thu, 2 Jun 2011 21:41:42 +0000 (21:41 +0000)]
2011-06-02  Stephen White  <senorblanco@chromium.org>

        Reviewed by Andreas Kling.

        Fix layout test compositing/images/direct-svg-image.html.
        https://bugs.webkit.org/show_bug.cgi?id=61966

        Change this test to get SVG resources from their new, post-r87782
        location (svg/as-image).

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

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

10 years ago2011-06-02 Sheriff Bot <webkit.review.bot@gmail.com>
abarth@webkit.org [Thu, 2 Jun 2011 21:36:45 +0000 (21:36 +0000)]
2011-06-02  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r87946.
        http://trac.webkit.org/changeset/87946
        https://bugs.webkit.org/show_bug.cgi?id=61965

        Cause NRWT to break (Requested by abarth|gardener on #webkit).

        * Scripts/webkitpy/layout_tests/layout_package/worker.py:

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

10 years ago2011-06-02 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 2 Jun 2011 21:35:16 +0000 (21:35 +0000)]
2011-06-02  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Enrica Casucci.

        ApplyStyleCommand shouldn't call collapseTextDecorationProperties
        https://bugs.webkit.org/show_bug.cgi?id=61887

        Removed the call to collapseTextDecorationProperties in ApplyStyleCommand::applyInlineStyle.

        No new tests because this is a code refactoring.

        * editing/ApplyStyleCommand.cpp:
        (WebCore::ApplyStyleCommand::applyInlineStyle): No loner calls collapseTextDecorationProperties.
        (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): Updated comment.
        * editing/EditingStyle.cpp:
        (WebCore::HTMLElementEquivalent::propertyExistsInStyle): Added to check both text-decoration
        and -webkit-text-decorations-in-effect.
        (WebCore::HTMLTextDecorationEquivalent::HTMLTextDecorationEquivalent): Added a comment.
        (WebCore::HTMLTextDecorationEquivalent::propertyExistsInStyle): Checks both text-decoration
        and -webkit-text-decorations-in-effect.
        (WebCore::HTMLTextDecorationEquivalent::valueIsPresentInStyle): Checks if a text decoration
        is present in -webkit-text-decorations-in-effect or text-decoration preferring the former.
        (WebCore::EditingStyle::conflictsWithInlineStyleOfElement): Merged loops for when conflictingProperties
        is false and true. Added a support for -webkit-text-decorations-in-effect.

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

10 years ago2011-06-02 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 2 Jun 2011 21:29:46 +0000 (21:29 +0000)]
2011-06-02  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Make more functions static local in EventHandlers.cpp
        https://bugs.webkit.org/show_bug.cgi?id=58503

        Removed canHandleDragAndDropForTarget and made focusDirectionForKey local to EventHandler.cpp.

        * page/EventHandler.cpp:
        (WebCore::targetIsFrame): Extracted from canHandleDragAndDropForTarget.
        (WebCore::EventHandler::updateDragAndDrop): Calls contentFrameForTarget instead of canHandleDragAndDropForTarget.
        (WebCore::EventHandler::cancelDragAndDrop): Ditto.
        (WebCore::EventHandler::performDragAndDrop): Ditto.
        (WebCore::focusDirectionForKey): No longer a member function of EventHandler class.
        (WebCore::handleKeyboardSelectionMovement): No longer a member function of EventHandler class; also calls
        focusDirectionForKey instead of manually comparing.
        * page/EventHandler.h:

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

10 years ago2011-06-02 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Thu, 2 Jun 2011 20:37:58 +0000 (20:37 +0000)]
2011-06-02  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] Build fix of QtWebKit 2.2 when inside Qt tree with GCC 4.6.
        https://bugs.webkit.org/show_bug.cgi?id=61957

        When building inside the Qt source tree, qmake always append the mkspecs
        defines after ours. We have to workaround and make sure that we append
        our flags after the qmake variable used inside Qt. This workaround was provided
        by our qmake folks.

        * Source/WebKit.pri:
2011-06-02  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] Build fix of QtWebKit 2.2 when inside Qt tree with GCC 4.6.
        https://bugs.webkit.org/show_bug.cgi?id=61957

        When building inside the Qt source tree, qmake always append the mkspecs
        defines after ours. We have to workaround and make sure that we append
        our flags after the qmake variable used inside Qt. This workaround was provided
        by our qmake folks.

        * JavaScriptCore.pro:

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

10 years ago2011-06-02 Alok Priyadarshi <alokp@chromium.org>
alokp@chromium.org [Thu, 2 Jun 2011 20:20:34 +0000 (20:20 +0000)]
2011-06-02  Alok Priyadarshi  <alokp@chromium.org>

        Reviewed by James Robinson.

        [chromium] Things jump around when selecting anything on the page
        https://bugs.webkit.org/show_bug.cgi?id=61639

        WebCore::LayerTextureUpdaterSkPicture::updateTextureRect was not updating a tile sub-region properly.
        It did not consider dest-rect when selecting the clip and translation required to draw the content-rect into dest-rect.
        Also removed clearing of framebuffer because it used to clear the whole tile not just dest-rect.
        An appropriate viewport could be set to just clear the dest-rect, but it was debug only code and I did not want to mess
        with the viewport set by skia.

        No new tests. This case should be covered by most of the layout tests (pixel) targeting selection or hovering when chromium is run in compositing mode.
        Here is a non-exhaustive list of existing tests covering this case.
        Test: editing/selection/14971.html (existing)
              editing/selection/3690703-2.html (existing)
              editing/selection/4402375.html (existing)
              editing/selection/4818145.html (existing)

        * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
        (WebCore::LayerTextureUpdaterSkPicture::updateTextureRect):
        (WebCore::LayerTextureUpdaterSkPicture::createFrameBuffer):
        * platform/graphics/chromium/LayerTextureUpdaterCanvas.h:

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

10 years ago2011-06-02 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 2 Jun 2011 20:15:34 +0000 (20:15 +0000)]
2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Add build logistics and plumbing for window.internals object.
        https://bugs.webkit.org/show_bug.cgi?id=60313

        * fast/dom/Window/script-tests/window-property-descriptors.js: Added internals object to list of properties to skip.
        * fast/dom/Window/window-properties.html: Ditto.
        * fast/dom/script-tests/prototype-inheritance-2.js: Ditto.
        * fast/dom/script-tests/prototype-inheritance.js: Ditto.
        * fast/harness/internals-object-expected.txt: Added.
        * fast/harness/internals-object.html: Added.
        * platform/gtk/Skipped: Skipped the newly added test until platform supports window.internals.
        * platform/mac-wk2/Skipped: Ditto.
        * platform/qt/Skipped: Ditto.
        * platform/win/Skipped: Ditto.
2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Add build logistics and plumbing for window.internals object.
        https://bugs.webkit.org/show_bug.cgi?id=60313

        Test: fast/harness/internals-object.html

        * Configurations/WebCoreTestSupport.xcconfig: Added.
        * DerivedSources.make: Added support for generating from Internals.idl.
        * WebCore.gyp/WebCore.gyp: Added new webcore_test_support library.
        * WebCore.gypi: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Added WebCoreTestSupport library.
        * testing/Internals.cpp: Added.
        * testing/Internals.h: Added.
        * testing/Internals.idl: Added.
        * testing/js/WebCoreTestSupport.cpp: Added.
        * testing/js/WebCoreTestSupport.h: Added.
        * testing/v8/WebCoreTestSupport.cpp: Added.
        * testing/v8/WebCoreTestSupport.h: Added.
2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Add build logistics and plumbing for window.internals object.
        https://bugs.webkit.org/show_bug.cgi?id=60313

        * WebKit.gyp: Added linking new webkit_test_support library.
        * public/WebTestingSupport.h: Added.
        * src/WebTestingSupport.cpp: Added.
2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Add build logistics and plumbing for window.internals object.
        https://bugs.webkit.org/show_bug.cgi?id=60313

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linking new WebCoreTestSupport library.
        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::bindJSObjectsToWindow): Added injection code.
        * DumpRenderTree/mac/FrameLoadDelegate.mm:
        (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): Ditto.

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

10 years ago2011-06-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 2 Jun 2011 20:01:35 +0000 (20:01 +0000)]
2011-06-02  Adam Barth  <abarth@webkit.org>

        More housekeep w.r.t. border-radius-clip.html.  These new image results
        look correct.  The "replaced" version is the one with the failure.

        * platform/chromium-linux-x86/fast/overflow/border-radius-clipping-expected.png: Added.
        * platform/chromium-linux/fast/overflow/border-radius-clipping-expected.png:
        * platform/chromium-mac-leopard/fast/overflow/border-radius-clipping-expected.png:
        * platform/chromium-mac/fast/overflow/border-radius-clipping-expected.png: Removed.
        * platform/chromium-win/fast/overflow/border-radius-clipping-expected.png:
        * platform/chromium/test_expectations.txt:

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

10 years ago2011-06-02 Hao Zheng <zhenghao@chromium.org>
commit-queue@webkit.org [Thu, 2 Jun 2011 20:01:02 +0000 (20:01 +0000)]
2011-06-02  Hao Zheng  <zhenghao@chromium.org>

        Reviewed by Dirk Pranke.

        Call cleanup() explicitly at the end of worker.run().
        https://bugs.webkit.org/show_bug.cgi?id=61847

        * Scripts/webkitpy/layout_tests/layout_package/worker.py:

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

10 years ago2011-06-02 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 2 Jun 2011 19:59:17 +0000 (19:59 +0000)]
2011-06-02  Anders Carlsson  <andersca@apple.com>

        Reviewed by Simon Fraser.

        Add quirk for plug-ins that return a retained CALayer
        https://bugs.webkit.org/show_bug.cgi?id=61948
        <rdar://problem/9530390>

        * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
        (WebKit::NetscapePluginModule::determineQuirks):
        Set the ReturnsRetainedCoreAnimationLayer quirk for Flash.

        * Shared/Plugins/PluginQuirks.h:
        Add ReturnsRetainedCoreAnimationLayer quirk.

        * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
        (WebKit::NPN_GetValue):
        Handle WKNVExpectsNonretainedLayer by always returning true, and also
        call NetscapePlugin::setPluginReturnsNonretainedLayer(true) to add a way
        for plug-ins to opt into returning non-retained layers even if they have
        the quirk specified.

        * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
        (WebKit::NetscapePlugin::NetscapePlugin):
        Initialize m_pluginReturnsNonretainedLayer to true.

        * WebProcess/Plugins/Netscape/NetscapePlugin.h:
        (WebKit::NetscapePlugin::setPluginReturnsNonretainedLayer):
        Add setter.

        * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
        (WebKit::NetscapePlugin::platformPostInitialize):
        If m_pluginReturnsNonretainedLayer is false, adopt the layer.

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

10 years ago2011-06-02 Aaron Colwell <acolwell@chromium.org>
commit-queue@webkit.org [Thu, 2 Jun 2011 19:58:16 +0000 (19:58 +0000)]
2011-06-02  Aaron Colwell  <acolwell@chromium.org>

        Reviewed by David Levin.

        Update chromium version
        https://bugs.webkit.org/show_bug.cgi?id=61555

        * DEPS:

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

10 years agoUnreviewed WinCairo build correction.
bfulgham@webkit.org [Thu, 2 Jun 2011 19:54:06 +0000 (19:54 +0000)]
Unreviewed WinCairo build correction.

* UIProcess/win/WebView.cpp: Don't include CG file header
when building without CoreGraphics support.

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