WebKit-https.git
8 years ago2011-05-05 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Thu, 5 May 2011 20:21:38 +0000 (20:21 +0000)]
2011-05-05  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Adam Roben.

        Block callbacks delivered during destruction
        https://bugs.webkit.org/show_bug.cgi?id=60291
        <rdar://problem/9382942>

        No new tests, tested by existing tests.

        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
        (WebCore::MediaPlayerPrivateAVFoundation::~MediaPlayerPrivateAVFoundation): Call
            setIgnoreLoadStateChanges(true) to cancel all callbacks.
        (WebCore::MediaPlayerPrivateAVFoundation::updateStates): Return immediately if
            m_ignoreLoadStateChanges is true.
        (WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification): loadStateChanged -> updateStates.
            Don't call updateStates after calling loadedTimeRangesChanged, it already does it.
        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:

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

8 years ago2011-05-05 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 5 May 2011 20:18:40 +0000 (20:18 +0000)]
2011-05-05  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        commit-queue should reject patches which fail ewses
        https://bugs.webkit.org/show_bug.cgi?id=47534

        * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
        * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
        * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:

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

8 years ago2011-05-05 Prasanth Ullattil <prasanth.ullattil@nokia.com>
commit-queue@webkit.org [Thu, 5 May 2011 20:13:54 +0000 (20:13 +0000)]
2011-05-05  Prasanth Ullattil  <prasanth.ullattil@nokia.com>

        Reviewed by Simon Hausmann.

        Install correct header files for webkit.

        Since WebKit is no longer inside Qt, we can remove the detection for
        that.

        [Qt] Install targets are not working correctly for modularized Qt and QtWebkit
        https://bugs.webkit.org/show_bug.cgi?id=57621

        * Source/sync.profile:
2011-05-05  Prasanth Ullattil  <prasanth.ullattil@nokia.com>

        Reviewed by Simon Hausmann.

        Install correct header files for webkit.

        Since WebKit is no longer inside Qt, we can remove the detection for
        that.

        [Qt] Install targets are not working correctly for modularized Qt and QtWebkit
        https://bugs.webkit.org/show_bug.cgi?id=57621

        * QtWebKit.pro:

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

8 years ago<rdar://problem/9354979> REGRESSION (r83070-r83126): Conversation takes 10 seconds...
hyatt@apple.com [Thu, 5 May 2011 20:04:01 +0000 (20:04 +0000)]
<rdar://problem/9354979> REGRESSION (r83070-r83126): Conversation takes 10 seconds to load and makes mail unresponsive

Reviewed by Darin Adler.

Culled inlines were triggering some pathological line box tree groveling that isn't even necessary.
Removed the ancient code (that used to be in RenderFlow), since it made no sense in the RenderBlock case
(it was running for inline blocks, which was definitely not even the intent) or in the RenderInline case
(the object being removed has no effect on any lines).

Also tweaked culledInlineFirstLineBox and culledInlineLastLineBox to avoid bailing if the first replaced object that
is encountered has a null inlineBoxWrapper().  Just a slight speed optimization to avoid an extra null check.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::destroy):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::destroy):
(WebCore::RenderInline::culledInlineFirstLineBox):
(WebCore::RenderInline::culledInlineLastLineBox):

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

8 years ago2011-05-05 Bharathwaaj Srinivasan <bharathwaaj.s@gmail.com>
commit-queue@webkit.org [Thu, 5 May 2011 19:21:39 +0000 (19:21 +0000)]
2011-05-05  Bharathwaaj Srinivasan  <bharathwaaj.s@gmail.com>

        Reviewed by Holger Freyther.

        Fix build-webkit --minimal.
        https://bugs.webkit.org/show_bug.cgi?id=60257

        No new tests. This is just a build fix.

        * bindings/js/JSDOMBinding.cpp:
2011-05-05  Bharathwaaj Srinivasan  <bharathwaaj.s@gmail.com>

        Reviewed by Holger Freyther.

        Fix build-webkit --minimal.
        https://bugs.webkit.org/show_bug.cgi?id=60257

        * webkit/webkitglobals.cpp:
        (webkitInit):

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

8 years ago2011-05-05 Chang Shu <cshu@webkit.org>
commit-queue@webkit.org [Thu, 5 May 2011 19:05:02 +0000 (19:05 +0000)]
2011-05-05  Chang Shu  <cshu@webkit.org>

        Reviewed by Andreas Kling.

        [Qt][WK2] Support PageGroup in QGraphicsWKView/QWKPage constructors
        https://bugs.webkit.org/show_bug.cgi?id=59638

        Unskip passed tests.

        * platform/qt-wk2/Skipped:
2011-05-05  Chang Shu  <cshu@webkit.org>

        Reviewed by Andreas Kling.

        [Qt][WK2] Support PageGroup in QGraphicsWKView/QWKPage constructors
        https://bugs.webkit.org/show_bug.cgi?id=59638

        Added private constructors for class QGraphicsWKView and QWKPage to support
        WKPageGroupRef.

        * UIProcess/API/qt/qgraphicswkview.cpp:
        (QGraphicsWKView::QGraphicsWKView):
        (QGraphicsWKView::~QGraphicsWKView):
        (QGraphicsWKView::init):
        * UIProcess/API/qt/qgraphicswkview.h:
        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPagePrivate::QWKPagePrivate):
        (QWKPage::QWKPage):
        (QWKPage::~QWKPage):
        (QWKPage::init):
        * UIProcess/API/qt/qwkpage.h:
        * UIProcess/API/qt/qwkpage_p.h:
2011-05-05  Chang Shu  <cshu@webkit.org>

        Reviewed by Andreas Kling.

        [Qt][WK2] Support PageGroup in QGraphicsWKView/QWKPage constructors
        https://bugs.webkit.org/show_bug.cgi?id=59638

        1. Call QGraphicsWKView constructor with pageGroupRef.
        2. Disable setFontFamily calls as it breaks Qt test fonts.

        * WebKitTestRunner/TestController.cpp:
        (WTR::TestController::resetStateToConsistentValues):
        * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
        (WTR::WebView::WebView):
        (WTR::PlatformWebView::PlatformWebView):

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

8 years ago2011-05-05 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 5 May 2011 18:22:24 +0000 (18:22 +0000)]
2011-05-05  Adam Barth  <abarth@webkit.org>

        Roll Chromium DEPS.

        * DEPS:

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

8 years ago2011-05-05 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Thu, 5 May 2011 18:17:23 +0000 (18:17 +0000)]
2011-05-05  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Adam Roben.

        The preload attribute of the video tag is not completely implemented
        https://bugs.webkit.org/show_bug.cgi?id=43673
        <rdar://problem/9369746>

        This change implements "preload=metadata" for the AVFoundation backend.
        Tested manually with manual-tests/media-elements/video-preload.html.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize m_havePreparedToPlay.
        (WebCore::HTMLMediaElement::prepareForLoad): Ditto.
        (WebCore::HTMLMediaElement::prepareToPlay): New, tell player to prepare to play.
        (WebCore::HTMLMediaElement::seek): Call prepareToPlay when preload is less than 'auto'
            because we need to have media data loaded to seek.
        (WebCore::HTMLMediaElement::updatePlayState): Call prepareToPlay.
        * html/HTMLMediaElement.h:

        * manual-tests/media-elements/video-preload.html: Make changing urls work.

        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
        (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation):  Remove
            m_videoFrameHasDrawn and m_delayingLoad as they are no longer used.
        (WebCore::MediaPlayerPrivateAVFoundation::resumeLoad): Removed.
        (WebCore::MediaPlayerPrivateAVFoundation::load): Don't initialize m_videoFrameHasDrawn.
            Move all preload logic to setPreload, call it from here.
        (WebCore::MediaPlayerPrivateAVFoundation::prepareToPlay): Move all preload logic to
            setPreload, call it.
        (WebCore::MediaPlayerPrivateAVFoundation::duration): Don't cache duration = 0, it is
            unlikely to be correct and isn't worth caching. Use invalidTime() function.
        (WebCore::MediaPlayerPrivateAVFoundation::seeking): Use invalidTime() function.
        (WebCore::MediaPlayerPrivateAVFoundation::setNaturalSize): Add logging.
        (WebCore::MediaPlayerPrivateAVFoundation::updateStates): Update for name change AVAssetStatus
            to AssetStatus. Always create a AVPlayerItem for live streams because they can't be inspected
            without one. Set networkState to 'idle' when the playback buffer is full because that is
            a signal that AVFoundation won't do any more IO. Set readyState to 'HAVE_CURRENT_DATA'
            when the first frame is available.
        (WebCore::MediaPlayerPrivateAVFoundation::metadataLoaded): Call tracksChanged so we cache
            width, height, hasVideo, etc.
        (WebCore::MediaPlayerPrivateAVFoundation::loadedTimeRangesChanged): Use invalidTime() function.
        (WebCore::MediaPlayerPrivateAVFoundation::timeChanged): Ditto.
        (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted): Ditto.
        (WebCore::MediaPlayerPrivateAVFoundation::repaint): Don't set m_videoFrameHasDrawn, it is done
            in derived classes.
        (WebCore::MediaPlayerPrivateAVFoundation::setPreload): Centralize all logic about when to create
            AVAsset and AVPlayerItem here.
        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:

        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
        (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC): Initialize
            m_videoFrameHasDrawn.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::hasAvailableVideoFrame): New, renamed from
            videoLayerIsReadyToDisplay. Return true if we have a layer with frames available or
            if we have painted a frame to the context.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): New, create the AVAsset
            if necessary.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForCacheResource): Ditto.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): Restructure logic.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerItem): New, create AVPlayerItem.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::beginLoadingMetadata): Correct logging.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::playerItemStatus): Return "buffer full" when
            the buffer is full.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::platformDuration): Get the duration from the
            AVAsset when we haven't allocated the AVPlayerItem yet so that we can return duration
            when we only have metadata.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::assetStatus): Update for name change.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::paint): Set m_videoFrameHasDrawn.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): Get attributes from AVAsset
            when when we haven't allocated the AVPlayerItem yet so that we can report attributes
            when we only have metadata.
        (WebCore::MediaPlayerPrivateAVFoundationObjC::sizeChanged): Guard against being called before
            we have allocated the AVPlayerItem.

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

