WebKit-https.git
9 years agoAX: doAXRangeForLine does not work
cfleizach@apple.com [Mon, 4 Oct 2010 21:03:21 +0000 (21:03 +0000)]
AX: doAXRangeForLine does not work
https://bugs.webkit.org/show_bug.cgi?id=47101

Reviewed by Beth Dakin.

WebCore:

Asking for NSAccessibilityRangeForLine was returning a null range for any line number > 0.
The code was using a SelectionController to extend to the next line. Rather than change the implementation
of that core functionality, it is cleaner to use endOfLine to find the end of the line.

Test: platform/mac/accessibility/range-for-line-textarea.html

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

WebKitTools:

DRT support to handle NSAccessibilityRangeForLineParameterizedAttribute.

* DumpRenderTree/AccessibilityUIElement.cpp:
(rangeForLineCallback):
(AccessibilityUIElement::rangeForLine):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::rangeForLine):

LayoutTests:

* platform/mac/accessibility/range-for-line-textarea-expected.txt: Added.
* platform/mac/accessibility/range-for-line-textarea.html: Added.

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

9 years agoWebCore: Unreviewed, build fix for r68951.
bfulgham@webkit.org [Mon, 4 Oct 2010 20:44:42 +0000 (20:44 +0000)]
WebCore: Unreviewed, build fix for r68951.

Add stub implementation for ProxyServer logic.

* WebCore.vcproj/WebCore.vcproj: Add new WinCairo file.
* WebCore/platform/network/curl/ProxyServerCurl.cpp: Added

WebKit2: Unreviewed build fixes after r68260 and r68686.

* Platform/CoreIPC/DataReference.h: Add include directive for
<inttypes.h>, needed for WinCairo build.
* Shared/win/PlatformCertificateInfo.cpp:
(WebKit::PlatformCertificateInfo::PlatformCertificateInfo):
Conditionalize logic specific to WebKitSystemInterface and
add a stub implementation for WinCairo.

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

9 years agoGenerate messages sent to the WebProcess class.
weinig@apple.com [Mon, 4 Oct 2010 20:06:49 +0000 (20:06 +0000)]
Generate messages sent to the WebProcess class.
https://bugs.webkit.org/show_bug.cgi?id=47097

Reviewed by Adam Roben.

* DerivedSources.make:
Add new file to generate and new directory to search.

* Scripts/webkit2/messages.py:
(forward_declarations_and_headers): Special case class templates.
(headers_for_type): Special case Vector.
* Scripts/webkit2/messages_unittest.py:
Make this script work for passing a templated type.

* Shared/CoreIPCSupport/WebProcessMessageKinds.h: Removed.

* UIProcess/VisitedLinkProvider.cpp:
(WebKit::VisitedLinkProvider::pendingVisitedLinksTimerFired):
* UIProcess/WebContext.cpp:
(WebKit::WebContext::initializeHistoryClient):
(WebKit::WebContext::ensureWebProcess):
(WebKit::WebContext::registerURLSchemeAsEmptyDocument):
(WebKit::WebContext::setCacheModel):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::initializeWebPage):
(WebKit::WebPageProxy::reinitializeWebPage):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::WebProcessProxy): Always pass both
the bundle path and a key, even if the key is null, which it will be for
all non-mac builds for now.
* UIProcess/mac/WebProcessProxyMac.mm:
(WebKit::WebProcessProxy::setUpAcceleratedCompositing):
* UIProcess/win/WebContextWin.cpp:
(WebKit::WebContext::setShouldPaintNativeControls):
(WebKit::WebContext::platformSetUpWebProcess):
Use the new syntax for sending the messages.

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::setShouldTrackVisitedLinks):
(WebKit::WebProcess::setCacheModel):
(WebKit::WebProcess::setupAcceleratedCompositingPort):
(WebKit::WebProcess::setShouldPaintNativeControls):
(WebKit::WebProcess::didReceiveMessage):
* WebProcess/WebProcess.h:
Convert to using generated didReceiveWebProcessMessage.

* WebProcess/WebProcess.messages.in: Added.

* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
Update projects.

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

9 years ago Reviewed by Adam Barth.
ap@apple.com [Mon, 4 Oct 2010 19:48:49 +0000 (19:48 +0000)]
    Reviewed by Adam Barth.

        https://bugs.webkit.org/show_bug.cgi?id=47035
        Application cache selection algorithm should only be invoked after navigation

        Tests: http/tests/appcache/document-write-html-element-2.html
               http/tests/appcache/document-write-html-element.html
               http/tests/appcache/insert-html-element-with-manifest-2.html
               http/tests/appcache/insert-html-element-with-manifest.html

        * dom/DocumentParser.cpp: (WebCore::DocumentParser::DocumentParser):
        * dom/DocumentParser.h:
        (WebCore::DocumentParser::setDocumentWasLoadedAsPartOfNavigation):
        (WebCore::DocumentParser::documentWasLoadedAsPartOfNavigation):
        Track whether the document being parsed is being loaded as part of navigation.

        * html/HTMLHtmlElement.cpp: (WebCore::HTMLHtmlElement::insertedByParser): Only run the
        cache selection algorithm if the document is being loaded as part of navigation. We don't
        want to switch associated appcache is someone document.writes <html manifest=...>.

        * html/HTMLHtmlElement.h: We need to differentiate between parsing and DOM manipulation, so
        this code can't be in HTMLHtmlElement::insertedIntoDocument().

        * dom/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::startElementNs):
        * dom/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::parseStartElement):
        * html/ImageDocument.cpp: (WebCore::ImageDocument::createDocumentStructure):
        * html/MediaDocument.cpp: (WebCore::MediaDocumentParser::createDocumentStructure):
        * html/PluginDocument.cpp: (WebCore::PluginDocumentParser::createDocumentStructure):
        * html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagBeforeHTML):
        Check for manifest attribute in cases specified by HTML5.

        * html/parser/HTMLConstructionSite.h: Removed unused insertHTMLHtmlElement().

        * loader/DocumentWriter.cpp: (WebCore::DocumentWriter::setDocumentWasLoadedAsPartOfNavigation):
        * loader/DocumentWriter.h:
        Forward this call to DocumentParser, since DocumentWriter is supposed to encapsulate it.

        * loader/FrameLoader.cpp: (WebCore::FrameLoader::receivedFirstData): Receiving data from
        loader means being loaded as part of navigation. This notion is used in HTML5 without a rigorous
        definition that I could find - this seems to be a meaningful formalization.

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=47100
hyatt@apple.com [Mon, 4 Oct 2010 19:05:25 +0000 (19:05 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47100

Reviewed by Dan Bernstein.

Convert clearFloats() to be block-flow-aware.  Helpers that it calls have not been patched though.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::clearFloats):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::logicalTopForFloat):
(WebCore::RenderBlock::logicalLeftForFloat):
(WebCore::RenderBlock::logicalWidthForFloat):

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

9 years ago[Qt] Hook up DeviceOrientation data for Qt support
diegohcg@webkit.org [Mon, 4 Oct 2010 19:04:31 +0000 (19:04 +0000)]
[Qt] Hook up DeviceOrientation data for Qt support
https://bugs.webkit.org/show_bug.cgi?id=47052

Reviewed by Kenneth Rohde Christiansen.

Get DeviceOrientation necessary data via Qt mobility library
using a provider class.

WebCore:

* WebCore.pro:

WebKit/qt:

* WebCoreSupport/DeviceOrientationClientQt.cpp:
(WebCore::DeviceOrientationClientQt::DeviceOrientationClientQt):
(WebCore::DeviceOrientationClientQt::~DeviceOrientationClientQt):
(WebCore::DeviceOrientationClientQt::startUpdating):
(WebCore::DeviceOrientationClientQt::stopUpdating):
(WebCore::DeviceOrientationClientQt::lastOrientation):
(WebCore::DeviceOrientationClientQt::changeDeviceOrientation):
* WebCoreSupport/DeviceOrientationClientQt.h:
* WebCoreSupport/DeviceOrientationProviderQt.cpp: Added.
(WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):
(WebCore::DeviceOrientationProviderQt::~DeviceOrientationProviderQt):
(WebCore::DeviceOrientationProviderQt::start):
(WebCore::DeviceOrientationProviderQt::stop):
(WebCore::DeviceOrientationProviderQt::filter):
* WebCoreSupport/DeviceOrientationProviderQt.h: Added.
(WebCore::DeviceOrientationProviderQt::isActive):
(WebCore::DeviceOrientationProviderQt::orientation):
(WebCore::DeviceOrientationProviderQt::hasAlpha):

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

9 years ago2010-10-04 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Mon, 4 Oct 2010 18:45:00 +0000 (18:45 +0000)]
2010-10-04  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed. Adding myself to the committers list.

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

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

9 years agoFixing crash when audio media player is destructed
hclam@chromium.org [Mon, 4 Oct 2010 17:35:40 +0000 (17:35 +0000)]
Fixing crash when audio media player is destructed
https://bugs.webkit.org/show_bug.cgi?id=47020

Reviewed by James Robinson.

WebCore:

Adds assert for LayerRenderer in destructor.

* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::~VideoLayerChromium):

WebKit/chromium:

Creates the VideoLayerChromium layer only if the media player contains
a video.

* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::readyStateChanged):
(WebKit::WebMediaPlayerClientImpl::create):

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

9 years agoFix the Mac build.
weinig@apple.com [Mon, 4 Oct 2010 17:30:34 +0000 (17:30 +0000)]
Fix the Mac build.

* WebProcess/mac/WebProcessMac.mm:

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

9 years agoAdd ability to set the CacheModel in Webkit2
weinig@apple.com [Mon, 4 Oct 2010 17:15:41 +0000 (17:15 +0000)]
Add ability to set the CacheModel in Webkit2
https://bugs.webkit.org/show_bug.cgi?id=47066

Reviewed by Anders Carlsson.

WebKit2:

Add WKContext function to set the cache model for the context.

* Shared/CacheModel.h: Added.
* Shared/CoreIPCSupport/WebProcessMessageKinds.h:
* UIProcess/API/C/WKAPICast.h:
(WebKit::toCacheModel):
(WebKit::toRef):
* UIProcess/API/C/WKContext.cpp:
(WKContextSetCacheModel):
(WKContextGetCacheModel):
* UIProcess/API/C/WKContext.h:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::ensureWebProcess):
(WebKit::WebContext::setCacheModel):
* UIProcess/WebContext.h:
(WebKit::WebContext::cacheModel):
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):
(WebKit::WebProcess::setCacheModel):
(WebKit::WebProcess::didReceiveMessage):
* WebProcess/WebProcess.h:
* WebProcess/mac/WebProcessMac.mm: Added.
(WebKit::memorySize):
(WebKit::volumeFreeSize):
(WebKit::WebProcess::platformSetCacheModel):
* WebProcess/qt/WebProcessQt.cpp: Added.
(WebKit::WebProcess::platformSetCacheModel):
* WebProcess/win/WebProcessWin.cpp: Added.
(WebKit::WebProcess::platformSetCacheModel):
* win/WebKit2.vcproj:

WebKitTools:

* MiniBrowser/mac/AppDelegate.m:
(-[BrowserAppDelegate init]): Opt minibrowser into
a PrimaryWebBrowser cache model.

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

9 years ago2010-10-04 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Mon, 4 Oct 2010 17:00:50 +0000 (17:00 +0000)]
2010-10-04  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: do not show breakpoint in front-end if it was not set in v8
        https://bugs.webkit.org/show_bug.cgi?id=46749

        * bindings/v8/DebuggerScript.js:
        ():

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

9 years ago2010-10-04 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Mon, 4 Oct 2010 16:25:31 +0000 (16:25 +0000)]
2010-10-04  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        [cairo] Context shadow modifies the data of the surface without
        flushing and marking as dirty
        https://bugs.webkit.org/show_bug.cgi?id=47079

        Added the cairo_surface_flush and cairo_surface_mark_dirty before
        and after modifying the image pixels directly.

        * platform/graphics/cairo/ContextShadowCairo.cpp:
        (WebCore::ContextShadow::endShadowLayer):

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

9 years agoSkip a timing-out test on Windows
aroben@apple.com [Mon, 4 Oct 2010 16:00:05 +0000 (16:00 +0000)]
Skip a timing-out test on Windows

* platform/win/Skipped: Added http/tests/misc/copy-resolves-urls.html,
which times out in Release builds.

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

9 years ago2010-10-04 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Mon, 4 Oct 2010 15:48:10 +0000 (15:48 +0000)]
2010-10-04  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Xan Lopez.

        Crashed caused by missing OwnPtrCairo include, for more
        information check the issue in the bug 46268.

        * platform/graphics/cairo/CairoUtilities.cpp:

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

9 years ago2010-10-04 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Mon, 4 Oct 2010 15:23:32 +0000 (15:23 +0000)]
2010-10-04  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        [cairo] Move some cairo functions to the CairoUtilities
        https://bugs.webkit.org/show_bug.cgi?id=47076

        Moved some cairo functions to the CairoUtilities so we can use
        them outside GraphicsContextCairo.

        * platform/graphics/cairo/CairoUtilities.cpp:
        (WebCore::appendPathToCairoContext):
        (WebCore::setPathOnCairoContext):
        (WebCore::appendWebCorePathToCairoContext):
        (WebCore::toCairoOperator):
        (WebCore::drawPatternToCairoContext):
        * platform/graphics/cairo/CairoUtilities.h:
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        * platform/graphics/cairo/ImageCairo.cpp:
        (WebCore::Image::drawPattern):

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

9 years ago2010-10-04 podivilov@chromium.org <podivilov@chromium.org>
podivilov@chromium.org [Mon, 4 Oct 2010 14:52:38 +0000 (14:52 +0000)]
2010-10-04  podivilov@chromium.org  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: implement pausing on event listeners (back-end part)
        https://bugs.webkit.org/show_bug.cgi?id=46624

        * bindings/js/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::setPauseOnNextStatement):
        * bindings/js/ScriptDebugServer.h:
        * bindings/v8/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::setPauseOnNextStatement):
        * bindings/v8/ScriptDebugServer.h:
        * dom/Node.cpp:
        (WebCore::Node::dispatchGenericEvent):
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::didCommitLoad):
        (WebCore::InspectorController::setNativeBreakpoint):
        (WebCore::InspectorController::removeNativeBreakpoint):
        (WebCore::InspectorController::shouldBreakOnEvent):
        (WebCore::InspectorController::shouldBreakOnXMLHttpRequest):
        * inspector/InspectorController.h:
        * inspector/InspectorDebuggerAgent.cpp:
        (WebCore::InspectorDebuggerAgent::~InspectorDebuggerAgent):
        (WebCore::InspectorDebuggerAgent::schedulePauseOnNextStatement):
        (WebCore::InspectorDebuggerAgent::cancelPauseOnNextStatement):
        (WebCore::InspectorDebuggerAgent::pause):
        (WebCore::InspectorDebuggerAgent::didContinue):
        (WebCore::InspectorDebuggerAgent::breakProgram):
        * inspector/InspectorDebuggerAgent.h:
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::eventHasListeners):
        (WebCore::InspectorInstrumentation::instrumentWillDispatchEventImpl):
        (WebCore::InspectorInstrumentation::instrumentDidDispatchEventImpl):
        (WebCore::InspectorInstrumentation::instrumentWillSendXMLHttpRequestImpl):
        * inspector/InspectorInstrumentation.h:
        (WebCore::InspectorInstrumentation::instrumentWillDispatchEvent):
        (WebCore::InspectorInstrumentation::instrumentDidDispatchEvent):
        (WebCore::InspectorInstrumentation::instrumentWillSendXMLHttpRequest):
        * inspector/InspectorTimelineAgent.cpp:
        (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
        * inspector/InspectorTimelineAgent.h:
        (WebCore::InspectorTimelineAgent::id):
        * inspector/front-end/CallStackSidebarPane.js:

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

9 years agoSkip a flaky SVG test on Windows
aroben@apple.com [Mon, 4 Oct 2010 14:28:46 +0000 (14:28 +0000)]
Skip a flaky SVG test on Windows

* platform/win/Skipped: Added
svg/dom/SVGScriptElement/script-load-and-error-events.svg

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

9 years agoSkip http/tests/xmlhttprequest/xmlhttprequest-sync-vs-async-assertion-failure.html...
aroben@apple.com [Mon, 4 Oct 2010 14:25:24 +0000 (14:25 +0000)]
Skip http/tests/xmlhttprequest/xmlhttprequest-sync-vs-async-assertion-failure.html on Windows

It seems to be causing other tests to time out, like
http/tests/xmlhttprequest/xmlhttprequest-test-send-flag.html.

* platform/win/Skipped:

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

9 years agoLand XP-specific results for fast/text/international/bidi-mirror-he-ar.html
aroben@apple.com [Mon, 4 Oct 2010 13:48:39 +0000 (13:48 +0000)]
Land XP-specific results for fast/text/international/bidi-mirror-he-ar.html

In r69008 I updated the post-XP results, but forgot to check in the
XP-specific results.

* platform/win-xp/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.

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

9 years ago2010-10-04 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 4 Oct 2010 13:42:42 +0000 (13:42 +0000)]
2010-10-04  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add total bar to the network panel.
        https://bugs.webkit.org/show_bug.cgi?id=47081

        * English.lproj/localizedStrings.js:
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.createDividerElement):
        * inspector/front-end/DataGrid.js:
        (WebInspector.DataGrid.prototype.removeChild):
        (WebInspector.DataGrid.prototype.sortNodes):
        (WebInspector.DataGrid.prototype._clickInHeaderCell):
        (WebInspector.DataGrid.prototype.markColumnAsSortedBy):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel):
        (WebInspector.NetworkPanel.prototype.resize):
        (WebInspector.NetworkPanel.prototype._positionSummaryBar):
        (WebInspector.NetworkPanel.prototype._createTimelineGrid):
        (WebInspector.NetworkPanel.prototype._createSortingFunctions):
        (WebInspector.NetworkPanel.prototype._sortItems):
        (WebInspector.NetworkPanel.prototype._sortByTimeline):
        (WebInspector.NetworkPanel.prototype._createFilterStatusBarItems):
        (WebInspector.NetworkPanel.prototype._createSummaryBar):
        (WebInspector.NetworkPanel.prototype._updateSummaryBar):
        (WebInspector.NetworkPanel.prototype._updateFilter):
        (WebInspector.NetworkPanel.prototype.show):
        (WebInspector.NetworkPanel.prototype.refresh):
        (WebInspector.NetworkPanel.prototype.reset):
        (WebInspector.NetworkDataGridNode.SizeComparator):
        (WebInspector.NetworkDataGridNode.ResourcePropertyComparator):
        (WebInspector.NetworkTotalGridNode):
        (WebInspector.NetworkTotalGridNode.prototype.createCells):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype.createFilterPanel):
        * inspector/front-end/inspector.css:
        (.scope-bar-divider):
        * inspector/front-end/networkPanel.css:
        (.network-timeline-grid):
        (.network-summary-bar):
        (.network-summary-bar-bottom):
        (.data-grid td .network-summary-bar):

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

