2011-06-24  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Darin Fisher.

        Web Inspector: [Chromium] Successfully prefetched page shows up as an error in console
        https://bugs.webkit.org/show_bug.cgi?id=62396

        * public/WebURLError.h:
        (WebKit::WebURLError::WebURLError):
        * src/WebURLError.cpp:
        (WebKit::WebURLError::operator=):
        (WebKit::WebURLError::operator ResourceError):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: extension panel iframes do not span entire panel client area
        https://bugs.webkit.org/show_bug.cgi?id=63165

        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onCreatePanel):
        (WebInspector.ExtensionServer.prototype.createClientIframe):
        * inspector/front-end/inspector.css:
        (iframe.extension):
        (iframe.panel.extension):

2011-06-24  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: extension panel iframes do not span entire panel client area
        https://bugs.webkit.org/show_bug.cgi?id=63165

        * http/tests/inspector/extensions-test.js:
        (initialize_ExtensionsTest.InspectorTest.showPanel):
        ():
        * http/tests/inspector/inspector-test.js:
        ():
        * http/tests/inspector/resources/extension-main.html:
        * http/tests/inspector/resources/extension-main.js:
        (dumpObject):
        (dumpArray):
        (evaluateOnFrontend.callbackWrapper):
        (evaluateOnFrontend):
        ():
        * http/tests/inspector/resources/extension-panel.html:
        * inspector/extensions/extensions-events.html:
        * inspector/extensions/extensions-expected.txt:
        * inspector/extensions/extensions.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [GTK] Consider rows being ignored when adding children to tables
        https://bugs.webkit.org/show_bug.cgi?id=62718

        Unskip accessibility test that will be passing from now on.

        * platform/gtk/Skipped: Unskipped passing test.