8 years ago2011-05-05 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 5 May 2011 18:14:43 +0000 (18:14 +0000)]
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::selectWordAroundCaret):
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::textInputType):
        (WebKit::WebViewImpl::caretOrSelectionBounds):
        (WebKit::WebViewImpl::caretOrSelectionRange):
        (WebKit::WebViewImpl::clearFocusedNode):
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * Api/qwebframe.cpp:
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * webkit/webkitwebview.cpp:
        (getLocationForKeyboardGeneratedContextMenu):
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebView.cpp:
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebDOMSelection.cpp:
        * WebDOMSelection.h:
        * WebKitSupport/EditorClientWx.cpp:
        * WebView.cpp:
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebView/WebFrame.mm:
        (-[WebFrame _rangeByAlteringCurrentSelection:FrameSelection::direction:granularity:]):
        * WebView/WebFrameInternal.h:
        * WebView/WebHTMLView.mm:
        * WebView/WebTextCompletionController.mm:
        (-[WebTextCompletionController doCompletion]):
        * WebView/WebView.mm:
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebCoreSupport/EditorClientHaiku.cpp:
        (WebCore::EditorClientHaiku::handleKeyboardEvent):
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebCoreSupport/EditorClientWinCE.cpp:
        (WebKit::EditorClientWinCE::handleEditingKeyboardEvent):
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebCoreSupport/EditorClientEfl.cpp:
        (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * WebCore.exp.in:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * accessibility/AccessibilityObject.cpp:
        * accessibility/AccessibilityRenderObject.cpp:
        (WebCore::AccessibilityRenderObject::visiblePositionRangeForLine):
        * accessibility/mac/AccessibilityObjectWrapper.mm:
        * bindings/objc/ExceptionHandlers.h:
        * css/CSSStyleSelector.cpp:
        * dom/ContainerNode.cpp:
        (WebCore::ContainerNode::cloneChildNodes):
        * dom/Document.cpp:
        * dom/InputElement.cpp:
        * editing/DeleteButtonController.cpp:
        * editing/EditCommand.cpp:
        * editing/EditingAllInOne.cpp:
        * editing/EditingStyle.cpp:
        * editing/Editor.cpp:
        (WebCore::Editor::canCopy):
        (WebCore::Editor::canDelete):
        (WebCore::Editor::markMisspellingsAfterTypingToWord):
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
        (WebCore::Editor::changeSelectionAfterCommand):
        (WebCore::Editor::respondToChangedSelection):
        * editing/Editor.h:
        * editing/EditorCommand.cpp:
        (WebCore::executeDeleteToMark):
        (WebCore::executeMoveBackward):
        (WebCore::executeMoveBackwardAndModifySelection):
        (WebCore::executeMoveDown):
        (WebCore::executeMoveDownAndModifySelection):
        (WebCore::executeMoveForward):
        (WebCore::executeMoveForwardAndModifySelection):
        (WebCore::executeMoveLeft):
        (WebCore::executeMoveLeftAndModifySelection):
        (WebCore::executeMovePageDown):
        (WebCore::executeMovePageDownAndModifySelection):
        (WebCore::executeMovePageUp):
        (WebCore::executeMovePageUpAndModifySelection):
        (WebCore::executeMoveRight):
        (WebCore::executeMoveRightAndModifySelection):
        (WebCore::executeMoveToBeginningOfDocument):
        (WebCore::executeMoveToBeginningOfDocumentAndModifySelection):
        (WebCore::executeMoveToBeginningOfLine):
        (WebCore::executeMoveToBeginningOfLineAndModifySelection):
        (WebCore::executeMoveToBeginningOfParagraph):
        (WebCore::executeMoveToBeginningOfParagraphAndModifySelection):
        (WebCore::executeMoveToBeginningOfSentence):
        (WebCore::executeMoveToBeginningOfSentenceAndModifySelection):
        (WebCore::executeMoveToEndOfDocument):
        (WebCore::executeMoveToEndOfDocumentAndModifySelection):
        (WebCore::executeMoveToEndOfSentence):
        (WebCore::executeMoveToEndOfSentenceAndModifySelection):
        (WebCore::executeMoveToEndOfLine):
        (WebCore::executeMoveToEndOfLineAndModifySelection):
        (WebCore::executeMoveToEndOfParagraph):
        (WebCore::executeMoveToEndOfParagraphAndModifySelection):
        (WebCore::executeMoveParagraphBackwardAndModifySelection):
        (WebCore::executeMoveParagraphForwardAndModifySelection):
        (WebCore::executeMoveUp):
        (WebCore::executeMoveUpAndModifySelection):
        (WebCore::executeMoveWordBackward):
        (WebCore::executeMoveWordBackwardAndModifySelection):
        (WebCore::executeMoveWordForward):
        (WebCore::executeMoveWordForwardAndModifySelection):
        (WebCore::executeMoveWordLeft):
        (WebCore::executeMoveWordLeftAndModifySelection):
        (WebCore::executeMoveWordRight):
        (WebCore::executeMoveWordRightAndModifySelection):
        (WebCore::executeMoveToLeftEndOfLine):
        (WebCore::executeMoveToLeftEndOfLineAndModifySelection):
        (WebCore::executeMoveToRightEndOfLine):
        (WebCore::executeMoveToRightEndOfLineAndModifySelection):
        * editing/FrameSelection.cpp: Copied from Source/WebCore/editing/SelectionController.cpp.
        (WebCore::FrameSelection::FrameSelection):
        (WebCore::FrameSelection::moveTo):
        (WebCore::FrameSelection::setSelection):
        (WebCore::FrameSelection::nodeWillBeRemoved):
        (WebCore::FrameSelection::respondToNodeModification):
        (WebCore::FrameSelection::textWillBeReplaced):
        (WebCore::FrameSelection::setIsDirectional):
        (WebCore::FrameSelection::directionOfEnclosingBlock):
        (WebCore::FrameSelection::willBeModified):
        (WebCore::FrameSelection::positionForPlatform):
        (WebCore::FrameSelection::startForPlatform):
        (WebCore::FrameSelection::endForPlatform):
        (WebCore::FrameSelection::modifyExtendingRight):
        (WebCore::FrameSelection::modifyExtendingForward):
        (WebCore::FrameSelection::modifyMovingRight):
        (WebCore::FrameSelection::modifyMovingForward):
        (WebCore::FrameSelection::modifyExtendingLeft):
        (WebCore::FrameSelection::modifyExtendingBackward):
        (WebCore::FrameSelection::modifyMovingLeft):
        (WebCore::FrameSelection::modifyMovingBackward):
        (WebCore::FrameSelection::modify):
        (WebCore::FrameSelection::xPosForVerticalArrowNavigation):
        (WebCore::FrameSelection::clear):
        (WebCore::FrameSelection::setStart):
        (WebCore::FrameSelection::setEnd):
        (WebCore::FrameSelection::setBase):
        (WebCore::FrameSelection::setExtent):
        (WebCore::FrameSelection::setCaretRectNeedsUpdate):
        (WebCore::FrameSelection::updateCaretRect):
        (WebCore::FrameSelection::caretRenderer):
        (WebCore::FrameSelection::localCaretRect):
        (WebCore::FrameSelection::absoluteBoundsForLocalRect):
        (WebCore::FrameSelection::absoluteCaretBounds):
        (WebCore::FrameSelection::caretRepaintRect):
        (WebCore::FrameSelection::recomputeCaretRect):
        (WebCore::FrameSelection::shouldRepaintCaret):
        (WebCore::FrameSelection::invalidateCaretRect):
        (WebCore::FrameSelection::paintCaret):
        (WebCore::FrameSelection::debugRenderer):
        (WebCore::FrameSelection::contains):
        (WebCore::FrameSelection::selectFrameElementInParentIfFullySelected):
        (WebCore::FrameSelection::selectAll):
        (WebCore::FrameSelection::setSelectedRange):
        (WebCore::FrameSelection::isInPasswordField):
        (WebCore::FrameSelection::caretRendersInsideNode):
        (WebCore::FrameSelection::focusedOrActiveStateChanged):
        (WebCore::FrameSelection::pageActivationChanged):
        (WebCore::FrameSelection::updateSecureKeyboardEntryIfActive):
        (WebCore::FrameSelection::setUseSecureKeyboardEntry):
        (WebCore::FrameSelection::setFocused):
        (WebCore::FrameSelection::isFocusedAndActive):
        (WebCore::FrameSelection::updateAppearance):
        (WebCore::FrameSelection::setCaretVisible):
        (WebCore::FrameSelection::clearCaretRectIfNeeded):
        (WebCore::FrameSelection::caretBlinkTimerFired):
        (WebCore::FrameSelection::notifyRendererOfSelectionChange):
        (WebCore::FrameSelection::setFocusedNodeIfNeeded):
        (WebCore::FrameSelection::paintDragCaret):
        (WebCore::FrameSelection::copyTypingStyle):
        (WebCore::FrameSelection::shouldDeleteSelection):
        (WebCore::FrameSelection::bounds):
        (WebCore::FrameSelection::getClippedVisibleTextRectangles):
        (WebCore::FrameSelection::currentForm):
        (WebCore::FrameSelection::revealSelection):
        (WebCore::FrameSelection::setSelectionFromNone):
        (WebCore::FrameSelection::shouldChangeSelection):
        (WebCore::FrameSelection::formatForDebugger):
        (WebCore::FrameSelection::showTreeForThis):
        (showTree):
        * editing/FrameSelection.h: Copied from Source/WebCore/editing/SelectionController.h.
        (WebCore::FrameSelection::typingStyle):
        (WebCore::FrameSelection::clearTypingStyle):
        (WebCore::FrameSelection::setTypingStyle):
        (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
        * editing/ModifySelectionListLevel.cpp:
        * editing/RemoveFormatCommand.cpp:
        * editing/ReplaceSelectionCommand.cpp:
        * editing/SelectionController.cpp: Removed.
        * editing/SelectionController.h: Removed.
        * editing/SetSelectionCommand.cpp:
        (WebCore::SetSelectionCommand::SetSelectionCommand):
        (WebCore::SetSelectionCommand::doApply):
        (WebCore::SetSelectionCommand::doUnapply):
        * editing/SetSelectionCommand.h:
        (WebCore::SetSelectionCommand::create):
        * editing/SpellingCorrectionCommand.cpp:
        (WebCore::SpellingCorrectionCommand::doApply):
        * editing/SpellingCorrectionController.cpp:
        (WebCore::SpellingCorrectionController::respondToUnappliedSpellCorrection):
        * editing/TypingCommand.cpp:
        (WebCore::TypingCommand::deleteKeyPressed):
        (WebCore::TypingCommand::forwardDeleteKeyPressed):
        * editing/chromium/FrameSelectionChromium.cpp: Copied from Source/WebCore/editing/chromium/SelectionControllerChromium.cpp.
        (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
        * editing/chromium/SelectionControllerChromium.cpp: Removed.
        * editing/gtk/FrameSelectionGtk.cpp: Copied from Source/WebCore/editing/gtk/SelectionControllerGtk.cpp.
        (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
        * editing/gtk/SelectionControllerGtk.cpp: Removed.
        * editing/mac/EditorMac.mm:
        (WebCore::Editor::canCopyExcludingStandaloneImages):
        * editing/mac/FrameSelectionMac.mm: Copied from Source/WebCore/editing/mac/SelectionControllerMac.mm.
        (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
        * editing/mac/SelectionControllerMac.mm: Removed.
        * editing/qt/EditorQt.cpp:
        * loader/archive/cf/LegacyWebArchive.cpp:
        * page/ContextMenuController.cpp:
        (WebCore::ContextMenuController::populate):
        * page/DOMSelection.cpp:
        (WebCore::DOMSelection::type):
        (WebCore::DOMSelection::modify):
        (WebCore::DOMSelection::addRange):
        (WebCore::DOMSelection::deleteFromDocument):
        (WebCore::DOMSelection::containsNode):
        * page/DragController.cpp:
        (WebCore::DragController::dragIsMove):
        * page/DragController.h:
        * page/EventHandler.cpp:
        (WebCore::setSelectionIfNeeded):
        (WebCore::setNonDirectionalSelectionIfNeeded):
        (WebCore::EventHandler::sendContextMenuEventForKey):
        (WebCore::EventHandler::handleKeyboardSelectionMovement):
        * page/EventHandler.h:
        * page/FocusController.cpp:
        (WebCore::clearSelectionIfNeeded):
        * page/Frame.cpp:
        (WebCore::Frame::Frame):
        * page/Frame.h:
        (WebCore::Frame::selection):
        * page/Page.cpp:
        (WebCore::Page::Page):
        * page/Page.h:
        (WebCore::Page::dragCaretController):
        * page/chromium/DragControllerChromium.cpp:
        * page/chromium/EventHandlerChromium.cpp:
        * page/win/DragControllerWin.cpp:
        * page/win/EventHandlerWin.cpp:
        * rendering/HitTestResult.cpp:
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::destroy):
        (WebCore::RenderBlock::paintCaret):
        * rendering/RenderImage.cpp:
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::destroy):
        * rendering/RenderLayer.cpp:
        * rendering/RenderListBox.cpp:
        * rendering/RenderObjectChildList.cpp:
        (WebCore::RenderObjectChildList::removeChildNode):
        * rendering/RenderTextControl.cpp:
        * rendering/RenderTextControlSingleLine.cpp:
        * rendering/RenderTheme.cpp:
        * rendering/RenderTreeAsText.cpp:
        * svg/SVGSVGElement.cpp:
        * svg/SVGTextContentElement.cpp:
        (WebCore::SVGTextContentElement::selectSubString):

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

8 years ago[WinCairo] Unreviewed build fix.
bfulgham@webkit.org [Thu, 5 May 2011 18:01:00 +0000 (18:01 +0000)]
[WinCairo] Unreviewed build fix.

* WebProcess/WebPage/win/WebPageWin.cpp:
(WebKit::WebPage::cachedResponseDataForURL): Stub out
implementation for cURL networking case.

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

8 years ago[WinCairo] unreviewed build correction.
bfulgham@webkit.org [Thu, 5 May 2011 17:54:15 +0000 (17:54 +0000)]
[WinCairo] unreviewed build correction.

* platform/network/curl/ResourceRequest.h:
Stub out the new pipelined http logic for cURL.

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

8 years ago2011-05-05 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Thu, 5 May 2011 17:49:53 +0000 (17:49 +0000)]
2011-05-05  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by David Kilzer.

        Add --only-webkit option to build-webkit
        https://bugs.webkit.org/show_bug.cgi?id=60245

        * Scripts/build-webkit: If --only-webkit was specified
        just build the WebKit project, and not its dependencies.

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

8 years ago2011-05-05 Jeff Miller <jeffm@apple.com>
jeffm@apple.com [Thu, 5 May 2011 16:57:50 +0000 (16:57 +0000)]
2011-05-05  Jeff Miller  <jeffm@apple.com>

        Reviewed by Darin Adler.

        Add didNotHandleWheelEvent callback to WKPageUIClient
        https://bugs.webkit.org/show_bug.cgi?id=60203

        * MiniBrowser/gtk/BrowserWindow.c:
        (browserWindowUIClientInit): Stub out didNotHandleWheelEvent callback.
        * MiniBrowser/mac/BrowserWindowController.m:
        (-[BrowserWindowController awakeFromNib]): Stub out didNotHandleWheelEvent callback.
        * MiniBrowser/win/BrowserView.cpp:
        (BrowserView::create): Stub out didNotHandleWheelEvent callback.
        * WebKitTestRunner/TestController.cpp:
        (WTR::TestController::createOtherPage): Stub out didNotHandleWheelEvent callback.
        (WTR::TestController::initialize): Stub out didNotHandleWheelEvent callback.
2011-05-05  Jeff Miller  <jeffm@apple.com>

        Reviewed by Darin Adler.

        Add didNotHandleWheelEvent callback to WKPageUIClient
        https://bugs.webkit.org/show_bug.cgi?id=60203

        Remove Windows-specific WebPageProxy::wheelEventNotHandled() member function and use
        didNotHandleWheelEvent callback in WKPageUIClient instead.  It turns out that just
        resending the wheel event to the parent window doesn't provide the client with enough context
        to know that WebKit has already attempted to handle the event.

        * UIProcess/API/C/WKPage.h: Added WKPageDidNotHandleWheelEventCallback typedef and didNotHandleWheelEvent to WKPageUIClient.

        * UIProcess/API/gtk/PageClientImpl.cpp:
        (WebKit::PageClientImpl::didNotHandleWheelEvent): Added, but not implemented.
        * UIProcess/API/gtk/PageClientImpl.h: Added didNotHandleWheelEvent().
        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPage::QWKPage):Stubbed out didNotHandleWheelEvent callback.

        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::didReceiveEvent): Call didNotHandleWheelEvent in WKPageUIClient if wheel event is not handled.
        * UIProcess/WebPageProxy.h: Removed wheelEventNotHandled().

        * UIProcess/WebUIClient.cpp:
        (WebKit::WebUIClient::implementsDidNotHandleWheelEvent): Added.
        (WebKit::WebUIClient::didNotHandleWheelEvent): Added.
        * UIProcess/WebUIClient.h: Added implementsDidNotHandleWheelEvent() and didNotHandleWheelEvent().

        * UIProcess/win/WebPageProxyWin.cpp: Removed wheelEventNotHandled().

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

