WebKit-https.git
10 years ago2010-07-21 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 21 Jul 2010 21:41:28 +0000 (21:41 +0000)]
2010-07-21  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Pull HTML5lib test suite from upstream
        https://bugs.webkit.org/show_bug.cgi?id=42776

        Grab a bunch of new tests from html5lib upstream.  Also, upstream
        tweaked some of our tests, so I've updated our tests to match the
        upstream tweaks.

        * html5lib/resources/adoption01.dat:
        * html5lib/resources/doctype01.dat:
        * html5lib/resources/scripted/adoption01.dat: Added.
        * html5lib/resources/scripted/webkit01.dat: Added.
        * html5lib/resources/tests1.dat:
        * html5lib/resources/tests17.dat: Added.
        * html5lib/resources/tests18.dat: Added.
        * html5lib/resources/tests19.dat: Added.
        * html5lib/resources/tests2.dat:
        * html5lib/resources/tests20.dat: Added.
        * html5lib/resources/tricky01.dat:
        * html5lib/resources/webkit01.dat:
        * html5lib/runner-expected-html5.txt:
        * html5lib/runner-expected.txt:
        * html5lib/runner.html:
        * html5lib/webkit-resumer-expected.txt:

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

10 years ago2010-07-21 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 21 Jul 2010 21:16:37 +0000 (21:16 +0000)]
2010-07-21  Tony Chang  <tony@chromium.org>

        Reviewed by Adam Barth.

        convert more layout tests from -khtml to -webkit
        https://bugs.webkit.org/show_bug.cgi?id=42786

        This is a follow up to r63854.

        * fast/backgrounds/size/backgroundSize02.html:
        * fast/backgrounds/size/backgroundSize03.html:
        * fast/backgrounds/size/backgroundSize04.html:
        * fast/backgrounds/size/backgroundSize05.html:
        * fast/backgrounds/size/backgroundSize06.html:
        * fast/backgrounds/size/backgroundSize07.html:
        * fast/backgrounds/size/backgroundSize08.html:
        * fast/backgrounds/size/backgroundSize09.html:
        * fast/backgrounds/size/backgroundSize10.html:
        * fast/backgrounds/size/backgroundSize11.html:
        * fast/backgrounds/size/backgroundSize12.html:
        * fast/backgrounds/size/backgroundSize13.html:
        * fast/backgrounds/size/backgroundSize14.html:
        * fast/backgrounds/size/backgroundSize15.html:

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

10 years ago2010-07-21 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 21 Jul 2010 21:07:11 +0000 (21:07 +0000)]
2010-07-21  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Anders Carlsson.

        Composited layers don't scroll in WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=42771

        Prep work: FrameView::scrollPositionChanged() sounds like a generic "did scroll" bottleneck,
        but this is deceiving. It's only every called on one platform (Mac) when the NSScrollView gets
        scrolled, so rename it to FrameView::scrollPositionChangedViaPlatformWidget().

        * WebCore.exp.in:
        * page/FrameView.cpp:
        (WebCore::FrameView::scrollPositionChangedViaPlatformWidget):
        * page/FrameView.h:

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

10 years agoHandle broken pipes in more places in CoreIPC
aroben@apple.com [Wed, 21 Jul 2010 20:54:30 +0000 (20:54 +0000)]
Handle broken pipes in more places in CoreIPC

Fixes <http://webkit.org/b/42784> Assertion failure in
Connection::readEventHandler when WebKitTestRunner exits

Reviewed by Anders Carlsson.

* Platform/CoreIPC/win/ConnectionWin.cpp:
(CoreIPC::Connection::readEventHandler): Check for a broken pipe
whenever we call ::PeekNamedPipe.

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

10 years ago2010-07-21 Peter Beverloo <peter@lvp-media.com>
commit-queue@webkit.org [Wed, 21 Jul 2010 20:39:15 +0000 (20:39 +0000)]
2010-07-21  Peter Beverloo  <peter@lvp-media.com>

        Reviewed by Eric Carlson.

        Removed support for the -khtml CSS vendor prefix and limit the
        -apple prefix to two properties (dashboard-region and line-clamp).

        Listed properties in these updated have been changed to -webkit.

        * fast/block/positioning/height-change.html: -apple-box
        * fast/block/positioning/resources/window-height-change-frame-flex.html: -apple-box
        * fast/borders/border-image-omit-right-slice.html: -khtml-border-image
        * fast/css/apple-prefix.html: -khtml-box-orient
        * fast/css/legacy-opacity-styles-expected.txt: -*-opacity
        * fast/css/legacy-opacity-styles.html: -*-opacity
        * fast/css/limited-vendor-prefix-behavior-expected.txt: Added.
        * fast/css/limited-vendor-prefix-behavior.html: Added.
        * fast/flexbox/001.html: -khtml-box-flex
        * fast/flexbox/002.html: -khtml-box, -khtml-box-align, -khtml-box-orient
        * fast/flexbox/003.html: -khtml-box, -khtml-box-align, -khtml-box-orient
        * fast/flexbox/004.html: -khtml-box
        * fast/flexbox/005.html: -khtml-box
        * fast/flexbox/006.html: -khtml-box
        * fast/flexbox/007.html: -khtml-box
        * fast/flexbox/008.html: -khtml-box
        * fast/flexbox/009.html: -khtml-box
        * fast/flexbox/010.html: -khtml-box
        * fast/flexbox/011.html: -khtml-box, -khtml-box-flex
        * fast/flexbox/012.html: -khtml-box, -khtml-box-orient, -khtml-box-align
        * fast/flexbox/013.html: -khtml-box, -khtml-box-flex
        * fast/flexbox/014.html: -khtml-box, -khtml-box-orient, -khtml-box-flex
        * fast/flexbox/015.html: -khtml-box, -khtml-box-flex, -khtml-box-flex
        * fast/flexbox/016.html: -khtml-box-flex, -khtml-box, -khtml-box-orient
        * fast/flexbox/017.html: -khtml-box, -khtml-box-orient, -webkit-box-pack, -khtml-box-direction
        * fast/flexbox/018.html: -khtml-box, -khtml-box-orient, -khtml-box-pack
        * fast/flexbox/019.html: -khtml-box, -khtml-box-pack, -khtml-box-orient
        * fast/flexbox/020.html: -khtml-box, -khtml-box-flex-group, -khtml-box-flex
        * fast/flexbox/021.html: -khtml-box, -khtml-box-flex
        * fast/flexbox/022.html: -khtml-box, -khtml-box-flex
        * fast/flexbox/023.html: -khtml-box
        * fast/flexbox/024.html: -khtml-box, -khtml-box-orient
        * fast/flexbox/025.html: -khtml-box, -khtml-box-flex
        * fast/flexbox/026.html: -khtml-box, -khtml-box-flex
        * fast/flexbox/child-flexing.html: -khtml-box, -khtml-box-align, -khtml-box-orient
        * fast/repaint/flexible-box-overflow-horizontal.html: -khtml-box, -khtml-box-align, -khtml-box-orient
        * fast/repaint/flexible-box-overflow.html: -khtml-box, -khtml-box-align, -khtml-box-orient
2010-07-21  Peter Beverloo  <peter@lvp-media.com>

        Reviewed by Eric Carlson.

        Removed support for the -khtml CSS vendor prefix and limit the
        -apple prefix to two properties (dashboard-region and line-clamp).

        Test: fast/css/limited-vendor-prefix-behavior.html

        * css/CSSParser.cpp:
        (WebCore::cssPropertyID):

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

10 years ago[wx] Build fix, adding the WebCore/bindings/generic dir to the list of build dirs.
kevino@webkit.org [Wed, 21 Jul 2010 20:30:59 +0000 (20:30 +0000)]
[wx] Build fix, adding the WebCore/bindings/generic dir to the list of build dirs.

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

10 years agoTeach CoreIPC how to handle messages that are larger than the pipe's buffer
aroben@apple.com [Wed, 21 Jul 2010 20:25:05 +0000 (20:25 +0000)]
Teach CoreIPC how to handle messages that are larger than the pipe's buffer

::GetOverlappedResult and ::ReadFile can fail with ERROR_MORE_DATA
when there is more data available on the pipe than was requested in
the read operation. In those cases, the appropriate response is to
perform another read operation to read the extra data. We now do this.

Also, MSDN says that, because we are doing asynchronous read
operations, we should not pass a pointer to ::ReadFile to find out how
many bytes were read. Instead we should always call
::GetOverlappedResult to find this out. I've changed
Connection::readEventHandler to have a single loop that calls
::GetOverlappedResult and ::ReadFile in alternation, rather than
sometimes calling ::ReadFile multiple times in a row, to satisfy this
requirement.

In order to simplify the logic in this function, I've made us request
only a single byte from the pipe when there are no messages already in
the pipe. (Previously we were requesting 4096 bytes in this case.)
This allows us not to have to consider the case where the received
message is smaller than our read buffer. If we decide that this has a
negative impact on performance, we can of course change it. I've
mitigated this somewhat by using ::PeekNamedMessage to find out the
size of the next message in the pipe (if any), so that we can read it
all in one read operation.

Fixes <http://webkit.org/b/42710> <rdar://problem/8197571> Assertion
in Connection::readEventHandler when launching WebKitTestRunner

Reviewed by Anders Carlsson.

* Platform/CoreIPC/win/ConnectionWin.cpp:
(CoreIPC::Connection::readEventHandler): Put the call to
::GetOverlappedResult in the same loop as ::ReadFile so that we will
call them alternately. If ::GetOverlappedResult fails with
ERROR_MORE_DATA, use ::PeekNamedPipe to determine the size of the rest
of the message, then read it from the pipe. After dispatching the
message, use ::PeekNamedPipe to find out the size of the next message
in the pipe so we can read it all in one operation. If there's no
message in the pipe, we'll request just a single byte of the next
message that becomes available, and Windows will tell us when the rest
of the message is ready. If ::ReadFile fails with ERROR_MORE_DATA it
means there is data available now even though we didn't think there
was any. We go back to the top of the loop in this case and call
::GetOverlappedResult again to retrieve the available data.

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

10 years ago2010-07-21 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 21 Jul 2010 20:23:37 +0000 (20:23 +0000)]
2010-07-21  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Fix the last tree HTML5 tree builder crashes
        https://bugs.webkit.org/show_bug.cgi?id=42773

        This patch changes the internal representation of a bookmark to handle
        the case where one of the adjecent entries in the list of active
        formatting elements is actually a marker.

        After this patch, the bookmarking mechanism isn't as general, but it
        works for the cases we need in the adoption agency.

        Also, after this patch, there aren't any more known crashers in the
        HTML5 tree builder.  :)

        * html/HTMLFormattingElementList.cpp:
        (WebCore::HTMLFormattingElementList::bookmarkFor):
        (WebCore::HTMLFormattingElementList::swapTo):
        * html/HTMLFormattingElementList.h:
        (WebCore::HTMLFormattingElementList::Bookmark::Bookmark):
        (WebCore::HTMLFormattingElementList::Bookmark::moveToAfter):
        (WebCore::HTMLFormattingElementList::Bookmark::hasBeenMoved):
        (WebCore::HTMLFormattingElementList::Bookmark::mark):
        (WebCore::HTMLFormattingElementList::first):
        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):

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

10 years agoPatch for https://bugs.webkit.org/show_bug.cgi?id=42539
weinig@apple.com [Wed, 21 Jul 2010 20:10:22 +0000 (20:10 +0000)]
Patch for https://bugs.webkit.org/show_bug.cgi?id=42539
WebKitTestRunner needs to support printing ALERT, PROMPT and CONFIRM messages

Reviewed by Anders Carlsson.

WebKit2:

- Convert injected bundle UIClient functions to will-style, at least until we establish
  more concrete use cases for them past the TestRunner.