2011-06-24  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [GTK] Consider rows being ignored when adding children to tables
        https://bugs.webkit.org/show_bug.cgi?id=62718

        Hide row objects in tables in GTK's accessibility wrapper.

        This is a different approach in the way WebCore's accessible
        rows are exposed to assistive technologies in the GTK port,
        since from now on those objects are kept in WebCore (they do not
        declare to ignore accessibility) and just bypassed in the mapping
        to ATK, allowing to hide them in the ATK hierarchy while, at the
        same time, keeping them internally to be able to provide enough
        information to determine tables related information, such as rows
        counting or finding an cell for specific coordinates.

        * accessibility/gtk/AccessibilityObjectAtk.cpp:
        (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
        Do not ignore accessibility for table rows here.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (webkit_accessible_get_parent): Bypass rows when needed.
        (getNChildrenForTable): New, find the number of children for a
        table, which will be the addition of all cells for its rows.
        (webkit_accessible_get_n_children): Call to getNChildrenForTable
        for accessibility tables if needed.
        (getChildForTable): New, bypass rows when needed, retrieving
        cells as if they were direct children for tables.
        (webkit_accessible_ref_child): Call to refChildForTable if needed.
        (getIndexInParentForCellInRow): New, get the index for a given
        cell in its parent table, considering other rows' cells.
        (webkit_accessible_get_index_in_parent): Call to
        getIndexInParentForCellInRow if needed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Convert AnimatedString to SVGAnimatorFactory concept
        https://bugs.webkit.org/show_bug.cgi?id=63296

        Follow up of "SVGAnimation should use direct unit animation for SVGLength": https://bugs.webkit.org/show_bug.cgi?id=61368
        This patch continues the conversion to the new concept of SVGAnimatorFactory with SVGString.

        No new tests added. No change of functionality.

        * CMakeLists.txt: Added new file to build system.
        * GNUmakefile.list.am: Ditto.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * svg/SVGAllInOne.cpp: Ditto.
        * svg/SVGAnimateElement.cpp:
        (WebCore::SVGAnimateElement::calculateAnimatedValue):
        (WebCore::SVGAnimateElement::calculateFromAndToValues):
        (WebCore::SVGAnimateElement::calculateFromAndByValues):
        (WebCore::SVGAnimateElement::resetToBaseValue):
        (WebCore::SVGAnimateElement::applyResultsToTarget):
        (WebCore::SVGAnimateElement::calculateDistance):
        * svg/SVGAnimateElement.h:
        * svg/SVGAnimatedString.cpp: Added. Animator for SVGString.
        (WebCore::SVGAnimatedStringAnimator::SVGAnimatedStringAnimator):
        (WebCore::SVGAnimatedStringAnimator::constructFromString):
        (WebCore::SVGAnimatedStringAnimator::calculateFromAndToValues):
        (WebCore::SVGAnimatedStringAnimator::calculateFromAndByValues):
        (WebCore::SVGAnimatedStringAnimator::calculateAnimatedValue):
        (WebCore::SVGAnimatedStringAnimator::calculateDistance):
        * svg/SVGAnimatedString.h:
        (WebCore::SVGAnimatedStringAnimator::~SVGAnimatedStringAnimator):
        * svg/SVGAnimatedType.cpp:
        (WebCore::SVGAnimatedType::~SVGAnimatedType):
        (WebCore::SVGAnimatedType::createString):
        (WebCore::SVGAnimatedType::string):
        (WebCore::SVGAnimatedType::valueAsString):
        (WebCore::SVGAnimatedType::setValueAsString):
        * svg/SVGAnimatedType.h:
        * svg/SVGAnimatorFactory.h:
        (WebCore::SVGAnimatorFactory::create):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: HTML preview should delete old iframe on show().
        https://bugs.webkit.org/show_bug.cgi?id=63170

        * inspector/front-end/ResourceHTMLView.js:
        (WebInspector.ResourceHTMLView.prototype._createIFrame):
        * inspector/front-end/ResourcePreviewView.js:
        (WebInspector.ResourcePreviewView.prototype.contentLoaded):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-23  MORITA Hajime  <morrita@google.com>

        Reviewed by Kent Tamura.

        [Chromium] Invalid write inside WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld
        https://bugs.webkit.org/show_bug.cgi?id=63216

        Deleted m_webViewHost which looks leaked.

        * DumpRenderTree/chromium/TestShell.h:
        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::~TestShell):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Kent Tamura.

        [EFL] Add ewk_auth.h to EWebKit.h
        https://bugs.webkit.org/show_bug.cgi?id=63311

        * ewk/EWebKit.h: Add ewk_auth.h

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: uncommenting chromium devtools tests.

        * platform/chromium/inspector/timeline/timeline-layout-expected.txt: Added.
        * platform/chromium/test_expectations.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-23  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [Chromium] Shorten DOMWindow URLs in heap profiles.
        https://bugs.webkit.org/show_bug.cgi?id=63238

        * inspector/front-end/DetailedHeapshotGridNodes.js:
        (WebInspector.HeapSnapshotGridNode.prototype.hasHoverMessage.false.hoverMessage):
        (WebInspector.HeapSnapshotGenericObjectNode):
        (WebInspector.HeapSnapshotGenericObjectNode.prototype.hoverMessage):
        (WebInspector.HeapSnapshotGenericObjectNode.prototype._updateHasChildren):
        (WebInspector.HeapSnapshotGenericObjectNode.prototype.isDOMWindow):
        (WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL):
        * inspector/front-end/DetailedHeapshotView.js:
        (WebInspector.HeapSnapshotRetainingPathsList.prototype.showNext.pathFound):
        (WebInspector.DetailedHeapshotView.prototype._getHoverAnchor):
        (WebInspector.DetailedHeapshotView.prototype._showStringContentPopup.displayString):
        (WebInspector.DetailedHeapshotView.prototype._showStringContentPopup):
        * inspector/front-end/utilities.js:
        ():

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Kent Tamura  <tkent@chromium.org>

        Remove an JavaScript error in media-controls-clone.html.
        https://bugs.webkit.org/show_bug.cgi?id=63195

        * media/media-controls-clone.html: Remove run() call.
        * platform/chromium-mac/media/media-controls-clone-expected.txt: Remove an error message.
        * platform/chromium-win/media/media-controls-clone-expected.txt: ditto.
        * platform/mac/media/media-controls-clone-expected.txt: ditto.
        * platform/win/media/media-controls-clone-expected.txt: ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Clean up some tests for search cancel buttons.
        https://bugs.webkit.org/show_bug.cgi?id=63121

        - Introduce a function to retrieve a reliable position of a search
          cancel button.
        - Convert two tests to dumpAsText().

        * fast/forms/resources/common.js:
        (searchCancelButtonPosition): Added.
        * fast/forms/search-abs-pos-cancel-button.html: Use searchCancelButtonPosition().
        * fast/forms/search-cancel-button-mouseup.html: Use searchCancelButtonPosition().
        * fast/forms/search-transformed-expected.txt: Added.
        * fast/forms/search-transformed.html:
          - Use searchCancelButtonPosition().
          - Convert to dumpAsText().
        * fast/forms/search-zoomed-expected.txt: Added.
        * fast/forms/search-zoomed.html:
          - Use searchCancelButtonPosition().
          - Convert to dumpAsText().
        * platform/chromium/test_expectation.txt:
          search-transformed.html should pass.
        * platform/chromium-linux/fast/forms/search-zoomed-expected.png: Removed.
        * platform/chromium-mac-leopard/fast/forms/search-transformed-expected.png: Removed.
        * platform/chromium-mac-leopard/fast/forms/search-zoomed-expected.png: Removed.
        * platform/chromium-mac/fast/forms/search-transformed-expected.png: Removed.
        * platform/chromium-win/fast/forms/search-zoomed-expected.png: Removed.
        * platform/chromium-win/fast/forms/search-zoomed-expected.txt: Removed.
        * platform/gtk/fast/forms/search-transformed-expected.png: Removed.
        * platform/gtk/fast/forms/search-transformed-expected.txt: Removed.
        * platform/gtk/fast/forms/search-zoomed-expected.png: Removed.
        * platform/gtk/fast/forms/search-zoomed-expected.txt: Removed.
        * platform/mac-leopard/fast/forms/search-zoomed-expected.png: Removed.
        * platform/mac/fast/forms/search-transformed-expected.png: Removed.
        * platform/mac/fast/forms/search-transformed-expected.txt: Removed.
        * platform/mac/fast/forms/search-zoomed-expected.png: Removed.
        * platform/mac/fast/forms/search-zoomed-expected.txt: Removed.
        * platform/qt/fast/forms/search-transformed-expected.txt: Removed.
        * platform/qt/fast/forms/search-zoomed-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Yuta Kitamura  <yutak@chromium.org>

        Reviewed by Adam Barth.

        WebSocket: Add run-time flag for new HyBi protocol
        https://bugs.webkit.org/show_bug.cgi?id=60348

        Add a flag in Setting so that WebSocket protocols can be switched
        dynamically. The protocol we have implemented so far is based on
        older Hixie-76 specification. A new protocol is being discussed in
        IETF HyBi working group, and I'm planning to implement the new protocol
        behind this Settings flag.

        I will add a method to LayoutTestController which flips this flag in
        a later patch. In this way, we can put tests for both protocols in
        the same place and test implementation for both protocols at the same time.

        This patch only adds a flag. The flag is not used yet, thus there is
        no change in functionality. Therefore, no tests were added.

        * page/Settings.cpp:
        (WebCore::Settings::Settings):
        * page/Settings.h:
        (WebCore::Settings::setUseHixie76WebSocketProtocol):
        (WebCore::Settings::useHixie76WebSocketProtocol):