8 years ago2011-05-05 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 5 May 2011 16:40:14 +0000 (16:40 +0000)]
2011-05-05  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Return correct GTK version for NPNVToolkit
        https://bugs.webkit.org/show_bug.cgi?id=60275

        * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
        (WebKit::NPN_GetValue): Return always 2 for NPNVToolkit in GTK
        platform.

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

8 years ago2011-05-05 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 5 May 2011 16:38:33 +0000 (16:38 +0000)]
2011-05-05  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: searching for node does not result in bringToFront call.
        https://bugs.webkit.org/show_bug.cgi?id=60222

        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.prototype.updateFocusedNode):

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

8 years ago2011-05-05 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 5 May 2011 16:07:23 +0000 (16:07 +0000)]
2011-05-05  Adam Barth  <abarth@webkit.org>

        Remove a couple stray mentions of WML that I missed before.

        * configure.ac:

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

8 years ago2011-05-05 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 5 May 2011 16:01:55 +0000 (16:01 +0000)]
2011-05-05  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Make native events code more consistent
        https://bugs.webkit.org/show_bug.cgi?id=60258

        Make all other native events code follow the current keyboard
        events approach: use a GOwnPtr for the native event, and use
        const GdkEvent* in the API. We need to implement the copy
        constructors for native events to copy the gdk events with
        gdk_event_copy().

        * Shared/NativeWebMouseEvent.h:
        (WebKit::NativeWebMouseEvent::nativeEvent):
        * Shared/NativeWebWheelEvent.h:
        (WebKit::NativeWebWheelEvent::nativeEvent):
        * Shared/gtk/NativeWebKeyboardEventGtk.cpp:
        (WebKit::NativeWebKeyboardEvent::NativeWebKeyboardEvent):
        * Shared/gtk/NativeWebMouseEventGtk.cpp:
        (WebKit::NativeWebMouseEvent::NativeWebMouseEvent):
        * Shared/gtk/NativeWebWheelEventGtk.cpp:
        (WebKit::NativeWebWheelEvent::NativeWebWheelEvent):
        * Shared/gtk/WebEventFactory.cpp:
        (WebKit::buttonForEvent):
        (WebKit::WebEventFactory::createWebMouseEvent):
        (WebKit::WebEventFactory::createWebWheelEvent):
        (WebKit::WebEventFactory::createWebKeyboardEvent):
        * Shared/gtk/WebEventFactory.h:
        * UIProcess/API/gtk/WebKitWebViewBase.cpp:
        (webkitWebViewBaseScrollEvent):

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

8 years ago2011-05-05 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Thu, 5 May 2011 15:44:42 +0000 (15:44 +0000)]
2011-05-05  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Benjamin Poulain.

        [Qt] Make QtWebKit build when using gcc 4.6.0
        https://bugs.webkit.org/show_bug.cgi?id=60265

        If QtWebKit is compiled with gcc 4.6.0 and the build is not done
        with c++0x support we need to deactivate warnings about compatibility.
        Some WebKit types have names which conflicts with upcoming c++0x
        types. If QtWebKit is built with c++0x support, WebKit has code to
        fallback to the standard type rather than the WebKit implementation.
        For example nullptr will be the one of the std if build options turns on
        c++0x support.

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

        Reviewed by Benjamin Poulain.

        [Qt] Make QtWebKit build when using gcc 4.6.0
        https://bugs.webkit.org/show_bug.cgi?id=60265

        If QtWebKit is compiled with gcc 4.6.0 or later we don't want to deactivate
        the c++0x support because it works.

        * JavaScriptCore.pro:

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

8 years ago2011-05-05 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 5 May 2011 15:40:18 +0000 (15:40 +0000)]
2011-05-05  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Module::load() should return true when g_module_open() returns a valid pointer
        https://bugs.webkit.org/show_bug.cgi?id=60261

        * Platform/gtk/ModuleGtk.cpp:
        (WebKit::Module::load):

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

8 years ago2011-05-05 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Thu, 5 May 2011 15:20:07 +0000 (15:20 +0000)]
2011-05-05  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Implement the fast font path for Qt.
        https://bugs.webkit.org/show_bug.cgi?id=51106

        Use the new QRawFont and QGlyphs APIs in Qt 4.8 to implement the fast paths for
        rendering and measurement of simple text.

        Since this is still unreleased API, it's guarded by HAVE(QRAWFONT) until the new
        classes are fully integrated into the Qt 4.8 release branch.

        * WebCore.pro: Add HAVE_QRAWFONT define (for Qt >= 4.8) and new files to build.

        * platform/graphics/Font.cpp:
        (WebCore::Font::drawText): Disable fast font path for stroked text, and when
        painting text with a shadow. (Qt-only)
        (WebCore::Font::codePath): Try to use fast font path in more cases.

        * platform/graphics/qt/FontCacheQt.cpp:
        (WebCore::rawFontForCharacters): Helper function, returns a suitable QRawFont
        to use for rendering a given string. Goes through QTextLayout to find the best
        font based on the original QFont query.
        (WebCore::FontCache::getFontDataForCharacters): Implemented using helper above.

        * platform/graphics/qt/FontPlatformData.h:
        (WebCore::FontPlatformDataPrivate::FontPlatformDataPrivate):
        (WebCore::FontPlatformData::FontPlatformData):
        (WebCore::FontPlatformData::rawFont):
        * platform/graphics/qt/FontPlatformDataQt.cpp:
        (WebCore::FontPlatformData::FontPlatformData): Add a QRawFont member to FontPlatformData.

        * platform/graphics/qt/FontQt.cpp:
        (WebCore::fillPenForContext):
        (WebCore::strokePenForContext):
        (WebCore::drawTextCommon): Factored QPen creation out of drawTextCommon
        to share code between complex and simple font rendering paths.
        (WebCore::Font::drawGlyphs): Implemented using QPainter::drawGlyphs().

        * platform/graphics/qt/GlyphPageTreeNodeQt.cpp:
        (WebCore::GlyphPage::fill): Implemented using QRawFont::glyphIndexesForString().

        * platform/graphics/qt/SimpleFontDataQt.cpp:
        (WebCore::SimpleFontData::determinePitch): Return false when using QRawFont since we
        have no way of knowing the pitch.
        (WebCore::SimpleFontData::containsCharacters): Implemented using QRawFont::supportsCharacter().
        (WebCore::SimpleFontData::platformWidthForGlyph): Implemented using QRawFont::advancesForGlyphIndexes().
        (WebCore::SimpleFontData::scaledFontData): Added, based on other ports.
        (WebCore::SimpleFontData::smallCapsFontData): Ditto.
        (WebCore::SimpleFontData::emphasisMarkFontData): Ditto.
        (WebCore::SimpleFontData::platformBoundsForGlyph): Stub.
        (WebCore::SimpleFontData::platformInit): Use QRawFont APIs to retrieve font metrics.
        (WebCore::SimpleFontData::platformCharWidthInit): Ditto.

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

8 years ago2011-05-05 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Thu, 5 May 2011 14:15:38 +0000 (14:15 +0000)]
2011-05-05  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed. Skip inspector/console/console-shadow-dom-access.html (crashes in debug)
        https://bugs.webkit.org/show_bug.cgi?id=60266

        * platform/mac/Skipped:

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

8 years ago2011-05-05 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Thu, 5 May 2011 14:14:09 +0000 (14:14 +0000)]
2011-05-05  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] RenderThemeQt and DumpRenderTreeSupportQt should use nullptr rather than 0.
        https://bugs.webkit.org/show_bug.cgi?id=60224

        We should use nullptr rather than 0. nullptr will be added in the new C++ standard
        but WebKit already has a nullptr class if there is no c++0x support.

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::addUserStyleSheet):
2011-05-05  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] RenderThemeQt and DumpRenderTreeSupportQt should use nullptr rather than 0.
        https://bugs.webkit.org/show_bug.cgi?id=60224

        We should use nullptr rather than 0. nullptr will be added in the new C++ standard
        but WebKit already has a nullptr class if there is no c++0x support.

        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::adjustProgressBarStyle):
        (WebCore::RenderThemeQt::adjustSliderTrackStyle):
        (WebCore::RenderThemeQt::adjustSliderThumbStyle):

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