* WebProcess/InjectedBundle/API/c/WKBundlePage.h:
* WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
(WebKit::InjectedBundlePageUIClient::willAddMessageToConsole):
(WebKit::InjectedBundlePageUIClient::willSetStatusbarText):
(WebKit::InjectedBundlePageUIClient::willRunJavaScriptAlert):
(WebKit::InjectedBundlePageUIClient::willRunJavaScriptConfirm):
(WebKit::InjectedBundlePageUIClient::willRunJavaScriptPrompt):
* WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::addMessageToConsole):
(WebKit::WebChromeClient::runJavaScriptAlert):
(WebKit::WebChromeClient::runJavaScriptConfirm):
(WebKit::WebChromeClient::runJavaScriptPrompt):
(WebKit::WebChromeClient::setStatusbarText):

WebKitTools:

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::InjectedBundlePage):
(WTR::InjectedBundlePage::_willAddMessageToConsole):
(WTR::InjectedBundlePage::_willSetStatusbarText):
(WTR::InjectedBundlePage::_willRunJavaScriptAlert):
(WTR::InjectedBundlePage::_willRunJavaScriptConfirm):
(WTR::InjectedBundlePage::_willRunJavaScriptPrompt):
(WTR::InjectedBundlePage::willAddMessageToConsole):
(WTR::InjectedBundlePage::willSetStatusbarText):
(WTR::InjectedBundlePage::willRunJavaScriptAlert):
(WTR::InjectedBundlePage::willRunJavaScriptConfirm):
(WTR::InjectedBundlePage::willRunJavaScriptPrompt):
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:

LayoutTests:

* platform/mac-wk2/Skipped:

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

10 years ago2010-07-21 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Wed, 21 Jul 2010 19:38:41 +0000 (19:38 +0000)]
2010-07-21  Tony Gentilcore  <tonyg@chromium.org>

        Unreviewed build fix.

        Disable overzealous ASSERT
        https://bugs.webkit.org/show_bug.cgi?id=42775

        No new tests because no changed functionality.

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::stopLoading):

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

10 years ago2010-07-21 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 21 Jul 2010 19:27:29 +0000 (19:27 +0000)]
2010-07-21  Simon Fraser  <simon.fraser@apple.com>

        Windows build fix.

        Need to supply implementations of PageClient::pageDidEnterAcceleratedCompositing()
        and pageDidLeaveAcceleratedCompositing() for WebView on Windows.

        * UIProcess/win/WebView.cpp:
        (WebKit::WebView::pageDidEnterAcceleratedCompositing):
        (WebKit::WebView::pageDidLeaveAcceleratedCompositing):
        * UIProcess/win/WebView.h:

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

10 years ago2010-07-21 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Wed, 21 Jul 2010 18:38:12 +0000 (18:38 +0000)]
2010-07-21  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Darin Adler.

        Crash in Notification::disconnectFrame() triggered by Frame::lifeSupportTimerFired()
        https://bugs.webkit.org/show_bug.cgi?id=42534

        Call NotificationsCenter::disconnectFrame() when the frame is disconnected from the page.
        Calling it from the destructor of Frame is too late and sometimes causes access violation.
        I was not able to reproduce this crash, so did not add new tests.
        This patch is based on the error reported in
        http://code.google.com/p/chromium/issues/detail?id=49323.

        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::pageDestroyed):
        * page/DOMWindow.h:
        * page/Frame.cpp:
        (WebCore::Frame::pageDestroyed):

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

10 years agoDon't assert when clicking on a plug-in in WebKit2
andersca@apple.com [Wed, 21 Jul 2010 18:16:02 +0000 (18:16 +0000)]
Don't assert when clicking on a plug-in in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=42762

Reviewed by Sam Weinig.

WebCore:

Remove a now invalid assert and return false instead.

* page/mac/EventHandlerMac.mm:
(WebCore::EventHandler::passMouseDownEventToWidget):

WebKit2:

Add stub for PluginView::handleEvent.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::handleEvent):
* WebProcess/Plugins/PluginView.h:

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

10 years ago2010-07-21 Anton Muhin <antonm@chromium.org>
antonm@chromium.org [Wed, 21 Jul 2010 18:14:12 +0000 (18:14 +0000)]
2010-07-21  Anton Muhin  <antonm@chromium.org>

        Reviewed by Adam Barth.

        [v8] Revert r60670 as it introduced a regression: in some cases named children couldn't be retrieved.
        https://bugs.webkit.org/show_bug.cgi?id=42766

        See http://code.google.com/p/chromium/issues/detail?id=48804 for more details.

        * bindings/scripts/CodeGeneratorV8.pm:
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::namedItemAdded):
        (WebCore::ScriptController::namedItemRemoved):
        * bindings/v8/V8DOMWindowShell.cpp:
        (WebCore::V8DOMWindowShell::updateDocumentWrapperCache):
        * bindings/v8/V8DOMWindowShell.h:
        * bindings/v8/V8DOMWrapper.cpp:
        (WebCore::V8DOMWrapper::instantiateV8Object):
        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::V8HTMLDocument::namedPropertyDeleter):
        (WebCore::V8HTMLDocument::namedPropertyGetter):
        (WebCore::V8HTMLDocument::indexedPropertyGetter):
        (WebCore::V8HTMLDocument::allAccessorSetter):
        (WebCore::toV8):

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

10 years ago2010-07-21 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Wed, 21 Jul 2010 17:53:50 +0000 (17:53 +0000)]
2010-07-21  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Simon Fraser.

        Update plug-in proxy backed <video> and <audio> elements.
        https://bugs.webkit.org/show_bug.cgi?id=42770
        <rdar://problem/7963467>

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::attributeChanged): Only call m_player->setControls when
        the 'controls' attribute changes.
        (WebCore::HTMLMediaElement::createRenderer):
        (WebCore::HTMLMediaElement::attach): If we have a proxy widget, call the WebFrameLoaderClient's
        'hide' and 'show' methods for the media proxy plug-in to make sure we remove and re-add the
        plug-in's view to the global list of plugin views.
        (WebCore::HTMLMediaElement::createMediaPlayerProxy): Bail if m_proxyWidget is non-NULL

        * loader/EmptyClients.h:
        (WebCore::EmptyFrameLoaderClient::hideMediaPlayerProxyPlugin): Empty stub method.
        (WebCore::EmptyFrameLoaderClient::showMediaPlayerProxyPlugin): Ditto.

        * loader/FrameLoader.cpp:
        * loader/FrameLoaderClient.h:
        * loader/SubframeLoader.cpp:
        (WebCore::FrameLoader::loadMediaPlayerProxyPlugin): Always set m_containsPlugIns in loadMediaPlayerProxyPlugin(),
         even when we don't have a renderer.
        (WebCore::FrameLoader::hideMediaPlayerProxyPlugin): New, call hideMediaPlayerProxyPlugin.
        (WebCore::FrameLoader::showMediaPlayerProxyPlugin): New, call showMediaPlayerProxyPlugin.

        * platform/graphics/MediaPlayer.cpp:
        (WebCore::NullMediaPlayerPrivate::setControls):
        (WebCore::MediaPlayer::setControls): New, pass through to media engine.
        (WebCore::MediaPlayer::enterFullscreen): Ditto.
        (WebCore::MediaPlayer::exitFullscreen): Ditto.
        * platform/graphics/MediaPlayer.h:
        * platform/graphics/MediaPlayerPrivate.h:
        (WebCore::MediaPlayerPrivateInterface::setControls):
        (WebCore::MediaPlayerPrivateInterface::enterFullscreen):
        (WebCore::MediaPlayerPrivateInterface::exitFullscreen):

2010-07-21  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Simon Fraser.

        Update plug-in proxy backed <video> and <audio> elements.
        https://bugs.webkit.org/show_bug.cgi?id=42770
        <rdar://problem/7963467>

        * Plugins/WebPluginController.h:
        * Plugins/WebPluginController.mm:
        (-[WebPluginController dealloc]): Release _viewsNotInDocument.
        (-[WebPluginController stopAllPlugins]): Stop plug-ins not in the document.
        (-[WebPluginController pluginViewCreated:]): New, add a View (plug-in) to _viewsNotInDocument.
        (+[WebPluginController pluginViewHidden:]): New, remove the view (plug-in) from pluginViews.
        (-[WebPluginController addPlugin:]): Remove the new plug-in from _viewsNotInDocument.

        * WebCoreSupport/WebFrameLoaderClient.h:
        * WebCoreSupport/WebFrameLoaderClient.mm:
        (WebFrameLoaderClient::createPlugin): Remove PLUGIN_PROXY_FOR_VIDEO code, the media
        player proxy plug-in should never be allocated by this method.
        (WebFrameLoaderClient::createMediaPlayerProxyPlugin): New, allocate a media player proxy.

        * WebView/WebView.mm:
        (-[WebView _videoProxyPluginForMIMEType:]): New. Identical to _pluginForMIMEType except it doesn't
        consider the arePlugInsEnabled preference.
        * WebView/WebViewInternal.h:

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

10 years ago2010-07-21 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 21 Jul 2010 17:51:25 +0000 (17:51 +0000)]
2010-07-21  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Anders Carlsson.

        Get accelerated compositing working with webkit2
        https://bugs.webkit.org/show_bug.cgi?id=41084

        Hook up dynamic DrawingArea switching, so that when the WebProcess hits a page
        that requires accelerated compositing, we switch to the LayerBackedDrawingArea.

        * Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h:
        (DrawingAreaProxyMessage::):
        * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h:
        (WebPageProxyMessage::):
        * UIProcess/API/mac/PageClientImpl.h:
        * UIProcess/API/mac/PageClientImpl.mm:
        (WebKit::PageClientImpl::pageDidEnterAcceleratedCompositing):
        (WebKit::PageClientImpl::pageDidLeaveAcceleratedCompositing):
        * UIProcess/API/mac/WKView.mm:
        (-[WKView _startAcceleratedCompositing:]):
        (-[WKView _switchToDrawingAreaTypeIfNecessary:DrawingAreaProxy::]):
        (-[WKView _pageDidEnterAcceleratedCompositing]):
        (-[WKView _pageDidLeaveAcceleratedCompositing]):
        * UIProcess/API/mac/WKViewInternal.h:
        * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp:
        (WebKit::ChunkedUpdateDrawingAreaProxy::didReceiveSyncMessage):
        * UIProcess/ChunkedUpdateDrawingAreaProxy.h:
        * UIProcess/DrawingAreaProxy.h:
        (WebKit::DrawingAreaProxy::):
        (WebKit::DrawingAreaProxy::type):
        * UIProcess/LayerBackedDrawingAreaProxy.cpp:
        (WebKit::LayerBackedDrawingAreaProxy::didSetSize):
        (WebKit::LayerBackedDrawingAreaProxy::didReceiveMessage):
        (WebKit::LayerBackedDrawingAreaProxy::didReceiveSyncMessage):
        * UIProcess/LayerBackedDrawingAreaProxy.h:
        * UIProcess/PageClient.h:
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::setDrawingArea):
        (WebKit::WebPageProxy::didReceiveSyncMessage):
        (WebKit::WebPageProxy::didEnterAcceleratedCompositing):
        (WebKit::WebPageProxy::didLeaveAcceleratedCompositing):
        * UIProcess/WebPageProxy.h:
        * UIProcess/mac/LayerBackedDrawingAreaProxyMac.mm:
        (WebKit::LayerBackedDrawingAreaProxy::attachCompositingContext):
        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
        (WebKit::WebChromeClient::attachRootGraphicsLayer):
        * WebProcess/WebPage/ChunkedUpdateDrawingArea.h:
        (WebKit::ChunkedUpdateDrawingArea::attachCompositingContext):
        (WebKit::ChunkedUpdateDrawingArea::setRootCompositingLayer):
        * WebProcess/WebPage/DrawingArea.cpp:
        (WebKit::DrawingArea::create):
        * WebProcess/WebPage/DrawingArea.h:
        (WebKit::DrawingArea::):
        (WebKit::DrawingArea::type):
        * WebProcess/WebPage/LayerBackedDrawingArea.cpp:
        (WebKit::LayerBackedDrawingArea::LayerBackedDrawingArea):
        (WebKit::LayerBackedDrawingArea::setNeedsDisplay):
        (WebKit::LayerBackedDrawingArea::setSize):
        (WebKit::LayerBackedDrawingArea::didUpdate):
        (WebKit::LayerBackedDrawingArea::setRootCompositingLayer):
        * WebProcess/WebPage/LayerBackedDrawingArea.h:
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::changeAcceleratedCompositingMode):
        (WebKit::WebPage::enterAcceleratedCompositingMode):
        (WebKit::WebPage::exitAcceleratedCompositingMode):
        * WebProcess/WebPage/WebPage.h:
        * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
        (WebKit::LayerBackedDrawingArea::platformInit):
        (WebKit::LayerBackedDrawingArea::attachCompositingContext):
        (WebKit::LayerBackedDrawingArea::detachCompositingContext):
        (WebKit::LayerBackedDrawingArea::setRootCompositingLayer):

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