9 years ago2010-09-28 Luiz Agostini <luiz.agostini@openbossa.org>
luiz@webkit.org [Mon, 4 Oct 2010 13:17:11 +0000 (13:17 +0000)]
2010-09-28  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Viewport data change notifications
        https://bugs.webkit.org/show_bug.cgi?id=46755

        Regarding viewport meta tags, what matters for browser developers is to know when the viewport data has
        changed and its current value. Viewport data belongs to the document, but it is useful to keep the current
        viewport data in Page as a reference, to be able to send notifications only when the current viewport
        has changed.

        * dom/Document.cpp:
        (WebCore::Document::processViewport):
        (WebCore::Document::setInPageCache):
        * dom/ViewportArguments.h:
        (WebCore::ViewportArguments::operator==):
        * html/HTMLBodyElement.cpp:
        (WebCore::HTMLBodyElement::HTMLBodyElement):
        * page/Chrome.cpp:
        (WebCore::Chrome::viewportDataChanged):
        * page/Chrome.h:
        * page/ChromeClient.h:
        (WebCore::ChromeClient::viewportDataChanged):
        * page/Page.cpp:
        (WebCore::Page::updateViewportArguments):
        * page/Page.h:
        (WebCore::Page::viewportArguments):
2010-09-28  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Viewport data change notifications
        https://bugs.webkit.org/show_bug.cgi?id=46755

        Regarding viewport meta tags, what matters for browser developers is to know when the viewport data has
        changed and its current value. Viewport data belongs to the document, but it is useful to keep the current
        viewport data in Page as a reference, to be able to send notifications only when the current viewport
        has changed.

        * Api/qwebframe.cpp:
        * Api/qwebframe_p.h:
        * Api/qwebpage.cpp:
        (QWebPagePrivate::viewportArguments):
        (QWebPage::viewportConfigurationForSize):
        * Api/qwebpage_p.h:
        * WebCoreSupport/ChromeClientQt.cpp:
        (WebCore::ChromeClientQt::viewportDataChanged):
        * WebCoreSupport/ChromeClientQt.h:
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::viewportAsText):

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

9 years agoLand correct post-XP results for fast/text/international/bidi-mirror-he-ar.html
aroben@apple.com [Mon, 4 Oct 2010 12:39:46 +0000 (12:39 +0000)]
Land correct post-XP results for fast/text/international/bidi-mirror-he-ar.html

Apparently the results I landed earlier weren't quite right.

* platform/win/fast/text/international/bidi-mirror-he-ar-expected.txt:

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

9 years ago2010-10-04 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Mon, 4 Oct 2010 11:20:51 +0000 (11:20 +0000)]
2010-10-04  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, test expectation update.

        [Chromium] Mark debugger-breakpoints-not-activated-on-reload.html as slow on win debug

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-10-04 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 4 Oct 2010 10:26:11 +0000 (10:26 +0000)]
2010-10-04  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        Fix incorrect rebaseline of verticalText.svg by r69004.
        - move chromium-win image baseline to chromium-win-xp
        - revert chromium-win image baseline

        * platform/chromium-win-xp/svg/batik/text/verticalText-expected.checksum:
        * platform/chromium-win-xp/svg/batik/text/verticalText-expected.png:
        * platform/chromium-win/svg/batik/text/verticalText-expected.checksum:
        * platform/chromium-win/svg/batik/text/verticalText-expected.png:
        * platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed, test expectation update.
tkent@chromium.org [Mon, 4 Oct 2010 09:34:47 +0000 (09:34 +0000)]
Unreviewed, test expectation update.

Update SVG baseline for Chromium.

* platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt:
* platform/chromium-linux/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt: Added.
* platform/chromium-linux/svg/batik/text/textLength-expected.txt: Added.
* platform/chromium-linux/svg/carto.net/button-expected.txt: Added.
* platform/chromium-linux/svg/carto.net/colourpicker-expected.txt: Added.
* platform/chromium-linux/svg/carto.net/combobox-expected.txt: Added.
* platform/chromium-linux/svg/carto.net/selectionlist-expected.checksum:
* platform/chromium-linux/svg/carto.net/selectionlist-expected.png:
* platform/chromium-linux/svg/carto.net/selectionlist-expected.txt: Added.
* platform/chromium-linux/svg/carto.net/textbox-expected.txt: Added.
* platform/chromium-linux/svg/carto.net/window-expected.txt:
* platform/chromium-linux/svg/clip-path/clip-path-text-and-shape-expected.txt: Added.
* platform/chromium-linux/svg/clip-path/clip-path-text-and-stroke-expected.txt: Added.
* platform/chromium-linux/svg/clip-path/clip-path-text-expected.txt: Added.
* platform/chromium-linux/svg/clip-path/clip-path-with-text-clipped-expected.txt: Added.
* platform/chromium-linux/svg/css/composite-shadow-text-expected.txt: Added.
* platform/chromium-linux/svg/css/shadow-changes-expected.txt: Added.
* platform/chromium-linux/svg/css/text-shadow-multiple-expected.txt: Added.
* platform/chromium-linux/svg/custom/use-detach-expected.txt: Added.
* platform/chromium-linux/svg/filters/filter-on-filter-for-text-expected.txt: Added.
* platform/chromium-linux/svg/filters/filter-on-tspan-expected.txt: Copied from LayoutTests/platform/gtk/svg/filters/filter-on-tspan-expected.txt.
* platform/chromium-linux/svg/filters/sourceAlpha-expected.checksum:
* platform/chromium-linux/svg/filters/sourceAlpha-expected.png: Removed.
* platform/chromium-linux/svg/filters/sourceAlpha-expected.txt: Added.
* platform/chromium-linux/svg/hixie/error/017-expected.txt: Added.
* platform/chromium-linux/svg/hixie/text/002-expected.txt: Added.
* platform/chromium-linux/svg/hixie/text/003b-expected.txt:
* platform/chromium-linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.checksum:
* platform/chromium-linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt: Added.
* platform/chromium-linux/svg/transforms/text-with-pattern-with-svg-transform-expected.checksum:
* platform/chromium-linux/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
* platform/chromium-linux/svg/transforms/text-with-pattern-with-svg-transform-expected.txt: Added.
* platform/chromium-linux/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt: Added.
* platform/chromium-linux/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt: Added.
* platform/chromium-linux/transitions/svg-text-shadow-transition-expected.txt: Added.
* platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt:
* platform/chromium-win/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt:
* platform/chromium-win/svg/batik/text/textLength-expected.txt:
* platform/chromium-win/svg/carto.net/button-expected.txt:
* platform/chromium-win/svg/carto.net/colourpicker-expected.txt:
* platform/chromium-win/svg/carto.net/combobox-expected.txt:
* platform/chromium-win/svg/carto.net/selectionlist-expected.checksum:
* platform/chromium-win/svg/carto.net/selectionlist-expected.png:
* platform/chromium-win/svg/carto.net/selectionlist-expected.txt:
* platform/chromium-win/svg/carto.net/textbox-expected.txt:
* platform/chromium-win/svg/carto.net/window-expected.txt:
* platform/chromium-win/svg/clip-path/clip-path-text-and-shape-expected.txt:
* platform/chromium-win/svg/clip-path/clip-path-text-and-stroke-expected.txt:
* platform/chromium-win/svg/clip-path/clip-path-text-expected.txt:
* platform/chromium-win/svg/clip-path/clip-path-with-text-clipped-expected.txt:
* platform/chromium-win/svg/css/composite-shadow-text-expected.txt:
* platform/chromium-win/svg/css/shadow-changes-expected.txt:
* platform/chromium-win/svg/css/text-shadow-multiple-expected.txt:
* platform/chromium-win/svg/custom/use-detach-expected.txt:
* platform/chromium-win/svg/filters/filter-on-filter-for-text-expected.txt:
* platform/chromium-win/svg/filters/filter-on-tspan-expected.txt:
* platform/chromium-win/svg/filters/sourceAlpha-expected.checksum:
* platform/chromium-win/svg/filters/sourceAlpha-expected.png:
* platform/chromium-win/svg/filters/sourceAlpha-expected.txt:
* platform/chromium-win/svg/hixie/error/017-expected.txt:
* platform/chromium-win/svg/hixie/text/002-expected.txt:
* platform/chromium-win/svg/hixie/text/003b-expected.txt:
* platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.checksum:
* platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt:
* platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.checksum:
* platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
* platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.txt:
* platform/chromium-win/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
* platform/chromium-win/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt:
* platform/chromium-win/transitions/svg-text-shadow-transition-expected.txt:
* platform/chromium/test_expectations.txt:

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

9 years ago2010-10-04 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 4 Oct 2010 09:14:06 +0000 (09:14 +0000)]
2010-10-04  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        Update svg/batik results for Chromium.

        * platform/chromium-linux/svg/batik/text/longTextOnPath-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textAnchor-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textAnchor2-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textAnchor2-expected.png:
        * platform/chromium-linux/svg/batik/text/textAnchor2-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textAnchor3-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textDecoration-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textDecoration-expected.png:
        * platform/chromium-linux/svg/batik/text/textDecoration-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textDecoration2-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textDecoration2-expected.png:
        * platform/chromium-linux/svg/batik/text/textDecoration2-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textEffect-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textEffect-expected.png:
        * platform/chromium-linux/svg/batik/text/textEffect-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textEffect2-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textEffect3-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textEffect3-expected.png:
        * platform/chromium-linux/svg/batik/text/textEffect3-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textFeatures-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textGlyphOrientationHorizontal-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textGlyphOrientationHorizontal-expected.png:
        * platform/chromium-linux/svg/batik/text/textGlyphOrientationHorizontal-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textLayout-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textLayout2-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textLayout2-expected.png:
        * platform/chromium-linux/svg/batik/text/textLayout2-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textOnPath-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textOnPath-expected.png:
        * platform/chromium-linux/svg/batik/text/textOnPath-expected.txt:
        * platform/chromium-linux/svg/batik/text/textOnPath2-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textOnPath3-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textOnPathSpaces-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textPCDATA-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textPosition-expected.txt:
        * platform/chromium-linux/svg/batik/text/textPosition2-expected.txt:
        * platform/chromium-linux/svg/batik/text/textProperties-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textProperties-expected.png:
        * platform/chromium-linux/svg/batik/text/textProperties-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/textProperties2-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/verticalText-expected.checksum:
        * platform/chromium-linux/svg/batik/text/verticalText-expected.png:
        * platform/chromium-linux/svg/batik/text/verticalText-expected.txt: Added.
        * platform/chromium-linux/svg/batik/text/verticalTextOnPath-expected.checksum:
        * platform/chromium-linux/svg/batik/text/verticalTextOnPath-expected.png:
        * platform/chromium-linux/svg/batik/text/verticalTextOnPath-expected.txt:
        * platform/chromium-linux/svg/batik/text/xmlSpace-expected.checksum:
        * platform/chromium-linux/svg/batik/text/xmlSpace-expected.png:
        * platform/chromium-linux/svg/batik/text/xmlSpace-expected.txt: Added.
        * platform/chromium-win/svg/batik/text/longTextOnPath-expected.txt:
        * platform/chromium-win/svg/batik/text/textAnchor-expected.txt:
        * platform/chromium-win/svg/batik/text/textAnchor2-expected.checksum:
        * platform/chromium-win/svg/batik/text/textAnchor2-expected.png:
        * platform/chromium-win/svg/batik/text/textAnchor2-expected.txt:
        * platform/chromium-win/svg/batik/text/textAnchor3-expected.txt:
        * platform/chromium-win/svg/batik/text/textDecoration-expected.checksum:
        * platform/chromium-win/svg/batik/text/textDecoration-expected.png:
        * platform/chromium-win/svg/batik/text/textDecoration-expected.txt:
        * platform/chromium-win/svg/batik/text/textDecoration2-expected.checksum:
        * platform/chromium-win/svg/batik/text/textDecoration2-expected.png:
        * platform/chromium-win/svg/batik/text/textDecoration2-expected.txt:
        * platform/chromium-win/svg/batik/text/textEffect-expected.checksum:
        * platform/chromium-win/svg/batik/text/textEffect-expected.png:
        * platform/chromium-win/svg/batik/text/textEffect-expected.txt:
        * platform/chromium-win/svg/batik/text/textEffect2-expected.txt:
        * platform/chromium-win/svg/batik/text/textEffect3-expected.checksum:
        * platform/chromium-win/svg/batik/text/textEffect3-expected.png:
        * platform/chromium-win/svg/batik/text/textEffect3-expected.txt:
        * platform/chromium-win/svg/batik/text/textFeatures-expected.txt:
        * platform/chromium-win/svg/batik/text/textGlyphOrientationHorizontal-expected.checksum:
        * platform/chromium-win/svg/batik/text/textGlyphOrientationHorizontal-expected.png:
        * platform/chromium-win/svg/batik/text/textGlyphOrientationHorizontal-expected.txt:
        * platform/chromium-win/svg/batik/text/textLayout-expected.txt:
        * platform/chromium-win/svg/batik/text/textLayout2-expected.checksum:
        * platform/chromium-win/svg/batik/text/textLayout2-expected.png:
        * platform/chromium-win/svg/batik/text/textLayout2-expected.txt:
        * platform/chromium-win/svg/batik/text/textOnPath-expected.checksum:
        * platform/chromium-win/svg/batik/text/textOnPath-expected.png:
        * platform/chromium-win/svg/batik/text/textOnPath-expected.txt:
        * platform/chromium-win/svg/batik/text/textOnPath2-expected.txt:
        * platform/chromium-win/svg/batik/text/textOnPath3-expected.txt:
        * platform/chromium-win/svg/batik/text/textOnPathSpaces-expected.txt:
        * platform/chromium-win/svg/batik/text/textPCDATA-expected.txt:
        * platform/chromium-win/svg/batik/text/textPosition-expected.txt:
        * platform/chromium-win/svg/batik/text/textPosition2-expected.txt:
        * platform/chromium-win/svg/batik/text/textProperties-expected.checksum:
        * platform/chromium-win/svg/batik/text/textProperties-expected.png:
        * platform/chromium-win/svg/batik/text/textProperties-expected.txt:
        * platform/chromium-win/svg/batik/text/textProperties2-expected.txt:
        * platform/chromium-win/svg/batik/text/verticalText-expected.checksum:
        * platform/chromium-win/svg/batik/text/verticalText-expected.png:
        * platform/chromium-win/svg/batik/text/verticalText-expected.txt:
        * platform/chromium-win/svg/batik/text/verticalTextOnPath-expected.checksum:
        * platform/chromium-win/svg/batik/text/verticalTextOnPath-expected.png:
        * platform/chromium-win/svg/batik/text/verticalTextOnPath-expected.txt:
        * platform/chromium-win/svg/batik/text/xmlSpace-expected.checksum:
        * platform/chromium-win/svg/batik/text/xmlSpace-expected.png:
        * platform/chromium-win/svg/batik/text/xmlSpace-expected.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago[Qt] Fix platform plugin support after r68128
hausmann@webkit.org [Mon, 4 Oct 2010 08:09:12 +0000 (08:09 +0000)]
[Qt] Fix platform plugin support after r68128

Rubber-stamped by Tor Arne Vestbø.

Replaced the qobject_cast from the QObject derived extension to a
static_cast. qobject_cast works by comparing pointers to meta-object
instances, of which there are two each: one compiled into WebKit and
one compiled into the plugin.

The platform plugin ensures the validity of the interface contract
through its version and the initial safe qobject_cast from QObject
to QWebKitPlatformPlugin. After that it is safe to use static_cast,
and with the recent changes even required.

* WebCoreSupport/QtPlatformPlugin.cpp:
(WebCore::QtPlatformPlugin::createSelectInputMethod):
(WebCore::QtPlatformPlugin::createNotificationPresenter):
(WebCore::QtPlatformPlugin::createHapticFeedbackPlayer):

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

9 years ago2010-10-04 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 4 Oct 2010 07:02:59 +0000 (07:02 +0000)]
2010-10-04  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-10-03 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 4 Oct 2010 06:22:13 +0000 (06:22 +0000)]
2010-10-03  Simon Fraser  <simon.fraser@apple.com>

        Make sure to enter all tests when creating the database
        for the first time.

        When migrating to a new version of the suite, be sure to
        sync up the database and testinfo.data by removing old
        tests, and inserting new ones.

        * CSSTestSuiteHarness/harness/harness.js:
        (TestSuite.prototype.openDatabase.creation):
        (TestSuite.prototype.databaseCreated):
        (TestSuite.prototype.populateDatabaseFromTestInfoData):
        (TestSuite.prototype.insertTest):

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

9 years ago2010-10-03 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 4 Oct 2010 06:22:01 +0000 (06:22 +0000)]
2010-10-03  Simon Fraser  <simon.fraser@apple.com>

        More work on treating HTML4 and XHTML1 independently; when
        changing the format, rebuild the test list, and update the
        numbers in the chapter popup.

        * CSSTestSuiteHarness/harness/harness.js:
        (Test):
        (Test.prototype.runForFormat):
        (Test.prototype.completedForFormat):
        (ChapterSection):
        (ChapterSection.prototype.countTests):
        (Chapter):
        (Chapter.prototype.description):
        (Chapter.prototype.countTests):
        (Chapter.prototype.testCount):
        (Chapter.prototype.untestedCount):
        (TestSuite.prototype.buildChapters):
        (TestSuite.prototype.loadCurrentTest):
        (TestSuite.prototype.updateProgressLabel):
        (TestSuite.prototype.processFlags):
        (TestSuite.prototype.formatChanged):

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

9 years ago2010-10-03 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 4 Oct 2010 06:21:34 +0000 (06:21 +0000)]
2010-10-03  Simon Fraser  <simon.fraser@apple.com>

        Update test suite version 20101001.

        Handle database migration, and delete tests from the db that are
        not present in testinfo.data.

        Load about:blank into the test frame before the test url, to make
        missing tests more obvious.

        * CSSTestSuiteHarness/harness/harness.js:
        (TestSuite.prototype.loadTest):
        (TestSuite.prototype.openDatabase.creation):
        (TestSuite.prototype.openDatabase.migration1_0To1_1):
        (TestSuite.prototype.openDatabase.if.return):
        (TestSuite.prototype.databaseReady):
        (TestSuite.prototype.populateDatabaseFromTestInfoData):
        (TestSuite.prototype.syncDatabaseWithTestInfoData.this.db.transaction):
        (TestSuite.prototype.syncDatabaseWithTestInfoData):

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