8 years ago2011-05-05 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Thu, 5 May 2011 13:20:24 +0000 (13:20 +0000)]
2011-05-05  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: rename BrowserDebugger to DOMDebugger.

        https://bugs.webkit.org/show_bug.cgi?id=60256
        InspectorBrowserDebuggerAgent => InspectorDOMDebuggerAgent
        browserDebugger => domDebugger

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * inspector/CodeGeneratorInspector.pm:
        * inspector/InspectorAgent.cpp:
        (WebCore::InspectorAgent::InspectorAgent):
        (WebCore::InspectorAgent::inspectedPageDestroyed):
        (WebCore::InspectorAgent::disconnectFrontend):
        * inspector/InspectorAgent.h:
        (WebCore::InspectorAgent::DOMDebuggerAgent):
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::connectFrontend):
        * inspector/InspectorDOMDebuggerAgent.cpp: Renamed from Source/WebCore/inspector/InspectorBrowserDebuggerAgent.cpp.
        (WebCore::InspectorDOMDebuggerAgent::create):
        (WebCore::InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent):
        (WebCore::InspectorDOMDebuggerAgent::~InspectorDOMDebuggerAgent):
        (WebCore::InspectorDOMDebuggerAgent::debuggerWasEnabled):
        (WebCore::InspectorDOMDebuggerAgent::debuggerWasDisabled):
        (WebCore::InspectorDOMDebuggerAgent::disable):
        (WebCore::InspectorDOMDebuggerAgent::clearFrontend):
        (WebCore::InspectorDOMDebuggerAgent::discardBindings):
        (WebCore::InspectorDOMDebuggerAgent::setEventListenerBreakpoint):
        (WebCore::InspectorDOMDebuggerAgent::removeEventListenerBreakpoint):
        (WebCore::InspectorDOMDebuggerAgent::didInsertDOMNode):
        (WebCore::InspectorDOMDebuggerAgent::didRemoveDOMNode):
        (WebCore::InspectorDOMDebuggerAgent::setDOMBreakpoint):
        (WebCore::InspectorDOMDebuggerAgent::removeDOMBreakpoint):
        (WebCore::InspectorDOMDebuggerAgent::willInsertDOMNode):
        (WebCore::InspectorDOMDebuggerAgent::willRemoveDOMNode):
        (WebCore::InspectorDOMDebuggerAgent::willModifyDOMAttr):
        (WebCore::InspectorDOMDebuggerAgent::descriptionForDOMEvent):
        (WebCore::InspectorDOMDebuggerAgent::hasBreakpoint):
        (WebCore::InspectorDOMDebuggerAgent::updateSubtreeBreakpoints):
        (WebCore::InspectorDOMDebuggerAgent::pauseOnNativeEventIfNeeded):
        (WebCore::InspectorDOMDebuggerAgent::setXHRBreakpoint):
        (WebCore::InspectorDOMDebuggerAgent::removeXHRBreakpoint):
        (WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
        (WebCore::InspectorDOMDebuggerAgent::clear):
        * inspector/InspectorDOMDebuggerAgent.h: Renamed from Source/WebCore/inspector/InspectorBrowserDebuggerAgent.h.
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::willInsertDOMNodeImpl):
        (WebCore::InspectorInstrumentation::didInsertDOMNodeImpl):
        (WebCore::InspectorInstrumentation::willRemoveDOMNodeImpl):
        (WebCore::InspectorInstrumentation::didRemoveDOMNodeImpl):
        (WebCore::InspectorInstrumentation::willModifyDOMAttrImpl):
        (WebCore::InspectorInstrumentation::willSendXMLHttpRequestImpl):
        (WebCore::InspectorInstrumentation::pauseOnNativeEventIfNeeded):
        * inspector/InstrumentingAgents.h:
        (WebCore::InstrumentingAgents::InstrumentingAgents):
        (WebCore::InstrumentingAgents::inspectorDOMDebuggerAgent):
        (WebCore::InstrumentingAgents::setInspectorDOMDebuggerAgent):
        * inspector/WorkerInspectorController.cpp:
        (WebCore::WorkerInspectorController::connectFrontend):

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

8 years ago2011-05-04 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Thu, 5 May 2011 12:14:17 +0000 (12:14 +0000)]
2011-05-04  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add test for shadow DOM access in the console API
        https://bugs.webkit.org/show_bug.cgi?id=60192

        * http/tests/inspector/elements-test.js:
        (initialize_ElementTest.InspectorTest.findNode.processChildren):
        (initialize_ElementTest.InspectorTest.nodeWithId):
        (initialize_ElementTest.InspectorTest.selectNode):
        * inspector/console/console-shadow-dom-access-expected.txt: Added.
        * inspector/console/console-shadow-dom-access.html: Added.

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

8 years ago2011-05-05 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 5 May 2011 10:58:38 +0000 (10:58 +0000)]
2011-05-05  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK baselines for new tests.

        * platform/gtk/editing/inserting/typing-at-end-of-line-expected.png: Added.
        * platform/gtk/editing/inserting/typing-at-end-of-line-expected.txt: Added.
        * platform/gtk/editing/selection/select-across-readonly-input-1-expected.png: Added.
        * platform/gtk/editing/selection/select-across-readonly-input-1-expected.txt: Added.
        * platform/gtk/editing/selection/select-across-readonly-input-2-expected.png: Added.
        * platform/gtk/editing/selection/select-across-readonly-input-2-expected.txt: Added.
        * platform/gtk/editing/selection/select-across-readonly-input-3-expected.png: Added.
        * platform/gtk/editing/selection/select-across-readonly-input-3-expected.txt: Added.
        * platform/gtk/editing/selection/select-across-readonly-input-4-expected.png: Added.
        * platform/gtk/editing/selection/select-across-readonly-input-4-expected.txt: Added.
        * platform/gtk/editing/selection/select-across-readonly-input-5-expected.png: Added.
        * platform/gtk/editing/selection/select-across-readonly-input-5-expected.txt: Added.
        * platform/gtk/fast/forms/input-placeholder-text-indent-expected.png: Added.
        * platform/gtk/fast/forms/input-placeholder-text-indent-expected.txt: Added.

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

8 years ago2011-05-04 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 5 May 2011 10:41:36 +0000 (10:41 +0000)]
2011-05-04  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: show only Console and Scripts panels in worker inspector front-end
        https://bugs.webkit.org/show_bug.cgi?id=60159

        * inspector/front-end/WorkerManager.js:
        (WebInspector.WorkerManager.isWorkerFrontend):
        * inspector/front-end/inspector.js: show only Scripts and Console panels in the worker inspector front-end.

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

8 years ago2011-05-05 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 09:17:40 +0000 (09:17 +0000)]
2011-05-05  MORITA Hajime  <morrita@google.com>

        Unreviewed, marking flaky tests.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-05 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 08:44:12 +0000 (08:44 +0000)]
2011-05-05  MORITA Hajime  <morrita@google.com>

        Unreviewed, rolling out r85817.
        http://trac.webkit.org/changeset/85817

        It looks these lines are mis-skipped.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-03 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Thu, 5 May 2011 08:36:27 +0000 (08:36 +0000)]
2011-05-03  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        IndexedDB: Unit tests for LevelDB key coding functions
        https://bugs.webkit.org/show_bug.cgi?id=59692

        Fix some embarrassing bugs uncovered by unit tests.

        No new functionality, but this is now covered by unit tests in the Chromium WebKit port.

        * storage/IDBLevelDBCoding.cpp:
        (WebCore::IDBLevelDBCoding::decodeInt):
        (WebCore::IDBLevelDBCoding::decodeVarInt):
2011-05-03  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        IndexedDB: Unit tests for LevelDB key coding functions
        https://bugs.webkit.org/show_bug.cgi?id=59692

        Add unit tests for the basic key coding functions used by the LevelDB back-end.

        * WebKit.gypi:
        * tests/IDBLevelDBCodingTest.cpp: Added.
        (IDBLevelDBCoding::TEST):

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

8 years ago2011-05-05 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 5 May 2011 08:25:33 +0000 (08:25 +0000)]
2011-05-05  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK baselines for new fullscreen test.

        * platform/gtk/fullscreen/full-screen-stacking-context-expected.png: Added.
        * platform/gtk/fullscreen/full-screen-stacking-context-expected.txt: Added.

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

8 years ago2011-05-05 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 08:12:29 +0000 (08:12 +0000)]
2011-05-05  MORITA Hajime <morrita@google.com>

        Unreviewed, fixed a syntax error on expectations file.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-05 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 5 May 2011 07:57:33 +0000 (07:57 +0000)]
2011-05-05  Carlos Garcia Campos  <cgarcia@igalia.com>

        Unreviewed. Fix WebKit2 GTK build after r85808.

        * Shared/NativeWebWheelEvent.h:
        * UIProcess/API/gtk/WebKitWebViewBase.cpp:
        (webkitWebViewBaseScrollEvent):

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

8 years ago2011-05-05 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 07:25:26 +0000 (07:25 +0000)]
2011-05-05  MORITA Hajime  <morrita@google.com>

        Unreviewed expectations update for MAC GPU flakiness.
        - video-zoom-controls.html: Added IMAGE
        - media/controls-without-preload.html, media/controls-styling.html, media/controls-strict.html, media/controls-after-reload.html
          Added TEXT
        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-05 Young Han Lee <joybro@company100.net>
commit-queue@webkit.org [Thu, 5 May 2011 07:00:38 +0000 (07:00 +0000)]
2011-05-05  Young Han Lee  <joybro@company100.net>

        Reviewed by Csaba Osztrogon√°c.

        [Texmap][Qt] Enable strict OwnPtr for Qt with texmap enabled.
        https://bugs.webkit.org/show_bug.cgi?id=60251

        No new tests. Build fix.

        * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
        (WebCore::GraphicsLayerTextureMapper::GraphicsLayerTextureMapper):

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

8 years ago2011-05-04 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 06:48:08 +0000 (06:48 +0000)]
2011-05-04  MORITA Hajime  <morrita@google.com>

        Unreviewed expectations update.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-04 Jay Civelli <jcivelli@chromium.org>
jcivelli@chromium.org [Thu, 5 May 2011 06:41:40 +0000 (06:41 +0000)]
2011-05-04  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by Adam Barth.

        Adding a utility class to read a SharedBuffer line by line.
        https://bugs.webkit.org/show_bug.cgi?id=59946

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * platform/SharedBufferCRLFLineReader.cpp: Added.
        * platform/SharedBufferCRLFLineReader.h: Added.

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

8 years ago2011-05-04 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 06:32:46 +0000 (06:32 +0000)]
2011-05-04  MORITA Hajime <morrita@google.com>

        r85835 skipped too much. narrowed skipped target.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-04 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 06:29:16 +0000 (06:29 +0000)]
2011-05-04  MORITA Hajime  <morrita@google.com>

        Unreviewed marking failing gpu tests:
        - controls-without-preload.html, controls-after-reload.html, controls-strict.html, controls-styling.html

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-04 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Thu, 5 May 2011 05:57:51 +0000 (05:57 +0000)]
2011-05-04  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r85788.
        http://trac.webkit.org/changeset/85788
        https://bugs.webkit.org/show_bug.cgi?id=60250

        svg/text/text-block-child-crash.xhtml asserts (Requested by
        Ossy on #webkit).

        * svg/custom/display-table-caption-foreignObject-expected.txt: Removed.
        * svg/custom/display-table-caption-foreignObject.svg: Removed.
        * svg/custom/display-table-caption-inherit-foreignObject-expected.txt: Removed.
        * svg/custom/display-table-caption-inherit-foreignObject.xhtml: Removed.
        * svg/custom/display-table-caption-inherit-text-expected.txt: Removed.
        * svg/custom/display-table-caption-inherit-text.xhtml: Removed.
        * svg/custom/display-table-caption-text-expected.txt: Removed.
        * svg/custom/display-table-caption-text.svg: Removed.
2011-05-04  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r85788.
        http://trac.webkit.org/changeset/85788
        https://bugs.webkit.org/show_bug.cgi?id=60250

        svg/text/text-block-child-crash.xhtml asserts (Requested by
        Ossy on #webkit).

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):

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

8 years ago2011-05-04 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 05:43:40 +0000 (05:43 +0000)]
2011-05-04  MORITA Hajime  <morrita@google.com>

        Unreviewed unit test skip (startPostAndWaitOnCondition)
        which fails on Windows 7. See bug 60248 for tracking.

        * tests/CCThreadTest.cpp:
        (WebCore::TEST):

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

8 years ago2011-05-04 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 5 May 2011 05:04:04 +0000 (05:04 +0000)]
2011-05-04  Ryosuke Niwa  <rniwa@webkit.org>

        GTK build fix attempt after r85823

        * WebCoreSupport/ChromeClientGtk.h:
        (WebKit::ChromeClient::webView):
        * WebCoreSupport/EditorClientGtk.cpp:
        (WebKit::imContextCommitted):
        (WebKit::imContextPreeditChanged):
        * webkit/webkitwebview.cpp:
        (WebKit::kit):

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

8 years ago2011-05-04 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 5 May 2011 04:54:22 +0000 (04:54 +0000)]
2011-05-04  Ryosuke Niwa  <rniwa@webkit.org>

        Windows build fix attempt after r85823

        * WebCoreSupport/WebChromeClient.h:
        (WebChromeClient::webView):
        * WebView.cpp:
        (kit):

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