10 years ago2010-07-21 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Wed, 21 Jul 2010 17:46:09 +0000 (17:46 +0000)]
2010-07-21  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Make more members of CSSStyleSelector private.
        https://bugs.webkit.org/show_bug.cgi?id=42757

        No change in behavior, so no new tests.

        * css/CSSStyleSelector.h: Made a publicly-unused methods private.

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

10 years ago2010-07-21 Finnur Thorarinsson <finnur.webkit@gmail.com>
commit-queue@webkit.org [Wed, 21 Jul 2010 17:44:36 +0000 (17:44 +0000)]
2010-07-21  Finnur Thorarinsson  <finnur.webkit@gmail.com>

        Reviewed by Dimitri Glazkov.

        Avoid crashing during find-in-page when |view| is NULL.
        https://bugs.webkit.org/show_bug.cgi?id=42760

        There are no layout tests because we don't have a repro case
        to work with, so this is a speculative fix based on crash dump
        diagnosis. See bug for details.

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::shouldScopeMatches):

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

10 years ago2010-07-21 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 21 Jul 2010 17:36:30 +0000 (17:36 +0000)]
2010-07-21  Tony Chang  <tony@chromium.org>

        Not reviewed, updating chromium test expectations.

        Remove expectations for tests that were moved to platform/mac in r63616.

        * platform/chromium/test_expectations.txt:

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

10 years ago2010-07-21 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 21 Jul 2010 17:32:20 +0000 (17:32 +0000)]
2010-07-21  Tony Chang  <tony@chromium.org>

        Not reviewed, updating chromiumg test expectations.

        * platform/chromium/test_expectations.txt: Marking remember-bad-password.html and
            401-logout.php as failing.

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

10 years ago2010-07-21 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Wed, 21 Jul 2010 17:30:53 +0000 (17:30 +0000)]
2010-07-21  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Add a diagram explaining how a DOM element is attached to the site.
        https://bugs.webkit.org/show_bug.cgi?id=42763

        * coding/dom-element-attach.html: Added.
        * coding/images/dom-element-attach-large.png: Added.
        * coding/images/dom-element-attach-small.png: Added.
        * coding/images/dom-element-attach.graffle: Added.
        * coding/technical-articles.html: Added a link to the page with the diragram.

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

10 years ago2010-07-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 21 Jul 2010 17:26:19 +0000 (17:26 +0000)]
2010-07-21  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: consider jQuery object to be of array nature.

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

        * inspector/front-end/InjectedScript.js:
        (injectedScriptConstructor):

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

10 years ago https://bugs.webkit.org/show_bug.cgi?id=42717
ap@apple.com [Wed, 21 Jul 2010 17:20:30 +0000 (17:20 +0000)]
    https://bugs.webkit.org/show_bug.cgi?id=42717
        <rdar://problem/7062824> A wrong password entered for site or proxy auth remains in WebCore
        credential storage, and is sent with subsequent requests

WebCore:
        * platform/network/cf/ResourceHandleCFNet.cpp:
        (WebCore::ResourceHandle::didReceiveAuthenticationChallenge): Don't use that direct a
        copy/paste, oops!

LayoutTests:
        * platform/gtk/Skipped:
        * platform/qt/Skipped:
        Skip the new tests, they don't pass.

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

10 years ago2010-07-21 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 21 Jul 2010 16:55:56 +0000 (16:55 +0000)]
2010-07-21  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Darin Adler.

        When GraphicsLayer::contentsOrientation() is CompositingCoordinatesBottomUp, need to flip repaint rects
        https://bugs.webkit.org/show_bug.cgi?id=42662

        If the contentsOrientation() on a GraphicsLayer is CompositingCoordinatesBottomUp, then we
        need to flip the rects passed to setNeedsDisplayInRect:.

        Avoid writing this code twice by making a bare function to share code
        between WebLayer and WebTiledLayer. Convert the existing +drawContents:ofLayer:intoContext:
        class method into a bare function, because the Obj-C calling overhead doesn't buy us anything.

        Take out an assertion in GraphicsLayerCA::updateContentsTransform() that is not
        correct.

        No new tests because no layers use bottom-up contents at present.

        * platform/graphics/mac/GraphicsLayerCA.mm:
        (WebCore::GraphicsLayerCA::updateContentsTransform):
        * platform/graphics/mac/WebLayer.h:
        * platform/graphics/mac/WebLayer.mm:
        (drawLayerContents):
        (setLayerNeedsDisplayInRect):
        (-[WebLayer setNeedsDisplayInRect:]):
        (-[WebLayer drawInContext:]):
        * platform/graphics/mac/WebTiledLayer.mm:
        (-[WebTiledLayer setNeedsDisplayInRect:]):
        (-[WebTiledLayer drawInContext:]):

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

10 years ago Reviewed by Darin Adler.
ap@apple.com [Wed, 21 Jul 2010 16:42:07 +0000 (16:42 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=42717
        <rdar://problem/7062824> A wrong password entered for site or proxy auth remains in WebCore
        credential storage, and is sent with subsequent requests

        Tests: http/tests/security/401-logout/401-logout.php
               http/tests/xmlhttprequest/remember-bad-password.html

        * platform/network/CredentialStorage.cpp: (WebCore::CredentialStorage::remove):
        * platform/network/CredentialStorage.h:
        Added a way to remove stored credentials for a given protection space.

        * platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::ResourceHandle::didReceiveAuthenticationChallenge):
        * platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::didReceiveAuthenticationChallenge):
        Remove stored credentials if they didn't work the first time.

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

10 years agoJavaScriptCore: WebKit on Windows should build optionally with an unversioned ICU DLL
sfalken@apple.com [Wed, 21 Jul 2010 16:39:59 +0000 (16:39 +0000)]
JavaScriptCore: WebKit on Windows should build optionally with an unversioned ICU DLL
https://bugs.webkit.org/show_bug.cgi?id=42722
<rdar://problem/8211743> JavaScriptCore needs to link against unversioned ICU

Reviewed by Adam Roben.

Dynamically create a new header, ICUVersion.h, as part of build-generated-files.sh.
Header contains a preprocessor define (U_DISABLE_RENAMING) indicating to ICU whether the ICU API
should be namespaced with the current ICU version number. Proper value is determined
by checking for the presence of libicuuc.lib, the unversioned copy of ICU.

To get the proper value for U_DISABLE_RENAMING into all source files, we force
the include of ICUVersion.h (our generated header) via the compiler options.

Since the versioned and unversioned ICU have different filenames (libicuuc.lib vs icuuc.lib)
we copy the ICU lib to an intermediate location under obj with a common name. This
allows us to link properly with either without adding a new build configuration.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops:
Copy ICU libs into a common location with a common name.
Add additional library search path to pick up icu lib.
Change ICU library filename specified to linker.
Add forced include of ICUVersion.h.
* JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh: Generate ICUVersion.h
* JavaScriptCore.vcproj/WTF/WTFCommon.vsprops: Add forced include of ICUVersion.h.
* JavaScriptCore.vcproj/jsc/jscCommon.vsprops:
Copy ICU libs into a common location with a common name.
Add additional library search path to pick up icu lib.
Change ICU library filename specified to linker.
Add forced include of ICUVersion.h.
* JavaScriptCore.vcproj/testapi/testapiCommon.vsprops:
Copy ICU libs into a common location with a common name.
Add additional library search path to pick up icu lib.
Change ICU library filename specified to linker.
Add forced include of ICUVersion.h.

WebCore: WebKit on Windows should build optionally with an unversioned ICU DLL
https://bugs.webkit.org/show_bug.cgi?id=42722
<rdar://problem/8211767> WebKit needs to link against unversioned ICU

Reviewed by Adam Roben.

To get the proper value for U_DISABLE_RENAMING into all source files, we force
the include of ICUVersion.h (our generated header) via the compiler options.

* WebCore.vcproj/WebCore.vcproj:
Add forced include of ICUVersion.h.
* WebCore.vcproj/WebCoreCommon.vsprops: Add forced include of ICUVersion.h.

WebKit/win: WebKit on Windows should build optionally with an unversioned ICU DLL
https://bugs.webkit.org/show_bug.cgi?id=42722
<rdar://problem/8211767> WebKit needs to link against unversioned ICU

Reviewed by Adam Roben.

To get the proper value for U_DISABLE_RENAMING into all source files, we force
the include of ICUVersion.h (our generated header) via the compiler options.

* WebKit.vcproj/WebKit.vcproj: Add forced include of ICUVersion.h.

WebKit2: WebKit on Windows should build optionally with an unversioned ICU DLL
https://bugs.webkit.org/show_bug.cgi?id=42722
<rdar://problem/8211767> WebKit needs to link against unversioned ICU

Reviewed by Adam Roben.

To get the proper value for U_DISABLE_RENAMING into all source files, we force
the include of ICUVersion.h (our generated header) via the compiler options.

Since the versioned and unversioned ICU have different filenames (libicuuc.lib vs icuuc.lib)
we copy the ICU lib to an intermediate location under obj with a common name. This
allows us to link properly with either without adding a new build configuration.

* win/WebKit2Common.vsprops:
Copy ICU libs into a common location with a common name.
Add additional library search path to pick up icu lib.
Change ICU library filename specified to linker.
Add forced include of ICUVersion.h.

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

10 years agoWindows build fix
aroben@apple.com [Wed, 21 Jul 2010 16:31:15 +0000 (16:31 +0000)]
Windows build fix

* Shared/win/UpdateChunk.h:
(WebKit::UpdateChunk::isEmpty): Added to match the Mac definition.

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

10 years agoLand file I forgot to add.
andersca@apple.com [Wed, 21 Jul 2010 16:04:28 +0000 (16:04 +0000)]
Land file I forgot to add.

* WebProcess/com.apple.WebProcess.sb: Added.

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

10 years agoMove WebKit2WebProcess's settings to a vsprops file
aroben@apple.com [Wed, 21 Jul 2010 16:01:51 +0000 (16:01 +0000)]
Move WebKit2WebProcess's settings to a vsprops file

Fixes <http://webkit.org/b/42751> WebKit2WebProcess should use vsprops
files

Reviewed by Darin Adler.

* win/WebKit2WebProcess.vcproj: Moved settings from here...
* win/WebKit2WebProcessCommon.vsprops: ...to here.

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

10 years agoGive InjectedBundle our standard set of configurations (minus the *_Cairo variants)
aroben@apple.com [Wed, 21 Jul 2010 16:01:33 +0000 (16:01 +0000)]
Give InjectedBundle our standard set of configurations (minus the *_Cairo variants)

InjectedBundle's Debug_All configuration was the same as is Debug
configuration, and it was missing a Debug_Internal configuration.

Fixes <http://webkit.org/b/42749> InjectedBundle's build
configurations are screwy

Reviewed by Darin Adler.

WebKit/win:

Update WebKit.sln for InjectedBundle's Debug_Internal configuration

* WebKit.vcproj/WebKit.sln: Build the Debug_Internal variant of
InjectedBundle when we're using the Debug_Internal solution
configuration.

WebKitTools:

* WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj: Added
debug_internal.vsprops and debug_all.vsprops to the Debug_All
configuration. Added a Debug_Internal configuration.

* WebKitTestRunner/WebKitTestRunner.sln: Build the Debug_Internal
variant of InjectedBundle when we're using the Debug_Internal solution
configuration.

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

10 years agoMove InjectedBundle's settings to a vsprops file
aroben@apple.com [Wed, 21 Jul 2010 16:01:14 +0000 (16:01 +0000)]
Move InjectedBundle's settings to a vsprops file

This will make it easier to change settings for all configurations,
and to add new configurations.

Fixes <http://webkit.org/b/42748> InjectedBundle should use vsprops
files

Reviewed by Darin Adler.

* WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops: Added.
Moved settings here...
* WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj: ...from
here.

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

10 years agoAdd MiniBrowser to WebKit.sln
aroben@apple.com [Wed, 21 Jul 2010 16:00:51 +0000 (16:00 +0000)]
Add MiniBrowser to WebKit.sln

It is the last project to build.

Fixes <http://webkit.org/b/42747> build-webkit should build
MiniBrowser

Reviewed by Darin Adler.

* WebKit.vcproj/WebKit.sln: Added MiniBrowser, and made it depend on
WebKitTestRunner.

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

10 years agoGive MiniBrowser our standard set of configurations (minus the *_Cairo variants)
aroben@apple.com [Wed, 21 Jul 2010 15:53:46 +0000 (15:53 +0000)]
Give MiniBrowser our standard set of configurations (minus the *_Cairo variants)

MiniBrowser already had a configuration called "Release", but it was
using mostly the same settings as Debug. And its Debug configuration
was using the settings that Debug_Internal should be using.

Fixes <http://webkit.org/b/42746> MiniBrowser's build configurations
are screwy

Reviewed by Darin Adler.

* MiniBrowser/MiniBrowser.vcproj: Removed debug_internal.vsprops from
the Debug configuration. Remove debug.vsprops and
debug_internal.vsprops from the Release configuration and replace them
with release.vsprops. Added Debug_Internal and Debug_All
configurations.

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

10 years agoReviewed and tweaked by Anders Carlsson and Sam Weinig.
andersca@apple.com [Wed, 21 Jul 2010 15:53:31 +0000 (15:53 +0000)]
Reviewed and tweaked by Anders Carlsson and Sam Weinig.

Patch by Ivan Krstić <ike@apple.com> on 2010-07-20
Put WebProcess in a sandbox. All of the following changes are
Mac-only.
<rdar://problem/7865269>

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::WebProcessProxy):
Send Sandbox extension for injected bundle to WebProcess.

* WebKit2.xcodeproj/project.pbxproj:
Add Sandbox profile to Resources for WebProcess.

* WebProcess/InjectedBundle/InjectedBundle.h:
New function InjectedBundle::setSandboxToken.

* WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp:
(WebKit::InjectedBundle::load):
Consume Sandbox token for the bundle if present.

(WebKit::InjectedBundle::setSandboxToken):
Set Sandbox token for the bundle.

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::loadInjectedBundle):
Extra function parameter for Sandbox token.

(WebKit::WebProcess::didReceiveMessage):
Pass Sandbox token to loadInjectedBundle().

* WebProcess/WebProcess.h:
Extra function parameter for Sandbox token in loadInjectedBundle().

* WebProcess/com.apple.WebProcess.sb: Added.
Sandbox profile for WebProcess.

* WebProcess/mac/WebProcessMainMac.mm:
(WebKit::WebProcessMain):
Initialize Sandbox, exit on failure.

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

10 years agoMove MiniBrowser's settings to a vsprops file
aroben@apple.com [Wed, 21 Jul 2010 15:53:29 +0000 (15:53 +0000)]
Move MiniBrowser's settings to a vsprops file

This will make it easier to change settings for all configurations,
and to add new configurations.

MiniBrowser should use vsprops files
https://bugs.webkit.org/show_bug.cgi?id=42745

Reviewed by Darin Adler.

* MiniBrowser/Configurations/MiniBrowserCommon.vsprops: Added. Moved
settings here...
* MiniBrowser/MiniBrowser.vcproj: ...from here.

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

10 years agoFix compiler warnings when building MiniBrowser
aroben@apple.com [Wed, 21 Jul 2010 15:53:08 +0000 (15:53 +0000)]
Fix compiler warnings when building MiniBrowser

Also cleaned up the .vcproj a bit.

Fixes <http://webkit.org/b/42743>.

Reviewed by Darin Adler.

* MiniBrowser/MiniBrowser.vcproj: Removed all settings that are
already defined in .vsprops files. This also fixes a warning about
/EDITANDCONTINUE being incompatible with /SAFESEH.

* MiniBrowser/win/MiniBrowser.rc: Replaced afxres.h with winresrc.h so
that we stop getting warnings about ID_FILE_OPEN and ID_FILE_CLOSE
being redefined. (I think this will also get us closer to building
with VC++ Express.)

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

10 years ago2010-07-21 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Wed, 21 Jul 2010 15:51:18 +0000 (15:51 +0000)]
2010-07-21  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        WebInspector: Serialization to JSON in InspectorValue works incorrect
        if comma is assigned as decimal separator. Windows with Russian locale.
        https://bugs.webkit.org/show_bug.cgi?id=42755

        * inspector/InspectorValues.cpp:
        (WebCore::InspectorBasicValue::writeJSON):

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

10 years agoHandle WKView visibility changes
andersca@apple.com [Wed, 21 Jul 2010 15:43:08 +0000 (15:43 +0000)]
Handle WKView visibility changes
<rdar://problem/7891077>

Reviewed by Dan Bernstein.

* Shared/mac/UpdateChunk.h:
(WebKit::UpdateChunk::isEmpty):
Add convenience getter.

* UIProcess/API/mac/WKView.mm:
(-[WKView viewDidMoveToWindow]):
Reorder the calls to _updateActiveState and _updateVisibility based on whether the view is moved to
a window or away from a window.

* UIProcess/ChunkedUpdateDrawingAreaProxy.cpp:
(WebKit::ChunkedUpdateDrawingAreaProxy::ChunkedUpdateDrawingAreaProxy):
Initialize m_forceRepaintWhenResumingPainting to false.

(WebKit::ChunkedUpdateDrawingAreaProxy::setPageIsVisible):
Pass the m_forceRepaintWhenResumingPainting along to the DrawingAreaMessage::ResumePainting message.

(WebKit::ChunkedUpdateDrawingAreaProxy::didSetSize):
Don't try to paint empty update chunks.

(WebKit::ChunkedUpdateDrawingAreaProxy::update):
Don't paint the update chunk if we're not visible. Instead, make sure that the entire page is being redrawn
when its shown again.

* UIProcess/ChunkedUpdateDrawingAreaProxy.h:
* WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
(WebKit::ChunkedUpdateDrawingArea::ChunkedUpdateDrawingArea):
(WebKit::ChunkedUpdateDrawingArea::display):
(WebKit::ChunkedUpdateDrawingArea::suspendPainting):
Rename m_shouldPaint to m_isPaintingSuspended and invert its logic.

(WebKit::ChunkedUpdateDrawingArea::scheduleDisplay):
Don't schedule a display timer if the dirty rect is empty.

(WebKit::ChunkedUpdateDrawingArea::setSize):
If painting is suspended, just send back an empty update chunk in the DidSetSize message.

(WebKit::ChunkedUpdateDrawingArea::resumePainting):
If forceRepaint is true, repaint the entire drawing area.

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

10 years ago2010-07-20 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 21 Jul 2010 15:14:07 +0000 (15:14 +0000)]
2010-07-20  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        CSS rotation transform can cause elements with certain styles to vanish during rotation.
        https://bugs.webkit.org/show_bug.cgi?id=42579

        Remove some untested, broken code that, as far as I can tell, could never get hit.
        Use the correct rect for the PaintInfo so that zero-sized elements with overflow:hidden
        but a border paint correctly.

        Test: compositing/overflow/zero-size-overflow.html

        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::paintIntoLayer):

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

10 years ago2010-07-21 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
commit-queue@webkit.org [Wed, 21 Jul 2010 15:12:27 +0000 (15:12 +0000)]
2010-07-21  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>

        Reviewed by Laszlo Gombos.

        [QT] Leak and few more fixes to qt port of geolocation
        https://bugs.webkit.org/show_bug.cgi?id=42753

        Fixes memory leak and default values set to attributes.

        Memory leak fix no new test case added.

        * platform/qt/GeolocationServiceQt.cpp: Added.
        (WebCore::GeolocationServiceQt::~GeolocationServiceQt):
        (WebCore::GeolocationServiceQt::positionUpdated):

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

10 years agoUnreviewed.
ossy@webkit.org [Wed, 21 Jul 2010 15:10:07 +0000 (15:10 +0000)]
Unreviewed.

[Qt] DRT sideeffect revealed by r63657
https://bugs.webkit.org/show_bug.cgi?id=42578

* platform/qt/Skipped: Unskip tests.

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

10 years ago2010-07-21 Kristian Amlie <kristian.amlie@nokia.com>
commit-queue@webkit.org [Wed, 21 Jul 2010 13:56:01 +0000 (13:56 +0000)]
2010-07-21  Kristian Amlie <kristian.amlie@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Added automatic sqlite extraction for Symbian to QtWebKit.

        Also added sqlite detection in case sqlite is not present in the SDK.
        This is possible if WebKit is compiled standalone.

        The inclusion part is a consequence of commit c578c6c1d6d in the Qt
        repository. It will not work on Qt versions < 4.7.1, but that is ok,
        since the only build system it will affect is marked as experimental
        in the whole 4.7 series.

        * WebCore.pro:

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

10 years ago2010-07-21 Leandro Pereira <leandro@profusion.mobi>
leandro@webkit.org [Wed, 21 Jul 2010 13:48:37 +0000 (13:48 +0000)]
2010-07-21  Leandro Pereira  <leandro@profusion.mobi>

        Reviewed by Gustavo Noronha Silva.

        Creating ChangeLog for the EFL port.

        * efl/ChangeLog: Added.

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

10 years ago2010-07-21 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 21 Jul 2010 12:53:21 +0000 (12:53 +0000)]
2010-07-21  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Associate elements with the active form
        https://bugs.webkit.org/show_bug.cgi?id=42728

        This patch fixes fast/forms/formmove3.html.  The test still doesn't
        pass due to some render tree differences, but it works as intended now.

        To fix this test, I needed to deviate from the spec slight.  Minefield
        seems to have the same deviation:
          - http://www.w3.org/Bugs/Public/show_bug.cgi?id=10216

        * html/HTMLConstructionSite.cpp:
        (WebCore::HTMLConstructionSite::takeForm):
        (WebCore::HTMLConstructionSite::setForm):
        (WebCore::HTMLConstructionSite::createHTMLElement):
        * html/HTMLConstructionSite.h:
        (WebCore::HTMLConstructionSite::form):
        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::processStartTagForInBody):

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

10 years ago2010-07-21 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 21 Jul 2010 12:38:21 +0000 (12:38 +0000)]
2010-07-21  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        The adoption agency doesn't properly attach()
        https://bugs.webkit.org/show_bug.cgi?id=42727

        The adoption agency is transliterated rather directly from the spec,
        but it misses some of the WebKit-specific machinations, such as
        attaching to the render tree.

        The algorithm, as written, is a minor layer violation.  I've added to
        the problem by calling attach() from HTMLTreeBuilder (even though
        that's the job of the HTMLConstructionSite).  We'll need to clean up
        the layering a bit at some point.

        This patch half fixes fast/forms/formmove3.html.  Hopefully I'll finish
        fixing it in the next patch.

        * html/HTMLConstructionSite.cpp:
        (WebCore::HTMLConstructionSite::createHTMLElementFromSavedElement):
        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):

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