9 years agoUnreviewed build fix.
bfulgham@webkit.org [Mon, 4 Oct 2010 06:20:54 +0000 (06:20 +0000)]
Unreviewed build fix.

WinCairo also needs access to the <inttypes.h> header requirement
introduced by Bug 46357.

* win/tools/vsprops/WinCairo.vsprops:

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

9 years ago2010-10-03 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 4 Oct 2010 06:14:41 +0000 (06:14 +0000)]
2010-10-03  Kent Tamura  <tkent@chromium.org>

        Unreviewed, build fix for r68996.

        * html/BaseDateAndTimeInputType.cpp: Includes <wtf/MathExtras.h> for isfinite().
        * html/MonthInputType.cpp: ditto.
        * html/NumberInputType.cpp: ditto.
        * html/RangeInputType.cpp: ditto.

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

9 years ago2010-10-03 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 4 Oct 2010 05:59:15 +0000 (05:59 +0000)]
2010-10-03  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Refactor HTMLInputElement: Move parseToDouble() and
        parseToDateComponents() to InputType.
        https://bugs.webkit.org/show_bug.cgi?id=46965

        Introduce BaseDateAndTimeInputType, which is a super class of
        date, datetime, datetime-local, month, time, and week types.

        No new tests. Just a refactoring.

        * Android.mk: Add BaseDateAndTimeInputType.
        * CMakeLists.txt: ditto.
        * GNUmakefile.am: ditto.
        * WebCore.gypi: ditto.
        * WebCore.pro: ditto.
        * WebCore.vcproj/WebCore.vcproj: ditto.
        * WebCore.xcodeproj/project.pbxproj: ditto.
        * html/BaseDateAndTimeInputType.cpp: Added.
        (WebCore::BaseDateAndTimeInputType::parseToDouble):
        (WebCore::BaseDateAndTimeInputType::parseToDateComponents):
        * html/BaseDateAndTimeInputType.h: Added.
        (WebCore::BaseDateAndTimeInputType::BaseDateAndTimeInputType):
        * html/DateInputType.cpp:
        (WebCore::DateInputType::parseToDateComponentsInternal):
        * html/DateInputType.h:
        (WebCore::DateInputType::DateInputType):
        * html/DateTimeInputType.cpp:
        (WebCore::DateTimeInputType::parseToDateComponentsInternal):
        * html/DateTimeInputType.h:
        (WebCore::DateTimeInputType::DateTimeInputType):
        * html/DateTimeLocalInputType.cpp:
        (WebCore::DateTimeLocalInputType::parseToDateComponentsInternal):
        * html/DateTimeLocalInputType.h:
        (WebCore::DateTimeLocalInputType::DateTimeLocalInputType):
        * html/HTMLInputElement.cpp: Replace parseToD* calls with m_inputType->parseToD*.
        (WebCore::HTMLInputElement::typeMismatch):
        (WebCore::HTMLInputElement::rangeUnderflow):
        (WebCore::HTMLInputElement::rangeOverflow):
        (WebCore::HTMLInputElement::minimum):
        (WebCore::HTMLInputElement::maximum):
        (WebCore::HTMLInputElement::stepBase):
        (WebCore::HTMLInputElement::stepMismatch):
        (WebCore::HTMLInputElement::applyStep):
        (WebCore::HTMLInputElement::valueAsDate):
        (WebCore::HTMLInputElement::valueAsNumber):
        (WebCore::HTMLInputElement::handleKeyEventForRange):
        (WebCore::HTMLInputElement::stepUpFromRenderer):
        * html/HTMLInputElement.h:
        * html/InputType.cpp:
        (WebCore::InputType::parseToDouble):
        (WebCore::InputType::parseToDateComponents):
        * html/InputType.h:
        * html/MonthInputType.cpp:
        (WebCore::MonthInputType::parseToDouble):
        (WebCore::MonthInputType::parseToDateComponentsInternal):
        * html/MonthInputType.h:
        (WebCore::MonthInputType::MonthInputType):
        * html/NumberInputType.cpp:
        (WebCore::NumberInputType::parseToDouble):
        * html/NumberInputType.h:
        * html/RangeInputType.cpp:
        (WebCore::RangeInputType::parseToDouble):
        * html/RangeInputType.h:
        * html/TimeInputType.cpp:
        (WebCore::TimeInputType::parseToDateComponentsInternal):
        * html/TimeInputType.h:
        (WebCore::TimeInputType::TimeInputType):
        * html/WeekInputType.cpp:
        (WebCore::WeekInputType::parseToDateComponentsInternal):
        * html/WeekInputType.h:
        (WebCore::WeekInputType::WeekInputType):

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

9 years agoUnreviewed, remove redundant expectations.
tkent@chromium.org [Mon, 4 Oct 2010 05:44:09 +0000 (05:44 +0000)]
Unreviewed, remove redundant expectations.

* platform/chromium/test_expectations.txt:

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