8 years ago2011-05-04 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 04:43:22 +0000 (04:43 +0000)]
2011-05-04  MORITA Hajime <morrita@google.com>

        Marking at r85822 was not enough. Re-marked it.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-04 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 04:35:06 +0000 (04:35 +0000)]
2011-05-04  MORITA Hajime  <morrita@google.com>

        Unreviewed flaky marking to full-screen-stacking-context.html.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-04 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 5 May 2011 03:55:42 +0000 (03:55 +0000)]
2011-05-04  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Add more missing imports from scm refactor
        https://bugs.webkit.org/show_bug.cgi?id=60239

        * Scripts/webkitpy/common/checkout/scm/git.py:
        * Scripts/webkitpy/common/checkout/scm/svn.py:

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

8 years ago2011-05-04 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 5 May 2011 03:07:02 +0000 (03:07 +0000)]
2011-05-04  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Make more member functions in EventHandler private
        https://bugs.webkit.org/show_bug.cgi?id=60200

        Reduced the number of public member functions in EventHandler.

        * WebCore.exp.in:
        * page/EventHandler.cpp:
        (WebCore::EventHandler::handleAutoscroll):
        (WebCore::EventHandler::autoscrollTimerFired):
        (WebCore::EventHandler::stopAutoscrollTimer):
        (WebCore::EventHandler::handleMousePressEvent):
        (WebCore::EventHandler::handleMouseMoveEvent):
        (WebCore::EventHandler::keyEvent):
        (WebCore::EventHandler::eventInvertsTabsToLinksClientCallResult):
        * page/EventHandler.h:
        (WebCore::EventHandler::mouseDownMayStartSelect):

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

8 years ago2011-05-04 James Robinson <jamesr@chromium.org>
commit-queue@webkit.org [Thu, 5 May 2011 03:03:24 +0000 (03:03 +0000)]
2011-05-04  James Robinson  <jamesr@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] REGRESSION(85136): Composited content vanishes when transform-style changes from preserve-3d to flat
        https://bugs.webkit.org/show_bug.cgi?id=60202

        Adds a regression test for composited content changing from transform-style: preserve-3d to flat.

        * compositing/repaint/transform-style-change-expected.png: Added.
        * compositing/repaint/transform-style-change-expected.txt: Added.
        * compositing/repaint/transform-style-change.html: Added.
2011-05-04  James Robinson  <jamesr@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] REGRESSION(85136): Composited content vanishes when transform-style changes from preserve-3d to flat
        https://bugs.webkit.org/show_bug.cgi?id=60202

        In r85136 I accidentally transposed two lines in GraphicsLayerChromium when adding a null check.  This switches
        the order back and adds a regression test.

        Test: compositing/repaint/transform-style-change.html

        * platform/graphics/chromium/GraphicsLayerChromium.cpp:
        (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):

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

8 years ago2011-05-04 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 02:42:30 +0000 (02:42 +0000)]
2011-05-04  MORITA Hajime <morrita@google.com>

        Unreviewed expectations update.

        * platform/chromium-linux/fullscreen/full-screen-stacking-context-expected.txt: Added.
        * platform/chromium-win/fullscreen/full-screen-stacking-context-expected.txt: Added.

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

8 years ago2011-05-04 Cris Neckar <cdn@chromium.org>
cdn@chromium.org [Thu, 5 May 2011 02:36:17 +0000 (02:36 +0000)]
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Tests whether a style media specifier inside an svg image will crash.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        * fast/media/media-svg-crash-expected.txt: Added.
        * fast/media/media-svg-crash.html: Added.
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Expose WebView directly through ChromeClient.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        Test: fast/media/media-svg-crash.html

        * loader/EmptyClients.h:
        (WebCore::EmptyChromeClient::webView):
        * page/ChromeClient.h:
        * page/brew/ChromeClientBrew.h:
        (WebCore::ChromeClientBrew::webView):
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Expose WebView directly through ChromeClient.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        * src/AutoFillPopupMenuClient.cpp:
        (WebKit::AutoFillPopupMenuClient::getWebView):
        * src/ChromeClientImpl.cpp:
        (WebKit::ChromeClientImpl::webView):
        * src/ChromeClientImpl.h:
        * src/GraphicsContext3DChromium.cpp:
        (WebCore::GraphicsContext3DInternal::initialize):
        * src/PlatformBridge.cpp:
        (WebCore::toWebWidgetClient):
        * src/StorageNamespaceProxy.cpp:
        (WebCore::StorageNamespace::sessionStorageNamespace):
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::fromPage):
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Expose WebView directly through ChromeClient.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        * WebCoreSupport/ChromeClientEfl.h:
        (WebCore::ChromeClientEfl::webView):
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Expose WebView directly through ChromeClient.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        * WebCoreSupport/ChromeClientGtk.h:
        (WebKit::ChromeClient::webView):
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Expose WebView directly through ChromeClient.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        * WebCoreSupport/ChromeClientHaiku.h:
        (WebCore::ChromeClientHaiku::webView):
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Expose WebView directly through ChromeClient.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        * WebCoreSupport/WebChromeClient.h:
        (WebChromeClient::webView):
        * WebView/WebFrame.mm:
        (kit):
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Expose WebView directly through ChromeClient.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        * WebCoreSupport/ChromeClientQt.h:
        (WebCore::ChromeClientQt::webView):
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Expose WebView directly through ChromeClient.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        * WebCoreSupport/WebChromeClient.h:
        (WebChromeClient::webView):
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Expose WebView directly through ChromeClient.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        * WebCoreSupport/ChromeClientWinCE.h:
        (WebKit::ChromeClientWinCE::webView):
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Expose WebView directly through ChromeClient.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        * WebKitSupport/ChromeClientWx.h:
        (WebCore::ChromeClientWx::webView):
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Expose WebView directly through ChromeClient.
        https://bugs.webkit.org/show_bug.cgi?id=49902

        * WebProcess/WebCoreSupport/WebChromeClient.h:
        (WebKit::WebChromeClient::webView):

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

8 years ago2011-05-04 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 02:32:18 +0000 (02:32 +0000)]
2011-05-04  MORITA Hajime  <morrita@google.com>

        Unreviewed skipping text-block-child-crash.xhtml

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-04 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 5 May 2011 02:24:04 +0000 (02:24 +0000)]
2011-05-04  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        sheriff-bot is having more exception trouble
        https://bugs.webkit.org/show_bug.cgi?id=60233

        A webpage-forced build was causing SB to throw an exception.
        We've long had this bug, but we just didn't notice it until now.

        In debugging this I found we fetch an absurd amount of data now
        that we use buildbot's json (instead of xmlrpc), so I added
        the filter=1 parameter to reduce it a little.  That required
        me to handle the case where filter=1 would strip
        result=0 in some cases (it's unclear why it does that).

        * Scripts/webkitpy/common/net/buildbot/buildbot.py:
        * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:

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

8 years ago2011-05-04 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Thu, 5 May 2011 02:08:52 +0000 (02:08 +0000)]
2011-05-04  Ojan Vafai  <ojan@chromium.org>

        Commit failing result. It's not clear to me why this test is failing.
        There's nothing platform specific about it, it doesn't depend on the
        system environment and it's not failing on the chromium win7 bot.

        Committing this for now to green the tree.

        * platform/win-7sp0/fast/harness/results-expected.txt: Added.

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

8 years ago2011-05-04 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 5 May 2011 02:07:54 +0000 (02:07 +0000)]
2011-05-04  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Fix warnings in webkit.m4 with autoconf 2.68
        https://bugs.webkit.org/show_bug.cgi?id=60189

        Use AC_LANG_SOURCE when passing source code to AC_COMPILE_IFELSE
        to remove warnings.

        * Source/autotools/webkit.m4: ditto.

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

8 years ago2011-05-04 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Thu, 5 May 2011 01:16:49 +0000 (01:16 +0000)]
2011-05-04  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Darin Adler.

        Unable to Paste After Deleting Text from Input due to -webkit-user-select
        https://bugs.webkit.org/show_bug.cgi?id=60219

        * editing/pasteboard/paste-placeholder-input-expected.txt: Added.
        * editing/pasteboard/paste-placeholder-input.html: Added.

2011-05-04  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Darin Adler.

        Unable to Paste After Deleting Text from Input due to -webkit-user-select
        https://bugs.webkit.org/show_bug.cgi?id=60219

        When deleting all the text inside the input a placeholder <br>
        element was inserted for the selection point. However, when
        pasting, the test run computes the -webkit-user-select for the
        <br> element, instead of what would be the text inside the
        <input> and incorrectly disallows selection and prevented
        the paste.

        Test: editing/pasteboard/paste-placeholder-input.html

        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplacementFragment::insertFragmentForTestRendering): skip
        <br> elements above us as those are likely placeholder elements.

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

8 years ago2011-05-04 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 5 May 2011 00:49:25 +0000 (00:49 +0000)]
2011-05-04  MORITA Hajime  <morrita@google.com>

        Unreviewed marking flaky tests.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-04 Cris Neckar <cdn@chromium.org>
cdn@chromium.org [Thu, 5 May 2011 00:43:35 +0000 (00:43 +0000)]
2011-05-04  Cris Neckar  <cdn@chromium.org>

        Unreviewed, Adding Cris Neckar as a committer

        * Scripts/webkitpy/common/config/committers.py:

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

8 years ago2011-05-04 Fridrich Strba <fridrich.strba@bluewin.ch>
commit-queue@webkit.org [Thu, 5 May 2011 00:43:01 +0000 (00:43 +0000)]
2011-05-04  Fridrich Strba  <fridrich.strba@bluewin.ch>

        Reviewed by Martin Robinson.

        Windows build of WebKit GTK needs to be able to find SystemInfo.h
        https://bugs.webkit.org/show_bug.cgi?id=60221

        * GNUmakefile.am: add Source/WebCore/platform/win to the paths searched
        for headers, since Source/WebCore/platform/win/SystemInfo.h
        header is needed by Source/WebKit/gtk/webkit/webkitwebsettings.cpp
        on Windows.

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

8 years ago2011-05-04 Vangelis Kokkevis <vangelis@chromium.org>
vangelis@chromium.org [Thu, 5 May 2011 00:42:19 +0000 (00:42 +0000)]
2011-05-04  Vangelis Kokkevis  <vangelis@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Adding a new layout test for perpendicular layers.
        https://bugs.webkit.org/show_bug.cgi?id=59255

        * platform/chromium-gpu-mac/platform/chromium/compositing/perpendicular-layer-sorting-expected.png: Added.
        * platform/chromium-gpu-mac/platform/chromium/compositing/perpendicular-layer-sorting-expected.txt: Added.
        * platform/chromium/compositing/perpendicular-layer-sorting.html: Added.
        * platform/chromium/test_expectations.txt:
2011-05-04  Vangelis Kokkevis  <vangelis@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Improve sorting of layers in hierarchies that preserve-3d
        by testing for overlapping regions between layer pairs and doing a
        topological sort to determine the right order.
        https://bugs.webkit.org/show_bug.cgi?id=59255

        Test: platform/chromium/compositing/perpendicular-layer-sorting.html

        * WebCore.gypi:
        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::LayerRendererChromium::updatePropertiesAndRenderSurfaces):
        * platform/graphics/chromium/LayerRendererChromium.h:
        * platform/graphics/chromium/cc/CCLayerImpl.h:
        (WebCore::CCLayerImpl::clearRenderSurface):
        * platform/graphics/chromium/cc/CCLayerSorter.cpp: Added.
        (WebCore::perpProduct):
        (WebCore::innerProduct):
        (WebCore::pointInColinearEdge):
        (WebCore::edgeEdgeTest):
        (WebCore::CCLayerSorter::LayerIntersector::LayerIntersector):
        (WebCore::CCLayerSorter::LayerIntersector::go):
        (WebCore::CCLayerSorter::LayerIntersector::edgeTriangleTest):
        (WebCore::CCLayerSorter::LayerIntersector::triangleTriangleTest):
        (WebCore::CCLayerSorter::LayerIntersector::checkZDiff):
        (WebCore::CCLayerSorter::LayerIntersector::layerZFromProjectedPoint):
        (WebCore::CCLayerSorter::CCLayerSorter):
        (WebCore::CCLayerSorter::checkOverlap):
        (WebCore::CCLayerSorter::createGraphNodes):
        (WebCore::CCLayerSorter::createGraphEdges):
        (WebCore::CCLayerSorter::removeEdgeFromList):
        (WebCore::CCLayerSorter::sort):
        * platform/graphics/chromium/cc/CCLayerSorter.h: Added.
        (WebCore::CCLayerSorter::GraphNode::GraphNode):
        (WebCore::CCLayerSorter::GraphEdge::GraphEdge):

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