10 years ago2010-07-21 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 21 Jul 2010 12:22:48 +0000 (12:22 +0000)]
2010-07-21  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        <input> elements with no type attribute should be foster parented
        https://bugs.webkit.org/show_bug.cgi?id=42725

        Test progression.

        * html5lib/runner-expected-html5.txt:
2010-07-21  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        <input> elements with no type attribute should be foster parented
        https://bugs.webkit.org/show_bug.cgi?id=42725

        Fix spec transcription error.

        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::processStartTagForInTable):

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

10 years ago2010-07-21 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 21 Jul 2010 12:05:33 +0000 (12:05 +0000)]
2010-07-21  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Fix fast/css/last-child-style-sharing.html
        https://bugs.webkit.org/show_bug.cgi?id=42731

        Prior to this patch, we weren't calling finishParsingChildren on the
        body element.  We need a more systematic way of catching these bugs.

        * html/HTMLElementStack.cpp:
        (WebCore::HTMLElementStack::popAll):
        * html/HTMLElementStack.h:
        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::processEndOfFile):

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

10 years ago2010-07-21 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 21 Jul 2010 11:18:23 +0000 (11:18 +0000)]
2010-07-21  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: inspector/debugger-pause-in-eval-script.html fails on Chromium Win
        https://bugs.webkit.org/show_bug.cgi?id=42735

        * inspector/debugger-pause-in-eval-script.html:
        * platform/chromium/test_expectations.txt:

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

10 years ago2010-07-21 Hans Wennborg <hans@chromium.org>
commit-queue@webkit.org [Wed, 21 Jul 2010 10:42:35 +0000 (10:42 +0000)]
2010-07-21  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        Runtime feature switch for device orientation
        https://bugs.webkit.org/show_bug.cgi?id=42265

        Add a runtime feature switch that decides whether device orientation
        events are available or not. Defaults to true.

        * WebCore.vcproj/WebCoreCommon.vsprops: Add bindings/generic to include path.
        * bindings/generic/RuntimeEnabledFeatures.cpp:
        * bindings/generic/RuntimeEnabledFeatures.h:
        (WebCore::RuntimeEnabledFeatures::setDeviceOrientationEnabled):
        (WebCore::RuntimeEnabledFeatures::deviceOrientationEnabled):
        (WebCore::RuntimeEnabledFeatures::deviceOrientationEventEnabled):
        (WebCore::RuntimeEnabledFeatures::ondeviceorientationEnabled):
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::addEventListener):
        (WebCore::DOMWindow::removeEventListener):
        (WebCore::DOMWindow::removeAllEventListeners):
        * page/DOMWindow.idl:
        * page/Page.cpp:
        (WebCore::Page::Page):
2010-07-21  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        Runtime feature switch for device orientation
        https://bugs.webkit.org/show_bug.cgi?id=42265

        Add a runtime feature switch that decides whether device orientation
        events are available or not. Defaults to true.

        * public/WebRuntimeFeatures.h:
        * src/WebRuntimeFeatures.cpp:
        (WebKit::WebRuntimeFeatures::enableDeviceOrientation):
        (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled):

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

10 years agoWebCore: Reviewed Nikolas Zimmermann.
zherczeg@webkit.org [Wed, 21 Jul 2010 09:57:19 +0000 (09:57 +0000)]
WebCore: Reviewed Nikolas Zimmermann.

SVGFilterElement & SVGFE*Element don't support dynamic invalidation, when attributes change
https://bugs.webkit.org/show_bug.cgi?id=42244

The implementation was done by Nikolas Zimmermann before, but
there was no tests for it. The patch also implements the simple
setFilterRes method.

Tests: svg/dynamic-updates/SVGFilterElement-dom-filterRes-attr.html
       svg/dynamic-updates/SVGFilterElement-dom-filterUnits-attr.html
       svg/dynamic-updates/SVGFilterElement-dom-height-attr.html
       svg/dynamic-updates/SVGFilterElement-dom-primitiveUnits-attr.html
       svg/dynamic-updates/SVGFilterElement-dom-width-attr.html
       svg/dynamic-updates/SVGFilterElement-dom-x-attr.html
       svg/dynamic-updates/SVGFilterElement-dom-y-attr.html
       svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call.html
       svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop.html
       svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop.html
       svg/dynamic-updates/SVGFilterElement-svgdom-filterUnits-prop.html
       svg/dynamic-updates/SVGFilterElement-svgdom-height-prop.html
       svg/dynamic-updates/SVGFilterElement-svgdom-primitiveUnits-prop.html
       svg/dynamic-updates/SVGFilterElement-svgdom-width-prop.html
       svg/dynamic-updates/SVGFilterElement-svgdom-x-prop.html
       svg/dynamic-updates/SVGFilterElement-svgdom-y-prop.html

* svg/SVGFilterElement.cpp:
(WebCore::SVGFilterElement::setFilterRes):
(WebCore::SVGFilterElement::svgAttributeChanged):
(WebCore::SVGFilterElement::childrenChanged):
* svg/SVGFilterElement.h:

LayoutTests: SVGFilterElement & SVGFE*Element don't support dynamic invalidation, when attributes change
https://bugs.webkit.org/show_bug.cgi?id=42244

Reviewed by Nikolas Zimmermann.

* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-filterRes-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-filterRes-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-filterUnits-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-filterUnits-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-height-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-height-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-primitiveUnits-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-primitiveUnits-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-width-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-width-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-x-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-x-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-y-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-dom-y-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterUnits-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-filterUnits-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-height-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-height-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-primitiveUnits-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-primitiveUnits-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-width-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-width-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-x-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-x-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-y-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFilterElement-svgdom-y-prop-expected.png: Added.
* svg/dynamic-updates/SVGFilterElement-dom-filterRes-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-dom-filterRes-attr.html: Added.
* svg/dynamic-updates/SVGFilterElement-dom-filterUnits-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-dom-filterUnits-attr.html: Added.
* svg/dynamic-updates/SVGFilterElement-dom-height-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-dom-height-attr.html: Added.
* svg/dynamic-updates/SVGFilterElement-dom-primitiveUnits-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-dom-primitiveUnits-attr.html: Added.
* svg/dynamic-updates/SVGFilterElement-dom-width-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-dom-width-attr.html: Added.
* svg/dynamic-updates/SVGFilterElement-dom-x-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-dom-x-attr.html: Added.
* svg/dynamic-updates/SVGFilterElement-dom-y-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-dom-y-attr.html: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call.html: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop.html: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop.html: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterUnits-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-filterUnits-prop.html: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-height-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-height-prop.html: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-primitiveUnits-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-primitiveUnits-prop.html: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-width-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-width-prop.html: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-x-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-x-prop.html: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-y-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFilterElement-svgdom-y-prop.html: Added.
* svg/dynamic-updates/script-tests/SVGFilterElement-dom-filterRes-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-dom-filterUnits-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-dom-height-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-dom-primitiveUnits-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-dom-width-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-dom-x-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-dom-y-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-svgdom-filterRes-call.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-svgdom-filterResX-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-svgdom-filterResY-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-svgdom-filterUnits-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-svgdom-height-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-svgdom-primitiveUnits-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-svgdom-width-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-svgdom-x-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFilterElement-svgdom-y-prop.js: Added.
(executeTest):

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

10 years agoUnreviewed, build fix.
benm@google.com [Wed, 21 Jul 2010 09:38:25 +0000 (09:38 +0000)]
Unreviewed, build fix.

Forgot to update the role of HitTestRequest.h in
the xcode project after landing patch from
https://bugs.webkit.org/show_bug.cgi?id=39493

* WebCore.xcodeproj/project.pbxproj: Make HitTestRequest.h
    private so it can be included in WebKit by EventHandler.h
    which is already private..

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

10 years agoTouch events do not affect the :active CSS state
benm@google.com [Wed, 21 Jul 2010 09:19:02 +0000 (09:19 +0000)]
Touch events do not affect the :active CSS state
https://bugs.webkit.org/show_bug.cgi?id=39493

Reviewed by Steve Block.

WebCore:

Test: fast/events/touch/touch-active-state.html

* WebCore.exp.in: Update exports for new signature of
    hitTestResultAtPoint.
* WebCore.order: ditto.
* page/EventHandler.cpp:
(WebCore::EventHandler::EventHandler):
(WebCore::EventHandler::hitTestResultAtPoint): Pass the type
    of the hit test to perform as a parameter with a default
    value rather than harcoding it in the function body.
(WebCore::EventHandler::handleMouseMoveEvent): Do not modiify
    the active element during a mouse move if the user is
    touching the screen.
(WebCore::EventHandler::handleTouchEvent): Set the correct
    type of hit test to perform depending on the type of the
    touch event we are handling.
* page/EventHandler.h: Update the signature of hitTestResultAtPoint.

LayoutTests:

* fast/events/touch/touch-active-state-expected.txt: Added.
* fast/events/touch/touch-active-state.html: Added.

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

10 years ago2010-07-21 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 21 Jul 2010 09:02:03 +0000 (09:02 +0000)]
2010-07-21  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: should be possible to debug inspector
        https://bugs.webkit.org/show_bug.cgi?id=42730

        * src/WebDevToolsFrontendImpl.cpp:
        (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):

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

10 years ago2010-07-20 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 21 Jul 2010 06:53:12 +0000 (06:53 +0000)]
2010-07-20  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        console.assert should include stack trace with line numbers.
        https://bugs.webkit.org/show_bug.cgi?id=22556

        Test: inspector/console-assert.html

        * bindings/v8/ScriptCallStack.cpp:
        (WebCore::getTopFrameLocation):
        (WebCore::toScriptCallFramesVector):
        (WebCore::ScriptCallStack::create):
        (WebCore::ScriptCallStack::ScriptCallStack):
        * bindings/v8/ScriptCallStack.h:
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::setCaptureCallStackForUncaughtExceptions):
        * bindings/v8/custom/V8ConsoleCustom.cpp:
        (WebCore::V8Console::traceCallback):
        (WebCore::V8Console::assertCallback):
        * inspector/ConsoleMessage.cpp:
        (WebCore::ConsoleMessage::ConsoleMessage):
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::addMessageToConsole):
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleMessage.prototype._formatMessage):
        (WebInspector.ConsoleMessage.prototype.toMessageElement):
        * page/Console.cpp:
        (WebCore::Console::lastWMLErrorMessage):
        * page/Console.idl:

2010-07-20  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        console.assert should include stack trace with line numbers.
        https://bugs.webkit.org/show_bug.cgi?id=22556

        * inspector/console-assert-expected.txt: Added.
        * inspector/console-assert.html: Added.

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

10 years ago2010-07-20 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Wed, 21 Jul 2010 06:29:15 +0000 (06:29 +0000)]
2010-07-20  Rafael Antognolli  <antognolli@profusion.mobi>

        Reviewed by Kent Tamura.

        [EFL] Use log functions instead of fprintf
        https://bugs.webkit.org/show_bug.cgi?id=42576

        Use LOG and LOG_ERROR instead of fprintf.

        No new tests, no new functionality.

        * platform/efl/WidgetEfl.cpp:
        (WebCore::Widget::applyFallbackCursor):

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

10 years ago2010-07-20 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Wed, 21 Jul 2010 06:04:42 +0000 (06:04 +0000)]
2010-07-20  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: the bindings generation helper script can be
        simplified a bit. Chromium.
        https://bugs.webkit.org/show_bug.cgi?id=42523

        * WebCore.gyp/WebCore.gyp:
        * WebCore.gyp/scripts/rule_binding.py:
        * bindings/scripts/CodeGenerator.pm:
        * bindings/scripts/CodeGeneratorCPP.pm:
        * bindings/scripts/CodeGeneratorJS.pm:
        * bindings/scripts/CodeGeneratorObjC.pm:
        * bindings/scripts/CodeGeneratorV8.pm:
        * bindings/scripts/generate-bindings.pl:
        * inspector/CodeGeneratorInspector.pm:

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

10 years agoRe-save vsprops file after no-op edit in Visual Studio
sfalken@apple.com [Wed, 21 Jul 2010 04:28:32 +0000 (04:28 +0000)]
Re-save vsprops file after no-op edit in Visual Studio
to fix manual edit issues.