2011-06-24  Yuta Kitamura  <yutak@chromium.org>

        Reviewed by Adam Barth.

        WebSocket: Add run-time flag for new HyBi protocol
        https://bugs.webkit.org/show_bug.cgi?id=60348

        Make a new flag (Setting::m_useHixie76WebSocketProtocol)
        switchable from WebView and WebPreferences.

        * WebView/WebPreferenceKeysPrivate.h:
        * WebView/WebPreferences.mm:
        (+[WebPreferences initialize]):
        (-[WebPreferences setHixie76WebSocketProtocolEnabled:]):
        (-[WebPreferences isHixie76WebSocketProtocolEnabled]):
        * WebView/WebPreferencesPrivate.h:
        * WebView/WebView.mm:
        (-[WebView _preferencesChanged:]):
2011-06-24  Yuta Kitamura  <yutak@chromium.org>

        Reviewed by Adam Barth.

        WebSocket: Add run-time flag for new HyBi protocol
        https://bugs.webkit.org/show_bug.cgi?id=60348

        Make a new flag (Setting::m_useHixie76WebSocketProtocol)
        switchable from WebView and WebPreferences.

        * Interfaces/IWebPreferencesPrivate.idl:
        * WebPreferenceKeysPrivate.h:
        * WebPreferences.cpp:
        (WebPreferences::initializeDefaultSettings):
        (WebPreferences::setHixie76WebSocketProtocolEnabled):
        (WebPreferences::hixie76WebSocketProtocolEnabled):
        * WebPreferences.h:
        * WebView.cpp:
        (WebView::notifyPreferencesChanged):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make run-bindings-tests remove its temporary directories.