8 years ago2011-05-04 Fridrich Strba <fridrich.strba@bluewin.ch>
commit-queue@webkit.org [Thu, 5 May 2011 00:23:54 +0000 (00:23 +0000)]
2011-05-04  Fridrich Strba  <fridrich.strba@bluewin.ch>

        Reviewed by Geoffrey Garen.

        Port MachineStackMarker.cpp to Windows x64
        https://bugs.webkit.org/show_bug.cgi?id=60216

        * heap/MachineStackMarker.cpp:
        (JSC::getPlatformThreadRegisters): the CONTEXT struct is usable also
        on 64-bit Windows.
        (JSC::otherThreadStackPointer): return the Rsp register on Windows x64.

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

8 years ago2011-05-04 Fridrich Strba <fridrich.strba@bluewin.ch>
commit-queue@webkit.org [Thu, 5 May 2011 00:09:53 +0000 (00:09 +0000)]
2011-05-04  Fridrich Strba  <fridrich.strba@bluewin.ch>

        Reviewed by Martin Robinson.

        Link libjavascriptcoregtk on Windows with winmm.dll
        https://bugs.webkit.org/show_bug.cgi?id=60215

        * GNUmakefile.am:

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

8 years ago2011-05-03 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Thu, 5 May 2011 00:07:33 +0000 (00:07 +0000)]
2011-05-03  Jer Noble  <jer.noble@apple.com>

        Reviewed by Antti Koivisto.

        Safari: Video at apple.com cannot play at full screen mode with layout distortion
        https://bugs.webkit.org/show_bug.cgi?id=60140

        * fullscreen/full-screen-stacking-context-expected.txt: Added.
        * fullscreen/full-screen-stacking-context.html: Added.
        * platform/mac/fullscreen/full-screen-stacking-context-expected.png: Added.
2011-05-03  Jer Noble  <jer.noble@apple.com>

        Reviewed by Antti Koivisto.

        Safari: Video at apple.com cannot play at full screen mode with layout distortion
        https://bugs.webkit.org/show_bug.cgi?id=60140

        Because a fullscreen element may be in a stacking context with a lower z-index than
        a sibling stacking context, those higher contexts would sometimes "pop" through the
        full screen renderer. To facilitate eliminating all the stacking contexts aside from
        the full screen renderer, added a new pseudo-class specific to video or audio full
        screen elements. Then, added a new UA rule which resets the z-index and opacities of
        all elements under said pseudo-class to auto and 1 respectively. To facilitate quick
        identity checking of HTMLMediaElements, added isMediaElement() virtual function to
        Element and HTMLMediaElement.

        Test: fullscreen/full-screen-stacking-context.html

        * css/CSSSelector.cpp:
        (WebCore::CSSSelector::pseudoId): Support PseudoFullScreenMediaDocument.
        (WebCore::nameToPseudoTypeMap): Support fullScreenMediaDocument.
        (WebCore::CSSSelector::extractPseudoType): Support PseudoFullScreenMediaDocument.
        * css/CSSSelector.h: Add PseudoFullScreenMediaDocument.
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): Support PseudoFullScreenMediaDocument.
        * css/fullscreen.css:
        (:root:-webkit-full-screen-document:not(:-webkit-full-screen)): Corrected these names,
            which were missing the -webkit prefix.
        (:root:-webkit-full-screen-media-document *:not(-webkit-full-screen)): Added.
        * dom/Element.h:
        (WebCore::Element::isMediaElement): Added, returns false.
        * html/HTMLMediaElement.h:
        (WebCore::HTMLMediaElement::isMediaElement): Added, returns true.
        * rendering/style/RenderStyleConstants.h: Added FULL_SCREEN_MEDIA_DOCUMENT.

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

8 years ago2011-05-04 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Thu, 5 May 2011 00:01:11 +0000 (00:01 +0000)]
2011-05-04  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Split findNextLineBreak into a LineBreaker class
        https://bugs.webkit.org/show_bug.cgi?id=60209

        Breaking findNextLineBreak into a new class inside RenderBlock. Currently it's tracking
        nearly no state, but subsequent patches will move some of the local variables used throughout
        the nextLineBreak function into member variables to simplify breaking off helper functions from
        the bloated function.

        No new tests since this is just moving code around.

        * WebCore.xcodeproj/project.pbxproj:
        * rendering/RenderBlock.h:
        (WebCore::RenderBlock::LineBreaker::LineBreaker):
        (WebCore::RenderBlock::LineBreaker::lineWasHyphenated): Accessor.
        (WebCore::RenderBlock::LineBreaker::positionedObjects): Ditto.
        (WebCore::RenderBlock::LineBreaker::clear): Ditto.
        * rendering/RenderBlockLineLayout.cpp:
        (WebCore::RenderBlock::layoutRunsAndFloats):
        (WebCore::RenderBlock::LineBreaker::skipTrailingWhitespace):
        (WebCore::RenderBlock::LineBreaker::skipLeadingWhitespace):
        (WebCore::RenderBlock::LineBreaker::reset):
        (WebCore::RenderBlock::LineBreaker::nextLineBreak):

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

8 years ago2011-05-04 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 4 May 2011 23:56:38 +0000 (23:56 +0000)]
2011-05-04  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        [results.html] Hide the entire table if all failures are expected
        https://bugs.webkit.org/show_bug.cgi?id=60225

        If in a port that uses expected results and all failures are expected,
        hide the table as well as the rows when hiding expected failures.

        * fast/harness/resources/results-test.js:
        * fast/harness/results-expected.txt:
        * fast/harness/results.html:

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

8 years ago2011-05-04 Jeff Miller <jeffm@apple.com>
jeffm@apple.com [Wed, 4 May 2011 23:49:36 +0000 (23:49 +0000)]
2011-05-04  Jeff Miller  <jeffm@apple.com>

        Reviewed by Darin Adler.

        Send unhandled wheel events to parent window on Windows
        https://bugs.webkit.org/show_bug.cgi?id=60220

        Keep track of wheel events using NativeWebWheelEvent instead of WebWheelEvent in WebPageProxy
        so we can send the native event to the parent window if WebKit doesn't handle it.

        * UIProcess/API/mac/WKView.mm: Use NativeWebWheelEvent instead of WebWheelEvent.

        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPagePrivate::wheelEvent): Use NativeWebWheelEvent instead of WebWheelEvent.

        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::WebPageProxy): Removed initialization of obsolete m_processingWheelEvent member variable.
        (WebKit::coalesceWheelEvents): Use NativeWebWheelEvent instead of WebWheelEvent and add a note that this won't work if we ever enable MERGE_WHEEL_EVENTS.
        (WebKit::WebPageProxy::handleWheelEvent): Use NativeWebWheelEvent instead of WebWheelEvent, keep track of the current event in m_currentlyProcessedWheelEvent.
        (WebKit::WebPageProxy::didReceiveEvent): Call wheelEventNotHandled() on Windows if wheel event is not handled.
        (WebKit::WebPageProxy::processDidCrash): Clear out m_currentlyProcessedWheelEvent.
        * UIProcess/WebPageProxy.h: Change handleWheelEvent() to take a NativeWebWheelEvent, added wheelEventNotHandled() on Windows, remove m_processingWheelEvent, add m_currentlyProcessedWheelEvent.

        * UIProcess/win/WebPageProxyWin.cpp:
        (WebKit::WebPageProxy::wheelEventNotHandled): Added.

        * UIProcess/win/WebView.cpp:
        (WebKit::WebView::onWheelEvent): Use NativeWebWheelEvent instead of WebWheelEvent.

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

8 years ago2011-05-04 Mark Pilgrim <pilgrim@chromium.org>
commit-queue@webkit.org [Wed, 4 May 2011 23:46:19 +0000 (23:46 +0000)]
2011-05-04  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        Port Mozilla's IndexedDB tests: odd result order
        https://bugs.webkit.org/show_bug.cgi?id=60193

        This test uses setTimeout to check that the result property of
        asynchronous requests persists into the setTimeout callback.

        * storage/indexeddb/mozilla/odd-result-order-expected.txt: Added.
        * storage/indexeddb/mozilla/odd-result-order.html: Added.

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

8 years ago2011-05-04 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 4 May 2011 23:42:02 +0000 (23:42 +0000)]
2011-05-04  Anders Carlsson  <andersca@apple.com>

        Reviewed by Darin Adler.

        Add bundle API for making a page paint as the background of another page
        https://bugs.webkit.org/show_bug.cgi?id=60227

        * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
        (WKBundlePageSetUnderlayPage):
        Call WebPage::setUnderlayPage.

        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::close):
        Null out the underlay page.

        (WebKit::WebPage::layoutIfNeeded):
        Layout the underlay page if necessary.

        (WebKit::WebPage::drawRect):
        Draw the underlay page.

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

8 years ago2011-05-04 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Wed, 4 May 2011 23:36:17 +0000 (23:36 +0000)]
2011-05-04  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Test expectations.

        * platform/chromium-mac-leopard/fast/speech/input-appearance-numberandspeech-expected.png:
        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-04 Tomasz Morawski <t.morawski@samsung.com>
commit-queue@webkit.org [Wed, 4 May 2011 23:34:06 +0000 (23:34 +0000)]
2011-05-04  Tomasz Morawski  <t.morawski@samsung.com>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Added error check for _ewk_init_body result.
        https://bugs.webkit.org/show_bug.cgi?id=60149

        The ewk_init function should be failed when _ewk_init_body function
        return false.

        * ewk/ewk_main.cpp:
        (ewk_init):

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

8 years ago2011-05-04 Siddharth Mathur <siddharth.mathur@nokia.com>
commit-queue@webkit.org [Wed, 4 May 2011 23:26:32 +0000 (23:26 +0000)]
2011-05-04  Siddharth Mathur  <siddharth.mathur@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt][Wk2][Symbian] Capabilities for Qt MiniBrowser and QtWebProcess on Symbian
        https://bugs.webkit.org/show_bug.cgi?id=59462

        * WebProcess.pro: Add Symbian OS capabilities to web process executable. Also enable
        data paging flag and prevent application's icon from showing up in the application grid.
2011-05-04  Siddharth Mathur  <siddharth.mathur@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt][Wk2][Symbian] Capabilities for Qt MiniBrowser and QtWebProcess on Symbian
        https://bugs.webkit.org/show_bug.cgi?id=59462

        * MiniBrowser/qt/MiniBrowser.pro: Add Symbian OS capabilities to executable. Also enable data paging.

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

8 years ago2011-05-04 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 4 May 2011 23:22:04 +0000 (23:22 +0000)]
2011-05-04  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        The testing EWS bots should upload layout-test-results.zip to bugs after failures
        https://bugs.webkit.org/show_bug.cgi?id=60223

        This required sharing a bit of code between the commit-queue
        (which already knew how to do this) and the new EWS testing bots.

        In the process I also cleaned up EWS testing a little and
        removed some dead code from the commit-queue.

        * Scripts/webkitpy/common/config/committervalidator.py:
        * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
        * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
        * Scripts/webkitpy/tool/commands/queues.py:
        * Scripts/webkitpy/tool/commands/queues_unittest.py:

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

8 years ago2011-05-04 Fridrich Strba <fridrich.strba@bluewin.ch>
commit-queue@webkit.org [Wed, 4 May 2011 22:55:51 +0000 (22:55 +0000)]
2011-05-04  Fridrich Strba  <fridrich.strba@bluewin.ch>

        Reviewed by Adam Barth.

        Add COMPILER(MINGW) to the compilers using the Microsoft C Runtime's vsnprintf.
        The vsnprintf is part of Microsoft C runtime used also by MinGW (GCC) toolchain.
        https://bugs.webkit.org/show_bug.cgi?id=58579

        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::XMLDocumentParser::error):

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

8 years ago2011-05-04 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Wed, 4 May 2011 22:54:10 +0000 (22:54 +0000)]
2011-05-04  Alexis Menard  <alexis.menard@openbossa.org>

        Unreviewed warning fix.

        The variable is just unused.

        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::inputMethods):