9 years ago2010-10-03 MORITA Hajime <morrita@google.com>
morrita@google.com [Mon, 4 Oct 2010 03:53:45 +0000 (03:53 +0000)]
2010-10-03  MORITA Hajime  <morrita@google.com>

        Unrevied, added test expectations for because of the massive SVG change in r68976.
        This chanage is for svg/W3C-SVG-1.1/*.

        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-09-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-10-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-11-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-12-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-13-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-20-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-28-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-32-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-39-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-46-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-64-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-66-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-67-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-68-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-69-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-70-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-77-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-84-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-85-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/color-prof-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/color-prop-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/color-prop-02-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/color-prop-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-coord-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-coord-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-05-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-trans-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-units-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-displace-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-example-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-felem-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-image-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-offset-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-order-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-order-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-order-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-a-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/masking-path-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-fill-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-fill-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-fill-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-fill-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-fill-05-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-marker-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-marker-02-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-stroke-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/painting-stroke-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-05-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-10-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-13-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-14-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/paths-data-15-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-07-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-15-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-18-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-19-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-circle-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-ellipse-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-line-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-polygon-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-cond-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-cond-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-defs-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-frag-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-frag-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-group-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-group-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-05-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-08-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-09-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-image-10-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-use-03-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/struct-use-05-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-css-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-css-05-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-css-06-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-pres-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-align-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-align-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-align-04-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-fonts-01-t-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-fonts-02-t-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-path-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.txt:
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-03-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-08-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-tref-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-tselect-02-f-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-ws-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-ws-02-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-09-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-10-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-11-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-12-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-13-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-20-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-28-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-32-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-39-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-46-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-64-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-66-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-67-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-68-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-69-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-70-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-77-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-84-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-85-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/color-prof-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/color-prop-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/color-prop-02-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/color-prop-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-coord-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-coord-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-05-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-trans-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-units-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-displace-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-example-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-felem-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-image-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-offset-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-order-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-order-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-order-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/masking-path-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-fill-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-fill-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-fill-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-fill-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-fill-05-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-marker-01-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-marker-02-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-05-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-10-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-13-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-14-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-15-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-07-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-15-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-18-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-19-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-circle-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-ellipse-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-line-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-polygon-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-cond-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-cond-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-defs-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-frag-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-frag-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-group-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-group-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-05-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-08-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-09-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-image-10-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-use-03-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-use-05-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-05-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-06-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-pres-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-align-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-align-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-align-04-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-fonts-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-fonts-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-path-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-03-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-04-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-06-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-07-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-text-08-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-tref-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-tselect-02-f-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-ws-01-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/text-ws-02-t-expected.txt:
        * platform/chromium-win/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-10-03 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 4 Oct 2010 03:38:09 +0000 (03:38 +0000)]
2010-10-03  Kent Tamura  <tkent@chromium.org>

        Unreviewed, upstreaming test expectations in Chromium tree.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-10-03 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 4 Oct 2010 02:37:08 +0000 (02:37 +0000)]
2010-10-03  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update for r68976.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-10-03 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 4 Oct 2010 02:29:41 +0000 (02:29 +0000)]
2010-10-03  Dimitri Glazkov  <dglazkov@chromium.org>

        Move chromium-win-xp-specific result to its proper place.

        * platform/chromium-win-xp/svg/custom/js-late-pattern-and-object-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-pattern-and-object-creation-expected.txt: Removed.

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

9 years ago2010-10-03 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 4 Oct 2010 01:22:08 +0000 (01:22 +0000)]
2010-10-03  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Nikolas Zimmermann.

        [Chromium] Rebaseline svg/custom tests due to http://trac.webkit.org/changeset/68976.
        https://bugs.webkit.org/show_bug.cgi?id=47061

        * platform/chromium-linux/svg/custom/alignment-baseline-modes-expected.checksum:
        * platform/chromium-linux/svg/custom/alignment-baseline-modes-expected.png:
        * platform/chromium-linux/svg/custom/alignment-baseline-modes-expected.txt: Added.
        * platform/chromium-linux/svg/custom/altglyph-expected.checksum:
        * platform/chromium-linux/svg/custom/altglyph-expected.png:
        * platform/chromium-linux/svg/custom/altglyph-expected.txt: Added.
        * platform/chromium-linux/svg/custom/broken-internal-references-expected.txt:
        * platform/chromium-linux/svg/custom/container-opacity-clip-viewBox-expected.txt: Added.
        * platform/chromium-linux/svg/custom/dominant-baseline-modes-expected.checksum:
        * platform/chromium-linux/svg/custom/dominant-baseline-modes-expected.png:
        * platform/chromium-linux/svg/custom/dominant-baseline-modes-expected.txt: Added.
        * platform/chromium-linux/svg/custom/glyph-transformation-with-hkern-expected.checksum:
        * platform/chromium-linux/svg/custom/glyph-transformation-with-hkern-expected.png:
        * platform/chromium-linux/svg/custom/image-small-width-height-expected.checksum:
        * platform/chromium-linux/svg/custom/image-small-width-height-expected.png:
        * platform/chromium-linux/svg/custom/image-small-width-height-expected.txt: Added.
        * platform/chromium-linux/svg/custom/invalid-fill-expected.txt: Added.
        * platform/chromium-linux/svg/custom/invalid-fill-hex-expected.txt: Added.
        * platform/chromium-linux/svg/custom/js-late-clipPath-and-object-creation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/js-late-clipPath-creation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/js-late-gradient-and-object-creation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/js-late-gradient-creation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/js-late-pattern-and-object-creation-expected.txt:
        * platform/chromium-linux/svg/custom/js-late-pattern-creation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/pattern-rotate-expected.txt: Added.
        * platform/chromium-linux/svg/custom/pattern-with-transformation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/pointer-events-text-expected.txt: Added.
        * platform/chromium-linux/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt: Added.
        * platform/chromium-linux/svg/custom/stroke-width-large-expected.txt:
        * platform/chromium-linux/svg/custom/struct-use-09-b-expected.txt:
        * platform/chromium-linux/svg/custom/style-attribute-font-size-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-clip-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-dom-01-f-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-filter-expected.checksum:
        * platform/chromium-linux/svg/custom/text-filter-expected.png:
        * platform/chromium-linux/svg/custom/text-filter-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-letter-spacing-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-linking-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-repaint-including-stroke-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-rotation-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/text-rotation-expected.png: Added.
        * platform/chromium-linux/svg/custom/text-rotation-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-whitespace-handling-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-x-dx-lists-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-x-dy-lists-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/text-x-dy-lists-expected.png: Added.
        * platform/chromium-linux/svg/custom/text-x-dy-lists-expected.txt: Added.
        * platform/chromium-linux/svg/custom/text-x-override-in-tspan-child-expected.checksum:
        * platform/chromium-linux/svg/custom/text-x-override-in-tspan-child-expected.png:
        * platform/chromium-linux/svg/custom/text-x-override-in-tspan-child-expected.txt: Added.
        * platform/chromium-linux/svg/custom/use-on-text-expected.txt: Added.
        * platform/chromium-linux/svg/custom/use-referencing-nonexisting-symbol-expected.txt: Added.
        * platform/chromium-mac/svg/custom/altglyph-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/altglyph-expected.png: Added.
        * platform/chromium-win/svg/custom/alignment-baseline-modes-expected.checksum:
        * platform/chromium-win/svg/custom/alignment-baseline-modes-expected.png:
        * platform/chromium-win/svg/custom/alignment-baseline-modes-expected.txt:
        * platform/chromium-win/svg/custom/altglyph-expected.checksum:
        * platform/chromium-win/svg/custom/altglyph-expected.png:
        * platform/chromium-win/svg/custom/altglyph-expected.txt:
        * platform/chromium-win/svg/custom/broken-internal-references-expected.txt:
        * platform/chromium-win/svg/custom/container-opacity-clip-viewBox-expected.txt:
        * platform/chromium-win/svg/custom/dominant-baseline-modes-expected.checksum:
        * platform/chromium-win/svg/custom/dominant-baseline-modes-expected.png:
        * platform/chromium-win/svg/custom/dominant-baseline-modes-expected.txt:
        * platform/chromium-win/svg/custom/glyph-transformation-with-hkern-expected.checksum:
        * platform/chromium-win/svg/custom/glyph-transformation-with-hkern-expected.png:
        * platform/chromium-win/svg/custom/image-small-width-height-expected.checksum:
        * platform/chromium-win/svg/custom/image-small-width-height-expected.png:
        * platform/chromium-win/svg/custom/image-small-width-height-expected.txt:
        * platform/chromium-win/svg/custom/invalid-fill-expected.txt:
        * platform/chromium-win/svg/custom/invalid-fill-hex-expected.txt:
        * platform/chromium-win/svg/custom/js-late-clipPath-and-object-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-clipPath-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-gradient-and-object-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-gradient-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-pattern-and-object-creation-expected.txt: Added.
        * platform/chromium-win/svg/custom/js-late-pattern-creation-expected.txt:
        * platform/chromium-win/svg/custom/pattern-rotate-expected.txt:
        * platform/chromium-win/svg/custom/pattern-with-transformation-expected.txt:
        * platform/chromium-win/svg/custom/pointer-events-text-expected.txt:
        * platform/chromium-win/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
        * platform/chromium-win/svg/custom/stroke-width-large-expected.txt:
        * platform/chromium-win/svg/custom/struct-use-09-b-expected.checksum: Added.
        * platform/chromium-win/svg/custom/struct-use-09-b-expected.png: Added.
        * platform/chromium-win/svg/custom/struct-use-09-b-expected.txt: Added.
        * platform/chromium-win/svg/custom/style-attribute-font-size-expected.txt:
        * platform/chromium-win/svg/custom/text-clip-expected.txt:
        * platform/chromium-win/svg/custom/text-dom-01-f-expected.txt:
        * platform/chromium-win/svg/custom/text-filter-expected.checksum:
        * platform/chromium-win/svg/custom/text-filter-expected.png:
        * platform/chromium-win/svg/custom/text-filter-expected.txt:
        * platform/chromium-win/svg/custom/text-letter-spacing-expected.txt:
        * platform/chromium-win/svg/custom/text-linking-expected.txt:
        * platform/chromium-win/svg/custom/text-repaint-including-stroke-expected.txt:
        * platform/chromium-win/svg/custom/text-rotation-expected.checksum: Added.
        * platform/chromium-win/svg/custom/text-rotation-expected.png: Added.
        * platform/chromium-win/svg/custom/text-rotation-expected.txt: Added.
        * platform/chromium-win/svg/custom/text-whitespace-handling-expected.txt:
        * platform/chromium-win/svg/custom/text-x-dx-lists-expected.txt:
        * platform/chromium-win/svg/custom/text-x-dy-lists-expected.checksum: Added.
        * platform/chromium-win/svg/custom/text-x-dy-lists-expected.png: Added.
        * platform/chromium-win/svg/custom/text-x-dy-lists-expected.txt: Added.
        * platform/chromium-win/svg/custom/text-x-override-in-tspan-child-expected.checksum:
        * platform/chromium-win/svg/custom/text-x-override-in-tspan-child-expected.png:
        * platform/chromium-win/svg/custom/text-x-override-in-tspan-child-expected.txt:
        * platform/chromium-win/svg/custom/use-on-text-expected.txt:
        * platform/chromium-win/svg/custom/use-referencing-nonexisting-symbol-expected.txt:
        * platform/chromium/test_expectations.txt:

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

9 years agoImplement newly added Plugin/PluginController member functions for out of process...
andersca@apple.com [Sun, 3 Oct 2010 21:50:13 +0000 (21:50 +0000)]
Implement newly added Plugin/PluginController member functions for out of process plug-ins
https://bugs.webkit.org/show_bug.cgi?id=47065
<rdar://problem/8507194>

Reviewed by Sam Weinig.

* Platform/CoreIPC/Arguments.h:
Add typedefs.

* Platform/CoreIPC/HandleMessage.h:
(CoreIPC::handleMessage):
Add new handleMessage overload.

* PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::create):
Add an isPrivateBrowsingEnabled boolean.

(WebKit::PluginControllerProxy::PluginControllerProxy):
Add an isPrivateBrowsingEnabled boolean.

(WebKit::PluginControllerProxy::proxiesForURL):
(WebKit::PluginControllerProxy::cookiesForURL):
(WebKit::PluginControllerProxy::setCookiesForURL):
Send messages to the web process.

(WebKit::PluginControllerProxy::isPrivateBrowsingEnabled):
Return whether private browsing is enabled or not.

(WebKit::PluginControllerProxy::handleKeyboardEvent):
Call Plugin::handleKeyboardEvent.

(WebKit::PluginControllerProxy::privateBrowsingStateChanged):
Call Plugin::privateBrowsingStateChanged.

* PluginProcess/PluginControllerProxy.messages.in:
Add new messages.

* PluginProcess/WebProcessConnection.cpp:
(WebKit::WebProcessConnection::createPlugin):
Pass the isPrivateBrowsingEnabled flag.

* PluginProcess/WebProcessConnection.h:
* PluginProcess/WebProcessConnection.messages.in:
Update CreatePlugin message parameters.

* WebProcess/Plugins/PluginProcessConnection.cpp:
(WebKit::PluginProcessConnection::didReceiveMessage):
(WebKit::PluginProcessConnection::didReceiveSyncMessage):
It's OK for a plug-in to not get a sync message.

* WebProcess/Plugins/PluginProcessConnection.h:
* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::handleKeyboardEvent):
(WebKit::PluginProxy::privateBrowsingStateChanged):
Send messages.

(WebKit::PluginProxy::proxiesForURL):
(WebKit::PluginProxy::cookiesForURL):
(WebKit::PluginProxy::setCookiesForURL):
Call the plug-in controller.

* WebProcess/Plugins/PluginProxy.messages.in:
Add new messages.

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

9 years agoSend keyboard events to plug-ins
andersca@apple.com [Sun, 3 Oct 2010 21:02:19 +0000 (21:02 +0000)]
Send keyboard events to plug-ins
https://bugs.webkit.org/show_bug.cgi?id=47064
<rdar://problem/8507148>

Reviewed by Sam Weinig.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::handleKeyboardEvent):
Call platformHandleKeyboardEvent.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::modifierFlags):
Return the modifier flags given a WebKeyboardEvent.

(WebKit::initializeKeyboardEvent):
Initialize an NPCocoaEvent from a WebKeyboardEvent.

(WebKit::NetscapePlugin::platformHandleKeyboardEvent):
Initialize the event and dispatch it using NPP_HandleEvent.

* WebProcess/Plugins/Netscape/qt/NetscapePluginQt.cpp:
(WebKit::NetscapePlugin::platformHandleKeyboardEvent):
Add stub.

* WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp:
(WebKit::NetscapePlugin::platformHandleKeyboardEvent):
Add stub.

* WebProcess/Plugins/Plugin.h:
Add handleKeyboardEvent.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::handleEvent):
Call Plugin::handleKeyboardEvent if we see a keydown or keyup event.

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

9 years ago2010-10-03 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sun, 3 Oct 2010 15:35:49 +0000 (15:35 +0000)]
2010-10-03  Dimitri Glazkov  <dglazkov@chromium.org>

        Add Chromium depot_tools to files that git should ignore.

        * .gitignore: Added WebKit/chromium/depot_tools.

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

9 years ago2010-10-03 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 3 Oct 2010 09:22:44 +0000 (09:22 +0000)]
2010-10-03  Adam Barth  <abarth@webkit.org>

        Reviewed by Holger Freyther.

        ASSERT(m_state = Open); is bad news bears
        https://bugs.webkit.org/show_bug.cgi?id=47057

        Added by ap (review by darin) in http://trac.webkit.org/changeset/50951
        Too bad the compiler doesn't catch these errors.  I don't believe this
        is possible to test.

        * platform/network/cf/SocketStreamHandleCFNet.cpp:
        (WebCore::SocketStreamHandle::writeStreamCallback):

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

9 years ago2010-10-03 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 3 Oct 2010 09:00:22 +0000 (09:00 +0000)]
2010-10-03  Adam Barth  <abarth@webkit.org>

        Reviewed by Holger Freyther.

        All the WebSocket tests crash
        https://bugs.webkit.org/show_bug.cgi?id=47056

        More code that tries to hold onto temporaries with references.

        * websockets/WebSocketChannel.cpp:
        (WebCore::WebSocketChannel::didOpen):

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

9 years ago2010-10-03 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 3 Oct 2010 08:19:34 +0000 (08:19 +0000)]
2010-10-03  Adam Barth  <abarth@webkit.org>

        Reviewed by Holger Freyther.

        All the WebSocket tests crash
        https://bugs.webkit.org/show_bug.cgi?id=47055

        This code attempts to hold onto temporary objects using references.
        That doesn't work in C++. Instead, we need to actually store the
        objects somewhere.

        * bindings/js/JSWebSocketCustom.cpp:
        (WebCore::JSWebSocketConstructor::constructJSWebSocket):

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

9 years ago2010-10-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sun, 3 Oct 2010 05:32:18 +0000 (05:32 +0000)]
2010-10-02  Simon Fraser  <simon.fraser@apple.com>

        Add the ability to jump to a specific test.

        * CSSTestSuiteHarness/harness/harness.html:
        * CSSTestSuiteHarness/harness/harness.js:
        (TestSuite.prototype.goToTestByName):
        (TestSuite.prototype.switchToFormat):

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

9 years ago2010-10-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sun, 3 Oct 2010 04:24:34 +0000 (04:24 +0000)]
2010-10-02  Simon Fraser  <simon.fraser@apple.com>

        For a ref test, load the ref in the same format (HTML4 vs XHTML1)
        as the test.

        * CSSTestSuiteHarness/harness/harness.js:
        (TestSuite.prototype.loadRef):

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

9 years ago2010-10-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sun, 3 Oct 2010 04:24:18 +0000 (04:24 +0000)]
2010-10-02  Simon Fraser  <simon.fraser@apple.com>

        Update the UI to reflect the fact that each test needs to be tested
        in both HTML4 and XHTML1 format.

        * CSSTestSuiteHarness/harness/harness.js:
        (Test):
        (Chapter.prototype.description):
        (Chapter.prototype.untestedCount):
        (TestSuite.prototype.fillChapterPopup):
        (TestSuite.prototype.updateChapterPopup):
        (TestSuite.prototype.fillTestList):
        (TestSuite.prototype.updateTestList):
        (TestSuite.prototype.goToNextIncompleteTest):
        (TestSuite.prototype.firstIncompleteTestIndex):
        (TestSuite.prototype.recordResult):
        (TestSuite.prototype.formatChanged):
        (TestSuite.prototype.markTestCompleted):
        (TestSuite.prototype.resetTestStatus):

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

9 years agoBuild fix. Not reviewed.
hclam@chromium.org [Sat, 2 Oct 2010 21:44:24 +0000 (21:44 +0000)]
Build fix. Not reviewed.

Remove LayoutTests/websocket and the dummy file.

* websocket/tests/workers/README: Removed.

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

9 years agoBuild fix. Not reviewed.
hclam@chromium.org [Sat, 2 Oct 2010 21:18:31 +0000 (21:18 +0000)]
Build fix. Not reviewed.

Add test expectations because of the massive SVG change in r68976.

* platform/chromium/test_expectations.txt:

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

9 years ago[Qt] Provide Qt support for DeviceMotion/Orientation clients
diegohcg@webkit.org [Sat, 2 Oct 2010 21:16:10 +0000 (21:16 +0000)]
[Qt] Provide Qt support for DeviceMotion/Orientation clients
https://bugs.webkit.org/show_bug.cgi?id=47051

Reviewed by Kenneth Rohde Christiansen.

WebCore:

Add Qt DeviceMotion/Orientation dummy clients in build system.

* WebCore.pro:

WebKit/qt:

Dummy implementation of DeviceMotion/Orientation client classes
to make possible to hook up motion/orientation data
in further implementations.

* Api/qwebpage.cpp:
(QWebPagePrivate::QWebPagePrivate):
* WebCoreSupport/DeviceMotionClientQt.cpp: Added.
(WebCore::DeviceMotionClientQt::DeviceMotionClientQt):
(WebCore::DeviceMotionClientQt::setController):
(WebCore::DeviceMotionClientQt::startUpdating):
(WebCore::DeviceMotionClientQt::stopUpdating):
(WebCore::DeviceMotionClientQt::currentDeviceMotion):
(WebCore::DeviceMotionClientQt::deviceMotionControllerDestroyed):
* WebCoreSupport/DeviceMotionClientQt.h: Added.
(WebCore::DeviceMotionClientQt::~DeviceMotionClientQt):
* WebCoreSupport/DeviceOrientationClientQt.cpp: Added.
(WebCore::DeviceOrientationClientQt::DeviceOrientationClientQt):
(WebCore::DeviceOrientationClientQt::setController):
(WebCore::DeviceOrientationClientQt::startUpdating):
(WebCore::DeviceOrientationClientQt::stopUpdating):
(WebCore::DeviceOrientationClientQt::lastOrientation):
(WebCore::DeviceOrientationClientQt::deviceOrientationControllerDestroyed):
* WebCoreSupport/DeviceOrientationClientQt.h: Added.
(WebCore::DeviceOrientationClientQt::~DeviceOrientationClientQt):

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

9 years ago2010-10-02 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 2 Oct 2010 09:26:24 +0000 (09:26 +0000)]
2010-10-02  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        Rewrite SVG text layout code
        https://bugs.webkit.org/show_bug.cgi?id=45532

        Rebaseline gtk / qt / win specific SVG text results.

        * platform/gtk/svg/batik/text/textDecoration-expected.txt:
        * platform/gtk/svg/css/composite-shadow-text-expected.txt:
        * platform/gtk/svg/css/shadow-changes-expected.txt:
        * platform/gtk/svg/css/text-shadow-multiple-expected.txt:
        * platform/gtk/svg/custom/broken-internal-references-expected.txt:
        * platform/gtk/svg/custom/mouse-move-on-svg-container-expected.txt:
        * platform/gtk/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
        * platform/gtk/svg/custom/mouse-move-on-svg-root-expected.txt:
        * platform/gtk/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
        * platform/gtk/svg/custom/stroke-width-large-expected.txt:
        * platform/gtk/svg/filters/filter-on-filter-for-text-expected.txt:
        * platform/gtk/svg/filters/filter-on-tspan-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-1-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-2-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-3-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-squeeze-4-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-stretch-1-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-stretch-2-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-stretch-3-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacing-stretch-4-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt:
        * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt:
        * platform/gtk/svg/text/select-x-list-1-expected.txt:
        * platform/gtk/svg/text/select-x-list-2-expected.txt:
        * platform/gtk/svg/text/select-x-list-3-expected.txt:
        * platform/gtk/svg/text/select-x-list-4-expected.txt:
        * platform/gtk/svg/text/select-x-list-with-tspans-1-expected.txt:
        * platform/gtk/svg/text/select-x-list-with-tspans-2-expected.txt:
        * platform/gtk/svg/text/select-x-list-with-tspans-3-expected.txt:
        * platform/gtk/svg/text/select-x-list-with-tspans-4-expected.txt:
        * platform/gtk/svg/text/text-hkern-expected.txt:
        * platform/gtk/svg/text/text-hkern-on-vertical-text-expected.txt:
        * platform/gtk/svg/text/text-vkern-expected.txt:
        * platform/qt/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt:
        * platform/qt/svg/batik/text/textDecoration-expected.txt:
        * platform/qt/svg/custom/broken-internal-references-expected.txt:
        * platform/qt/svg/filters/filter-on-filter-for-text-expected.txt:
        * platform/qt/svg/filters/filter-on-tspan-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-squeeze-1-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-squeeze-2-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-squeeze-3-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-squeeze-4-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-stretch-1-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-stretch-2-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-stretch-3-expected.txt:
        * platform/qt/svg/text/select-textLength-spacing-stretch-4-expected.txt:
        * platform/qt/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt:
        * platform/qt/svg/text/select-x-list-1-expected.txt:
        * platform/qt/svg/text/select-x-list-2-expected.txt:
        * platform/qt/svg/text/select-x-list-3-expected.txt:
        * platform/qt/svg/text/select-x-list-4-expected.txt:
        * platform/qt/svg/text/select-x-list-with-tspans-1-expected.txt:
        * platform/qt/svg/text/select-x-list-with-tspans-2-expected.txt:
        * platform/qt/svg/text/select-x-list-with-tspans-3-expected.txt:
        * platform/qt/svg/text/select-x-list-with-tspans-4-expected.txt:
        * platform/qt/svg/text/text-hkern-expected.txt:
        * platform/qt/svg/text/text-hkern-on-vertical-text-expected.txt:
        * platform/qt/svg/text/text-vkern-expected.txt:
        * platform/qt/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
        * platform/win/svg/custom/broken-internal-references-expected.txt:

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

9 years ago2010-10-01 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 2 Oct 2010 08:08:26 +0000 (08:08 +0000)]
2010-10-01  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Rewrite SVG text layout code
        https://bugs.webkit.org/show_bug.cgi?id=45532

        Modernize SVG text layout engine, split the layout process into three phases, so that each results can be cached (which will be done in a follow-up patch).

        Phase #1) - SVGTextLayoutAttributesBuilder
        ------------------------------------------

        Parse x/y/dx/dy/rotate values of the <text> subtree (<text x="30 40">A<tspan>B<tspan x="50">C</tspan></tspan></text>)
        This is done by SVGTextLayoutAttributesBuilder. It builds a SVGTextLayoutAttributes object for each RenderSVGInlineText renderer, and stores it there.
        Phase #1 is started from RenderSVGText::layout(), before RenderBlockLineLayout is laying out the inline children, and thus before the InlineBox tree is created.

        Now we know which character has an associated absolute x or y position, denoting the start of a new text chunk. Whenever we encounter a new text chunk
        RenderBlockLineLayout should create a new SVGInlineTextBox. This is very important, as BiDi reordering shouldn't happen across text chunks, as well as ligature detection.

        The text chunk concept is now merged right into the InlineBox tree, so we don't need to hack around the lack of that, as done for the previous years.

        Phase #2) - SVGTextLayoutEngine
        ------------------------------------------

        RenderSVGText::layout() calls RenderBlock::layoutInlineChildren() right after phase #1 ends. The InlineBox tree is created. During that process findNextLineBreak()
        decides how to split up the text into InlineTextBoxes. It has already been patched, to ask RenderSVGInlineText::characterStartsNewTextChunk(int position), whether the
        current character should go in a new SVGInlineTextBox or not. This requires that phase #1 already stored these information in the RenderSVGInlineText objects.

        For each <text> object a SVGRootInlineBox is created (in constructLine()) and all child boxes are added. After that SVGRootInlineBox::computePerCharacterLayoutInformation()
        is called (unlike HTML text, which splits the vertical & horizontal layout in two phases, it's just one single phase for SVG). This function invokes SVGTextLayoutEngine
        and starts phase #2 of the layout process.

        SVGTextLayoutEngine lays out the content of each SVGInlineTextBox either on a line or a path. It contains all the logic handling, alignment-baseline, dominant-baseline,
        letter-spacing, word-spacing, kerning, glyph-orientation-(horizontal|vertical), rotation, etc. etc.

        As result it generates a set of SVGTextFragment objects which are stored in each SVGInlineTextBox. Each SVGTextFragment is a portion of text that can be rendered/measured
        at once. Some examples to illustrate what's going on:

        <text x="20">ABCD</text>:
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 4, "ABCD" (x=20)

        <text x="20 100">ABCD</text>:
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 1, "A" (x=20)
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 1, "B" (x=100)
          - SVGTextFragment, start 1 length 2, "CD" (x=100 + advance_of_last)

        <text><textPath xlink:href="#somePath">ABCD</textPath></text>:
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 1, "A" (rotated!)
          - SVGTextFragment, start 1 length 1, "B" (rotated!)
          - SVGTextFragment, start 2 length 1, "C" (rotated!)
          - SVGTextFragment, start 3 length 1, "D" (rotated!)

        <text x="0 50 100">A<tspan>B</tspan>C</text>
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 1, "A" (x=0)
        - SVGInlineFlowBox
          - SVGInlineTextBox
            - SVGTextFragment, start 0 length 1, "B" (x=50)
        - SVGInlineTextBox
          - SVGTextFragment, start 0 length 1, "C" (x=100)

        When painting text SVGInlineTextBox just walks its fragments and paints them. Text selection works the same.
        All text measurements (width/height etc.) have already been done in phase #2 and aren't required anymore while painting/selecting.
        This is one of the main benefits of the new text layout engine, painting & selection is cheap now, compared to the layout process.

        We're now doing phase #1 everytime RenderSVGText::layout() is called. This is not necessary, we only have to recompute these information
        if the x/y/dx/dy or rotate list of an element in the <text> subtree changes or the text content itself -> this will be done in a follow-up patch.
        It's likely that we'll also find ways to skip phase #2 in certain situations.

        Phase #3) - SVGTextChunkBuilder
        ------------------------------------------

        After phase #2 finished, we can post-process the text fragments. Certain operations have to be applied on a "per chunk" basis.
        text-anchor should be applied to individual text chunks, as well as textLength corrections (lengthAdjust="spacing" / lengthAdjust="spacingAndGlyphs").

        SVGTextChunkBuilder just walks the SVGInlineTextBox, and collects all boxes belonging to a certain chunk. For each of the chunks all fragments
        are post-processed. For instance for text-anchor="middle", all x positions of all fragments are shifted by -fragmentWidth/2 (for horizonal text).

        After phase #1 - #3 finished, SVGRootInlineBox::computePerCharacterLayoutInformation() utilizies the stored SVGTextFragments to lay out all child
        boxes in the InlineBox tree (setWidth/Height, etc.), the size and position of the SVGRootInlineBox and it's parent RenderSVGText object.

        This should give interessted readers a good summary of how the new text layout engine works.
        See LayoutTests/ChangeLog for more details on test progression.

        Tests: svg/custom/text-rotation.svg
               svg/custom/text-x-dy-lists.svg

        * Android.mk: Add SVGTextLayoutEngine.* / SVGTextChunkBuilder.* to build. Remove SVGCharacterData.* / SVGTextChunkLayoutInfo.* / SVGTextLayoutUtilities.* from build.
        * CMakeLists.txt: Ditto.
        * GNUmakefile.am: Ditto.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * rendering/InlineBox.h:
        (WebCore::InlineBox::isSVGInlineFlowBox): Add helper function to identify SVGInlineFlowBoxes. The variants for SVGInlineTextBox etc. already exist.
        * rendering/InlineTextBox.h: Devirtualize selectionStartEnd, SVG is no longer overriding it.
        * rendering/RenderSVGAllInOne.cpp: removes
        * rendering/RenderText.cpp:
        (WebCore::RenderText::setTextInternal): Remove SVG specific hacks, moved to RenderSVGInlineText.
        * rendering/SVGCharacterData.cpp: Removed.
        * rendering/SVGCharacterData.h: Removed.
        * rendering/SVGCharacterLayoutInfo.cpp: Removed.
        * rendering/SVGCharacterLayoutInfo.h: Removed.
        * rendering/SVGRenderTreeAsText.cpp: Hack DRT output to be somewhat compatible with the current output, the plan is to change it completly after this patch.
        (WebCore::writeRenderSVGTextBox):
        (WebCore::writeSVGInlineTextBox):
        * rendering/SVGTextChunkLayoutInfo.cpp: Removed.
        * rendering/SVGTextChunkLayoutInfo.h: Removed.
        * rendering/SVGTextLayoutUtilities.cpp: Removed.
        * rendering/SVGTextLayoutUtilities.h: Removed.
        * rendering/style/RenderStyle.cpp:
        (WebCore::RenderStyle::diff): Only return immediately if SVGRenderStyle::diff produced StyleDifferenceLayout, it it's sth. else be sure to ask RenderStyle itself what to do.
        * rendering/style/SVGRenderStyle.h:
        (WebCore::SVGRenderStyle::isVerticalWritingMode): New helper method, moved from SVGTextLayoutUtilities.
        * rendering/svg/RenderSVGInlineText.cpp:
        (WebCore::applySVGWhitespaceRules): Moved from RenderText into a SVG specific place.
        (WebCore::RenderSVGInlineText::RenderSVGInlineText): Use applySVGWhitespaceRules on the incoming text.
        (WebCore::RenderSVGInlineText::styleDidChange): Only apply SVG white space rules, when using xml:space="preserve", otherwhise the constructor already handled it.
        (WebCore::RenderSVGInlineText::characterStartsNewTextChunk): Create text chunks for absolute y values as well, SVG 1.1 2nd Edition demands that.
        (WebCore::RenderSVGInlineText::positionForPoint): New function operating on all SVGInlineTextBoxes and their SVGTextFragments.
        * rendering/svg/RenderSVGInlineText.h:
        (WebCore::RenderSVGInlineText::layoutAttributes): Stores the layout attributes generated by SVGTextLayoutAttributesBuilder.
        (WebCore::toRenderSVGInlineText): New helper methods for casting.
        * rendering/svg/RenderSVGText.cpp:
        (WebCore::RenderSVGText::layout): Add comment, that SVGTextLayoutAttributesBuilder is just phase one of the layout process.
        (WebCore::RenderSVGText::positionForPoint): Simplified implementation for SVGs needs.
        * rendering/svg/RenderSVGText.h:
        * rendering/svg/SVGInlineFlowBox.cpp:
        (WebCore::SVGInlineFlowBox::paintSelectionBackground): Seperated selection background drawing from actual text rendering, to make sure selection is always in background for SVG.
        (WebCore::SVGInlineFlowBox::paint): Call computetextMatchMarkerRectForRenderer, before painting.
        (WebCore::SVGInlineFlowBox::computeTextMatchMarkerRectForRenderer): New method.
        * rendering/svg/SVGInlineFlowBox.h:
        (WebCore::SVGInlineFlowBox::isSVGInlineFlowBox):
        * rendering/svg/SVGInlineTextBox.cpp: Completly rewritten, operates on SVGTextFragments, produced by the SVGTextLayoutEngine. Whole new concept, compared to the old hack.
        * rendering/svg/SVGInlineTextBox.h:
        (WebCore::SVGInlineTextBox::clearTextFragments): Only used by SVGTextLayoutEngine, to clean up previously computed fragments.
        (WebCore::SVGInlineTextBox::textFragments): Offers access to the fragments in the box.
        (WebCore::SVGInlineTextBox::startsNewTextChunk): Does this box start a new text chunk?
        (WebCore::SVGInlineTextBox::setStartsNewTextChunk): SVGTextLayoutEngine marks this box, if it starts a new text chunk.
        * rendering/svg/SVGRootInlineBox.cpp: Remove old code regarding text chunk parts.
        (WebCore::SVGRootInlineBox::paint): Selection is now painted before text, to assure it's really in the background.
        (WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation): Use new SVGTextLayoutEngine.
        (WebCore::SVGRootInlineBox::layoutCharactersInTextBoxes): Feed SVGTextLayoutEngine with SVGInlineTextBoxes, detect the begin/end of path layouts.
        (WebCore::SVGRootInlineBox::layoutChildBoxes): Use new isSVGInlineTextBox() helper method.
        (WebCore::SVGRootInlineBox::closestLeafChildForPosition): Simplified version for SVG.
        * rendering/svg/SVGRootInlineBox.h: Remove access to text chunks, they're now longer stored in the SVGRootInlineBox.
        * rendering/svg/SVGTextChunk.cpp: s/SVGTextChunkNew/SVGTextChunk/
        * rendering/svg/SVGTextChunk.h:
        * rendering/svg/SVGTextChunkBuilder.cpp: Added.
        * rendering/svg/SVGTextChunkBuilder.h: Added.
        * rendering/svg/SVGTextLayoutAttributes.cpp: Constify dump() method.
        * rendering/svg/SVGTextLayoutAttributes.h:
        (WebCore::SVGTextLayoutAttributes::textMetricsValues):
        * rendering/svg/SVGTextLayoutAttributesBuilder.cpp: Rewritten, consume less memory, while building the layout attributes.
        * rendering/svg/SVGTextLayoutAttributesBuilder.h:
        * rendering/svg/SVGTextLayoutEngine.cpp: Added.
        * rendering/svg/SVGTextLayoutEngine.h: Added.
        * rendering/svg/SVGTextQuery.cpp: Rewritten to deal with the new SVGTextFragment/SVGTextLayoutAttributes logic.
        * rendering/svg/SVGTextQuery.h:
2010-10-01  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Rewrite SVG text layout code
        https://bugs.webkit.org/show_bug.cgi?id=45532

        Rebaseline most SVGs containing text. The underlying concept has changed, I tried hard to maintain
        a somewhat compatible DRT output, so it doesn't require rebaselines of _all_ tests.
        The dump looks awkward now, it will always report "chunk 1", as it's hardcoded in SVGRenderTreeAsText.
        Follow up patches will change the output of text dumps completly.

        * platform/mac-leopard/svg/W3C-SVG-1.1/text-text-05-t-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1/text-text-05-t-expected.png:
        * platform/mac-leopard/svg/batik/text/textOnPath-expected.checksum:
        * platform/mac-leopard/svg/batik/text/textOnPath-expected.png: baseline-shift adjustments now match Opera.
        * platform/mac-leopard/svg/batik/text/verticalTextOnPath-expected.checksum:
        * platform/mac-leopard/svg/batik/text/verticalTextOnPath-expected.png: Ditto.
        * platform/mac-leopard/svg/batik/text/xmlSpace-expected.checksum:
        * platform/mac-leopard/svg/batik/text/xmlSpace-expected.png:
        * platform/mac-leopard/svg/custom/altglyph-expected.checksum:
        * platform/mac-leopard/svg/custom/altglyph-expected.png:
        * platform/mac-leopard/svg/text/multichar-glyph-expected.checksum:
        * platform/mac-leopard/svg/text/multichar-glyph-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/filters-displace-01-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/linking-a-07-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png: No more blurry edges, size calculations fixed.
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/struct-frag-06-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/styling-css-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/styling-css-05-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-align-02-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/text-align-02-b-expected.png: baseline-shift looks slightly different, now matches Opera.
        * platform/mac/svg/W3C-SVG-1.1/text-align-02-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-align-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-align-04-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-align-05-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/text-align-05-b-expected.png: Vertical text now starts at correct origin, and is centered correctly.
        * platform/mac/svg/W3C-SVG-1.1/text-align-05-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-align-06-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/text-align-06-b-expected.png: Ditto + baseline-shift differences.
        * platform/mac/svg/W3C-SVG-1.1/text-align-06-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-path-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-text-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-text-04-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-text-05-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-text-06-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-text-07-t-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-tselect-02-f-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt:
        * platform/mac/svg/batik/text/longTextOnPath-expected.txt:
        * platform/mac/svg/batik/text/textAnchor-expected.txt:
        * platform/mac/svg/batik/text/textAnchor2-expected.checksum:
        * platform/mac/svg/batik/text/textAnchor2-expected.png: y-position adjustments start new text chunks since SVG 1.1 2nd edition (in contrary to SVG 1.2 Tiny). Left the test as is.
        * platform/mac/svg/batik/text/textAnchor2-expected.txt:
        * platform/mac/svg/batik/text/textAnchor3-expected.txt:
        * platform/mac/svg/batik/text/textDecoration-expected.checksum:
        * platform/mac/svg/batik/text/textDecoration-expected.png: text-decoration defined on <text> paints with the paint sever defined on the <tspan>, test finally works!
        * platform/mac/svg/batik/text/textDecoration-expected.txt:
        * platform/mac/svg/batik/text/textDecoration2-expected.checksum:
        * platform/mac/svg/batik/text/textDecoration2-expected.png: Ditto.
        * platform/mac/svg/batik/text/textDecoration2-expected.txt:
        * platform/mac/svg/batik/text/textEffect-expected.checksum:
        * platform/mac/svg/batik/text/textEffect-expected.png: Just like pservers-grad-08-b.svg, no more blurry edges.
        * platform/mac/svg/batik/text/textEffect-expected.txt:
        * platform/mac/svg/batik/text/textEffect2-expected.txt:
        * platform/mac/svg/batik/text/textEffect3-expected.checksum:
        * platform/mac/svg/batik/text/textEffect3-expected.png: Ditto.
        * platform/mac/svg/batik/text/textEffect3-expected.txt:
        * platform/mac/svg/batik/text/textFeatures-expected.checksum:
        * platform/mac/svg/batik/text/textFeatures-expected.png: baseline-shift differences.
        * platform/mac/svg/batik/text/textFeatures-expected.txt:
        * platform/mac/svg/batik/text/textGlyphOrientationHorizontal-expected.checksum:
        * platform/mac/svg/batik/text/textGlyphOrientationHorizontal-expected.png: Completly fixed, now aligns properly with path, matches Opera & Batik.
        * platform/mac/svg/batik/text/textGlyphOrientationHorizontal-expected.txt:
        * platform/mac/svg/batik/text/textLayout-expected.txt:
        * platform/mac/svg/batik/text/textLayout2-expected.checksum:
        * platform/mac/svg/batik/text/textLayout2-expected.png: baseline-shift differences.
        * platform/mac/svg/batik/text/textLayout2-expected.txt:
        * platform/mac/svg/batik/text/textLength-expected.txt:
        * platform/mac/svg/batik/text/textOnPath-expected.txt:
        * platform/mac/svg/batik/text/textOnPath2-expected.txt:
        * platform/mac/svg/batik/text/textOnPath3-expected.txt:
        * platform/mac/svg/batik/text/textOnPathSpaces-expected.txt:
        * platform/mac/svg/batik/text/textPCDATA-expected.txt:
        * platform/mac/svg/batik/text/textPosition-expected.txt:
        * platform/mac/svg/batik/text/textPosition2-expected.txt:
        * platform/mac/svg/batik/text/textProperties-expected.txt:
        * platform/mac/svg/batik/text/textProperties2-expected.txt:
        * platform/mac/svg/batik/text/verticalText-expected.checksum:
        * platform/mac/svg/batik/text/verticalText-expected.png:
        * platform/mac/svg/batik/text/verticalText-expected.txt:
        * platform/mac/svg/batik/text/verticalTextOnPath-expected.txt:
        * platform/mac/svg/batik/text/xmlSpace-expected.txt:
        * platform/mac/svg/carto.net/button-expected.txt:
        * platform/mac/svg/carto.net/colourpicker-expected.txt:
        * platform/mac/svg/carto.net/combobox-expected.txt:
        * platform/mac/svg/carto.net/selectionlist-expected.txt:
        * platform/mac/svg/carto.net/tabgroup-expected.txt:
        * platform/mac/svg/carto.net/textbox-expected.txt:
        * platform/mac/svg/carto.net/window-expected.txt:
        * platform/mac/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt:
        * platform/mac/svg/css/text-shadow-multiple-expected.txt:
        * platform/mac/svg/custom/alignment-baseline-modes-expected.checksum:
        * platform/mac/svg/custom/alignment-baseline-modes-expected.png: central baseline now works as expected.
        * platform/mac/svg/custom/alignment-baseline-modes-expected.txt:
        * platform/mac/svg/custom/altglyph-expected.txt:
        * platform/mac/svg/custom/broken-internal-references-expected.txt:
        * platform/mac/svg/custom/container-opacity-clip-viewBox-expected.txt:
        * platform/mac/svg/custom/dominant-baseline-modes-expected.checksum:
        * platform/mac/svg/custom/dominant-baseline-modes-expected.png: ditto.
        * platform/mac/svg/custom/dominant-baseline-modes-expected.txt:
        * platform/mac/svg/custom/glyph-selection-lang-attribute-expected.txt:
        * platform/mac/svg/custom/glyph-transformation-with-hkern-expected.checksum:
        * platform/mac/svg/custom/glyph-transformation-with-hkern-expected.png: Kerning is now properly respected.
        * platform/mac/svg/custom/image-small-width-height-expected.txt:
        * platform/mac/svg/custom/invalid-fill-expected.txt:
        * platform/mac/svg/custom/invalid-fill-hex-expected.txt:
        * platform/mac/svg/custom/mouse-move-on-svg-container-expected.txt:
        * platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
        * platform/mac/svg/custom/mouse-move-on-svg-root-expected.txt:
        * platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
        * platform/mac/svg/custom/pattern-rotate-expected.txt:
        * platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
        * platform/mac/svg/custom/style-attribute-font-size-expected.txt:
        * platform/mac/svg/custom/text-dom-01-f-expected.txt:
        * platform/mac/svg/custom/text-letter-spacing-expected.txt:
        * platform/mac/svg/custom/text-linking-expected.txt:
        * platform/mac/svg/custom/text-rotation-expected.checksum: Added.
        * platform/mac/svg/custom/text-rotation-expected.png: Added.
        * platform/mac/svg/custom/text-rotation-expected.txt: Added.
        * platform/mac/svg/custom/text-whitespace-handling-expected.txt:
        * platform/mac/svg/custom/text-x-dx-lists-expected.txt:
        * platform/mac/svg/custom/text-x-dy-lists-expected.checksum: Added.
        * platform/mac/svg/custom/text-x-dy-lists-expected.png: Added.
        * platform/mac/svg/custom/text-x-dy-lists-expected.txt: Added.
        * platform/mac/svg/custom/text-x-override-in-tspan-child-expected.checksum:
        * platform/mac/svg/custom/text-x-override-in-tspan-child-expected.png:
        * platform/mac/svg/custom/text-x-override-in-tspan-child-expected.txt:
        * platform/mac/svg/custom/use-detach-expected.txt:
        * platform/mac/svg/filters/filter-on-filter-for-text-expected.txt:
        * platform/mac/svg/filters/filter-on-tspan-expected.txt:
        * platform/mac/svg/text/kerning-expected.txt:
        * platform/mac/svg/text/multichar-glyph-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-1-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-1-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-1-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-2-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-2-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-2-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-3-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-3-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-3-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-4-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-4-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-squeeze-4-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-stretch-1-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-stretch-1-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-stretch-1-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-stretch-2-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-stretch-2-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-stretch-2-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-stretch-3-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-stretch-3-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-stretch-3-expected.txt:
        * platform/mac/svg/text/select-textLength-spacing-stretch-4-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacing-stretch-4-expected.png:
        * platform/mac/svg/text/select-textLength-spacing-stretch-4-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.checksum:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.png:
        * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt:
        * platform/mac/svg/text/select-x-list-1-expected.checksum:
        * platform/mac/svg/text/select-x-list-1-expected.png:
        * platform/mac/svg/text/select-x-list-1-expected.txt:
        * platform/mac/svg/text/select-x-list-2-expected.checksum:
        * platform/mac/svg/text/select-x-list-2-expected.png:
        * platform/mac/svg/text/select-x-list-2-expected.txt:
        * platform/mac/svg/text/select-x-list-3-expected.checksum:
        * platform/mac/svg/text/select-x-list-3-expected.png:
        * platform/mac/svg/text/select-x-list-3-expected.txt:
        * platform/mac/svg/text/select-x-list-4-expected.checksum:
        * platform/mac/svg/text/select-x-list-4-expected.png:
        * platform/mac/svg/text/select-x-list-4-expected.txt:
        * platform/mac/svg/text/select-x-list-with-tspans-1-expected.checksum:
        * platform/mac/svg/text/select-x-list-with-tspans-1-expected.png:
        * platform/mac/svg/text/select-x-list-with-tspans-1-expected.txt:
        * platform/mac/svg/text/select-x-list-with-tspans-2-expected.checksum:
        * platform/mac/svg/text/select-x-list-with-tspans-2-expected.png:
        * platform/mac/svg/text/select-x-list-with-tspans-2-expected.txt:
        * platform/mac/svg/text/select-x-list-with-tspans-3-expected.checksum:
        * platform/mac/svg/text/select-x-list-with-tspans-3-expected.png:
        * platform/mac/svg/text/select-x-list-with-tspans-3-expected.txt:
        * platform/mac/svg/text/select-x-list-with-tspans-4-expected.checksum:
        * platform/mac/svg/text/select-x-list-with-tspans-4-expected.png:
        * platform/mac/svg/text/select-x-list-with-tspans-4-expected.txt:
        * platform/mac/svg/text/text-align-02-b-expected.checksum:
        * platform/mac/svg/text/text-align-02-b-expected.png:
        * platform/mac/svg/text/text-align-02-b-expected.txt:
        * platform/mac/svg/text/text-align-03-b-expected.txt:
        * platform/mac/svg/text/text-align-04-b-expected.checksum:
        * platform/mac/svg/text/text-align-04-b-expected.png:
        * platform/mac/svg/text/text-align-04-b-expected.txt:
        * platform/mac/svg/text/text-align-05-b-expected.checksum:
        * platform/mac/svg/text/text-align-05-b-expected.png:
        * platform/mac/svg/text/text-align-05-b-expected.txt:
        * platform/mac/svg/text/text-align-06-b-expected.checksum:
        * platform/mac/svg/text/text-align-06-b-expected.png:
        * platform/mac/svg/text/text-align-06-b-expected.txt:
        * platform/mac/svg/text/text-altglyph-01-b-expected.txt:
        * platform/mac/svg/text/text-deco-01-b-expected.checksum:
        * platform/mac/svg/text/text-deco-01-b-expected.png:
        * platform/mac/svg/text/text-deco-01-b-expected.txt:
        * platform/mac/svg/text/text-hkern-expected.checksum:
        * platform/mac/svg/text/text-hkern-expected.png: Kerning now respects text chunk boundaries.
        * platform/mac/svg/text/text-hkern-expected.txt:
        * platform/mac/svg/text/text-hkern-on-vertical-text-expected.txt:
        * platform/mac/svg/text/text-path-01-b-expected.checksum:
        * platform/mac/svg/text/text-path-01-b-expected.png:
        * platform/mac/svg/text/text-path-01-b-expected.txt:
        * platform/mac/svg/text/text-spacing-01-b-expected.checksum:
        * platform/mac/svg/text/text-spacing-01-b-expected.png:
        * platform/mac/svg/text/text-spacing-01-b-expected.txt:
        * platform/mac/svg/text/text-text-01-b-expected.checksum:
        * platform/mac/svg/text/text-text-01-b-expected.png:
        * platform/mac/svg/text/text-text-01-b-expected.txt:
        * platform/mac/svg/text/text-text-04-t-expected.checksum:
        * platform/mac/svg/text/text-text-04-t-expected.png:
        * platform/mac/svg/text/text-text-04-t-expected.txt:
        * platform/mac/svg/text/text-text-05-t-expected.checksum:
        * platform/mac/svg/text/text-text-05-t-expected.png: y positions now also start text chunks, finally a progression on this test!
        * platform/mac/svg/text/text-text-05-t-expected.txt:
        * platform/mac/svg/text/text-text-06-t-expected.txt:
        * platform/mac/svg/text/text-text-07-t-expected.checksum:
        * platform/mac/svg/text/text-text-07-t-expected.png:
        * platform/mac/svg/text/text-text-07-t-expected.txt:
        * platform/mac/svg/text/text-text-08-b-expected.checksum:
        * platform/mac/svg/text/text-text-08-b-expected.png: Opacity doesn't affect selection anymore, matches all other browsers.
        * platform/mac/svg/text/text-tselect-01-b-expected.txt:
        * platform/mac/svg/text/text-tselect-02-f-expected.txt:
        * platform/mac/svg/text/text-tspan-01-b-expected.txt:
        * platform/mac/svg/text/text-vkern-expected.checksum:
        * platform/mac/svg/text/text-vkern-expected.png: Kerning now respects text chunk boundaries.
        * platform/mac/svg/text/text-vkern-expected.txt:
        * platform/mac/svg/text/textPathBoundsBug-expected.txt:
        * platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
        * platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.checksum:
        * platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
        * platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt:
        * platform/mac/svg/transforms/text-with-pattern-with-svg-transform-expected.checksum:
        * platform/mac/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
        * platform/mac/svg/transforms/text-with-pattern-with-svg-transform-expected.txt:
        * svg/batik/text/xmlSpace.svg: Fixed wrong test, now the embedded SVG Font is actually used.
        * svg/custom/altglyph.svg: Fixed wrong test, xlink namespace was wrong, xlink:href for altGlyph had no effect.
        * svg/custom/glyph-setting-d-attribute-expected.txt:
        * svg/custom/glyph-transformation-with-hkern-expected.txt:
        * svg/custom/text-rotation.svg: Added.
        * svg/custom/text-x-dy-lists.svg: Added.
        * svg/custom/text-x-override-in-tspan-child.svg: Fixed wrong test, depending on a previous bug - now matches Opera.
        * svg/text/multichar-glyph.svg: Also dump end positions of characters.
        * svg/text/resources/SelectionTestCase.js: Modify the selection test cases, to draw green lines marking the computed start & end postions of the selected characters.
        (selectRange):

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

9 years agoBuild fix. Not reviewed.
hclam@chromium.org [Sat, 2 Oct 2010 07:57:43 +0000 (07:57 +0000)]
Build fix. Not reviewed.

An adhoc fix for a crash found by reliability bot. This will make the
reliability bot happy. A proper fix is pending commit.

* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::~VideoLayerChromium):

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

9 years agoNot reviewed. Build fix.
hclam@chromium.org [Sat, 2 Oct 2010 07:26:08 +0000 (07:26 +0000)]
Not reviewed. Build fix.

Add test expectations for Chromium.

* platform/chromium/test_expectations.txt:

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

9 years ago2010-10-01 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 2 Oct 2010 06:01:29 +0000 (06:01 +0000)]
2010-10-01  Simon Fraser  <simon.fraser@apple.com>

        Add the ability to remove results for re-testing, and
        to import results.

        * CSSTestSuiteHarness/harness/harness.css:
        (.custom button):
        (#overlay):
        (#overlay.visible):
        (.overlay-contents):
        (.overlay-contents textarea):
        (.overlay-contents .buttons):
        (.overlay-contents .note):
        (.overlay-contents .buttons button):
        * CSSTestSuiteHarness/harness/harness.html:
        * CSSTestSuiteHarness/harness/harness.js:
        (TestSuite.prototype.importResults):
        (TestSuite.prototype.clearResults):
        (TestSuite.prototype.markTestCompleted):
        (TestSuite.prototype.resetTestStatus):
        (TestSuite.prototype.storeTestResult):
        (TestSuite.prototype.importTestResults):
        (TestSuite.prototype.clearTestResults):

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

9 years ago2010-10-01 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Sat, 2 Oct 2010 04:49:45 +0000 (04:49 +0000)]
2010-10-01  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        FormatBlockCommand and IndentOutdentCommand should use the same code to iterate paragraphs
        https://bugs.webkit.org/show_bug.cgi?id=46840

        Added ApplyBlockElementCommand, which is an abstract class inherited by FormatBlockCommand
        and IndentOutdentCommand.  It is intended to be inherited by InsertListCommand as well.

        ApplyBlockElementCommand's doApply verifies the current selection and exits early
        if it's invalid or orphaned or if the current selection is outside editable region.
        It then calls formatSelection to apply the block element after which doApply restores the selection.
        formatSelection iterates through paragraphs and calls formatParagraph, a pure virtual function
        implemented by FormatBlockCommand and IndentOutdentCommand, on each paragraph.

        No new tests are added since this is a refactoring.

        * Android.mk: Added ApplyBlockElementCommand.cpp.
        * CMakeLists.txt: Ditto.
        * GNUmakefile.am: Added ApplyBlockElementCommand.cpp and ApplyBlockElementCommand.h.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * editing/ApplyBlockElementCommand.cpp: Added.
        (WebCore::countParagraphs): Moved from IndentOutdentCommand.cpp
        (WebCore::ApplyBlockElementCommand::ApplyBlockElementCommand): Added.
        (WebCore::ApplyBlockElementCommand::doApply): Moved from IndentOutdentCommand::doApply.
        (WebCore::ApplyBlockElementCommand::formatSelection): Moved from IndentOutdentCommand::indentRegion.
        (WebCore::ApplyBlockElementCommand::createBlockElement): Added.
        (WebCore::ApplyBlockElementCommand::splitTextNodes): Moved from IndentOutdentCommand::splitTextNodes.
        * editing/ApplyBlockElementCommand.h: Added.
        * editing/EditingAllInOne.cpp:
        * editing/EditorCommand.cpp:
        (WebCore::executeFormatBlock):
        * editing/FormatBlockCommand.cpp: Removed doApply.
        (WebCore::FormatBlockCommand::FormatBlockCommand): Calls ApplyBlockElementCommand's constructor.
        (WebCore::FormatBlockCommand::formatParagraph): Renamed from doApplyForSingleParagraph.
        * editing/FormatBlockCommand.h: FormatBlockCommand inherits from ApplyBlockElementCommand.
        (WebCore::FormatBlockCommand::create): Uses QualifiedName for the tag name instead of AtomicString.
        * editing/IndentOutdentCommand.cpp: Removed doApply, indentIntoBlockquote, and splitTextNodes.
        (WebCore::IndentOutdentCommand::IndentOutdentCommand): Calls ApplyBlockElementCommand's constructor.
        (WebCore::IndentOutdentCommand::indentIntoBlockquote): The code to nullify targetBlockquote
        when the next paragraph is in a different table cell is moved to ApplyBlockElementCommand::formatSelection.
        (WebCore::IndentOutdentCommand::formatSelection): Added. Calls outdentRegion when outdenting.
        (WebCore::IndentOutdentCommand::formatParagraph): Added. Calls tryIndentingAsListItem and indentIntoBlockquote.
        * editing/IndentOutdentCommand.h: IndentOutdentCommand inherits from ApplyBlockElementCommand.

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

9 years agoBuild fix.
mrowe@apple.com [Sat, 2 Oct 2010 04:01:29 +0000 (04:01 +0000)]
Build fix.

Clear the executable bit from a number of source files.

WebCore:

* page/Frame.cpp:
* platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
* platform/graphics/win/WKCACFLayerRenderer.cpp:
* platform/graphics/win/WKCACFLayerRenderer.h:
* platform/network/ResourceRawHeaders.h:
* rendering/RenderLayerCompositor.cpp:
* rendering/RenderLayerCompositor.h:

WebKit/win:

* WebView.cpp:
* WebView.h:

WebKit2:

* WebProcess/WebCoreSupport/win/WebFrameNetworkingContext.h:

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

9 years ago2010-10-01 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sat, 2 Oct 2010 03:22:06 +0000 (03:22 +0000)]
2010-10-01  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Adam Barth.

        [GTK] r68923 broke some plugin tests
        https://bugs.webkit.org/show_bug.cgi?id=47040

        No longer pass focus and blur events to plugins when the "old" DOM Level
        2 DOMFocusIn/DOMFocusOut events occur. r68923 made a change which means
        that the DOM Level 3 version is always fired for this event.

        No new tests, as this should cause the failing tests to pass.

        * plugins/PluginView.cpp:
        (WebCore::PluginView::handleEvent): No longer pass focus and blur events to
        plugins when DOMFocusIn / DOMFocusOut events occur.

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

9 years ago2010-10-01 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sat, 2 Oct 2010 02:17:53 +0000 (02:17 +0000)]
2010-10-01  Martin Robinson  <mrobinson@igalia.com>

        Removed an expected result for a previously skipped test. This test
        is skipped because it fails on 1 (out of 4) GTK+ bots. It had
        started failing again after the WebSocket tests were relocated and
        the skipped list was no longer up to date.

        * platform/gtk/Skipped: Update skipped list to reflect new test location.
        * platform/gtk/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Removed.

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

9 years ago2010-10-01 Tony Chang <tony@chromium.org>
tony@chromium.org [Sat, 2 Oct 2010 02:08:15 +0000 (02:08 +0000)]
2010-10-01  Tony Chang  <tony@chromium.org>

        Unreviewed.  Turns out Safari Win matches Safari Mac so move the
        expectation to chromium-win.

        * platform/chromium-win/editing/selection/5354455-1-expected.txt: Renamed from LayoutTests/platform/win/editing/selection/5354455-1-expected.txt.
        * platform/win/Skipped:

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

9 years ago2010-10-01 Tony Chang <tony@chromium.org>
tony@chromium.org [Sat, 2 Oct 2010 02:01:13 +0000 (02:01 +0000)]
2010-10-01  Tony Chang  <tony@chromium.org>

        Unreviewed.  Updating layout test (editing/selection/5354455-1.html) after r68948.
        Will fix soon.

        * platform/chromium/test_expectations.txt:
        * platform/win/Skipped:

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

9 years agoDeploy the new WKString functions to remove most uses of CF from
weinig@apple.com [Sat, 2 Oct 2010 01:54:27 +0000 (01:54 +0000)]
Deploy the new WKString functions to remove most uses of CF from
the WebKitTestRunner.

Reviewed by Jon Honeycutt.

* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::didReceiveMessage):
(WTR::InjectedBundle::done):
* WebKitTestRunner/StringFunctions.h:
(WTR::toWK):
(WTR::toJS):
(WTR::toSTD):
(WTR::operator<<):
(WTR::copyURLString):
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):
(WTR::TestController::didFinishLoadForFrame):
* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::invoke):
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle):

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

9 years ago2010-10-01 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Sat, 2 Oct 2010 01:17:42 +0000 (01:17 +0000)]
2010-10-01  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed TestResultsServer change.

        Add files introduced by http://crrev.com/61273 to the list of dashboard
        files to update.

        * TestResultServer/handlers/dashboardhandler.py:

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

9 years agoWebCore: Plug-ins should have access to the private browsing state.
andersca@apple.com [Sat, 2 Oct 2010 00:45:10 +0000 (00:45 +0000)]
WebCore: Plug-ins should have access to the private browsing state.
https://bugs.webkit.org/show_bug.cgi?id=47031
<rdar://problem/8505405>

Reviewed by Sam Weinig.

* page/Page.cpp:
(WebCore::Page::privateBrowsingStateChanged):
When iterating over all widgets, also look for PluginViewBase classes and invoke their
privateBrowsingStateChange member function.

* plugins/PluginViewBase.h:
(WebCore::PluginViewBase::privateBrowsingStateChanged):
Add function.

WebKit2: Plug-ins should have access to the private browsing state.
https://bugs.webkit.org/show_bug.cgi?id=47031
<rdar://problem/8505405>

Reviewed by Sam Weinig.

* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
(WebKit::NPN_GetValue):
Handle NPNVprivateModeBool.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::isPrivateBrowsingEnabled):
Call PluginController::isPrivateBrowsingEnabled.

(WebKit::NetscapePlugin::NPP_SetValue):
Add NPP_SetValue wrapper.

(WebKit::NetscapePlugin::privateBrowsingStateChanged):
Call NPP_SetValue with the updated state.

* WebProcess/Plugins/Plugin.h:
Add privateBrowsingStateChanged pure virtual member function.

* WebProcess/Plugins/PluginController.h:
Add isPrivateBrowsingEnabled pure virtual member function.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::privateBrowsingStateChanged):
Call Plugin::privateBrowsingStateChanged.

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

9 years agoWebKit2: Add SPI to convert a WKStringRef to a JSStringRef and vice-versa.
weinig@apple.com [Sat, 2 Oct 2010 00:40:14 +0000 (00:40 +0000)]
WebKit2: Add SPI to convert a WKStringRef to a JSStringRef and vice-versa.

Reviewed by Anders Carlsson.

API Test: WebKit2/WKStringJSString

* Shared/API/c/WKString.cpp:
(WKStringCreateWithJSString):
(WKStringCopyJSString):
* Shared/API/c/WKStringPrivate.h: Added.
* Shared/WebString.h:
(WebKit::WebString::create):
(WebKit::WebString::createJSString):
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
* win/WebKit2Generated.make:

WebKitTools: Build Fix for Windows.

Patch by Brian Weinstein <bweinstein@apple.com> on 2010-10-01
* WebKitTestRunner/win/WebKitTestRunner.vcproj: Don't copy ForwardingHeaders from
    WebKitTestRunner/ForwardingHeaders, instead, add $(WebKitOutputDir)/include/WebCore/
    ForwardingHeaders to the include path.

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

9 years agoBuild Fix for Windows.
bweinstein@apple.com [Sat, 2 Oct 2010 00:27:50 +0000 (00:27 +0000)]
Build Fix for Windows.

WebCore:

* WebCore.vcproj/WebCore.vcproj: Don't have an empty post-build step, use
    WebCoreCommon.vsprops to handle post-build step.
* WebCore.vcproj/WebCoreCommon.vsprops: Set the post-build step to delete
     $(WebKitOutputDir)/buildfailed.

WebKitTools:

* WebKitTestRunner/win/WebKitTestRunner.vcproj: Don't copy ForwardingHeaders from
    WebKitTestRunner/ForwardingHeaders, instead, add $(WebKitOutputDir)/include/WebCore/
    ForwardingHeaders to the include path.

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

9 years ago2010-10-01 Ragner Magalhaes <ragner.magalhaes@openbossa.org>
commit-queue@webkit.org [Sat, 2 Oct 2010 00:24:10 +0000 (00:24 +0000)]
2010-10-01  Ragner Magalhaes  <ragner.magalhaes@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Segmentation fault during zoom out
        https://bugs.webkit.org/show_bug.cgi?id=46984

        * platform/qt/QtMobileWebStyle.cpp:
        (QtMobileWebStyle::drawChecker): Adjust checkerSize to be greater than or equals to middle.

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

9 years agoAnother Qt build fix attempt.
andersca@apple.com [Sat, 2 Oct 2010 00:17:52 +0000 (00:17 +0000)]
Another Qt build fix attempt.

* WebCore.pro:

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=47021
hyatt@apple.com [Sat, 2 Oct 2010 00:13:00 +0000 (00:13 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47021

Reviewed by Dan Bernstein.

Patch the floatBottom function and its friends.  Rename them and consolidate them to be block-flow-aware.

Nothing testable yet, since most of the float code is still unpatched.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::layoutBlockChildren):
(WebCore::RenderBlock::layoutBlockChild):
(WebCore::RenderBlock::positionNewFloats):
(WebCore::RenderBlock::newLine):
(WebCore::RenderBlock::nextFloatLogicalBottomBelow):
(WebCore::RenderBlock::lowestFloatLogicalBottom):
(WebCore::RenderBlock::clearFloats):
(WebCore::RenderBlock::addOverhangingFloats):
(WebCore::RenderBlock::getClearDelta):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::logicalBottomForFloat):
(WebCore::RenderBlock::hasOverhangingFloats):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::fitBelowFloats):

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

9 years agoFix Snow Leopard build.
andersca@apple.com [Sat, 2 Oct 2010 00:11:08 +0000 (00:11 +0000)]
Fix Snow Leopard build.

* Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::getProxy):

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

9 years agoFix typo.
andersca@apple.com [Fri, 1 Oct 2010 23:49:58 +0000 (23:49 +0000)]
Fix typo.

* platform/network/qt/ProxyServerQt.cpp:
(WebCore::proxyServersForURL):

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

9 years agoAdd Qt ProxyServer stub.
andersca@apple.com [Fri, 1 Oct 2010 23:45:33 +0000 (23:45 +0000)]
Add Qt ProxyServer stub.

* WebCore.pro:
* platform/network/qt/ProxyServerQt.cpp: Added.
(WebCore::proxyServersForURL):

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

9 years agoImplement proxiesForURL, cookiesForURL and setCookiesForURL
andersca@apple.com [Fri, 1 Oct 2010 23:42:13 +0000 (23:42 +0000)]
Implement proxiesForURL, cookiesForURL and setCookiesForURL
https://bugs.webkit.org/show_bug.cgi?id=47029

Reviewed by Sam Weinig.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::proxiesForURL):
(WebKit::PluginView::cookiesForURL):
(WebKit::PluginView::setCookiesForURL):

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

9 years agoAdd proxy server query function proxyServersForURL and change the Mac plug-in code...
andersca@apple.com [Fri, 1 Oct 2010 23:28:17 +0000 (23:28 +0000)]
Add proxy server query function proxyServersForURL and change the Mac plug-in code to use it
https://bugs.webkit.org/show_bug.cgi?id=47022
<rdar://problem/8504712>

Reviewed by Dan Bernstein.

WebCore:

* WebCore.exp.in:
Export proxyServersForURL and toString.

* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
Add new files.

* platform/network/ProxyServer.cpp: Added.
(WebCore::appendProxyServerString):
(WebCore::toString):
New function that converts a vector of ProxyServers into a PAC style string.

* platform/network/ProxyServer.h: Added.
(WebCore::ProxyServer::ProxyServer):
(WebCore::ProxyServer::type):
(WebCore::ProxyServer::hostName):
(WebCore::ProxyServer::port):
Add ProxyServer class.

* platform/network/cf/ProxyServerCFNet.cpp: Added.
(WebCore::proxyServersForURL):
(WebCore::addProxyServersForURL):
Query CFNetwork for the proxy servers given a URL.

WebKit/mac:

* Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::getProxy):
* Plugins/WebBaseNetscapePluginView.h:
* Plugins/WebBaseNetscapePluginView.mm:
* Plugins/WebNetscapePluginView.mm:
(-[WebNetscapePluginView getVariable:forURL:value:length:]):

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

9 years ago2010-10-01 Evan Martin <evan@chromium.org>
tony@chromium.org [Fri, 1 Oct 2010 23:21:29 +0000 (23:21 +0000)]
2010-10-01  Evan Martin  <evan@chromium.org>

        Reviewed by Tony Chang.

        editing/selection/5354455-1 has incorrect description text
        https://bugs.webkit.org/show_bug.cgi?id=44990

        This test includes descriptive text that describes an OS X-specific behavior.
        I almost checked in an incorrect baseline because I believed the text.
        This change amends the text to describe expected behavior on Mac/Win/Linux.

        Rather than requiring new baselines on all platforms, I took this opportunity
        to also convert the test to a markup dump.  We'll then end up with just one
        Mac baseline and one non-Mac baseline.

        * editing/selection/5354455-1.html:
        * platform/chromium-linux/editing/selection/5354455-1-expected.checksum: Removed.
        * platform/chromium-linux/editing/selection/5354455-1-expected.png: Removed.
        * platform/chromium-win/editing/selection/5354455-1-expected.checksum: Removed.
        * platform/chromium-win/editing/selection/5354455-1-expected.png: Removed.
        * platform/chromium-win/editing/selection/5354455-1-expected.txt: Removed.
        * platform/chromium/test_expectations.txt:
        * platform/gtk/editing/selection/5354455-1-expected.txt: Removed.
        * platform/mac-leopard/editing/selection/5354455-1-expected.checksum: Removed.
        * platform/mac-leopard/editing/selection/5354455-1-expected.png: Removed.
        * platform/mac/editing/selection/5354455-1-expected.checksum: Removed.
        * platform/mac/editing/selection/5354455-1-expected.png: Removed.
        * platform/mac/editing/selection/5354455-1-expected.txt: Updated.
        * platform/win/editing/selection/5354455-1-expected.txt: Added.

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

9 years agoBuild fix. Not reviewed.
hclam@chromium.org [Fri, 1 Oct 2010 23:17:29 +0000 (23:17 +0000)]
Build fix. Not reviewed.

Add test expectations for Chromium.

* platform/chromium-linux/fast/blockflow/block-level-images-expected.checksum: Added.
* platform/chromium-linux/fast/blockflow/block-level-images-expected.png: Added.
* platform/chromium-linux/fast/css/rtl-to-viewport-expected.checksum: Added.
* platform/chromium-linux/fast/css/rtl-to-viewport-expected.png: Added.
* platform/chromium-linux/fast/css/rtl-to-viewport-expected.txt: Added.
* platform/chromium-linux/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Copied from LayoutTests/platform/chromium-linux/websocket/tests/bad-sub-protocol-control-chars-expected.txt.
* platform/chromium-linux/http/tests/websocket/tests/url-parsing-expected.txt: Added.
* platform/chromium-mac/fast/blockflow/block-level-images-expected.checksum: Added.
* platform/chromium-mac/fast/blockflow/block-level-images-expected.png: Added.
* platform/chromium-mac/fast/css/rtl-to-viewport-expected.checksum: Added.
* platform/chromium-mac/fast/css/rtl-to-viewport-expected.png: Added.
* platform/chromium-mac/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Copied from LayoutTests/platform/chromium-linux/websocket/tests/bad-sub-protocol-control-chars-expected.txt.
* platform/chromium-mac/http/tests/websocket/tests/url-parsing-expected.txt: Added.
* platform/chromium-win-xp/fast/blockflow/block-level-images-expected.png: Added.
* platform/chromium-win-xp/fast/css/rtl-to-viewport-expected.png: Added.
* platform/chromium-win/fast/blockflow/block-level-images-expected.checksum: Added.
* platform/chromium-win/fast/blockflow/block-level-images-expected.png: Added.
* platform/chromium-win/fast/css/rtl-to-viewport-expected.checksum: Added.
* platform/chromium-win/fast/css/rtl-to-viewport-expected.png: Added.
* platform/chromium-win/fast/css/rtl-to-viewport-expected.txt: Added.
* platform/chromium-win/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Copied from LayoutTests/platform/chromium-win/websocket/tests/bad-sub-protocol-control-chars-expected.txt.
* platform/chromium-win/http/tests/websocket/tests/url-parsing-expected.txt: Added.
* platform/chromium-win/platform/win/plugins/get-value-netscape-window-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

9 years agoFixed a typo
mitz@apple.com [Fri, 1 Oct 2010 23:09:33 +0000 (23:09 +0000)]
Fixed a typo

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

9 years ago2010-09-30 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 1 Oct 2010 23:08:27 +0000 (23:08 +0000)]
2010-09-30  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        texImage2D fails on 16-bit-per-channel images
        https://bugs.webkit.org/show_bug.cgi?id=46947

        * platform/graphics/GraphicsContext3D.cpp: Handling 16-bit-per-channel source formats.
        (WebCore::convertColor16To8):
        (WebCore::doPacking):
        * platform/graphics/GraphicsContext3D.h: Ditto.
        * platform/graphics/cg/GraphicsContext3DCG.cpp: Ditto.
        (WebCore::GraphicsContext3D::getImageData):
2010-09-30  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        texImage2D fails on 16-bit-per-channel images
        https://bugs.webkit.org/show_bug.cgi?id=46947

        * fast/canvas/webgl/gl-teximage-expected.txt: Add a test case for loading 16-bit-per-channel images as textures.
        * fast/canvas/webgl/gl-teximage.html: Ditto.
        * fast/canvas/webgl/resources/green-2x2-16bit.png: Added.

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

9 years agoBuild fix. Not reviewed.
hclam@chromium.org [Fri, 1 Oct 2010 22:30:19 +0000 (22:30 +0000)]
Build fix. Not reviewed.

Add test expectations for Chromium.

* platform/chromium/test_expectations.txt:

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

9 years ago2010-10-01 Eric Uhrhane <ericu@chromium.org>
commit-queue@webkit.org [Fri, 1 Oct 2010 22:09:45 +0000 (22:09 +0000)]
2010-10-01  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by Nate Chapin.

        Add v8 binding helpers to make FileWriter be an EventTarget.
        https://bugs.webkit.org/show_bug.cgi?id=46910

        No new tests; still waiting for the first complete implementation.

        * bindings/v8/V8DOMWrapper.cpp:
        (WebCore::V8DOMWrapper::convertEventTargetToV8Object):

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

9 years agoAdd additional WKString API
weinig@apple.com [Fri, 1 Oct 2010 22:00:00 +0000 (22:00 +0000)]
Add additional WKString API
https://bugs.webkit.org/show_bug.cgi?id=46958

Reviewed by Kenneth Rohde Christiansen.

WebKit2:

API Test: WebKit2/WKString

* Shared/API/c/WKString.cpp:
(WKStringCreateWithUTF8CString):
(WKStringGetMaximumUTF8CStringSize):
(WKStringGetUTF8CString):
(WKStringIsEqual):
(WKStringIsEqualToUTF8CString):
* Shared/API/c/WKString.h:
* Shared/WebString.h:
(WebKit::WebString::createFromUTF8String):
(WebKit::WebString::maximumUTF8CStringSize):
(WebKit::WebString::getUTF8CString):
(WebKit::WebString::equal):
(WebKit::WebString::equalToUTF8String):

WebKitTools:

Add basic WKStringRef tests.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/WKString.cpp: Added.

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

9 years ago2010-10-01 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 1 Oct 2010 21:57:35 +0000 (21:57 +0000)]
2010-10-01  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Nate Chapin.

        [Chromium] Remove WebURLLoaderClient::didFinishLoading(WebURLLoader*)
        https://bugs.webkit.org/show_bug.cgi?id=47008

        Now that WebURLLoaderClient::didFinishLoading(WebURLLoader*) has no
        more callers, it can be removed (requires a Chromium roll to
        http://crrev.com/61206, which actually removed the last usage).

        * DEPS:
        * public/WebURLLoaderClient.h:

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

9 years ago2010-10-01 Alex Mathews <possessedpenguinbob@gmail.com>
commit-queue@webkit.org [Fri, 1 Oct 2010 21:43:05 +0000 (21:43 +0000)]
2010-10-01  Alex Mathews  <possessedpenguinbob@gmail.com>

        Reviewed by Simon Fraser.

        Bug 47013 - Main Web Inspector link on webkit.org links to old wiki page
        https://bugs.webkit.org/show_bug.cgi?id=47013

        * nav.inc: Removed the space from the web inspector wiki link.

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

9 years agoLand post-XP results for fast/text/backslash-to-yen-sign-euc.html
aroben@apple.com [Fri, 1 Oct 2010 21:30:29 +0000 (21:30 +0000)]
Land post-XP results for fast/text/backslash-to-yen-sign-euc.html

The fonts this test uses must have changed after Windows XP

* platform/win-xp/fast/text/backslash-to-yen-sign-euc-expected.txt:
Copied from LayoutTests/platform/win/fast/text/backslash-to-yen-sign-euc-expected.txt.
* platform/win/fast/text/backslash-to-yen-sign-euc-expected.txt:
Updated for post-XP.

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=47015
hyatt@apple.com [Fri, 1 Oct 2010 21:25:39 +0000 (21:25 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47015

Reviewed by Sam Weinig.

Change FloatingObject to store its dimensions as a rect.
This will make it easier for logical access for block-flow later on if
top/bottom is no different from left/width.  This change also simplifies
calling code a bit in places.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::addOverflowFromFloats):
(WebCore::RenderBlock::repaintOverhangingFloats):
(WebCore::RenderBlock::paintFloats):
(WebCore::RenderBlock::fillSelectionGaps):
(WebCore::RenderBlock::insertFloatingObject):
(WebCore::RenderBlock::removeFloatingObject):
(WebCore::RenderBlock::removeFloatingObjectsBelow):
(WebCore::RenderBlock::positionNewFloats):
(WebCore::RenderBlock::positionNewFloatOnLine):
(WebCore::RenderBlock::logicalLeftOffsetForLine):
(WebCore::RenderBlock::logicalRightOffsetForLine):
(WebCore::RenderBlock::nextFloatBottomBelow):
(WebCore::RenderBlock::floatBottom):
(WebCore::RenderBlock::lowestPosition):
(WebCore::RenderBlock::rightmostPosition):
(WebCore::RenderBlock::leftmostPosition):
(WebCore::RenderBlock::leftBottom):
(WebCore::RenderBlock::rightBottom):
(WebCore::RenderBlock::clearFloats):
(WebCore::RenderBlock::addOverhangingFloats):
(WebCore::RenderBlock::addIntrudingFloats):
(WebCore::RenderBlock::hitTestFloats):
(WebCore::RenderBlock::adjustForBorderFit):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::FloatingObject::FloatingObject):
(WebCore::RenderBlock::FloatingObject::left):
(WebCore::RenderBlock::FloatingObject::right):
(WebCore::RenderBlock::FloatingObject::top):
(WebCore::RenderBlock::FloatingObject::bottom):
(WebCore::RenderBlock::FloatingObject::width):
(WebCore::RenderBlock::FloatingObject::height):
(WebCore::RenderBlock::FloatingObject::setLeft):
(WebCore::RenderBlock::FloatingObject::setTop):
(WebCore::RenderBlock::FloatingObject::setWidth):
(WebCore::RenderBlock::FloatingObject::setHeight):
(WebCore::RenderBlock::FloatingObject::frameRect):
(WebCore::RenderBlock::FloatingObject::setFrameRect):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::matchedEndLine):

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

9 years ago2010-10-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 1 Oct 2010 21:18:28 +0000 (21:18 +0000)]
2010-10-01  Adam Barth  <abarth@webkit.org>

        Add a Gtk-specific baseline for a WebSocket test.

        * platform/gtk/http/tests/websocket: Added.
        * platform/gtk/http/tests/websocket/tests: Added.
        * platform/gtk/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Added.

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

9 years agoBuild fix. Not reviewed.
hclam@chromium.org [Fri, 1 Oct 2010 21:07:37 +0000 (21:07 +0000)]
Build fix. Not reviewed.

Add the dummy README file to solve build breakages in Chromium.
It should be removed once the breakage is resolved.

* websocket/tests/workers/README: Added.

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

9 years agoDOMFocusIn/DOMFocusOut return focusin/focusout Event.type
enrica@apple.com [Fri, 1 Oct 2010 20:50:41 +0000 (20:50 +0000)]
DOMFocusIn/DOMFocusOut return focusin/focusout Event.type
https://bugs.webkit.org/show_bug.cgi?id=42580
<rdar://problem/8107311>

Reviewed by Darin Adler.

WebCore:

This change removes the aliased type machinery from the Event class.
We now fire the event with the new name and the oldname.

Tests: Modified fast/events/focusinout.html to check the event
type.

* dom/Document.cpp:
(WebCore::Document::setFocusedNode):
* dom/Event.cpp: Removed aliasedType and hasAliasedType.
* dom/Event.h: Removed aliasedType and hasAliasedType.
* dom/EventTarget.cpp:
(WebCore::EventTarget::fireEventListeners): Removed aliasedType related code.

LayoutTests:

* fast/events/focusinout.html: Modified to check the event type.

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

9 years agoAdd makefile for TestWebKitAPI and call it from the base makefile.
weinig@apple.com [Fri, 1 Oct 2010 20:44:35 +0000 (20:44 +0000)]
Add makefile for TestWebKitAPI and call it from the base makefile.

Reviewed by Dan Bernstein.

* Makefile:
* TestWebKitAPI/Makefile: Added.

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

9 years agoLand new Windows results for fast/text/international/bidi-mirror-he-ar.html
aroben@apple.com [Fri, 1 Oct 2010 20:42:20 +0000 (20:42 +0000)]
Land new Windows results for fast/text/international/bidi-mirror-he-ar.html

Fixes <http://webkit.org/b/47001> <rdar://problem/8503550>
fast/text/international/bidi-mirror-he-ar.html fails on Windows

Recommended by Dan Bernstein.

* platform/win/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added.
* platform/win/fast/text/international/bidi-mirror-he-ar-expected.png: Added.
* platform/win/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.

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

9 years ago2010-10-01 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Fri, 1 Oct 2010 20:29:19 +0000 (20:29 +0000)]
2010-10-01  Rafael Antognolli  <antognolli@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Remove check for InitLayoutCompleted on fixed_layout_size_set.
        https://bugs.webkit.org/show_bug.cgi?id=47006

        This check isn't needed and isn't done on the other ports. The fixed
        layout property can be set before we have the first layout.

        * ewk/ewk_view.cpp:
        (ewk_view_fixed_layout_size_set):

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

9 years agoRemove unnecessary ForwardingHeaders from test runners.
weinig@apple.com [Fri, 1 Oct 2010 20:25:22 +0000 (20:25 +0000)]
Remove unnecessary ForwardingHeaders from test runners.
https://bugs.webkit.org/show_bug.cgi?id=47010

Reviewed by Adam Roben.

* TestWebKitAPI/Configurations/Base.xcconfig:
* TestWebKitAPI/ForwardingHeaders: Removed.
* WebKitTestRunner/Configurations/Base.xcconfig:
* WebKitTestRunner/ForwardingHeaders: Removed.

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

9 years ago2010-10-01 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Fri, 1 Oct 2010 20:05:16 +0000 (20:05 +0000)]
2010-10-01  Rafael Antognolli  <antognolli@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Call contents_resize when the main frame gets resized.
        https://bugs.webkit.org/show_bug.cgi?id=47004

        The previous implementation was just calling contents_resize when the
        viewport size had changed. That's not enough, and contents_resize
        shouldn't be called if the contents size didn't change.

        Now the contents_size_changed function is called directly from the
        ChromeClientEfl.

        * WebCoreSupport/ChromeClientEfl.cpp:
        (WebCore::ChromeClientEfl::contentsSizeChanged):
        * ewk/ewk_private.h:
        * ewk/ewk_view.cpp:
        (_ewk_view_smart_calculate):
        (ewk_view_fixed_layout_size_set):
        (ewk_view_contents_size_changed):

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=46642, make replaced elements work with block...
hyatt@apple.com [Fri, 1 Oct 2010 19:59:48 +0000 (19:59 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46642, make replaced elements work with block-flow.  This patch changes
all of the computeReplacedLogicalWidth and comuteReplacedLogicalHeight functions (and their helpers) to use logical width
and logical height instead.

Reviewed by Darin Adler.

Added fast/blockflow/block-level-images.html

WebCore:

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeLogicalWidth):
(WebCore::RenderBox::computeLogicalHeight):
(WebCore::RenderBox::computeReplacedLogicalWidth):
(WebCore::RenderBox::computeReplacedLogicalWidthUsing):
(WebCore::RenderBox::computeReplacedLogicalHeight):
(WebCore::RenderBox::computeReplacedLogicalHeightUsing):
(WebCore::RenderBox::computePositionedLogicalWidthReplaced):
(WebCore::RenderBox::computePositionedLogicalHeightReplaced):
* rendering/RenderBox.h:
(WebCore::RenderBox::intrinsicLogicalWidth):
(WebCore::RenderBox::intrinsicLogicalHeight):
* rendering/RenderImage.cpp:
(WebCore::RenderImage::isLogicalWidthSpecified):
(WebCore::RenderImage::isLogicalHeightSpecified):
(WebCore::RenderImage::computeReplacedLogicalWidth):
(WebCore::RenderImage::computeReplacedLogicalHeight):
(WebCore::RenderImage::calcAspectRatioLogicalWidth):
(WebCore::RenderImage::calcAspectRatioLogicalHeight):
* rendering/RenderImage.h:
* rendering/RenderReplaced.cpp:
(WebCore::RenderReplaced::layout):
(WebCore::RenderReplaced::computeReplacedLogicalWidth):
(WebCore::RenderReplaced::computeReplacedLogicalHeight):
(WebCore::RenderReplaced::calcAspectRatioLogicalWidth):
(WebCore::RenderReplaced::calcAspectRatioLogicalHeight):
(WebCore::RenderReplaced::computePreferredLogicalWidths):
* rendering/RenderReplaced.h:
* rendering/RenderSVGRoot.cpp:
(WebCore::RenderSVGRoot::computePreferredLogicalWidths):
(WebCore::RenderSVGRoot::computeReplacedLogicalWidth):
(WebCore::RenderSVGRoot::computeReplacedLogicalHeight):
* rendering/RenderSVGRoot.h:
* rendering/RenderVideo.cpp:
(WebCore::RenderVideo::computeReplacedLogicalWidth):
(WebCore::RenderVideo::computeReplacedLogicalHeight):
* rendering/RenderVideo.h:

LayoutTests:

* fast/blockflow/block-level-images.html: Added.
* fast/blockflow/resources: Added.
* fast/blockflow/resources/circle.svg: Added.
* fast/blockflow/resources/oval.png: Added.
* platform/mac/fast/blockflow/block-level-images-expected.checksum: Added.
* platform/mac/fast/blockflow/block-level-images-expected.png: Added.
* platform/mac/fast/blockflow/block-level-images-expected.txt: Added.

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

9 years ago2010-10-01 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Fri, 1 Oct 2010 19:52:55 +0000 (19:52 +0000)]
2010-10-01  Nate Chapin  <japhet@chromium.org>

        Reviewed by Darin Adler.

        Remove unused Request::buffer() and Request::m_buffer.

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

        * loader/Request.h:

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

9 years ago2010-10-01 Daniel Cheng <dcheng@chromium.org>
commit-queue@webkit.org [Fri, 1 Oct 2010 19:40:35 +0000 (19:40 +0000)]
2010-10-01  Daniel Cheng  <dcheng@chromium.org>

        Reviewed by Tony Chang.

        [chromium] Minor naming cleanup in WebDragData
        https://bugs.webkit.org/show_bug.cgi?id=46937

        This is a two-part patch--one to add the new methods with normalized
        names that follow general WebKit convention, and a followup patch to
        remove the original methods once Chromium is updated.

        * public/WebDragData.h:
        * src/WebDragData.cpp:
        (WebKit::WebDragData::hasFileNames): renamed to containsFilenames
        (WebKit::WebDragData::fileNames): renamed to filenames
        (WebKit::WebDragData::setFileNames): renamed to setFilenames
        (WebKit::WebDragData::appendToFileNames): renamed to appendToFilenames
        (WebKit::WebDragData::containsFilenames):
        (WebKit::WebDragData::filenames):
        (WebKit::WebDragData::setFilenames):
        (WebKit::WebDragData::appendToFilenames):
        (WebKit::WebDragData::fileContentFileName): renamed to fileContentFilename
        (WebKit::WebDragData::setFileContentFileName): renamed to setFileContentFilename
        (WebKit::WebDragData::fileContentFilename):
        (WebKit::WebDragData::setFileContentFilename):

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

9 years ago2010-09-30 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 1 Oct 2010 19:40:07 +0000 (19:40 +0000)]
2010-09-30  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        WebSocket tests are flaky
        https://bugs.webkit.org/show_bug.cgi?id=46956

        Hosting the WebSocket tests using the Python HTTP server causes the
        tests to time out occationally.  This patch moves the tests to be
        hosted by the usual Apache server.

        This patch doesn't completely eliminate the flakiness.  However,
        testing on my local machine shows that it reduces it by a large factor.
        I suspect there's more flakiness hiding in the Python server, but this
        patch makes some amount of progress on the issue.

        * http/tests/websocket: Copied from LayoutTests/websocket.
        * http/tests/websocket/tests/alert-in-event-handler.html:
        * http/tests/websocket/tests/bad-handshake-crash.html:
        * http/tests/websocket/tests/bad-sub-protocol-control-chars.html:
        * http/tests/websocket/tests/bad-sub-protocol-empty.html:
        * http/tests/websocket/tests/bad-sub-protocol-non-ascii.html:
        * http/tests/websocket/tests/bufferedAmount-after-close.html:
        * http/tests/websocket/tests/close-on-navigate-new-location.html:
        * http/tests/websocket/tests/close-on-unload-and-force-gc.html:
        * http/tests/websocket/tests/close-on-unload-reference-in-parent.html:
        * http/tests/websocket/tests/close-on-unload.html:
        * http/tests/websocket/tests/cross-origin-expected.txt:
        * http/tests/websocket/tests/cross-origin.html:
        * http/tests/websocket/tests/error-detect.html:
        * http/tests/websocket/tests/frame-length-longer-than-buffer.html:
        * http/tests/websocket/tests/frame-length-overflow.html:
        * http/tests/websocket/tests/frame-length-skip.html:
        * http/tests/websocket/tests/handshake-challenge-randomness.html:
        * http/tests/websocket/tests/handshake-error.html:
        * http/tests/websocket/tests/handshake-fail-by-cross-origin-expected.txt:
        * http/tests/websocket/tests/handshake-fail-by-cross-origin.html:
        * http/tests/websocket/tests/handshake-fail-by-no-cr.html:
        * http/tests/websocket/tests/handshake-fail-by-sub-protocol-mismatch.html:
        * http/tests/websocket/tests/httponly-cookie.pl:
        * http/tests/websocket/tests/long-invalid-header.html:
        * http/tests/websocket/tests/null-character.html:
        * http/tests/websocket/tests/reload-crash.html:
        * http/tests/websocket/tests/resources/close-on-unload-iframe-reference-in-parent.html:
        * http/tests/websocket/tests/resources/close-on-unload-iframe.html:
        * http/tests/websocket/tests/resources/js-test-post-function.js: Copied from LayoutTests/fast/js/resources/js-test-post-function.js.
        * http/tests/websocket/tests/resources/js-test-pre.js: Copied from LayoutTests/fast/js/resources/js-test-pre.js.
        * http/tests/websocket/tests/resources/js-test-style.css: Copied from LayoutTests/fast/js/resources/js-test-style.css.
        * http/tests/websocket/tests/resources/reload-crash-iframe.html:
        * http/tests/websocket/tests/script-tests/TEMPLATE.html:
        * http/tests/websocket/tests/script-tests/cross-origin.js:
        (endTest):
        * http/tests/websocket/tests/send-after-close-on-unload.html:
        * http/tests/websocket/tests/send-throw.html:
        * http/tests/websocket/tests/send.html:
        * http/tests/websocket/tests/simple.html:
        * http/tests/websocket/tests/sub-protocol-with-space.html:
        * http/tests/websocket/tests/sub-protocol.html:
        * http/tests/websocket/tests/unicode.html:
        * http/tests/websocket/tests/url-no-trailing-slash.html:
        * http/tests/websocket/tests/url-parsing-expected.txt:
        * http/tests/websocket/tests/url-parsing.html:
        * http/tests/websocket/tests/url-with-credential.html:
        * http/tests/websocket/tests/url-with-empty-query.html:
        * http/tests/websocket/tests/url-with-query-for-no-query.html:
        * http/tests/websocket/tests/url-with-query.html:
        * http/tests/websocket/tests/websocket-event-target.html:
        * http/tests/websocket/tests/websocket-protocol-ignored.html:
        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium/test_expectations.txt:
        * platform/mac/test_expectations.txt:
        * platform/win/Skipped:
        * websocket: Removed.
        * websocket/resources: Removed.
        * websocket/resources/server-failed-to-start.html: Removed.
        * websocket/tests: Removed.
        * websocket/tests/alert-in-event-handler-expected.txt: Removed.
        * websocket/tests/alert-in-event-handler.html: Removed.
        * websocket/tests/bad-handshake-crash-expected.txt: Removed.
        * websocket/tests/bad-handshake-crash.html: Removed.
        * websocket/tests/bad-handshake-crash_wsh.py: Removed.
        * websocket/tests/bad-sub-protocol-control-chars-expected.txt: Removed.
        * websocket/tests/bad-sub-protocol-control-chars.html: Removed.
        * websocket/tests/bad-sub-protocol-empty-expected.txt: Removed.
        * websocket/tests/bad-sub-protocol-empty.html: Removed.
        * websocket/tests/bad-sub-protocol-non-ascii-expected.txt: Removed.
        * websocket/tests/bad-sub-protocol-non-ascii.html: Removed.
        * websocket/tests/bufferedAmount-after-close-expected.txt: Removed.
        * websocket/tests/bufferedAmount-after-close.html: Removed.
        * websocket/tests/close-on-navigate-new-location-expected.txt: Removed.
        * websocket/tests/close-on-navigate-new-location.html: Removed.
        * websocket/tests/close-on-unload-and-force-gc-expected.txt: Removed.
        * websocket/tests/close-on-unload-and-force-gc.html: Removed.
        * websocket/tests/close-on-unload-expected.txt: Removed.
        * websocket/tests/close-on-unload-reference-in-parent-expected.txt: Removed.
        * websocket/tests/close-on-unload-reference-in-parent.html: Removed.
        * websocket/tests/close-on-unload.html: Removed.
        * websocket/tests/close-on-unload_wsh.py: Removed.
        * websocket/tests/cross-origin-expected.txt: Removed.
        * websocket/tests/cross-origin.html: Removed.
        * websocket/tests/echo-challenge_wsh.py: Removed.
        * websocket/tests/echo-cookie_wsh.py: Removed.
        * websocket/tests/echo-location_wsh.py: Removed.
        * websocket/tests/echo_wsh.py: Removed.
        * websocket/tests/error-detect-expected.txt: Removed.
        * websocket/tests/error-detect.html: Removed.
        * websocket/tests/fixed-origin_wsh.py: Removed.
        * websocket/tests/frame-length-longer-than-buffer-expected.txt: Removed.
        * websocket/tests/frame-length-longer-than-buffer.html: Removed.
        * websocket/tests/frame-length-longer-than-buffer_wsh.py: Removed.
        * websocket/tests/frame-length-overflow-expected.txt: Removed.
        * websocket/tests/frame-length-overflow.html: Removed.
        * websocket/tests/frame-length-overflow_wsh.py: Removed.
        * websocket/tests/frame-length-skip-expected.txt: Removed.
        * websocket/tests/frame-length-skip.html: Removed.
        * websocket/tests/frame-length-skip_wsh.py: Removed.
        * websocket/tests/frame-lengths-expected.txt: Removed.
        * websocket/tests/frame-lengths.html: Removed.
        * websocket/tests/handler_map.txt: Removed.
        * websocket/tests/handshake-challenge-randomness-expected.txt: Removed.
        * websocket/tests/handshake-challenge-randomness.html: Removed.
        * websocket/tests/handshake-error-expected.txt: Removed.
        * websocket/tests/handshake-error.html: Removed.
        * websocket/tests/handshake-error_wsh.py: Removed.
        * websocket/tests/handshake-fail-by-cross-origin-expected.txt: Removed.
        * websocket/tests/handshake-fail-by-cross-origin.html: Removed.
        * websocket/tests/handshake-fail-by-no-cr-expected.txt: Removed.
        * websocket/tests/handshake-fail-by-no-cr.html: Removed.
        * websocket/tests/handshake-fail-by-no-cr_wsh.py: Removed.
        * websocket/tests/handshake-fail-by-sub-protocol-mismatch-expected.txt: Removed.
        * websocket/tests/handshake-fail-by-sub-protocol-mismatch.html: Removed.
        * websocket/tests/httponly-cookie-expected.txt: Removed.
        * websocket/tests/httponly-cookie.pl: Removed.
        * websocket/tests/long-invalid-header-expected.txt: Removed.
        * websocket/tests/long-invalid-header.html: Removed.
        * websocket/tests/long-invalid-header_wsh.py: Removed.
        * websocket/tests/multiple-connections-expected.txt: Removed.
        * websocket/tests/multiple-connections.html: Removed.
        * websocket/tests/no-query_wsh.py: Removed.
        * websocket/tests/null-character-expected.txt: Removed.
        * websocket/tests/null-character.html: Removed.
        * websocket/tests/origin-test_wsh.py: Removed.
        * websocket/tests/protocol-test_wsh.py: Removed.
        * websocket/tests/reload-crash-expected.txt: Removed.
        * websocket/tests/reload-crash.html: Removed.
        * websocket/tests/resources: Removed.
        * websocket/tests/resources/close-on-unload-iframe-reference-in-parent.html: Removed.
        * websocket/tests/resources/close-on-unload-iframe.html: Removed.
        * websocket/tests/resources/reload-crash-iframe.html: Removed.
        * websocket/tests/script-tests: Removed.
        * websocket/tests/script-tests/TEMPLATE.html: Removed.
        * websocket/tests/script-tests/alert-in-event-handler.js: Removed.
        * websocket/tests/script-tests/bad-handshake-crash.js: Removed.
        * websocket/tests/script-tests/bad-sub-protocol-control-chars.js: Removed.
        * websocket/tests/script-tests/bad-sub-protocol-empty.js: Removed.
        * websocket/tests/script-tests/bad-sub-protocol-non-ascii.js: Removed.
        * websocket/tests/script-tests/bufferedAmount-after-close.js: Removed.
        * websocket/tests/script-tests/cross-origin.js: Removed.
        * websocket/tests/script-tests/error-detect.js: Removed.
        * websocket/tests/script-tests/frame-length-longer-than-buffer.js: Removed.
        * websocket/tests/script-tests/frame-length-skip.js: Removed.
        * websocket/tests/script-tests/handshake-challenge-randomness.js: Removed.
        * websocket/tests/script-tests/handshake-error.js: Removed.
        * websocket/tests/script-tests/handshake-fail-by-cross-origin.js: Removed.
        * websocket/tests/script-tests/handshake-fail-by-no-cr.js: Removed.
        * websocket/tests/script-tests/handshake-fail-by-sub-protocol-mismatch.js: Removed.
        * websocket/tests/script-tests/long-invalid-header.js: Removed.
        * websocket/tests/script-tests/null-character.js: Removed.
        * websocket/tests/script-tests/send-throw.js: Removed.
        * websocket/tests/script-tests/send.js: Removed.
        * websocket/tests/script-tests/simple.js: Removed.
        * websocket/tests/script-tests/sub-protocol-with-space.js: Removed.
        * websocket/tests/script-tests/sub-protocol.js: Removed.
        * websocket/tests/script-tests/unicode.js: Removed.
        * websocket/tests/script-tests/url-no-trailing-slash.js: Removed.
        * websocket/tests/script-tests/url-parsing.js: Removed.
        * websocket/tests/script-tests/url-with-credential.js: Removed.
        * websocket/tests/script-tests/url-with-empty-query.js: Removed.
        * websocket/tests/script-tests/url-with-query-for-no-query.js: Removed.
        * websocket/tests/script-tests/url-with-query.js: Removed.
        * websocket/tests/script-tests/websocket-event-target.js: Removed.
        * websocket/tests/script-tests/websocket-protocol-ignored.js: Removed.
        * websocket/tests/send-after-close-on-unload-expected.txt: Removed.
        * websocket/tests/send-after-close-on-unload.html: Removed.
        * websocket/tests/send-expected.txt: Removed.
        * websocket/tests/send-throw-expected.txt: Removed.
        * websocket/tests/send-throw.html: Removed.
        * websocket/tests/send.html: Removed.
        * websocket/tests/send2_wsh.py: Removed.
        * websocket/tests/send_wsh.py: Removed.
        * websocket/tests/simple-expected.txt: Removed.
        * websocket/tests/simple-stress-expected.txt: Removed.
        * websocket/tests/simple-stress.html: Removed.
        * websocket/tests/simple.html: Removed.
        * websocket/tests/simple_wsh.py: Removed.
        * websocket/tests/sub-protocol-expected.txt: Removed.
        * websocket/tests/sub-protocol-with-space-expected.txt: Removed.
        * websocket/tests/sub-protocol-with-space.html: Removed.
        * websocket/tests/sub-protocol.html: Removed.
        * websocket/tests/unicode-expected.txt: Removed.
        * websocket/tests/unicode.html: Removed.
        * websocket/tests/unicode_wsh.py: Removed.
        * websocket/tests/unknown-frame-type_wsh.py: Removed.
        * websocket/tests/url-no-trailing-slash-expected.txt: Removed.
        * websocket/tests/url-no-trailing-slash.html: Removed.
        * websocket/tests/url-parsing-expected.txt: Removed.
        * websocket/tests/url-parsing.html: Removed.
        * websocket/tests/url-with-credential-expected.txt: Removed.
        * websocket/tests/url-with-credential.html: Removed.
        * websocket/tests/url-with-empty-query-expected.txt: Removed.
        * websocket/tests/url-with-empty-query.html: Removed.
        * websocket/tests/url-with-query-expected.txt: Removed.
        * websocket/tests/url-with-query-for-no-query-expected.txt: Removed.
        * websocket/tests/url-with-query-for-no-query.html: Removed.
        * websocket/tests/url-with-query.html: Removed.
        * websocket/tests/websocket-event-target-expected.txt: Removed.
        * websocket/tests/websocket-event-target.html: Removed.
        * websocket/tests/websocket-pending-activity-expected.txt: Removed.
        * websocket/tests/websocket-pending-activity.html: Removed.
        * websocket/tests/websocket-protocol-ignored-expected.txt: Removed.
        * websocket/tests/websocket-protocol-ignored.html: Removed.
        * websocket/tests/workers: Removed.
        * websocket/tests/workers/close-in-onmessage-crash-expected.txt: Removed.
        * websocket/tests/workers/close-in-onmessage-crash.html: Removed.
        * websocket/tests/workers/close-in-shared-worker-expected.txt: Removed.
        * websocket/tests/workers/close-in-shared-worker.html: Removed.
        * websocket/tests/workers/close-in-worker-expected.txt: Removed.
        * websocket/tests/workers/close-in-worker.html: Removed.
        * websocket/tests/workers/resources: Removed.
        * websocket/tests/workers/resources/close-in-onmessage-crash.js: Removed.
        * websocket/tests/workers/resources/close-in-worker.js: Removed.
        * websocket/tests/workers/resources/echo-challenge_wsh.py: Removed.
        * websocket/tests/workers/resources/echo_wsh.py: Removed.
        * websocket/tests/workers/resources/simple_wsh.py: Removed.
        * websocket/tests/workers/resources/worker-handshake-challenge-randomness.js: Removed.
        * websocket/tests/workers/resources/worker-simple.js: Removed.
        * websocket/tests/workers/shared-worker-simple-expected.txt: Removed.
        * websocket/tests/workers/shared-worker-simple.html: Removed.
        * websocket/tests/workers/worker-handshake-challenge-randomness-expected.txt: Removed.
        * websocket/tests/workers/worker-handshake-challenge-randomness.html: Removed.
        * websocket/tests/workers/worker-simple-expected.txt: Removed.
        * websocket/tests/workers/worker-simple.html: Removed.
2010-09-30  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        WebSocket tests are flaky
        https://bugs.webkit.org/show_bug.cgi?id=46956

        Update these tools to understand how to run the WebSocket tests off the
        Apache server.

        * Scripts/old-run-webkit-tests:
        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/websocket_server.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

9 years agoEncode Executive command arguments using UTF-8 on Cygwin
aroben@apple.com [Fri, 1 Oct 2010 19:38:00 +0000 (19:38 +0000)]
Encode Executive command arguments using UTF-8 on Cygwin

Cygwin's Python's os.execv doesn't support unicode command arguments.
Cygwin's execv expects arguments to be encoded using the current code
page. But code pages are limited in what characters they can handle,
and our tests include characters that the English code page can't
handle.  So for now we'll just encode everything in UTF-8 on Cygwin,
which can handle all characters but might confuse some commands, for
expediency's sake. I'm sure we'll run into cases where UTF-8 isn't
good enough, but we can deal with that when the problem arises.

Reviewed by Adam Barth.

Fixes <http://webkit.org/b/46892> <rdar://problem/8496639>
webkitpy.common.system.executive_unittest.ExecutiveTest.test_run_command_with_unicode
fails on Windows

* Scripts/webkitpy/common/system/executive.py:
(Executive._run_command_with_teed_output):
(Executive.run_command):
On Cygwin, encode arguments using UTF-8.

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