https://bugs.webkit.org/show_bug.cgi?id=63320

Reviewed by Dirk Schulze.

* Scripts/run-bindings-tests:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Balazs Kelemen  <kbalazs@webkit.org>

        Unreviewed.
        Remove non-existent items from the qt-wk2 skipped list.

        * platform/qt-wk2/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][WK2] fast/frames/iframe-plugin-load-remove-document-crash.html crashes
https://bugs.webkit.org/show_bug.cgi?id=63321

* platform/qt-wk2/Skipped: Skip fast/frames/iframe-plugin-load-remove-document-crash.html until fix.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Fix runtime critical warnings in WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=63256

        Check whether there's a view widget before trying to use it in
        PlatformScreenGtk. If there isn't a view widget, which is the case
        in WebKit2, try to use the default GdkScreen and monitor.

        * platform/gtk/PlatformScreenGtk.cpp:
        (WebCore::getToplevel): Helper function to get the toplevel
        widget.
        (WebCore::getVisual): Use getToplevel().
        (WebCore::getScreen): Helper funtion to get the screen of a
        widget.
        (WebCore::screenRect): Use getToplevel() and getScreen().

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r89657): http/tests/inspector/extensions-headers.html,
http/tests/inspector/extensions-resources-redirect.html timing out on SnowLeopard Intel
Release (WebKit2 Tests).
https://bugs.webkit.org/show_bug.cgi?id=63325

Skip those tests to get the bots green.

* platform/mac-wk2/Skipped:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Add more debug options to compilation
        https://bugs.webkit.org/show_bug.cgi?id=63318

        Add --enable-debug-symbols to enable/disable compilation with
        debug symbols and --enable-debug-features to enable/disable debug
        features. Both options are unconditionally enabled for debug
        builds.

        * configure.ac:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-24  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Alexey Proskuryakov.
        
        Exit immediately if the last condition tested fails.

        Make <video> app cache test exit immediately on failure
        https://bugs.webkit.org/show_bug.cgi?id=63323



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r89457-r89462): fast/forms/textfield-overflow.html failing on SnowLeopard Intel
Release (WebKit2 Tests)
https://bugs.webkit.org/show_bug.cgi?id=63328

Add (failing?) expected results for mac-wk2 to get the bots green.

* platform/mac-wk2/fast/forms/textfield-overflow-expected.txt: Added.



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