2011-05-04  Alexis Menard  <alexis.menard@openbossa.org>

        Unreviewed warning fix.

        The variable is just used in the ASSERT macro. Let's use ASSERT_UNUSED to avoid
        a warning in Release build.

        * dom/Node.cpp:
        (WebCore::Node::removeEventListener):
        * platform/DateComponents.cpp:
        (WebCore::DateComponents::parseTime):
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::convertToLayerCoords):
        * storage/StorageMap.cpp:
        (WebCore::StorageMap::importItem):
        * svg/SVGUseElement.cpp:
        (WebCore::SVGUseElement::buildShadowTree):
        (WebCore::SVGUseElement::expandUseElementsInShadowTree):

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

8 years ago2011-05-04 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 4 May 2011 22:50:35 +0000 (22:50 +0000)]
2011-05-04  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        [results.html] put flaky tests into their own table
        https://bugs.webkit.org/show_bug.cgi?id=60214

        * fast/harness/resources/results-test.js:
        * fast/harness/results-expected.txt:
        * fast/harness/results.html:

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

8 years ago2011-05-04 James Kozianski <koz@chromium.org>
koz@chromium.org [Wed, 4 May 2011 22:45:07 +0000 (22:45 +0000)]
2011-05-04  James Kozianski  <koz@chromium.org>

        Reviewed by Eric Seidel.

        Add method to make a Port able to retrieve TestOutputSets from its builders.
        https://bugs.webkit.org/show_bug.cgi?id=58211

        This will be used in the new rebaseline script - TestOutputs are
        potential new baselines.

        * Scripts/webkitpy/common/config/urls.py:
        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/factory.py:
        * Scripts/webkitpy/layout_tests/port/webkit.py:

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

8 years ago2011-05-04 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 4 May 2011 22:44:27 +0000 (22:44 +0000)]
2011-05-04  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        [results.html] fix apply options on page load
        https://bugs.webkit.org/show_bug.cgi?id=60217

        This broke when we started storing options in localstorage.
        Also fixes regressions exposed by fixing this.

        * fast/harness/resources/results-test.js:
        * fast/harness/results.html:

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

8 years agoClip and reposition windowed plugins when the UI process paints
aroben@apple.com [Wed, 4 May 2011 22:32:28 +0000 (22:32 +0000)]
Clip and reposition windowed plugins when the UI process paints

This ensures that their geometry updates in sync with the rest of the page.

Most of this patch is just plumbing the scheduleWindowedPluginGeometryUpdate and
scheduleChildWindowGeometryUpdate calls through from NetscapePlugin all the way over to
WebView. I've tried to call out the other parts below.

Fixes <http://webkit.org/b/60210> <rdar://problem/8483441> REGRESSION (WebKit2): Windowed
plugins don't scroll at the same speed as the rest of the page

Reviewed by Darin Adler and Anders Carlsson.

* UIProcess/PageClient.h:
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* UIProcess/win/WebPageProxyWin.cpp:
(WebKit::WebPageProxy::scheduleChildWindowGeometryUpdate):
Added plumbing.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::onPaintEvent): Update child windows before painting so that they will stay
in sync with the rest of the page.
(WebKit::WebView::scheduleChildWindowGeometryUpdate): Add this update information to the
set of geometries to update on the next paint.
(WebKit::setWindowRegion): Moved this helper function here from NetscapePluginWin.cpp.
(WebKit::WebView::updateChildWindowGeometries): Update the size, position, and clip rects of
all the child windows with scheduled geometry updates.

* UIProcess/win/WebView.h: Added new members to track and update child window geometries.

* WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp:
(WebKit::NetscapePlugin::platformPostInitialize): Don't show the window immediately. Let the
UI process take care of it.
(WebKit::NetscapePlugin::platformGeometryDidChange): Don't update the window's position or
clip rect. Let the UI process take care of it.

* WebProcess/Plugins/PluginController.h:
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::scheduleWindowedPluginGeometryUpdate):
* WebProcess/Plugins/PluginView.h:
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/win/WebPageWin.cpp:
(WebKit::WebPage::scheduleChildWindowGeometryUpdate):
Added plumbing.

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

8 years ago2011-05-04 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 4 May 2011 22:20:45 +0000 (22:20 +0000)]
2011-05-04  Anders Carlsson  <andersca@apple.com>

        Reviewed by Adam Roben.

        WKView on Windows has no equivalent of Mac's -[WKView setDraws[Transparent]Background:]
        https://bugs.webkit.org/show_bug.cgi?id=52009
        <rdar://problem/8829746>

        Add and implement WKViewSetDrawsTransparentBackground on windows.

        * UIProcess/API/C/win/WKView.cpp:
        (WKViewSetDrawsTransparentBackground):
        (WKViewDrawsTransparentBackground):
        Call through to the WebPageProxy object.

        * UIProcess/API/C/win/WKView.h:
        * UIProcess/win/WebView.cpp:
        (WebKit::drawPageBackground):
        Don't fill the rect with white if WebPageProxy::drawsBackground() or
        WebPageProxy::drawsTransparentBackground() returns false. Because of limitations in Win32,
        both drawsBackground and drawsTransparentBackground are pretty much equivalent.

        (WebKit::WebView::paint):
        Pass the WebPageProxy object to drawPageBackground.

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

8 years ago2011-05-04 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 4 May 2011 22:08:56 +0000 (22:08 +0000)]
2011-05-04  Martin Robinson  <mrobinson@igalia.com>

        Fix the WebKitGTK+ build.

        * configure.ac: Added option parsing code for loading touch icons.

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

8 years ago2011-05-04 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 4 May 2011 22:02:34 +0000 (22:02 +0000)]
2011-05-04  Eric Seidel  <eric@webkit.org>

        Reviewed by Ojan Vafai.

        sheriff-bot can't parse results.html
        https://bugs.webkit.org/show_bug.cgi?id=60196

        The problem was that the NRWT bots are currently core
        and so sheriff-bot was trying to diagnose failures on
        them.  It was trying to parse their results.html file
        and BeautifulSoup was throwing an exception.

        It seems our version of BeautifulSoup was quite old
        and unable to handle <script> tags correctly.
        This moves us to 3.2 which doesn't seem to have this bug.

        * Scripts/webkitpy/thirdparty/BeautifulSoup.py:

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

8 years ago2011-05-04 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Wed, 4 May 2011 21:52:15 +0000 (21:52 +0000)]
2011-05-04  Alexis Menard  <alexis.menard@openbossa.org>

        Unreviewed warning fix.

        The variable is just used in the ASSERT macro. Let's use ASSERT_UNUSED to avoid
        a warning in Release build.

        * accessibility/AccessibilityRenderObject.cpp:
        (WebCore::lastChildConsideringContinuation):

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

8 years ago2011-05-04 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Wed, 4 May 2011 21:46:57 +0000 (21:46 +0000)]
2011-05-04  Dimitri Glazkov  <dglazkov@chromium.org>

        Sort xcodeproj files.

        The WebCore.xcodeproj got out of sorts again.

        * WebCore.xcodeproj/project.pbxproj: Ran sort-XCode-project-file.

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

8 years ago2011-05-04 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Wed, 4 May 2011 21:42:51 +0000 (21:42 +0000)]
2011-05-04  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Adam Barth.

        Warning fix.

        * bindings/js/DOMObjectHashTableMap.h:
        (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):

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

8 years ago2011-05-04 Rob Buis <rbuis@rim.com>
rwlbuis@webkit.org [Wed, 4 May 2011 21:32:45 +0000 (21:32 +0000)]
2011-05-04  Rob Buis  <rbuis@rim.com>

        Reviewed by Darin Adler.

        NULL deref when SVG elements have table styles
        https://bugs.webkit.org/show_bug.cgi?id=45561

        Restrict computed CSS values for SVG display property to block, inline or none.

        Tests: svg/custom/display-table-caption-foreignObject.svg
               svg/custom/display-table-caption-inherit-foreignObject.xhtml
               svg/custom/display-table-caption-inherit-text.xhtml
               svg/custom/display-table-caption-text.svg

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):

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

8 years ago2011-05-04 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 4 May 2011 21:32:17 +0000 (21:32 +0000)]
2011-05-04  Nate Chapin  <japhet@chromium.org>

        Reviewed by Mihai Parparita.

        Ensure we don't overwrite user-specified scroll positions
        on same document HistoryItem navigations.
        https://bugs.webkit.org/show_bug.cgi?id=59877

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::loadHistoryItem):
        (WebKit::WebFrameImpl::currentHistoryItem):
        (WebKit::WebFrameImpl::WebFrameImpl):
        * src/WebFrameImpl.h:

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

8 years ago2011-05-04 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 4 May 2011 21:12:08 +0000 (21:12 +0000)]
2011-05-04  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Make the EWS test logging less verbose
        https://bugs.webkit.org/show_bug.cgi?id=60201

        This should help us generate less than a hundred MB of logs per hour.

        * Scripts/webkitpy/common/config/ports.py:
        * Scripts/webkitpy/common/config/ports_unittest.py:

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

8 years ago2011-05-04 Tao Bai <michaelbai@chromium.org>
commit-queue@webkit.org [Wed, 4 May 2011 21:02:54 +0000 (21:02 +0000)]
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        * Configurations/FeatureDefines.xcconfig:
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        Parsed and populated apple-touch-icon url to FrameLoaderClient.
        Changed favicon to be a type of icon.

        * CMakeLists.txt:
        * Configurations/FeatureDefines.xcconfig:
        * GNUmakefile.am:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * dom/Document.cpp:
        (WebCore::Document::iconURL):
        (WebCore::Document::setIconURL):
        * dom/Document.h:
        * dom/IconURL.cpp: Added.
        (WebCore::toIconIndex):
        * dom/IconURL.h: Added.
        (WebCore::IconURL::IconURL):
        * features.pri:
        * html/HTMLLinkElement.cpp:
        (WebCore::HTMLLinkElement::tokenizeRelAttribute):
        (WebCore::HTMLLinkElement::process):
        (WebCore::HTMLLinkElement::addSubresourceAttributeURLs):
        * html/HTMLLinkElement.h:
        (WebCore::HTMLLinkElement::RelAttribute::RelAttribute):
        (WebCore::HTMLLinkElement::isEnabledViaScript):
        * html/parser/HTMLPreloadScanner.cpp:
        (WebCore::HTMLNames::PreloadTask::relAttributeIsStyleSheet):
        * loader/DocumentLoader.cpp:
        (WebCore::DocumentLoader::iconURL):
        (WebCore::DocumentLoader::setIconURL):
        * loader/DocumentLoader.h:
        * loader/EmptyClients.h:
        (WebCore::EmptyFrameLoaderClient::dispatchDidChangeIcons):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::iconURL):
        (WebCore::FrameLoader::iconURLs):
        (WebCore::FrameLoader::fillIconURL):
        (WebCore::FrameLoader::getDefaultIconURL):
        (WebCore::FrameLoader::setIconURL):
        (WebCore::FrameLoader::didChangeIcons):
        * loader/FrameLoader.h:
        * loader/FrameLoaderClient.h:
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        Respected the change of FrameLoaderClient.

        * src/FrameLoaderClientImpl.cpp:
        (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
        * src/FrameLoaderClientImpl.h:
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        Respect the interface change in FrameLoaderClient

        * WebCoreSupport/FrameLoaderClientEfl.cpp:
        (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons):
        * WebCoreSupport/FrameLoaderClientEfl.h:
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        Respect the interface change in FrameLoaderClient.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::dispatchDidChangeIcons):
        * WebCoreSupport/FrameLoaderClientGtk.h:
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        Respect the interface change in FrameLoaderClient.

        * Configurations/FeatureDefines.xcconfig:
        * WebCoreSupport/WebFrameLoaderClient.h:
        * WebCoreSupport/WebFrameLoaderClient.mm:
        (WebFrameLoaderClient::dispatchDidChangeIcons):
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        Respect the interface change in FrameLoaderClient.

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
        * WebCoreSupport/FrameLoaderClientQt.h:
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        Respect the interface change in FrameLoaderClient.

        * WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebFrameLoaderClient::dispatchDidChangeIcons):
        * WebCoreSupport/WebFrameLoaderClient.h:
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        Respect the interface change in FrameLoaderClient.

        * WebCoreSupport/FrameLoaderClientWinCE.cpp:
        (WebKit::FrameLoaderClientWinCE::dispatchDidChangeIcons):
        * WebCoreSupport/FrameLoaderClientWinCE.h:
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        Respect the interface change in FrameLoaderClient.

        * WebKitSupport/FrameLoaderClientWx.cpp:
        (WebCore::FrameLoaderClientWx::dispatchDidChangeIcons):
        * WebKitSupport/FrameLoaderClientWx.h:
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        Respected the change of FrameLoaderClient.
        Added WebIconURL and WebIconType responding the new IconURL and IconType.
        Supported to get the multiple icon urls.

        * Configurations/FeatureDefines.xcconfig:
        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebKit::WebFrameLoaderClient::dispatchDidChangeIcons):
        * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