* WebCore.vcproj/WebCoreCommon.vsprops:

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

10 years agoRe-save vsprops files after no-op edits in Visual Studio
sfalken@apple.com [Wed, 21 Jul 2010 04:26:16 +0000 (04:26 +0000)]
Re-save vsprops files after no-op edits in Visual Studio
to fix manual edit issues.

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

10 years agoRe-save vcproj file after no-op edit in Visual Studio
sfalken@apple.com [Wed, 21 Jul 2010 04:12:50 +0000 (04:12 +0000)]
Re-save vcproj file after no-op edit in Visual Studio
to fix manual edit issues.

* WebCore.vcproj/WebCore.vcproj:

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

10 years ago2010-07-20 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 21 Jul 2010 02:41:45 +0000 (02:41 +0000)]
2010-07-20  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Update expected results for a "tricky" test
        https://bugs.webkit.org/show_bug.cgi?id=42604

        Originally, I created these expectations using Minefield.  However, it
        appears that Minefield parses this case incorrectly according to the
        spec.  I've filed <https://bugzilla.mozilla.org/show_bug.cgi?id=580091>.

        This patch updates our expected results to what I believe is correct.

        * html5lib/resources/tricky01.dat:
        * html5lib/runner-expected-html5.txt:
        * html5lib/runner-expected.txt:

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

10 years ago2010-07-20 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 21 Jul 2010 02:30:19 +0000 (02:30 +0000)]
2010-07-20  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Include attributes when reconstructing elements in HTML5 tree builder
        https://bugs.webkit.org/show_bug.cgi?id=42594

        * html5lib/runner-expected-html5.txt:
2010-07-20  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Include attributes when reconstructing elements in HTML5 tree builder
        https://bugs.webkit.org/show_bug.cgi?id=42594

        Remove FIXME now that we have a test.

        * html/HTMLConstructionSite.cpp:
        (WebCore::HTMLConstructionSite::createHTMLElementFromElementRecord):

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

10 years agoFix obvious typo.
weinig@apple.com [Wed, 21 Jul 2010 01:43:30 +0000 (01:43 +0000)]
Fix obvious typo.

Reviewed by Jon Honeycutt.

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::setStatusbarText): Need to call ->data() to actually get the string value.

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

10 years ago2010-07-20 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 21 Jul 2010 01:29:11 +0000 (01:29 +0000)]
2010-07-20  Tony Chang  <tony@chromium.org>

        Reviewed by Kent Tamura.

        [chromium] by default, dumpAsText should disable pixel results
        https://bugs.webkit.org/show_bug.cgi?id=42715

        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::dumpAsText): disable pixel results, but allow JS to override

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

10 years ago2010-07-20 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 21 Jul 2010 01:20:43 +0000 (01:20 +0000)]
2010-07-20  Tony Chang  <tony@chromium.org>

        Not reviewed, chromium test expectation.

        [chromium] put back baseline for http/tests/inspector/resource-parameters.html
        https://bugs.webkit.org/show_bug.cgi?id=42720

        r63791 put in a failing baseline for webkit win, but chromium-win
        falls back to webkit win before the result next to the test file.
        Just put another copy in chromium-win of the original expected
        results.

        * platform/chromium/http/tests/inspector/resource-parameters-expected.txt: Copied from LayoutTests/http/tests/inspector/resource-parameters-expected.txt.

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

10 years agoPatch for https://bugs.webkit.org/show_bug.cgi?id=42719
weinig@apple.com [Wed, 21 Jul 2010 01:03:32 +0000 (01:03 +0000)]
Patch for https://bugs.webkit.org/show_bug.cgi?id=42719
Make Acid2 pass in WebKit2

Reviewed by Brady Eidson.

WebCore:

* WebCore.exp.in: Update exported functions.

WebKit2:

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::objectContentType): Check for supported image mimetypes
before falling back to plugins.

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

10 years ago2010-07-20 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 21 Jul 2010 01:02:04 +0000 (01:02 +0000)]
2010-07-20  Adam Barth  <abarth@webkit.org>

        Reviewed by Sam Weinig.

        Import HTML5 parsing tests from html5test.com
        https://bugs.webkit.org/show_bug.cgi?id=42713

        * html5lib/resources/html5test-com.dat: Added.
        * html5lib/runner-expected-html5.txt:
        * html5lib/runner-expected.txt:
        * html5lib/runner.html:

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

10 years ago2010-07-20 Gavin Peters <gavinp@chromium.org>
commit-queue@webkit.org [Wed, 21 Jul 2010 00:26:09 +0000 (00:26 +0000)]
2010-07-20  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        prefetch categorization is exactly wrong
        https://bugs.webkit.org/show_bug.cgi?id=42651

        The miscategorization caused onloads to issue early, so you see x,
        y as 0, 0 in the buggy version.

        * fast/dom/HTMLLinkElement/onload-completion-test-expected.txt: Added.
        * fast/dom/HTMLLinkElement/onload-completion-test.html: Added.
        * fast/dom/HTMLLinkElement/resources: Added.
        * fast/dom/HTMLLinkElement/resources/nick.jpg: Added.
2010-07-20  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        prefetch categorization is exactly wrong
        https://bugs.webkit.org/show_bug.cgi?id=42651

        While I was in the area, I saw that CachedResource::schedule() was dead, so I have removed it.

        Test: fast/dom/HTMLLinkElement/onload-completion-test.html

        * loader/CachedCSSStyleSheet.h:
        * loader/CachedFont.h:
        * loader/CachedImage.h:
        * loader/CachedResource.cpp:
        * loader/CachedResource.h:
        (WebCore::CachedResource::isPrefetch):
        * loader/CachedScript.h:
        * loader/CachedXBLDocument.h:
        * loader/CachedXSLStyleSheet.h:

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

10 years agoLand failing results for http/tests/inspector/resource-parameters.html. It has been
bweinstein@apple.com [Wed, 21 Jul 2010 00:05:30 +0000 (00:05 +0000)]
Land failing results for http/tests/inspector/resource-parameters.html. It has been
failing for a while. Fixing these results is being tracked by
<https://bugs.webkit.org/show_bug.cgi?id=42718>.

Rubber-stamped by Adam Roben.

* platform/win/http/tests/inspector: Added.
* platform/win/http/tests/inspector/resource-parameters-expected.txt: Added.

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

10 years agoWindows build fix
aroben@apple.com [Wed, 21 Jul 2010 00:00:41 +0000 (00:00 +0000)]
Windows build fix

* MiniBrowser/MiniBrowser.vcproj: Link against the new, shiny
WebKit.lib instead of the old, dusty WebKit2.lib.

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

10 years agoAdd WebKitTestRunner and friends to WebKit.sln
aroben@apple.com [Tue, 20 Jul 2010 23:44:09 +0000 (23:44 +0000)]
Add WebKitTestRunner and friends to WebKit.sln

We added these projects to WebKit2.sln in r63585, but removed them
again in r63600 because WebKitTestRunner required getopt, which
doesn't exist in WebKitAuxiliaryLibrary. r63700 and r63788 removed the
use of getopt in WebKitTestRunner, so we can now add it to WebKit.sln
(which has replaced WebKit2.sln).

Fixes <http://webkit.org/b/42711> WebKit.sln should build
WebKitTestRunner

Reviewed by Steve Falkenburg.

* WebKit.vcproj/WebKit.sln: Added the following projects to the end of
the build order (in first-built to last-built order):
InjectedBundleGenerated, InjectedBundle, WebKitTestRunner. Also
removed an unnecessary dependency from testapi on WebKit2WebProcess.

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

10 years agoStop linking WebKitTestRunner against getopt
aroben@apple.com [Tue, 20 Jul 2010 23:40:30 +0000 (23:40 +0000)]
Stop linking WebKitTestRunner against getopt

Use of getopt was removed in r63700.

Fixes <http://webkit.org/b/42714> WebKitTestRunner links against
getopt, but doesn't need to

Reviewed by Sam Weinig.

* WebKitTestRunner/win/WebKitTestRunner.vcproj: Removed getopt.lib
from all configurations.

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

10 years agoAdd a few more items to the WebKit2 skipped list
weinig@apple.com [Tue, 20 Jul 2010 23:33:39 +0000 (23:33 +0000)]
Add a few more items to the WebKit2 skipped list
https://bugs.webkit.org/show_bug.cgi?id=42712

Reviewed by Maciej Stachowiak.

* platform/mac-wk2/Skipped:

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

10 years ago2010-07-16 James Hawkins <jhawkins@chromium.org>
jhawkins@chromium.org [Tue, 20 Jul 2010 23:23:28 +0000 (23:23 +0000)]
2010-07-16  James Hawkins  <jhawkins@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Implement WebFormElement::wasUserSubmitted(). This is used to
        verify that the user submitted the form instead of JS when saving form
        data in AutoFill.
        https://bugs.webkit.org/show_bug.cgi?id=42479

        * public/WebFormElement.h:
        * src/WebFormElement.cpp:
        (WebKit::WebFormElement::wasUserSubmitted):
2010-07-16  James Hawkins  <jhawkins@chromium.org>

        Reviewed by Darin Fisher.

        Expose the form submission trigger on the HTMLFormElement object. This
        is used to verify that the user submitted the form instead of JS when
        saving form data in Chrome AutoFill.
        https://bugs.webkit.org/show_bug.cgi?id=42479

        No new tests as this is only used by the Chromium WebKit API.

        * html/HTMLFormElement.cpp:
        (WebCore::HTMLFormElement::HTMLFormElement):
        (WebCore::HTMLFormElement::submit):
        (WebCore::HTMLFormElement::reset):
        (WebCore::HTMLFormElement::submissionTrigger):
        * html/HTMLFormElement.h:

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

10 years agoMake run-webkit-tests --webkit-test-runner "work" on Windows
aroben@apple.com [Tue, 20 Jul 2010 23:06:01 +0000 (23:06 +0000)]
Make run-webkit-tests --webkit-test-runner "work" on Windows

WebKitTestRunner crashes on launch, but at least the scripts build and
launch it!

Fixes <http://webkit.org/b/42709> run-webkit-tests
--webkit-test-runner bails with an error on Windows

Reviewed by Anders Carlsson.

* Scripts/build-webkittestrunner: Build WebKitTestRunner.sln on
Windows.
* WebKitTestRunner/WebKitTestRunner.sln: Added. Contains the following
projects (from first-built to last-built): FindSafari, ImageDiff,
InjectedBundleGenerated, InjectedBundle, WebKitTestRunner.

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

10 years agoRemove WebKit2.sln
aroben@apple.com [Tue, 20 Jul 2010 23:05:20 +0000 (23:05 +0000)]
Remove WebKit2.sln

WebKit.sln builds all the same projects.

Rubber-stamped in advance by Steve Falkenburg.

WebKit2:

* WebKit2.sln: Removed.

WebKitTools:

Change build-webkit back to building WebKit.sln on Windows

WebKit.sln builds all the same projects as WebKit2.sln, and the latter
is being removed.

* Scripts/build-webkit:

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

10 years ago2010-07-20 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 20 Jul 2010 23:02:56 +0000 (23:02 +0000)]
2010-07-20  Adam Barth  <abarth@webkit.org>

        Unreviewed.

        Fix fast/dom/title-content-write-set.html for HTML5 tree builder
        https://bugs.webkit.org/show_bug.cgi?id=42668

        Address some late-breaking review comments.

        * dom/CharacterData.cpp:
        (WebCore::CharacterData::appendDataCommon):
        (WebCore::CharacterData::parserAppendData):
        (WebCore::CharacterData::appendData):
        (WebCore::CharacterData::insertData):
        (WebCore::CharacterData::replaceData):
        * dom/CharacterData.h:

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