2011-05-04  Tao Bai  <michaelbai@chromium.org>

        Reviewed by David Kilzer.

        Populate touch-icon url to FrameLoaderClient
        https://bugs.webkit.org/show_bug.cgi?id=59143

        Disable touch icon by default.

        * Scripts/build-webkit:

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

8 years agoUnreviewed build fix.
luiz@webkit.org [Wed, 4 May 2011 20:40:43 +0000 (20:40 +0000)]
Unreviewed build fix.

Skipping test http/tests/navigation/response204.html for Mac, Win and GTK.

* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/win/Skipped:

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

8 years ago2011-05-04 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 4 May 2011 20:33:52 +0000 (20:33 +0000)]
2011-05-04  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Can't save a link from "Save Linked File to Download" popup menu
        https://bugs.webkit.org/show_bug.cgi?id=60190
        <rdar://problem/9367927>

        Make sure that suggestedFilenameForResourceWithURL and resourceDataForFrame both look
        in the cache if the resource can't be found in the current web page. This matches WebKit1.

        * WebProcess/WebPage/WebFrame.cpp:
        (WebKit::WebFrame::suggestedFilenameForResourceWithURL):
        Call WebPage::cachedSuggestedFilenameForURL if we can't find a resource in the page.

        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::resourceDataForFrame):
        Move code out from getResourceDataFromFrame.

        (WebKit::WebPage::getResourceDataFromFrame):
        Call resourceDataForFrame first and then cachedResponseDataForURL.

        * WebProcess/WebPage/WebPage.h:
        * WebProcess/WebPage/gtk/WebPageGtk.cpp:
        (WebKit::WebPage::platformHasLocalDataForURL):
        (WebKit::WebPage::cachedResponseMIMETypeForURL):
        (WebKit::WebPage::platformCanHandleRequest):
        (WebKit::WebPage::cachedSuggestedFilenameForURL):
        (WebKit::WebPage::cachedResponseDataForURL):
        Add stubs.

        * WebProcess/WebPage/mac/WebPageMac.mm:
        (WebKit::cachedResponseForURL):
        Add helper function.

        (WebKit::WebPage::cachedSuggestedFilenameForURL):
        (WebKit::WebPage::cachedResponseMIMETypeForURL):
        (WebKit::WebPage::cachedResponseDataForURL):
        Call helper function.

        * WebProcess/WebPage/qt/WebPageQt.cpp:
        (WebKit::WebPage::platformHasLocalDataForURL):
        (WebKit::WebPage::cachedResponseMIMETypeForURL):
        (WebKit::WebPage::platformCanHandleRequest):
        (WebKit::WebPage::cachedSuggestedFilenameForURL):
        (WebKit::WebPage::cachedResponseDataForURL):
        Add stubs.

        * WebProcess/WebPage/win/WebPageWin.cpp:
        (WebKit::cachedResponseForURL):
        Add helper function.

        (WebKit::WebPage::platformHasLocalDataForURL):
        (WebKit::WebPage::cachedResponseMIMETypeForURL):
        (WebKit::WebPage::cachedSuggestedFilenameForURL):
        (WebKit::WebPage::cachedResponseDataForURL):
        Call helper function.

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

8 years ago[Chromium] Update bug numbers in media related test cases.
imasaki@chromium.org [Wed, 4 May 2011 20:26:56 +0000 (20:26 +0000)]
[Chromium] Update bug numbers in media related test cases.
https://bugs.webkit.org/show_bug.cgi?id=60078

Reviewed by David Levin.

* platform/chromium/test_expectations.txt:

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

8 years ago2011-05-04 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Wed, 4 May 2011 20:17:48 +0000 (20:17 +0000)]
2011-05-04  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Crash in PlatformCALayer ::replaceSublayer when layer has not superlayer
        https://bugs.webkit.org/show_bug.cgi?id=60191

        Skip replaceSublayer when there is no superlayer rather than asserting.
        This is probably not a problem and happens when restructuring the layer
        tree. Avoiding this crash will allow us to get more testing.

        * platform/graphics/ca/GraphicsLayerCA.cpp:
        (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):

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

8 years ago2011-05-04 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 4 May 2011 20:08:11 +0000 (20:08 +0000)]
2011-05-04  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Anders Carlsson.

        WebKit2 flashes if entering and exiting compositing rapidly
        https://bugs.webkit.org/show_bug.cgi?id=60198

        If a page enters then immediately leaves compositing mode, the
        DrawingAreaImpl would send a message to the UI process that it
        had entered compositing even after all the layers had been torn
        down. Fix this by never sending the 'enter' message if we're
        waiting for the 'exit' timer to fire.

        Also fix an assertion in the UI process caused by sending mismatched
        'enter' and 'leave' messages by keeping track of which messages
        we've sent.

        * WebProcess/WebPage/DrawingAreaImpl.cpp:
        (WebKit::DrawingAreaImpl::DrawingAreaImpl):
        (WebKit::DrawingAreaImpl::layerHostDidFlushLayers):
        (WebKit::DrawingAreaImpl::exitAcceleratedCompositingMode):
        (WebKit::DrawingAreaImpl::exitAcceleratedCompositingModeSoon):
        * WebProcess/WebPage/DrawingAreaImpl.h:
        (WebKit::DrawingAreaImpl::exitAcceleratedCompositingModePending):

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

8 years agoWindows DRT needs an implementation of shadowRoot
jberlin@webkit.org [Wed, 4 May 2011 19:37:18 +0000 (19:37 +0000)]
Windows DRT needs an implementation of shadowRoot
https://bugs.webkit.org/show_bug.cgi?id=59081

Add another test for the shadow dom to the Windows Skipped list to get the bots green.

* platform/win/Skipped:

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

8 years ago2011-05-04 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 4 May 2011 19:26:59 +0000 (19:26 +0000)]
2011-05-04  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        [results.html] Don't show actual failure type column for ports that don't use expectations files
        https://bugs.webkit.org/show_bug.cgi?id=60199

        For the most part, the links shown tell you what type of failure it is.
        The only case where we lose some information here is for a test that
        failed one run, but passed or had a different failure on retry.i
        We should probably put those tests in their own table anyways.

        * fast/harness/resources/results-test.js:
        * fast/harness/results.html:

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

8 years ago2011-05-04 Justin Novosad <junov@chromium.org>
commit-queue@webkit.org [Wed, 4 May 2011 19:20:49 +0000 (19:20 +0000)]
2011-05-04  Justin Novosad  <junov@chromium.org>

        Reviewed by Kenneth Russell.

        [Chromium] Add gpu acceleration flags to DumpRenderTree
        https://bugs.webkit.org/show_bug.cgi?id=60168
        Adding support for command line flags
        enable-accelerated-2d-canvas an
        enable-accelerated-drawing in DumpRenderTree.

        * DumpRenderTree/chromium/DumpRenderTree.cpp:
        (main):
        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::TestShell):
        (TestShell::resetWebSettings):
        * DumpRenderTree/chromium/TestShell.h:
        (TestShell::setLegacyAccelerated2dCanvasEnabled):
        (TestShell::setAcceleratedDrawingEnabled):
        * DumpRenderTree/chromium/WebPreferences.cpp:
        (WebPreferences::reset):
        (WebPreferences::applyTo):
        * DumpRenderTree/chromium/WebPreferences.h:

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

8 years ago2011-05-04 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
ademar.reis@openbossa.org [Wed, 4 May 2011 19:19:49 +0000 (19:19 +0000)]
2011-05-04 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>

        Reviewed by Csaba Osztrogon√°c.

        [Qt] run-qtwebkit-tests misses exec bit
        https://bugs.webkit.org/show_bug.cgi?id=60188

        Also removing an unecessary import (mostly to let this bugfix goes
        through the system, as this is just a chmod).

        * Scripts/run-qtwebkit-tests:

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

8 years ago2011-05-04 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Wed, 4 May 2011 19:07:28 +0000 (19:07 +0000)]
2011-05-04  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed. Skipped inspector/elements/shadow-dom.html on win.
        https://bugs.webkit.org/show_bug.cgi?id=60195

        * platform/win/Skipped:

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

8 years ago[Qt] Qt WebKit updates view on HTTP 204 response
luiz@webkit.org [Wed, 4 May 2011 19:04:51 +0000 (19:04 +0000)]
[Qt] Qt WebKit updates view on HTTP 204 response
https://bugs.webkit.org/show_bug.cgi?id=42529

Reviewed by Kenneth Rohde Christiansen.

Source/WebKit/qt:

Ignoring http responses which have status code equal to 204 (No Content)
or 205 (Reset Content).

* WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):

LayoutTests:

Responses which have status code equal to 204 should be ignored.

* http/tests/navigation/response204-expected.txt: Added.
* http/tests/navigation/response204.html: Added.
* http/tests/navigation/resources/response204.pl: Added.

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

8 years ago2011-05-04 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 4 May 2011 19:01:02 +0000 (19:01 +0000)]
2011-05-04  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        Fix the GTK+ 2.x build for Windows. Instead of making getStockIcon a RenderTheme
        method, just use extern declarations to avoid having to declare it in the header.
        This will prevent having to include glib.h in RenderThemeGtk.h, which is included
        in many C++ files.

        No new tests. This is just a build fix.

        * platform/gtk/RenderThemeGtk.cpp: Update getStockIcon calls to say getStockIconForWidgetType.
        (WebCore::RenderThemeGtk::paintSearchFieldResultsDecoration):
        (WebCore::RenderThemeGtk::paintSearchFieldCancelButton):
        (WebCore::RenderThemeGtk::paintCapsLockIndicator):
        (WebCore::RenderThemeGtk::paintMediaButton):
        * platform/gtk/RenderThemeGtk.h: Removed getStockIcon declaration. Make gtkContainer() and
        gtkEntry() public because they are now accessed externally from getStockIcon().
        * platform/gtk/RenderThemeGtk2.cpp: Update getStockIcon calls.
        (WebCore::getStockIconForWidgetType):
        * platform/gtk/RenderThemeGtk3.cpp: Ditto.
        (WebCore::getStockIconForWidgetType):

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

8 years ago2011-05-04 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
caio.oliveira@openbossa.org [Wed, 4 May 2011 19:00:43 +0000 (19:00 +0000)]
2011-05-04  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>

        Reviewed by Benjamin Poulain.

        [Qt] Fix signals emitted in FakeReply used in autotests
        https://bugs.webkit.org/show_bug.cgi?id=60049

        The signals emitted for each case of FakeReply were swapped (error case
        emitting metaDataChanged() and redirect case emitting error()). Emitting
        readyRead() is not necessary.

        * tests/qwebframe/tst_qwebframe.cpp:
        (FakeReply::FakeReply):
        Choose the different continue function for each case of FakeReply. This removes
        the need of the if-statement in timeout() and let us replace timeout() with two
        simpler functions.

        (FakeReply::continueRedirect):
        (FakeReply::continueError):
        Continuation cases, emitting the minimal set of signals needed for each case.

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

8 years ago<rdar://problem/9366557> Various crashes due to bad DFG codegen at canalplus.fr
ggaren@apple.com [Wed, 4 May 2011 18:56:30 +0000 (18:56 +0000)]
<rdar://problem/9366557> Various crashes due to bad DFG codegen at canalplus.fr

Reviewed by Darin Adler.

Source/JavaScriptCore:

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::checkArgumentTypes): Removed a stray line of
code that accidentally survived the conversion to a switch statement,
causing a lot of important code not to run most of the time.

Since this is not a trivial finger-picking mistake, I will not call it a
typo.

LayoutTests:

* fast/js/trivial-functions-expected.txt: Added.
* fast/js/trivial-functions.html: Added.

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