10 years ago2010-07-20 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Tue, 20 Jul 2010 22:39:24 +0000 (22:39 +0000)]
2010-07-20  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Darin Adler.

        make dump-as-markup work better on subframes and allow dumping a subtree
        https://bugs.webkit.org/show_bug.cgi?id=42673

        * editing/selection/dump-as-markup-expected.txt:
        * editing/selection/dump-as-markup.html:
        * resources/dump-as-markup.js:
        (Markup.description):
        (Markup._getSelectionFromNode):
        (Markup._getMarkupForTextNode):
        (Markup._getSelectionMarker):

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

10 years ago2010-07-20 Daniel Erat <derat@chromium.org>
evan@chromium.org [Tue, 20 Jul 2010 22:23:45 +0000 (22:23 +0000)]
2010-07-20  Daniel Erat  <derat@chromium.org>

        Reviewed by Ojan Vafai.

        Subpixel rendering always disabled for Chromium Linux
        https://bugs.webkit.org/show_bug.cgi?id=42220

        Layout test addition to check that Chromium Linux honors fontconfig
        settings enabling or disabling subpixel rendering per-strike.

        * platform/chromium-linux/platform/chromium/fast/text/chromium-linux-fontconfig-renderstyle-expected.checksum:
        * platform/chromium-linux/platform/chromium/fast/text/chromium-linux-fontconfig-renderstyle-expected.png:
        * platform/chromium-linux/platform/chromium/fast/text/chromium-linux-fontconfig-renderstyle-expected.txt:
        * platform/chromium/fast/text/chromium-linux-fontconfig-renderstyle.html:
2010-07-20  Daniel Erat  <derat@chromium.org>

        Reviewed by Ojan Vafai.

        Subpixel rendering always disabled for Chromium Linux
        https://bugs.webkit.org/show_bug.cgi?id=42220

        Explicitly initialize global Chromium Linux isSkiaSubpixelGlyphs
        flag to false for clarity.

        * platform/graphics/chromium/FontPlatformDataLinux.cpp:
2010-07-20  Daniel Erat  <derat@chromium.org>

        Reviewed by Ojan Vafai.

        Subpixel rendering always disabled for Chromium Linux
        https://bugs.webkit.org/show_bug.cgi?id=42220

        Honor Fontconfig subpixel rendering setting on Chromium Linux.

        * src/gtk/WebFontInfo.cpp:
        (WebKit::WebFontInfo::renderStyleForStrike):

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

10 years ago2010-07-20 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 20 Jul 2010 22:12:17 +0000 (22:12 +0000)]
2010-07-20  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Fix fast/dom/title-content-write-set.html for HTML5 tree builder
        https://bugs.webkit.org/show_bug.cgi?id=42668

        When I split parserAppendData from appendData, it was tempting to cut
        the function at dispatchModifiedEvent, but that's not quite right.  We
        still need to notify the parent that it's children have changed.

        * dom/CharacterData.cpp:
        (WebCore::CharacterData::appendDataCommon):
        (WebCore::CharacterData::parserAppendData):
        (WebCore::CharacterData::appendData):
        * dom/CharacterData.h:

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

10 years agoWindows build fix
aroben@apple.com [Tue, 20 Jul 2010 21:56:07 +0000 (21:56 +0000)]
Windows build fix

* MiniBrowser/win/BrowserWindow.cpp: Added missing #include.

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

10 years agoMake the web process break into the debugger when Ctrl-Alt-Shift is held during launch
aroben@apple.com [Tue, 20 Jul 2010 21:55:50 +0000 (21:55 +0000)]
Make the web process break into the debugger when Ctrl-Alt-Shift is held during launch

Fixes <http://webkit.org/b/42670> Would like a way to break into the
debugger when the web process launches

Reviewed by Anders Carlsson.

* WebProcess/WebKitMain.cpp:
(WebKitMain): If the Control, Alt, and Shift keys are held down in a
Debug build, call DebugBreak() so that we will break into the
debugger.

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

10 years agoTeach Connection how to handle a slow receiver
aroben@apple.com [Tue, 20 Jul 2010 21:55:31 +0000 (21:55 +0000)]
Teach Connection how to handle a slow receiver

Fixes <http://webkit.org/b/42667> Assertion in
Connection::sendOutgoingMessage when browser or web process is paused

Reviewed by Anders Carlsson.

* Platform/CoreIPC/win/ConnectionWin.cpp:
(CoreIPC::Connection::sendOutgoingMessage): If WriteFile returns FALSE
and the last error is ERROR_IO_PENDING, Windows will write the data as
soon as the current write operation is completed. We don't need to do
anything special in this case, so there's no need to assert about it.

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

10 years ago2010-07-20 Lucas De Marchi <lucas.demarchi@profusion.mobi>
commit-queue@webkit.org [Tue, 20 Jul 2010 21:45:03 +0000 (21:45 +0000)]
2010-07-20  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        Fix zoom in/out on EFL after r62666. The patch for adding viewport
        missed the initialization of zoom_range.user_scalable. In case browser
        doesn't care about the viewport and does not listen to the signal,
        user_scalable will be always false, thus inhibiting zoom in/out.
        https://bugs.webkit.org/show_bug.cgi?id=42656

        * efl/EWebLauncher/main.c:
        (on_viewport_changed): when listening to signal about viewport meta tag,
        it's not sufficient to receive the parameters. One needs also to enforce
        these parameters in WebKit.
        * efl/ewk/ewk_view.cpp:
        (_ewk_view_priv_new): initialize user_scalable parameter to allow
        browser zooming in and out.

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

10 years agoCrashTracer: [USER] 300 crashes in Safari at com.apple.WebCore: WebCore::Accessibilit...
cfleizach@apple.com [Tue, 20 Jul 2010 21:34:11 +0000 (21:34 +0000)]
CrashTracer: [USER] 300 crashes in Safari at com.apple.WebCore: WebCore::AccessibilityTable::isTableExposableThroughAccessibility + 573
https://bugs.webkit.org/show_bug.cgi?id=42652

Reviewed by Beth Dakin.

WebCore:

When a table cell accesses its parent table, we should not use getOrCreate, because creating an AXTable inspects its render tree state
which may be out of date, leading to a crash.
By using only get(), it implies that the AXTable must be created before AXTableCells. This should
always be the case when AT clients access a table.

Test: accessibility/updating-attribute-in-table-causes-crash.html

* accessibility/AccessibilityTableCell.cpp:
(WebCore::AccessibilityTableCell::parentTable):

LayoutTests:

* accessibility/updating-attribute-in-table-causes-crash-expected.txt: Added.
* accessibility/updating-attribute-in-table-causes-crash.html: Added.

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

10 years ago2010-07-20 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Tue, 20 Jul 2010 21:11:52 +0000 (21:11 +0000)]
2010-07-20  Abhishek Arya  <inferno@chromium.org>

        Reviewed by David Hyatt.

        Check the node is a text node before doing the static cast
        for editing commands.
        https://bugs.webkit.org/show_bug.cgi?id=42655

        Test: editing/execCommand/editing-nontext-node-crash.xhtml

        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::fixupWhitespace):
        * editing/InsertLineBreakCommand.cpp:
        (WebCore::InsertLineBreakCommand::doApply):
        * editing/InsertParagraphSeparatorCommand.cpp:
        (WebCore::InsertParagraphSeparatorCommand::doApply):
2010-07-20  Abhishek Arya  <inferno@chromium.org>

        Reviewed by David Hyatt.

        Tests that applying an editing command on a non text node does not
        result in crash.
        https://bugs.webkit.org/show_bug.cgi?id=42655

        * editing/execCommand/editing-nontext-node-crash-expected.txt: Added.
        * editing/execCommand/editing-nontext-node-crash.xhtml: Added.

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

10 years ago2010-07-20 Leo Yang <leo.yang@torchmobile.com.cn>
inferno@chromium.org [Tue, 20 Jul 2010 20:37:15 +0000 (20:37 +0000)]
2010-07-20  Leo Yang  <leo.yang@torchmobile.com.cn>

        Reviewed by David Hyatt.

        Don't merge Anonymous block whose first child is inline run-in.
        Make run-in recalculate its style after its renderer is destroyed.
        https://bugs.webkit.org/show_bug.cgi?id=41375.

        Test: fast/runin/crash-when-reparent-sibling.html

        * rendering/RenderBlock.cpp:
        (WebCore::canMergeContiguousAnonymousBlocks):
        * rendering/RenderObjectChildList.cpp:
        (WebCore::RenderObjectChildList::destroyLeftoverChildren):
2010-07-20  Leo Yang  <leo.yang@torchmobile.com.cn>

        Reviewed by David Hyatt.

        Test case to verify https://bugs.webkit.org/show_bug.cgi?id=41375.
        Test passes if expected result occurs without crash.
        https://bugs.webkit.org/show_bug.cgi?id=41375.

        * fast/runin/crash-when-reparent-sibling-expected.txt: Added.
        * fast/runin/crash-when-reparent-sibling.html: Added.

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

10 years agoUnreviewed Qt test fix.
steveblock@google.com [Tue, 20 Jul 2010 20:27:31 +0000 (20:27 +0000)]
Unreviewed Qt test fix.

Qt should not use PREEMPT_GEOLOCATION_PERMISSION until Bug 42027 is fixed.
https://bugs.webkit.org/show_bug.cgi?id=42068

No new tests, test fix only.

* WebCore.pro:

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

10 years ago2010-07-20 Darin Fisher <darin@chromium.org>
darin@chromium.org [Tue, 20 Jul 2010 20:23:52 +0000 (20:23 +0000)]
2010-07-20  Darin Fisher  <darin@chromium.org>

        Fix Chromium build bustage.

        * src/ResourceHandle.cpp:
        (WebCore::ResourceHandle::hasAuthenticationChallenge): Add
        implementation of this method that always returns false.

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

10 years ago2010-07-20 Darin Fisher <darin@chromium.org>
darin@chromium.org [Tue, 20 Jul 2010 19:56:58 +0000 (19:56 +0000)]
2010-07-20  Darin Fisher  <darin@chromium.org>

        Reviewed by Jian Li.

        [Chromium] Add interface for downloading to a file.  This can be used
        in the future to support XMLHttpRequest.responseBlob, but it also
        serves a use case in Chromium.

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

        * public/WebURLLoaderClient.h:
        (WebKit::WebURLLoaderClient::willSendRequest):
        (WebKit::WebURLLoaderClient::didSendData):
        (WebKit::WebURLLoaderClient::didReceiveResponse):
        (WebKit::WebURLLoaderClient::didDownloadData):
        (WebKit::WebURLLoaderClient::didReceiveData):
        (WebKit::WebURLLoaderClient::didFinishLoading):
        (WebKit::WebURLLoaderClient::didFail):
        * public/WebURLRequest.h:
        * public/WebURLResponse.h:
        * src/WebURLRequest.cpp:
        (WebKit::WebURLRequest::downloadToFile):
        (WebKit::WebURLRequest::setDownloadToFile):
        * src/WebURLRequestPrivate.h:
        (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
        * src/WebURLResponse.cpp:
        (WebKit::WebURLResponse::downloadFilePath):
        (WebKit::WebURLResponse::setDownloadFilePath):
        * src/WebURLResponsePrivate.h:

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

10 years ago2010-07-20 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Tue, 20 Jul 2010 19:55:56 +0000 (19:55 +0000)]
2010-07-20  Rafael Antognolli  <antognolli@profusion.mobi>

        Reviewed by Antonio Gomes.

        [EFL] Enable Ecore-X on compile time
        https://bugs.webkit.org/show_bug.cgi?id=42600

        Check for a flag received from cmake configure and disable it
        if necessary. Also disable it if Ecore-X wasn't found.

        EFL port does not support automated tests yet.

        * cmake/FindEFL.cmake:
        * cmake/OptionsEfl.cmake:

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

10 years ago2010-07-20 Sheriff Bot <webkit.review.bot@gmail.com>
loislo@chromium.org [Tue, 20 Jul 2010 19:53:33 +0000 (19:53 +0000)]
2010-07-20  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r63764.
        http://trac.webkit.org/changeset/63764
        https://bugs.webkit.org/show_bug.cgi?id=42658

        have broken Chromium linux build (Requested by loislo on
        #webkit).

        * WebCore.gyp/WebCore.gyp:
        * WebCore.gyp/scripts/rule_binding.py:
        * bindings/scripts/CodeGenerator.pm:
        * bindings/scripts/CodeGeneratorCPP.pm:
        * bindings/scripts/CodeGeneratorJS.pm:
        * bindings/scripts/CodeGeneratorObjC.pm:
        * bindings/scripts/CodeGeneratorV8.pm:
        * bindings/scripts/generate-bindings.pl:
        * inspector/CodeGeneratorInspector.pm:

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

10 years ago Reviewed by Brady Eidson.
ap@apple.com [Tue, 20 Jul 2010 19:48:36 +0000 (19:48 +0000)]
    Reviewed by Brady Eidson.

        https://bugs.webkit.org/show_bug.cgi?id=41531
        Asynchronous cross origin XMLHttpRequest doesn't expose 401 response when withCredentials is false

        This doesn't match Firefox, but it matches our sync case, XHR2 spec and common sense.

        Test: http/tests/xmlhttprequest/cross-origin-no-authorization.html (updated results).

        * loader/DocumentThreadableLoader.cpp:
        (WebCore::DocumentThreadableLoader::didReceiveAuthenticationChallenge): Instead of canceling
        the request, continue without credentials - if the platform has a necessary method on
        ResourceHandle.

        * loader/SubresourceLoader.cpp:
        (WebCore::SubresourceLoader::didReceiveAuthenticationChallenge): Don't ask resource loader
        client for credentials if subresource loader client already took care of those.

        * platform/network/ResourceHandle.cpp: (WebCore::ResourceHandle::hasAuthenticationChallenge):
        * platform/network/ResourceHandle.h:
        Added an accessor to check whether ResourceHandle is currently waiting for credentials.

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

10 years ago2010-07-20 Leandro Pereira <leandro@profusion.mobi>
leandro@webkit.org [Tue, 20 Jul 2010 19:29:39 +0000 (19:29 +0000)]
2010-07-20  Leandro Pereira  <leandro@profusion.mobi>

        [EFL] Unreviewed build fix.

        Build SVGPathBuilder, SVGPathParser and SVGPathSegListBuilder.
        Add websockets include directory.

        The EFL port doesn't yet support automated tests.

        * CMakeLists.txt:

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

10 years ago2010-07-20 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Tue, 20 Jul 2010 19:27:16 +0000 (19:27 +0000)]
2010-07-20  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: the bindings generation helper script can be
        simplified a bit. Chromium.
        https://bugs.webkit.org/show_bug.cgi?id=42523

        * WebCore.gyp/WebCore.gyp:
        * WebCore.gyp/scripts/rule_binding.py:
        * bindings/scripts/CodeGenerator.pm:
        * bindings/scripts/CodeGeneratorCPP.pm:
        * bindings/scripts/CodeGeneratorJS.pm:
        * bindings/scripts/CodeGeneratorObjC.pm:
        * bindings/scripts/CodeGeneratorV8.pm:
        * bindings/scripts/generate-bindings.pl:
        * inspector/CodeGeneratorInspector.pm:

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

10 years ago2010-07-20 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Tue, 20 Jul 2010 19:23:58 +0000 (19:23 +0000)]
2010-07-20  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Geoffrey Garen.

        WebScriptObject Should Allow Safely Checking For Key Existence
        https://bugs.webkit.org/show_bug.cgi?id=42613

        * platform/mac/fast/objc/script-tests/TEMPLATE.html: Added.
        * platform/mac/fast/objc/script-tests/webScriptObject-hasWebScriptKey.js: Added.
        * platform/mac/fast/objc/webScriptObject-hasWebScriptKey-expected.txt: Added.
        * platform/mac/fast/objc/webScriptObject-hasWebScriptKey.html: Added.

2010-07-20  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Geoffrey Garen.

        WebScriptObject Should Allow Safely Checking For Key Existence
        https://bugs.webkit.org/show_bug.cgi?id=42613

        Test: platform/mac/fast/objc/webScriptObject-hasWebScriptKey.html

        Add private API "hasWebScriptKey" to check for key existence in
        a WebScriptObject. Like JavaScript's `in` syntax. This is intended
        to be made public eventually.

        * bindings/objc/WebScriptObject.mm:
        (-[WebScriptObject hasWebScriptKey:]):
        * bindings/objc/WebScriptObjectPrivate.h:

2010-07-20  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Geoffrey Garen.

        WebScriptObject Should Allow Safely Checking For Key Existence
        https://bugs.webkit.org/show_bug.cgi?id=42613

        Normal ObjCController workflow for a WebScriptObject test.

        * DumpRenderTree/mac/ObjCController.m:
        (+[ObjCController isSelectorExcludedFromWebScript:]):
        (+[ObjCController webScriptNameForSelector:]):
        (-[ObjCController testHasWebScriptKey:]):

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

10 years ago2010-07-20 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 20 Jul 2010 19:18:02 +0000 (19:18 +0000)]
2010-07-20  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        HTML5 tree builder needs to call dispatchDocumentElementAvailable
        https://bugs.webkit.org/show_bug.cgi?id=42654

        This patch fixes the follout LayoutTests with --html5-treebuilder:
          - userscripts/script-not-run-for-fragments.html
          - userscripts/script-run-at-start.html

        * html/HTMLConstructionSite.cpp:
        (WebCore::HTMLConstructionSite::HTMLConstructionSite):
        (WebCore::HTMLConstructionSite::dispatchDocumentElementAvailableIfNeeded):
        (WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagBeforeHTML):
        (WebCore::HTMLConstructionSite::insertHTMLHtmlElement):
        * html/HTMLConstructionSite.h:
        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):

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

10 years ago2010-07-20 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
commit-queue@webkit.org [Tue, 20 Jul 2010 18:59:10 +0000 (18:59 +0000)]
2010-07-20  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>

        Reviewed by Steve Block.

        Need to be able to configure Geolocation policy regarding user permissions
        https://bugs.webkit.org/show_bug.cgi?id=42068

        If CLIENT_BASED_GEOLOCATION is enabled, enable preemtive permission policy
        by default

        * wtf/Platform.h:
2010-07-20  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>

        Reviewed by Steve Block.

        Need to be able to configure Geolocation policy regarding user permissions
        https://bugs.webkit.org/show_bug.cgi?id=42068

        Introducing new USE() flag PREEMPT_GEOLOCATION_PREMISSION using which
        acquires user permission first before starting location service

        This change does not introduce any change in behavior for any platform. So there are no new tests
        added.

        * WebCore.pro:
        * page/Geolocation.cpp:
        (WebCore::Geolocation::startRequest):
        (WebCore::Geolocation::setIsAllowed):
        (WebCore::Geolocation::startUpdating):
        * page/Geolocation.h:

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

10 years ago2010-07-20 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 20 Jul 2010 18:28:22 +0000 (18:28 +0000)]
2010-07-20  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        HTML5 tree builder should restore form state
        https://bugs.webkit.org/show_bug.cgi?id=42644

        We need to tell self-closing tags that we're done parsing their
        children.  This patch fixes the following LayoutTests when run with
        --html5-treebuilder:

          fast/forms/button-state-restore.html
          fast/forms/state-restore-to-non-autocomplete-form.html
          fast/forms/state-restore-to-non-edited-controls.html
          fast/history/saves-state-after-fragment-nav.html
          http/tests/navigation/restore-form-state-https.html

        * html/HTMLConstructionSite.cpp:
        (WebCore::HTMLConstructionSite::insertSelfClosingHTMLElement):

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

10 years ago2010-07-20 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Tue, 20 Jul 2010 18:12:10 +0000 (18:12 +0000)]
2010-07-20  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r63750.
        http://trac.webkit.org/changeset/63750
        https://bugs.webkit.org/show_bug.cgi?id=42648

        This revision breaks the windows builds (Requested by
        hwennborg on #webkit).

        * bindings/generic/RuntimeEnabledFeatures.cpp:
        * bindings/generic/RuntimeEnabledFeatures.h:
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::addEventListener):
        (WebCore::DOMWindow::removeEventListener):
        (WebCore::DOMWindow::removeAllEventListeners):
        * page/DOMWindow.idl:
        * page/Page.cpp:
        (WebCore::Page::Page):
2010-07-20  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r63750.
        http://trac.webkit.org/changeset/63750
        https://bugs.webkit.org/show_bug.cgi?id=42648

        This revision breaks the windows builds (Requested by
        hwennborg on #webkit).

        * public/WebRuntimeFeatures.h:
        * src/WebRuntimeFeatures.cpp:

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

10 years ago2010-07-20 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 20 Jul 2010 17:54:11 +0000 (17:54 +0000)]
2010-07-20  Stephen White  <senorblanco@chromium.org>

        Unreviewed; pixel test results fix.

        Updated pixel test results after r63721.

        * platform/chromium-linux/fast/backgrounds/svg-as-background-5-expected.checksum:
        * platform/chromium-linux/fast/backgrounds/svg-as-background-5-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-40-t-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-40-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/metadata-example-01-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/metadata-example-01-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-03-f-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-03-f-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt: Added.
        * platform/chromium-linux/svg/custom/control-points-for-S-and-T-expected.checksum:
        * platform/chromium-linux/svg/custom/path-getTotalLength-expected.txt: Removed.
        * platform/chromium-linux/svg/custom/relative-sized-use-on-symbol-expected.checksum:
        * platform/chromium-linux/svg/custom/relative-sized-use-on-symbol-expected.png:
        * platform/chromium-linux/svg/custom/use-on-symbol-inside-pattern-expected.txt: Added.
        * platform/chromium-linux/svg/dom: Added.
        * platform/chromium-linux/svg/dom/path-parser-expected.txt: Added.
        * platform/chromium-linux/svg/hixie/perf/001-expected.txt:
        * platform/chromium-linux/svg/hixie/perf/002-expected.txt:
        * platform/chromium-linux/svg/hixie/perf/007-expected.checksum:
        * platform/chromium-linux/svg/hixie/perf/007-expected.png:
        * platform/chromium-linux/svg/hixie/perf/007-expected.txt:
        * platform/chromium-mac/fast/backgrounds/svg-as-background-5-expected.checksum: Removed.
        * platform/chromium-win/fast/backgrounds/svg-as-background-5-expected.checksum:
        * platform/chromium-win/fast/backgrounds/svg-as-background-5-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-40-t-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-40-t-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/metadata-example-01-b-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/metadata-example-01-b-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-marker-03-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-03-f-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-03-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt:
        * platform/chromium-win/svg/batik/text/textEffect3-expected.checksum:
        * platform/chromium-win/svg/batik/text/textEffect3-expected.png:
        * platform/chromium-win/svg/custom/control-points-for-S-and-T-expected.checksum:
        * platform/chromium-win/svg/custom/control-points-for-S-and-T-expected.png:
        * platform/chromium-win/svg/custom/use-on-symbol-inside-pattern-expected.txt:
        * platform/chromium-win/svg/hixie/perf/001-expected.txt:
        * platform/chromium-win/svg/hixie/perf/002-expected.txt:
        * platform/chromium-win/svg/hixie/perf/007-expected.checksum:
        * platform/chromium-win/svg/hixie/perf/007-expected.png:
        * platform/chromium-win/svg/hixie/perf/007-expected.txt:
        * platform/chromium/test_expectations.txt:
        * platform/mac/fast/backgrounds/svg-as-background-4-expected.checksum:
        * platform/mac/fast/backgrounds/svg-as-background-4-expected.png:
        * platform/mac/fast/backgrounds/svg-as-background-5-expected.checksum:
        * platform/mac/fast/backgrounds/svg-as-background-5-expected.png:
        * platform/mac/fast/backgrounds/svg-as-background-6-expected.checksum:
        * platform/mac/fast/backgrounds/svg-as-background-6-expected.png:

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