WebKit-https.git
9 years agoNot reviewed. Chromium rebaselines after http://trac.webkit.org/changeset/72518
antonm@chromium.org [Mon, 22 Nov 2010 17:33:43 +0000 (17:33 +0000)]
Not reviewed.  Chromium rebaselines after trac.webkit.org/changeset/72518

* platform/chromium-linux/svg/dom/SVGLengthList-basics-expected.checksum:
* platform/chromium-linux/svg/dom/SVGLengthList-basics-expected.png:
* platform/chromium-linux/svg/dom/SVGNumberList-basics-expected.checksum: Added.
* platform/chromium-linux/svg/dom/SVGNumberList-basics-expected.png: Added.
* platform/chromium-linux/svg/dom/SVGPointList-basics-expected.checksum: Added.
* platform/chromium-linux/svg/dom/SVGPointList-basics-expected.png: Added.
* platform/chromium-linux/svg/dom/SVGStringList-basics-expected.checksum: Added.
* platform/chromium-linux/svg/dom/SVGStringList-basics-expected.png: Added.
* platform/chromium-linux/svg/dom/SVGTransformList-basics-expected.checksum: Added.
* platform/chromium-linux/svg/dom/SVGTransformList-basics-expected.png: Added.
* platform/chromium-mac/svg/dom/SVGLengthList-basics-expected.checksum: Added.
* platform/chromium-mac/svg/dom/SVGLengthList-basics-expected.png: Added.
* platform/chromium-mac/svg/dom/SVGNumberList-basics-expected.checksum: Added.
* platform/chromium-mac/svg/dom/SVGNumberList-basics-expected.png: Added.
* platform/chromium-mac/svg/dom/SVGPointList-basics-expected.checksum: Added.
* platform/chromium-mac/svg/dom/SVGPointList-basics-expected.png: Added.
* platform/chromium-mac/svg/dom/SVGStringList-basics-expected.checksum: Added.
* platform/chromium-mac/svg/dom/SVGStringList-basics-expected.png: Added.
* platform/chromium-mac/svg/dom/SVGTransformList-basics-expected.checksum: Added.
* platform/chromium-mac/svg/dom/SVGTransformList-basics-expected.png: Added.
* platform/chromium-win/svg/dom/SVGLengthList-basics-expected.checksum:
* platform/chromium-win/svg/dom/SVGLengthList-basics-expected.png:
* platform/chromium-win/svg/dom/SVGNumberList-basics-expected.checksum: Added.
* platform/chromium-win/svg/dom/SVGNumberList-basics-expected.png: Added.
* platform/chromium-win/svg/dom/SVGPointList-basics-expected.checksum: Added.
* platform/chromium-win/svg/dom/SVGPointList-basics-expected.png: Added.
* platform/chromium-win/svg/dom/SVGStringList-basics-expected.checksum: Added.
* platform/chromium-win/svg/dom/SVGStringList-basics-expected.png: Added.
* platform/chromium-win/svg/dom/SVGTransformList-basics-expected.checksum: Added.
* platform/chromium-win/svg/dom/SVGTransformList-basics-expected.png: Added.
* platform/chromium/test_expectations.txt:

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

9 years agoNot reviewed. Reorganizing suppressions.
antonm@chromium.org [Mon, 22 Nov 2010 17:23:59 +0000 (17:23 +0000)]
Not reviewed.  Reorganizing suppressions.

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed. Tons of Chromium rebaselines after http://trac.webkit.org/changeset...
antonm@chromium.org [Mon, 22 Nov 2010 17:16:18 +0000 (17:16 +0000)]
Unreviewed.  Tons of Chromium rebaselines after trac.webkit.org/changeset/72527

* platform/chromium-linux/css1/box_properties/margin_right-expected.checksum:
* platform/chromium-linux/css1/box_properties/margin_right-expected.png:
* platform/chromium-linux/css1/box_properties/padding_right-expected.checksum:
* platform/chromium-linux/css1/box_properties/padding_right-expected.png:
* platform/chromium-linux/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum:
* platform/chromium-linux/css2.1/t0805-c5520-brdr-b-01-e-expected.png:
* platform/chromium-linux/css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
* platform/chromium-linux/editing/pasteboard/merge-end-list-expected.checksum:
* platform/chromium-linux/editing/pasteboard/merge-end-list-expected.png:
* platform/chromium-linux/editing/selection/extend-by-word-002-expected.checksum:
* platform/chromium-linux/editing/selection/extend-by-word-002-expected.png:
* platform/chromium-linux/fast/css/background-shorthand-invalid-url-expected.checksum:
* platform/chromium-linux/fast/css/background-shorthand-invalid-url-expected.png:
* platform/chromium-linux/fast/doctypes/002-expected.checksum:
* platform/chromium-linux/fast/doctypes/002-expected.png:
* platform/chromium-linux/fast/lists/001-vertical-expected.checksum:
* platform/chromium-linux/fast/lists/001-vertical-expected.png:
* platform/chromium-linux/fast/lists/001-vertical-expected.txt: Removed.
* platform/chromium-linux/fast/lists/002-expected.checksum:
* platform/chromium-linux/fast/lists/002-expected.png:
* platform/chromium-linux/fast/lists/002-vertical-expected.checksum:
* platform/chromium-linux/fast/lists/002-vertical-expected.png:
* platform/chromium-linux/fast/lists/002-vertical-expected.txt: Removed.
* platform/chromium-linux/fast/lists/003-expected.checksum:
* platform/chromium-linux/fast/lists/003-expected.png:
* platform/chromium-linux/fast/lists/003-vertical-expected.checksum:
* platform/chromium-linux/fast/lists/003-vertical-expected.png:
* platform/chromium-linux/fast/lists/003-vertical-expected.txt: Removed.
* platform/chromium-linux/fast/lists/007-vertical-expected.checksum:
* platform/chromium-linux/fast/lists/007-vertical-expected.png:
* platform/chromium-linux/fast/lists/007-vertical-expected.txt: Removed.
* platform/chromium-linux/fast/lists/008-vertical-expected.checksum:
* platform/chromium-linux/fast/lists/008-vertical-expected.png:
* platform/chromium-linux/fast/lists/008-vertical-expected.txt: Removed.
* platform/chromium-linux/fast/lists/marker-before-empty-inline-expected.checksum:
* platform/chromium-linux/fast/lists/marker-before-empty-inline-expected.png:
* platform/chromium-linux/fast/lists/outSideListMarkers-expected.checksum: Added.
* platform/chromium-linux/fast/lists/outSideListMarkers-expected.png: Added.
* platform/chromium-mac/css1/box_properties/margin_right-expected.checksum:
* platform/chromium-mac/css1/box_properties/margin_right-expected.png:
* platform/chromium-mac/css1/box_properties/padding_right-expected.checksum:
* platform/chromium-mac/css1/box_properties/padding_right-expected.png:
* platform/chromium-mac/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum:
* platform/chromium-mac/css2.1/t0805-c5520-brdr-b-01-e-expected.png:
* platform/chromium-mac/editing/pasteboard/merge-end-list-expected.checksum: Removed.
* platform/chromium-mac/editing/pasteboard/merge-end-list-expected.png: Removed.
* platform/chromium-mac/editing/selection/extend-by-word-002-expected.checksum: Removed.
* platform/chromium-mac/editing/selection/extend-by-word-002-expected.png: Removed.
* platform/chromium-mac/fast/css/background-shorthand-invalid-url-expected.checksum: Removed.
* platform/chromium-mac/fast/lists/008-vertical-expected.checksum:
* platform/chromium-mac/fast/lists/008-vertical-expected.png:
* platform/chromium-mac/fast/lists/marker-before-empty-inline-expected.checksum: Added.
* platform/chromium-mac/fast/lists/marker-before-empty-inline-expected.png: Added.
* platform/chromium-win/css1/box_properties/margin_right-expected.checksum:
* platform/chromium-win/css1/box_properties/margin_right-expected.png:
* platform/chromium-win/css1/box_properties/margin_right-expected.txt:
* platform/chromium-win/css1/box_properties/padding_right-expected.checksum:
* platform/chromium-win/css1/box_properties/padding_right-expected.png:
* platform/chromium-win/css1/box_properties/padding_right-expected.txt:
* platform/chromium-win/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum:
* platform/chromium-win/css2.1/t0805-c5520-brdr-b-01-e-expected.png:
* platform/chromium-win/css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
* platform/chromium-win/editing/pasteboard/merge-end-list-expected.checksum:
* platform/chromium-win/editing/pasteboard/merge-end-list-expected.png:
* platform/chromium-win/editing/pasteboard/merge-end-list-expected.txt:
* platform/chromium-win/editing/selection/extend-by-word-002-expected.checksum:
* platform/chromium-win/editing/selection/extend-by-word-002-expected.png:
* platform/chromium-win/editing/selection/extend-by-word-002-expected.txt:
* platform/chromium-win/fast/css/background-shorthand-invalid-url-expected.checksum:
* platform/chromium-win/fast/css/background-shorthand-invalid-url-expected.png:
* platform/chromium-win/fast/css/background-shorthand-invalid-url-expected.txt:
* platform/chromium-win/fast/doctypes/002-expected.checksum:
* platform/chromium-win/fast/doctypes/002-expected.png:
* platform/chromium-win/fast/doctypes/002-expected.txt:
* platform/chromium-win/fast/lists/001-vertical-expected.checksum:
* platform/chromium-win/fast/lists/001-vertical-expected.png:
* platform/chromium-win/fast/lists/001-vertical-expected.txt:
* platform/chromium-win/fast/lists/002-expected.checksum:
* platform/chromium-win/fast/lists/002-expected.png:
* platform/chromium-win/fast/lists/002-expected.txt:
* platform/chromium-win/fast/lists/002-vertical-expected.checksum:
* platform/chromium-win/fast/lists/002-vertical-expected.png:
* platform/chromium-win/fast/lists/002-vertical-expected.txt:
* platform/chromium-win/fast/lists/003-expected.checksum:
* platform/chromium-win/fast/lists/003-expected.png:
* platform/chromium-win/fast/lists/003-expected.txt:
* platform/chromium-win/fast/lists/003-vertical-expected.checksum:
* platform/chromium-win/fast/lists/003-vertical-expected.png:
* platform/chromium-win/fast/lists/003-vertical-expected.txt:
* platform/chromium-win/fast/lists/007-vertical-expected.checksum:
* platform/chromium-win/fast/lists/007-vertical-expected.png:
* platform/chromium-win/fast/lists/007-vertical-expected.txt:
* platform/chromium-win/fast/lists/008-vertical-expected.checksum:
* platform/chromium-win/fast/lists/008-vertical-expected.png:
* platform/chromium-win/fast/lists/008-vertical-expected.txt:
* platform/chromium-win/fast/lists/marker-before-empty-inline-expected.checksum:
* platform/chromium-win/fast/lists/marker-before-empty-inline-expected.png:
* platform/chromium-win/fast/lists/marker-before-empty-inline-expected.txt:
* platform/chromium-win/fast/lists/outSideListMarkers-expected.checksum: Added.
* platform/chromium-win/fast/lists/outSideListMarkers-expected.png: Added.
* platform/chromium-win/fast/lists/outSideListMarkers-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

9 years agoMake WebKit2 compile with ENABLE_JAVASCRIPT_DEBUGGER=0
ossy@webkit.org [Mon, 22 Nov 2010 16:57:45 +0000 (16:57 +0000)]
Make WebKit2 compile with ENABLE_JAVASCRIPT_DEBUGGER=0

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2010-11-22
Reviewed by Andreas Kling.

* WebProcess/WebPage/WebInspector.cpp: Add missing ENABLE(JAVASCRIPT_DEBUGGER) guards.
(WebKit::WebInspector::startJavaScriptDebugging):
(WebKit::WebInspector::stopJavaScriptDebugging):
(WebKit::WebInspector::startJavaScriptProfiling):
(WebKit::WebInspector::stopJavaScriptProfiling):

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

9 years ago2010-11-22 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Mon, 22 Nov 2010 16:46:45 +0000 (16:46 +0000)]
2010-11-22  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: dump inspector protocol messages into console.
        Sometimes I need to dump inspector messages into console.
        It'd be much simple to have this code in repository and
        enable protocol dumping just by a flag.

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

        * inspector/CodeGeneratorInspector.pm:
        * inspector/front-end/WorkersSidebarPane.js:
        (WebInspector.WorkersSidebarPane.prototype.reset):
        * inspector/front-end/inspector.js:
        (WebInspector_syncDispatch):

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

9 years agoUnreviewed. Update Qt specific expected results after r72527.
ossy@webkit.org [Mon, 22 Nov 2010 16:43:08 +0000 (16:43 +0000)]
Unreviewed. Update Qt specific expected results after r72527.

* platform/qt/css1/box_properties/margin_right-expected.checksum: Added.
* platform/qt/css1/box_properties/margin_right-expected.png: Added.
* platform/qt/css1/box_properties/margin_right-expected.txt:
* platform/qt/css1/box_properties/padding_right-expected.checksum: Added.
* platform/qt/css1/box_properties/padding_right-expected.png: Added.
* platform/qt/css1/box_properties/padding_right-expected.txt:
* platform/qt/editing/pasteboard/merge-end-list-expected.checksum: Added.
* platform/qt/editing/pasteboard/merge-end-list-expected.png: Added.
* platform/qt/editing/pasteboard/merge-end-list-expected.txt:
* platform/qt/fast/doctypes/002-expected.checksum: Added.
* platform/qt/fast/doctypes/002-expected.png: Added.
* platform/qt/fast/doctypes/002-expected.txt:
* platform/qt/fast/lists/001-vertical-expected.checksum:
* platform/qt/fast/lists/001-vertical-expected.png:
* platform/qt/fast/lists/001-vertical-expected.txt:
* platform/qt/fast/lists/002-vertical-expected.checksum:
* platform/qt/fast/lists/002-vertical-expected.png:
* platform/qt/fast/lists/002-vertical-expected.txt:
* platform/qt/fast/lists/003-vertical-expected.checksum:
* platform/qt/fast/lists/003-vertical-expected.png:
* platform/qt/fast/lists/003-vertical-expected.txt:
* platform/qt/fast/lists/007-vertical-expected.checksum:
* platform/qt/fast/lists/007-vertical-expected.png:
* platform/qt/fast/lists/007-vertical-expected.txt:
* platform/qt/fast/lists/008-vertical-expected.checksum:
* platform/qt/fast/lists/008-vertical-expected.png:
* platform/qt/fast/lists/008-vertical-expected.txt:
* platform/qt/fast/lists/outSideListMarkers-expected.checksum: Added.
* platform/qt/fast/lists/outSideListMarkers-expected.png: Added.
* platform/qt/fast/lists/outSideListMarkers-expected.txt: Added.

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

9 years ago2010-11-22 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Mon, 22 Nov 2010 16:18:52 +0000 (16:18 +0000)]
2010-11-22  Andreas Kling  <kling@webkit.org>

        Unreviewed, 2 missing rebaselines after r72527.

        * platform/mac/css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
        * platform/mac/fast/lists/marker-before-empty-inline-expected.txt:

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

9 years ago2010-11-22 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Mon, 22 Nov 2010 15:52:38 +0000 (15:52 +0000)]
2010-11-22  Andreas Kling  <kling@webkit.org>

        Reviewed by Nikolas Zimmermann.

        GraphicsContext: Make drawFocusRing() take a Path instead of a Vector<Path>
        https://bugs.webkit.org/show_bug.cgi?id=49840

        This avoid copying a Path object when drawing focus rings.

        * platform/graphics/GraphicsContext.h:
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::GraphicsContext::drawFocusRing):
        * platform/graphics/haiku/GraphicsContextHaiku.cpp:
        (WebCore::GraphicsContext::drawFocusRing):
        * platform/graphics/mac/GraphicsContextMac.mm:
        (WebCore::GraphicsContext::drawFocusRing):
        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::drawFocusRing):
        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::GraphicsContext::drawFocusRing):
        * platform/graphics/win/GraphicsContextCGWin.cpp:
        (WebCore::GraphicsContext::drawFocusRing):
        * platform/graphics/wince/GraphicsContextWinCE.cpp:
        (WebCore::GraphicsContext::drawFocusRing):
        * platform/graphics/wx/GraphicsContextWx.cpp:
        (WebCore::GraphicsContext::drawFocusRing):
        * rendering/RenderImage.h:
        * rendering/RenderImage.cpp:
        (WebCore::RenderImage::paint):
        (WebCore::RenderImage::paintFocusRing):
        Renamed from paintFocusRings since it only paints one ring.

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

9 years agoOutside list bullets ignore text-align style.
reni@webkit.org [Mon, 22 Nov 2010 15:13:52 +0000 (15:13 +0000)]
Outside list bullets ignore text-align style.
https://bugs.webkit.org/show-bug.cgi?id=15713

Patch by Renata Hodovan <reni@webkit.org> on 2010-11-22
Reviewed by Andreas Kling.

WebCore:

Fix the position of outside markers by setting its logicalLeft member. Embedded markers need special treatment.
First, the total width of markers should be calculated. Subtracting it from logicalLeft we get the outermost bullet's
position. As for the others, this sum should be decremented with the previous marker's width.
In case of vertical markers the padding is unneeded.

Test: fast/lists/outSideListMarkers.html

* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::placeBoxesInInlineDirection):
* rendering/RenderListItem.cpp:
(WebCore::RenderListItem::positionListMarker):

LayoutTests:

Add new test for checking outside marker's position and update the related expecteds of tests.

* fast/lists/outSideListMarkers-expected.txt: Added.
* fast/lists/outSideListMarkers.html: Added.
* platform/mac-leopard/css1/box_properties/margin_right-expected.checksum:
* platform/mac-leopard/css1/box_properties/margin_right-expected.png:
* platform/mac-leopard/css1/box_properties/padding_right-expected.checksum:
* platform/mac-leopard/css1/box_properties/padding_right-expected.png:
* platform/mac-leopard/editing/pasteboard/merge-end-list-expected.checksum:
* platform/mac-leopard/editing/pasteboard/merge-end-list-expected.png:
* platform/mac-leopard/fast/css/background-shorthand-invalid-url-expected.checksum:
* platform/mac-leopard/fast/css/background-shorthand-invalid-url-expected.png:
* platform/mac-leopard/fast/css/empty-pseudo-class-expected.checksum:
* platform/mac-leopard/fast/css/empty-pseudo-class-expected.png:
* platform/mac-leopard/fast/css/first-child-pseudo-class-expected.checksum:
* platform/mac-leopard/fast/css/first-child-pseudo-class-expected.png:
* platform/mac-leopard/fast/css/first-of-type-pseudo-class-expected.checksum:
* platform/mac-leopard/fast/css/first-of-type-pseudo-class-expected.png:
* platform/mac-leopard/fast/css/last-child-pseudo-class-expected.checksum:
* platform/mac-leopard/fast/css/last-child-pseudo-class-expected.png:
* platform/mac-leopard/fast/css/last-of-type-pseudo-class-expected.checksum:
* platform/mac-leopard/fast/css/last-of-type-pseudo-class-expected.png:
* platform/mac-leopard/fast/css/only-child-pseudo-class-expected.checksum:
* platform/mac-leopard/fast/css/only-child-pseudo-class-expected.png:
* platform/mac-leopard/fast/css/only-of-type-pseudo-class-expected.checksum:
* platform/mac-leopard/fast/css/only-of-type-pseudo-class-expected.png:
* platform/mac-leopard/fast/doctypes/002-expected.checksum:
* platform/mac-leopard/fast/doctypes/002-expected.png:
* platform/mac-leopard/fast/lists/001-expected.checksum:
* platform/mac-leopard/fast/lists/001-expected.png:
* platform/mac-leopard/fast/lists/002-expected.checksum:
* platform/mac-leopard/fast/lists/002-expected.png:
* platform/mac-leopard/fast/lists/003-expected.checksum:
* platform/mac-leopard/fast/lists/003-expected.png:
* platform/mac/css1/box_properties/margin_right-expected.txt:
* platform/mac/css1/box_properties/padding_right-expected.txt:
* platform/mac/editing/pasteboard/merge-end-list-expected.txt:
* platform/mac/editing/selection/extend-by-word-002-expected.checksum:
* platform/mac/editing/selection/extend-by-word-002-expected.png:
* platform/mac/editing/selection/extend-by-word-002-expected.txt:
* platform/mac/fast/css/background-shorthand-invalid-url-expected.txt:
* platform/mac/fast/css/empty-pseudo-class-expected.txt:
* platform/mac/fast/css/first-child-pseudo-class-expected.txt:
* platform/mac/fast/css/first-of-type-pseudo-class-expected.txt:
* platform/mac/fast/css/last-child-pseudo-class-expected.txt:
* platform/mac/fast/css/last-of-type-pseudo-class-expected.txt:
* platform/mac/fast/css/only-child-pseudo-class-expected.txt:
* platform/mac/fast/css/only-of-type-pseudo-class-expected.txt:
* platform/mac/fast/doctypes/002-expected.txt:
* platform/mac/fast/lists/001-expected.txt:
* platform/mac/fast/lists/001-vertical-expected.checksum:
* platform/mac/fast/lists/001-vertical-expected.png:
* platform/mac/fast/lists/001-vertical-expected.txt:
* platform/mac/fast/lists/002-expected.txt:
* platform/mac/fast/lists/002-vertical-expected.checksum:
* platform/mac/fast/lists/002-vertical-expected.png:
* platform/mac/fast/lists/002-vertical-expected.txt:
* platform/mac/fast/lists/003-expected.txt:
* platform/mac/fast/lists/003-vertical-expected.checksum:
* platform/mac/fast/lists/003-vertical-expected.png:
* platform/mac/fast/lists/003-vertical-expected.txt:
* platform/mac/fast/lists/007-vertical-expected.checksum:
* platform/mac/fast/lists/007-vertical-expected.png:
* platform/mac/fast/lists/007-vertical-expected.txt:
* platform/mac/fast/lists/008-vertical-expected.checksum:
* platform/mac/fast/lists/008-vertical-expected.png:
* platform/mac/fast/lists/008-vertical-expected.txt:
* platform/mac/fast/lists/outSideListMarkers-expected.checksum: Added.
* platform/mac/fast/lists/outSideListMarkers-expected.png: Added.

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

9 years ago2010-11-22 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Mon, 22 Nov 2010 14:57:15 +0000 (14:57 +0000)]
2010-11-22  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Antonio Gomes.

        Spatial Navigation: Additional tests.
        https://bugs.webkit.org/show_bug.cgi?id=49604

        * fast/events/spatial-navigation/snav-div-overflow-scrol-hidden-expected.txt: Added.
        * fast/events/spatial-navigation/snav-div-overflow-scrol-hidden.html: Added.
        * fast/events/spatial-navigation/snav-z-index-expected.txt: Added.
        * fast/events/spatial-navigation/snav-z-index.html: Added.

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

9 years agoNot reviewed. Rebaselining various Win/Linux only deviations.
antonm@chromium.org [Mon, 22 Nov 2010 14:40:45 +0000 (14:40 +0000)]
Not reviewed.  Rebaselining various Win/Linux only deviations.

* platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.checksum: Added.
* platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png: Added.
* platform/chromium-linux/svg/custom/baseval-animval-equality-expected.checksum:
* platform/chromium-linux/svg/custom/baseval-animval-equality-expected.png:
* platform/chromium-linux/svg/dom/SVGPathSegList-segment-modification-expected.checksum: Added.
* platform/chromium-linux/svg/dom/SVGPathSegList-segment-modification-expected.png: Added.
* platform/chromium-linux/svg/dom/SVGPathSegList-xml-dom-synchronization-expected.checksum: Added.
* platform/chromium-linux/svg/dom/SVGPathSegList-xml-dom-synchronization-expected.png: Added.
* platform/chromium-linux/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.checksum: Added.
* platform/chromium-linux/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.png: Added.
* platform/chromium-linux/svg/dom/path-parser-expected.txt: Removed.
* platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.checksum: Added.
* platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png: Added.
* platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt: Added.
* platform/chromium-win/svg/custom/baseval-animval-equality-expected.checksum:
* platform/chromium-win/svg/custom/baseval-animval-equality-expected.png:
* platform/chromium-win/svg/custom/baseval-animval-equality-expected.txt:
* platform/chromium-win/svg/dom/SVGPathSegList-segment-modification-expected.checksum: Added.
* platform/chromium-win/svg/dom/SVGPathSegList-segment-modification-expected.png: Added.
* platform/chromium-win/svg/dom/SVGPathSegList-segment-modification-expected.txt: Added.
* platform/chromium-win/svg/dom/SVGPathSegList-xml-dom-synchronization-expected.checksum: Added.
* platform/chromium-win/svg/dom/SVGPathSegList-xml-dom-synchronization-expected.png: Added.
* platform/chromium-win/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.checksum: Added.
* platform/chromium-win/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.png: Added.
* platform/chromium-win/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.txt: Added.
* platform/chromium-win/svg/dom/path-parser-expected.txt: Added.
* platform/chromium-win/svg/filters/filter-rounding-issues-expected.checksum: Added.
* platform/chromium-win/svg/filters/filter-rounding-issues-expected.png: Added.
* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed.
ossy@webkit.org [Mon, 22 Nov 2010 14:37:28 +0000 (14:37 +0000)]
Unreviewed.

[Qt] fast/workers/storage/interrupt-database-sync.html fails intermittently
https://bugs.webkit.org/show_bug.cgi?id=49906

* platform/qt/Skipped: fast/workers/storage/interrupt-database-sync.html added until fix.

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

9 years agoUnreviewed.
ossy@webkit.org [Mon, 22 Nov 2010 14:12:52 +0000 (14:12 +0000)]
Unreviewed.

[Qt] Add platform specific expected results for new passing tests.
Compared to Mac png files and Mac expected files.

* platform/qt/fast/css/negative-leading-expected.checksum: Added.
* platform/qt/fast/css/negative-leading-expected.png: Added.
* platform/qt/fast/css/negative-leading-expected.txt: Added. (introduced in r72141)
* platform/qt/fast/images/imagemap-focus-ring-zoom-expected.checksum: Added.
* platform/qt/fast/images/imagemap-focus-ring-zoom-expected.png: Added.
* platform/qt/fast/images/imagemap-focus-ring-zoom-expected.txt: Added. (introduced in r72402)
* platform/qt/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.checksum: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt: Added. (introduced in r72381)
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.checksum: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt: Added. (introduced in r72518)
* platform/qt/svg/custom/image-rescale-expected.checksum: Added.
* platform/qt/svg/custom/image-rescale-expected.png: Added.
* platform/qt/svg/custom/image-rescale-expected.txt: Added. (introduced in r72470)
* platform/qt/svg/custom/image-rescale-scroll-expected.checksum: Added.
* platform/qt/svg/custom/image-rescale-scroll-expected.png: Added.
* platform/qt/svg/custom/image-rescale-scroll-expected.txt: Added. (introduced in r72470)
* platform/qt/svg/dom/SVGPathSegList-cloning-expected.checksum: Added.
* platform/qt/svg/dom/SVGPathSegList-cloning-expected.png: Added.
* platform/qt/svg/dom/SVGPathSegList-cloning-expected.txt: Added. (introduced in r72381)
* platform/qt/svg/dom/SVGPathSegList-segment-modification-expected.checksum: Added.
* platform/qt/svg/dom/SVGPathSegList-segment-modification-expected.png: Added.
* platform/qt/svg/dom/SVGPathSegList-segment-modification-expected.txt: Added. (introduced in r72381)
* platform/qt/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.checksum: Added.
* platform/qt/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.png: Added.
* platform/qt/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.txt: Added. (introduced in r72381)

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

9 years agoSpatial Navigation: issues with the node selection algorithm.
yael.aharon@nokia.com [Mon, 22 Nov 2010 13:49:09 +0000 (13:49 +0000)]
Spatial Navigation: issues with the node selection algorithm.
https://bugs.webkit.org/show_bug.cgi?id=49382

Patch by Yael Aharon  <yael.aharon@nokia.com>, Chang Shu <chang.shu@nokia.com> on 2010-11-22
Reviewed by Antonio Gomes.

WebCore:

Modify the Spatial Navigation algorithm, to better handle initial focus and
navigation between frames.
The new algorithm takes the rect of the focused node as the startingRect,
instead of the node itself. That allows us to construct a virtual rect if
there is no focused node, or if it is off the screen.
The virtual rect is the edge of the container in the direction of the navigation.

With this patch, scrollable containers and frames will scroll regardless of weather
they have focusable content. Users will be able to use arrow keys to view all the
content of such a container. The only exception is if the container has style overflow:hidden.
We will not scroll in that case.

With this patch, we handle z-index and positioning so that if there are 2 overlapping focusable nodes,
we do a hit test and only the node on top can get focus.

hasOffScreenRect() was modified so that it can check if a node will be off-screen even after we scrolled
its parent container. We do not add the scrolling conditions for containers that have overflow:hidden
and cannot scroll.

calculateScrollbarModesForLayout is used to decide if a frame can scroll or not. We cannot rely on
the exsistance of the scrollbar, because it could be removed via the API, while the frame is still
allowed to scroll.

* page/FocusController.cpp:
(WebCore::updateFocusCandidateIfNeeded):
(WebCore::FocusController::findFocusCandidateInContainer):
(WebCore::FocusController::advanceFocusDirectionallyInContainer):
(WebCore::FocusController::advanceFocusDirectionally):
* page/FocusController.h:
* page/FrameView.h:
* page/SpatialNavigation.cpp:
(WebCore::FocusCandidate::FocusCandidate):
(WebCore::distanceDataForNode):
(WebCore::alignmentForRects):
(WebCore::areRectsMoreThanFullScreenApart):
(WebCore::isRectInDirection):
(WebCore::hasOffscreenRect):
(WebCore::scrollInDirection):
(WebCore::isScrollableContainerNode):
(WebCore::scrollableEnclosingBoxOrParentFrameForNodeInDirection):
(WebCore::canScrollInDirection):
(WebCore::rectToAbsoluteCoordinates):
(WebCore::nodeRectInAbsoluteCoordinates):
(WebCore::frameRectInAbsoluteCoordinates):
(WebCore::entryAndExitPointsForDirection):
(WebCore::canBeScrolledIntoView):
(WebCore::virtualRectForDirection):
* page/SpatialNavigation.h:

LayoutTests:

Replaced text in tests with images with fixed size to make them more cross platform and modified
test results to reflect that we can scroll container that do not include focusable content.

* fast/events/spatial-navigation/snav-clipped-overflowed-content-expected.txt:
* fast/events/spatial-navigation/snav-clipped-overflowed-content.html:
* fast/events/spatial-navigation/snav-div-scrollable-but-without-focusable-content-expected.txt:
* fast/events/spatial-navigation/snav-div-scrollable-but-without-focusable-content.html:
* fast/events/spatial-navigation/snav-iframe-no-focusable-content-expected.txt:
* fast/events/spatial-navigation/snav-iframe-no-focusable-content.html:
* fast/events/spatial-navigation/snav-iframe-no-scrollable-content-expected.txt:
* fast/events/spatial-navigation/snav-iframe-no-scrollable-content.html:
* fast/events/spatial-navigation/snav-iframe-with-offscreen-focusable-element-expected.txt:
* fast/events/spatial-navigation/snav-iframe-with-offscreen-focusable-element.html:

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

9 years agoAmending suppressions from previous commit.
antonm@chromium.org [Mon, 22 Nov 2010 13:29:14 +0000 (13:29 +0000)]
Amending suppressions from previous commit.

* platform/chromium/test_expectations.txt:

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

9 years agoNot reviewed. Adding new suppressions after http://trac.webkit.org/changeset/72518
antonm@chromium.org [Mon, 22 Nov 2010 13:25:59 +0000 (13:25 +0000)]
Not reviewed.  Adding new suppressions after trac.webkit.org/changeset/72518

* platform/chromium/test_expectations.txt:

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

9 years agoNot reviewed. Next batch of SVG rebaselines.
antonm@chromium.org [Mon, 22 Nov 2010 12:53:55 +0000 (12:53 +0000)]
Not reviewed.  Next batch of SVG rebaselines.

* platform/chromium-linux/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.checksum: Added.
* platform/chromium-linux/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png: Added.
* platform/chromium-linux/svg/dom/SVGPathSegList-cloning-expected.checksum: Added.
* platform/chromium-linux/svg/dom/SVGPathSegList-cloning-expected.png: Added.
* platform/chromium-win/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.checksum: Added.
* platform/chromium-win/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png: Added.
* platform/chromium-win/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt: Added.
* platform/chromium-win/svg/custom/svg-curve-with-relative-cordinates-expected.txt:
* platform/chromium-win/svg/dom/SVGPathSegList-cloning-expected.checksum: Added.
* platform/chromium-win/svg/dom/SVGPathSegList-cloning-expected.png: Added.
* platform/chromium-win/svg/dom/SVGPathSegList-cloning-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

9 years ago2010-11-22 Nikolas Zimmermann <nzimmermann@rim.com>
commit-queue@webkit.org [Mon, 22 Nov 2010 12:32:31 +0000 (12:32 +0000)]
2010-11-22  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Fix various problems with the SVG*List code
        https://bugs.webkit.org/show_bug.cgi?id=49880

        Add tests for all SVG*List types, that were missing.
        Add SVG 1.1 2nd edition testcase, types-dom-07-f.svg, testing that all animVal values are readonly.

        * platform/mac-leopard/svg/custom/baseval-animval-equality-expected.checksum:
        * platform/mac-leopard/svg/custom/baseval-animval-equality-expected.png:
        * platform/mac-leopard/svg/dom/SVGLengthList-basics-expected.checksum:
        * platform/mac-leopard/svg/dom/SVGLengthList-basics-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt: Added.
        * platform/mac/svg/custom/baseval-animval-equality-expected.txt:
        * platform/mac/svg/dom/SVGNumberList-basics-expected.checksum: Added.
        * platform/mac/svg/dom/SVGNumberList-basics-expected.png: Added.
        * platform/mac/svg/dom/SVGPointList-basics-expected.checksum: Added.
        * platform/mac/svg/dom/SVGPointList-basics-expected.png: Added.
        * platform/mac/svg/dom/SVGStringList-basics-expected.checksum: Added.
        * platform/mac/svg/dom/SVGStringList-basics-expected.png: Added.
        * platform/mac/svg/dom/SVGTransformList-basics-expected.checksum: Added.
        * platform/mac/svg/dom/SVGTransformList-basics-expected.png: Added.
        * svg/W3C-SVG-1.1-SE/types-dom-07-f.svg: Added.
        * svg/custom/baseval-animval-equality.svg: Fix wrong test.
        * svg/custom/polyline-points-crash-expected.txt:
        * svg/dom/SVGLengthList-basics-expected.txt:
        * svg/dom/SVGLengthList-basics.xhtml: Extended test, synchronized with the other SVG*List tests.
        * svg/dom/SVGNumberList-basics-expected.txt: Added.
        * svg/dom/SVGNumberList-basics.xhtml: Added.
        * svg/dom/SVGPointList-basics-expected.txt: Added.
        * svg/dom/SVGPointList-basics.xhtml: Added.
        * svg/dom/SVGStringList-basics-expected.txt: Added.
        * svg/dom/SVGStringList-basics.xhtml: Added.
        * svg/dom/SVGTransformList-basics-expected.txt: Added.
        * svg/dom/SVGTransformList-basics.xhtml: Added.
        * svg/dom/svglist-exception-on-out-bounds-error-expected.txt:
2010-11-22  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Fix various problems with the SVG*List code
        https://bugs.webkit.org/show_bug.cgi?id=49880

        Write tests for SVGNumberList/SVGPointList/SVGStringList/SVGTransformList and extend SVGLengthList tests.
        SVG DOM <-> XML DOM synchronization is now tested for all these types, and works great. Unify the string format produced
        by the various valueAsString() functions for maximum compatibility with Firefox / Opera.

        * Build a real transform string for SVGTransformList, instead of dumping the elements of the concatted matrix.
        * Add SVGStringList XML dom synchronization, only affects SVGTests requiredFeatures/requiredExtensions/systemLanguage.
        * Make all animVal properties readonly, tested by types-dom-07-f.svg (from SVG 1.1 2nd edition).
        * Enable StrictTypeChecking/RequiresAllArguments=Raise for all SVGList types.

        Tests: svg/W3C-SVG-1.1-SE/types-dom-07-f.svg
               svg/dom/SVGNumberList-basics.xhtml
               svg/dom/SVGPointList-basics.xhtml
               svg/dom/SVGStringList-basics.xhtml
               svg/dom/SVGTransformList-basics.xhtml

        * bindings/js/JSSVGLengthCustom.cpp:
        (WebCore::JSSVGLength::setValue): Throw NO_MODIFICATION_ALLOWED_ERR when the SVGPropertyTearOffs role is AnimValRole.
        (WebCore::JSSVGLength::convertToSpecifiedUnits): Ditto.
        * bindings/scripts/CodeGeneratorJS.pm: Ditto.
        * bindings/scripts/CodeGeneratorObjC.pm: Ditto.
        * bindings/scripts/CodeGeneratorV8.pm: Ditto.
        * bindings/v8/custom/V8SVGLengthCustom.cpp:
        (WebCore::V8SVGLength::valueAccessorSetter): Ditto.
        (WebCore::V8SVGLength::convertToSpecifiedUnitsCallback): Ditto.
        * svg/SVGAElement.cpp:
        (WebCore::SVGAElement::synchronizeProperty): Also synchronize the SVGTests SVGStringLists.
        * svg/SVGAnimationElement.cpp:
        (WebCore::SVGAnimationElement::synchronizeProperty): Ditto.
        * svg/SVGCircleElement.cpp:
        (WebCore::SVGCircleElement::synchronizeProperty): Ditto.
        * svg/SVGClipPathElement.cpp:
        (WebCore::SVGClipPathElement::synchronizeProperty): Ditto.
        * svg/SVGCursorElement.cpp:
        (WebCore::SVGCursorElement::synchronizeProperty): Ditto.
        * svg/SVGDefsElement.cpp:
        (WebCore::SVGDefsElement::synchronizeProperty): Ditto.
        * svg/SVGEllipseElement.cpp:
        (WebCore::SVGEllipseElement::synchronizeProperty): Ditto.
        * svg/SVGForeignObjectElement.cpp:
        (WebCore::SVGForeignObjectElement::synchronizeProperty): Ditto.
        * svg/SVGGElement.cpp:
        (WebCore::SVGGElement::synchronizeProperty): Ditto.
        * svg/SVGImageElement.cpp:
        (WebCore::SVGImageElement::synchronizeProperty): Ditto.
        * svg/SVGLengthList.cpp:
        (WebCore::SVGLengthList::valueAsString): Use ' ' instead of ',' as seperator.
        * svg/SVGLengthList.idl: Enable StrictTypeChecking, RequiresAllArguments=Raise.
        * svg/SVGLineElement.cpp:
        (WebCore::SVGLineElement::synchronizeProperty): Also synchronize the SVGTests SVGStringLists.
        * svg/SVGMaskElement.cpp:
        (WebCore::SVGMaskElement::synchronizeProperty): Ditto.
        * svg/SVGNumberList.cpp:
        (WebCore::SVGNumberList::valueAsString): Use ' ' instead of ',' as seperator.
        * svg/SVGNumberList.idl: Enable StrictTypeChecking, RequiresAllArguments=Raise.
        * svg/SVGPathElement.cpp:
        (WebCore::SVGPathElement::synchronizeProperty): Also synchronize the SVGTests SVGStringLists.
        * svg/SVGPatternElement.cpp:
        (WebCore::SVGPatternElement::synchronizeProperty): Ditto.
        * svg/SVGPointList.idl: Enable StrictTypeChecking, RequiresAllArguments=Raise.
        * svg/SVGPolyElement.cpp:
        (WebCore::SVGPolyElement::synchronizeProperty): Also synchronize the SVGTests SVGStringLists.
        * svg/SVGRectElement.cpp:
        (WebCore::SVGRectElement::synchronizeProperty): Ditto.
        * svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::synchronizeProperty): Ditto.
        * svg/SVGStringList.cpp:
        (WebCore::SVGStringList::valueAsString): Add valueAsString() implementation, necessary for SVG DOM <-> XML DOM synchronization.
        * svg/SVGStringList.h:
        * svg/SVGStringList.idl: Enable StrictTypeChecking, RequiresAllArguments=Raise.
        * svg/SVGSwitchElement.cpp:
        (WebCore::SVGSwitchElement::synchronizeProperty): Also synchronize the SVGTests SVGStringLists.
        * svg/SVGTests.cpp: Rewrite, similar to SVGPolyElement, to synchronize the requiredFeatures/requiredExtension/systemLanguage SVGStringLists with their XML DOM attributes.
        (WebCore::SVGTests::SVGTests):
        (WebCore::SVGTests::isValid):
        (WebCore::SVGTests::parseMappedAttribute):
        (WebCore::SVGTests::isKnownAttribute):
        (WebCore::SVGTests::handleAttributeChange):
        (WebCore::SVGTests::synchronizeProperties): To be called by all classes inheriting from SVGTests, in their synchronizeProperty() methods.
        (WebCore::SVGTests::synchronizeRequiredFeatures):
        (WebCore::SVGTests::synchronizeRequiredExtensions):
        (WebCore::SVGTests::synchronizeSystemLanguage):
        (WebCore::SVGTests::requiredFeatures):
        (WebCore::SVGTests::requiredExtensions):
        (WebCore::SVGTests::systemLanguage):
        * svg/SVGTests.h:
        * svg/SVGTextContentElement.cpp:
        (WebCore::SVGTextContentElement::synchronizeProperty): Also synchronize the SVGTests SVGStringLists.
        * svg/SVGTransform.cpp:
        (WebCore::SVGTransform::valueAsString): Added a proper way to serialize a SVGTransform into a String.
        * svg/SVGTransform.h:
        * svg/SVGTransformList.cpp:
        (WebCore::SVGTransformList::valueAsString): Rewrite, to build a real transform list string, instead of dumping the concatted matrix.
        * svg/SVGUseElement.cpp:
        (WebCore::SVGUseElement::synchronizeProperty): Also synchronize the SVGTests SVGStringLists.
        * svg/properties/SVGListProperty.h: s/TYPE_MISMATCH_ERR/SVGException::SVG_WRONG_TYPE_ERR/ for compatibility with Firefox.
        (WebCore::SVGListProperty::initializeValuesAndWrappers):
        (WebCore::SVGListProperty::insertItemBeforeValuesAndWrappers):
        (WebCore::SVGListProperty::replaceItemValues):
        (WebCore::SVGListProperty::replaceItemValuesAndWrappers):
        (WebCore::SVGListProperty::removeItemValuesAndWrappers): Handle corner case, the item passed to removeItem() was the only on in the list, list is empty now, nothing to replace.
        (WebCore::SVGListProperty::appendItemValuesAndWrappers):
        (WebCore::SVGListProperty::role): Expose the role of this list property.
        * svg/properties/SVGPathSegListPropertyTearOff.h: s/TYPE_MISMATCH_ERR/SVGException::SVG_WRONG_TYPE_ERR/ for compatibility with Firefox.
        (WebCore::SVGPathSegListPropertyTearOff::initialize):
        (WebCore::SVGPathSegListPropertyTearOff::insertItemBefore):
        (WebCore::SVGPathSegListPropertyTearOff::replaceItem):
        (WebCore::SVGPathSegListPropertyTearOff::appendItem):
        * svg/properties/SVGProperty.h: Add new virtual SVGPropertyRole role() accessor.
        * svg/properties/SVGPropertyTearOff.h:
        (WebCore::SVGPropertyTearOff::create): Store the passed in SVGProperyRole, instead of ignoring it.
        (WebCore::SVGPropertyTearOff::role):
        (WebCore::SVGPropertyTearOff::SVGPropertyTearOff):
        * svg/properties/SVGStaticPropertyTearOff.h:
        (WebCore::SVGStaticPropertyTearOff::SVGStaticPropertyTearOff): Pass UndefinedRole as default role to SVGPropertyTearOff.
        * svg/properties/SVGStaticPropertyWithParentTearOff.h: Ditto.
        (WebCore::SVGStaticPropertyWithParentTearOff::SVGStaticPropertyWithParentTearOff):

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

9 years agoNot reviewed. Rebaselining fast/images/imagemap-focus-ring-zoom.html for Chromium...
antonm@chromium.org [Mon, 22 Nov 2010 12:11:40 +0000 (12:11 +0000)]
Not reviewed.  Rebaselining fast/images/imagemap-focus-ring-zoom.html for Chromium on Win and Linux.

* platform/chromium-linux/fast/images/imagemap-focus-ring-zoom-expected.checksum: Added.
* platform/chromium-linux/fast/images/imagemap-focus-ring-zoom-expected.png: Added.
* platform/chromium-win/fast/images/imagemap-focus-ring-zoom-expected.checksum: Added.
* platform/chromium-win/fast/images/imagemap-focus-ring-zoom-expected.png: Added.
* platform/chromium-win/fast/images/imagemap-focus-ring-zoom-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

9 years agoNot reviewed. Rebaselining svg/custom/image-rescale.svg for Chromium on Mac.
antonm@chromium.org [Mon, 22 Nov 2010 12:02:22 +0000 (12:02 +0000)]
Not reviewed.  Rebaselining svg/custom/image-rescale.svg for Chromium on Mac.

* platform/chromium-mac/svg/custom/image-rescale-expected.checksum: Added.
* platform/chromium-mac/svg/custom/image-rescale-expected.png: Added.
* platform/chromium/test_expectations.txt:

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

9 years agoNot reviewed, removing suppression for now passing editing/selection/5354455-1.html...
antonm@chromium.org [Mon, 22 Nov 2010 11:57:12 +0000 (11:57 +0000)]
Not reviewed, removing suppression for now passing editing/selection/5354455-1.html (on Win)

* platform/chromium/test_expectations.txt:

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

9 years agoNot reviewed, proper platform for international test.
antonm@chromium.org [Mon, 22 Nov 2010 10:53:28 +0000 (10:53 +0000)]
Not reviewed, proper platform for international test.

* platform/chromium/test_expectations.txt:

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

9 years agoNot reviewed, Chromium suppressions for a bunch of SVG tests and one international.
antonm@chromium.org [Mon, 22 Nov 2010 10:51:21 +0000 (10:51 +0000)]
Not reviewed, Chromium suppressions for a bunch of SVG tests and one international.

* platform/chromium/test_expectations.txt:

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

9 years agoNot reviewed, temporary suppressing fast/css/font-face-data-uri.html for Chromium.
antonm@chromium.org [Mon, 22 Nov 2010 10:26:26 +0000 (10:26 +0000)]
Not reviewed, temporary suppressing fast/css/font-face-data-uri.html for Chromium.

* platform/chromium/test_expectations.txt:

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

9 years ago2010-11-22 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 22 Nov 2010 10:22:42 +0000 (10:22 +0000)]
2010-11-22  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Partially roll out r72282.
        It should not have modified devtools files.

        * src/js/devTools.css:

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

9 years ago2010-11-22 Jan Erik Hanssen <jhanssen@sencha.com>
commit-queue@webkit.org [Mon, 22 Nov 2010 09:59:44 +0000 (09:59 +0000)]
2010-11-22  Jan Erik Hanssen  <jhanssen@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] QWebElement::appendInside() doesn't work on head elements
        https://bugs.webkit.org/show_bug.cgi?id=49166

        Make QWebElement::appendInside() call
        Element::deprecatedCreateContextualFragment(), bypassing the check for
        the HEAD tag in the HTMLElement implementation of this function.

        * Api/qwebelement.cpp:
        (QWebElement::appendInside):
        * tests/qwebelement/tst_qwebelement.cpp:
        (tst_QWebElement::addElementToHead):

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

9 years agoNot reviewed. Suppressing fast/canvas/canvas-fillPath-shadow.html for Chromium-gpu.
antonm@chromium.org [Mon, 22 Nov 2010 09:58:12 +0000 (09:58 +0000)]
Not reviewed.  Suppressing fast/canvas/canvas-fillPath-shadow.html for Chromium-gpu.

* platform/chromium-gpu/test_expectations.txt:

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

9 years agoNot reviewed, remove duplicate suppression.
antonm@chromium.org [Mon, 22 Nov 2010 09:53:24 +0000 (09:53 +0000)]
Not reviewed, remove duplicate suppression.

* platform/chromium/test_expectations.txt:

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

9 years agoNot reviewed. Suppressing fast/canvas/canvas-fillPath-shadow.html for Chromium.
antonm@chromium.org [Mon, 22 Nov 2010 09:30:07 +0000 (09:30 +0000)]
Not reviewed.  Suppressing fast/canvas/canvas-fillPath-shadow.html for Chromium.

* platform/chromium/test_expectations.txt:

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

9 years ago2010-11-22 João Paulo Rechi Vita <jprvita@profusion.mobi>
commit-queue@webkit.org [Mon, 22 Nov 2010 09:27:03 +0000 (09:27 +0000)]
2010-11-22  João Paulo Rechi Vita  <jprvita@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        Fix EWebLauncher zoom discretization
        https://bugs.webkit.org/show_bug.cgi?id=49810

        * EWebLauncher/main.c:
        (nearest_zoom_level_get):
        (zoom_level_set):
        (on_load_finished):
        (on_key_down):

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

9 years agoNot reviewed. Rebaselining fast/js/regexp-overflow.html expectations
antonm@chromium.org [Mon, 22 Nov 2010 09:26:06 +0000 (09:26 +0000)]
Not reviewed.  Rebaselining fast/js/regexp-overflow.html expectations
for Chromium after http://trac.webkit.org/changeset/72489

* platform/chromium-mac/fast/js/regexp-overflow-expected.txt: Added.
* platform/chromium-win/fast/js/regexp-overflow-expected.txt: Added.

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

9 years ago2010-11-22 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Mon, 22 Nov 2010 08:41:57 +0000 (08:41 +0000)]
2010-11-22  Yuzo Fujishima  <yuzo@google.com>

        Reviewed by Dan Bernstein.

        Fix for Bug 49374 - Web Font specified with base64 data URI ending with EOT is not rendered.
        https://bugs.webkit.org/show_bug.cgi?id=49374

        * fast/css/font-face-data-uri-expected.txt: Added.
        * fast/css/font-face-data-uri.html: Added.
2010-11-22  Yuzo Fujishima  <yuzo@google.com>

        Reviewed by Dan Bernstein.

        Fix for Bug 49374 - Web Font specified with base64 data URI ending with EOT is not rendered.
        https://bugs.webkit.org/show_bug.cgi?id=49374

        Test: fast/css/font-face-data-uri.html

        * css/CSSFontFaceSrcValue.cpp:
        (WebCore::CSSFontFaceSrcValue::isSupportedFormat): Do not check "file
        extension" for data URI. For other URI, check against ".eot" rather
        than "eot".

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

9 years agoUpdate WebKit2 skipped list.
weinig@apple.com [Mon, 22 Nov 2010 03:03:54 +0000 (03:03 +0000)]
Update WebKit2 skipped list.

* platform/mac-wk2/Skipped:

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

9 years agoFix ~300 WebKit2 tests by enabling developer extras preference.
weinig@apple.com [Mon, 22 Nov 2010 02:16:24 +0000 (02:16 +0000)]
Fix ~300 WebKit2 tests by enabling developer extras preference.

Rubber-stamped by Dan Bernstein.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):

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

9 years agoTextareas should be resizable by default
weinig@apple.com [Mon, 22 Nov 2010 02:08:50 +0000 (02:08 +0000)]
Textareas should be resizable by default
https://bugs.webkit.org/show_bug.cgi?id=49892

Reviewed by Dan Bernstein.

WebKit2:

Test: WebKit2/WKPreferences

* Shared/WebPreferencesStore.cpp:
(WebKit::WebPreferencesStore::WebPreferencesStore):
(WebKit::WebPreferencesStore::encode):
(WebKit::WebPreferencesStore::decode):
* Shared/WebPreferencesStore.h:
Add textAreasAreResizable bit.

* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetJavaEnabled):
(WKPreferencesGetJavaEnabled):
Fix typo, WKPRe... -> WKPre...

(WKPreferencesSetMinimumFontSize):
(WKPreferencesGetMinimumFontSize):
Fix comment to correctly reflect that the default minimumFontSize is 0, not 1.

(WKPreferencesSetTextAreasAreResizable):
(WKPreferencesGetTextAreasAreResizable):
* UIProcess/API/C/WKPreferences.h:
Add API.

* UIProcess/API/C/WKPreferencesPrivate.h:
Don't use PLATFORM in API headers.

* UIProcess/WebPreferences.cpp:
(WebKit::WebPreferences::setTextAreasAreResizable):
(WebKit::WebPreferences::textAreasAreResizable):
* UIProcess/WebPreferences.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
Pipe bit through to the WebProcess and onto WebCore::Settings.

WebKitTools:

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp: Added.
* TestWebKitAPI/win/TestWebKitAPI.vcproj:
Add preferences test.

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

9 years ago2010-11-21 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 22 Nov 2010 00:10:38 +0000 (00:10 +0000)]
2010-11-21  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Use WTF_ARRAY_LENGTH in WebCore directory
        https://bugs.webkit.org/show_bug.cgi?id=49882

        * accessibility/AccessibilityObject.cpp:
        (WebCore::createARIARoleMap):
        * bindings/js/JSDOMWindowBase.cpp:
        (WebCore::JSDOMWindowBase::JSDOMWindowBase):
        * bindings/scripts/CodeGeneratorV8.pm:
        * bindings/scripts/test/V8/V8TestObj.cpp:
        (WebCore::ConfigureV8TestObjTemplate):
        * css/CSSComputedStyleDeclaration.cpp:
        * css/CSSMutableStyleDeclaration.cpp:
        (WebCore::CSSMutableStyleDeclaration::getPropertyValue):
        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseAnimationShorthand):
        (WebCore::CSSParser::parseTransitionShorthand):
        * css/CSSPropertyLonghand.cpp:
        (WebCore::initShorthandMap):
        * dom/ExceptionCode.cpp:
        (WebCore::getExceptionCodeDescription):
        * editing/ApplyStyleCommand.cpp:
        (WebCore::ApplyStyleCommand::removeImplicitlyStyledElement):
        * editing/EditingStyle.cpp:
        * editing/Editor.cpp:
        (WebCore::triStateOfStyle):
        * editing/EditorCommand.cpp:
        (WebCore::createCommandMap):
        * editing/MarkupAccumulator.cpp:
        (WebCore::appendCharactersReplacingEntities):
        * html/canvas/WebGLBuffer.cpp:
        (WebCore::WebGLBuffer::getCachedMaxIndex):
        (WebCore::WebGLBuffer::setCachedMaxIndex):
        * loader/FTPDirectoryParser.cpp:
        (WebCore::parseOneFTPLine):
        * mathml/RenderMathMLOperator.cpp:
        (WebCore::RenderMathMLOperator::updateFromElement):
        * page/animation/AnimationBase.cpp:
        (WebCore::addShorthandProperties):
        * rendering/RenderTextControl.cpp:
        (WebCore::RenderTextControl::hasValidAvgCharWidth):
        * rendering/break_lines.cpp:
        * svg/SVGTransformable.cpp:
        (WebCore::parseAndSkipType):
        * svg/SVGViewSpec.cpp:
        (WebCore::SVGViewSpec::parseViewSpec):
        * svg/SVGZoomAndPan.cpp:
        (WebCore::SVGZoomAndPan::parseZoomAndPan):
        * xml/XPathFunctions.cpp:
        (WebCore::XPath::createFunctionMap):

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

9 years ago2010-11-21 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Sun, 21 Nov 2010 23:03:30 +0000 (23:03 +0000)]
2010-11-21  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [GTK] Implement ROLE_COMBO_BOX
        https://bugs.webkit.org/show_bug.cgi?id=25678

        Implement the remaining bits for combo boxes.

        This patch finishes the implementation, from the point of view of
        the Atk library, of those objects exposed to ATK as combo boxes,
        and their related elements (menus and menu items). It therefore
        implements the proper interfaces for each type of object related
        to combo boxes (AtkSelection for the combo box, AtkText for every
        menu item and AtkAction for the combo box, the menu and the menu
        items), takes care of emitting the proper signals when focus or a
        given a selection changes and adds a new unit test to check all
        this new stuff.

        Make possible to ask an AccessibleMenuListOption for a sensible
        string representation, so far only available through the private
        and MSAA related method nameForMSAA. Just moved the implementation
        of that method to an overriden version of stringValue(), which is
        platform independent, and called that from nameForMSAA().

        * accessibility/AccessibilityMenuListOption.h:
        * accessibility/AccessibilityMenuListOption.cpp:
        (WebCore::AccessibilityMenuListOption::nameForMSAA): Just call to
        stringValue(), which holds from now on that used to be here.
        (WebCore::AccessibilityMenuListOption::stringValue): New, override
        of AccessibilityObject::stringValue() to return a proper string.

        Emit the missing signals when a selection is made.

        * accessibility/gtk/AXObjectCacheAtk.cpp:
        (WebCore::AXObjectCache::postPlatformNotification): Emit the usual
        'focus' signals when a selection is made over the combo box.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (setAtkStateSetFromCoreObject): Ensure the EXPANDABLE and EXPANDED
        Atk states are added to the state set when needed.
        (listObjectForSelection): New, returns the proper list object (the
        one holding the list of available options as its children) for an
        specific AtkObject implementing AtkSelection. This is needed
        because sometimes the selectable options are not directly children
        of the AtkSelection object (i.e. a combo box has a 'menu' object
        as its only child of it, holding the list of options as children).
        (optionFromList): Use listObjectForSelection() to get the actual
        object holding the list of children as the available options.
        (optionFromSelection): Add support for combo boxes.
        (webkit_accessible_selection_add_selection): Ditto.
        (webkit_accessible_selection_clear_selection): Ditto.
        (webkit_accessible_selection_get_selection_count): Ditto.
        (webkit_accessible_selection_is_child_selected): Ditto.
        (webkit_accessible_selection_remove_selection): Ditto.
        (webkit_accessible_text_get_text): Makes sure stringValue() is
        considered to get the result substring when it was already
        considered when checking the maximum text length for the object.
        (getInterfaceMaskFromObject): Make sure the AtkSelection interface
        is implemented for the combo boxes, that the AtkText is
        implemented for the menu items and that the AtkAction interface is
        now implemented for every object (WebCore will decide what to do).

        Avoid a segfault crash when using this from unit tests.

        * platform/gtk/PopupMenuGtk.cpp:
        (WebCore::PopupMenuGtk::show): Make sure we got a valid GdkWindow
        before calling gdk_window_get_origin() over it.
2010-11-21  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [GTK] Implement ROLE_COMBO_BOX
        https://bugs.webkit.org/show_bug.cgi?id=25678

        New test to check the implementation of the combo boxes.

        * tests/testatk.c:
        (testWebkitAtkComboBox): New test, checking that the roles and the
        implemented interfaces for a combo box and its descendants work.
        (main): Added the new unit test.

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

9 years ago2010-11-21 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 21 Nov 2010 17:09:31 +0000 (17:09 +0000)]
2010-11-21  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Use WTF_ARRAY_LENGTH in WebCore/platform directory
        https://bugs.webkit.org/show_bug.cgi?id=49881

        * platform/KURL.cpp:
        (WebCore::portAllowed):
        * platform/KURLGoogle.cpp:
        (WebCore::portAllowed):
        * platform/MIMETypeRegistry.cpp:
        (WebCore::initializeSupportedImageMIMETypes):
        (WebCore::initializeSupportedJavaScriptMIMETypes):
        (WebCore::initializeSupportedNonImageMimeTypes):
        * platform/UUID.cpp:
        (WebCore::createCanonicalUUIDString):
        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::applyEdjeStateFromForm):
        * platform/graphics/GraphicsTypes.cpp:
        * platform/graphics/chromium/FontCacheChromiumWin.cpp:
        (WebCore::FontCodepage::if):
        * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
        * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
        (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):
        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
        (WebCore::disableComponentsOnce):
        * platform/graphics/mac/SimpleFontDataATSUI.mm:
        (WebCore::SimpleFontData::checkShapesArabic):
        * platform/graphics/mac/SimpleFontDataCoreText.cpp:
        (WebCore::SimpleFontData::getCFStringAttributes):
        * platform/graphics/win/GraphicsContextCGWin.cpp:
        (WebCore::GraphicsContext::drawLineForTextChecking):
        * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
        (WebCore::disableComponentsOnce):
        * platform/graphics/win/QTMovie.cpp:
        (QTMovie::load):
        * platform/network/cf/SocketStreamHandleCFNet.cpp:
        (WebCore::SocketStreamHandle::createStreams):
        * platform/text/TextEncodingRegistry.cpp:
        (WebCore::pruneBlacklistedCodecs):
        * platform/text/transcoder/FontTranscoder.cpp:
        (WebCore::FontTranscoder::FontTranscoder):

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

9 years ago2010-11-21 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 21 Nov 2010 13:11:02 +0000 (13:11 +0000)]
2010-11-21  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Add test for unicode plane 1 characters
        https://bugs.webkit.org/show_bug.cgi?id=49581

        * fast/encoding/xml-utf-8-default-expected.txt:
        * fast/encoding/xml-utf-8-default.xml:

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

9 years ago2010-11-20 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Sun, 21 Nov 2010 07:20:24 +0000 (07:20 +0000)]
2010-11-20  Andreas Kling  <kling@webkit.org>

        Rubber-stamped by Antonio Gomes.

        [Qt] Fix spelling error (isEmtpyValue -> isEmptyValue)

        * platform/graphics/qt/FontPlatformDataQt.cpp:
        (WebCore::isEmptyValue):
        (WebCore::FontPlatformData::FontPlatformData):

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

9 years ago2010-11-20 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Sun, 21 Nov 2010 06:44:29 +0000 (06:44 +0000)]
2010-11-20  Andreas Kling  <kling@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Limit the size of image preview "cursor" when dragging
        https://bugs.webkit.org/show_bug.cgi?id=49872

        Respect DragController::maxDragImageSize() (currently 400x400.)

        * platform/qt/DragImageQt.cpp:
        (WebCore::dragImageSize):
        (WebCore::scaleDragImage):

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

9 years ago2010-11-20 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Sun, 21 Nov 2010 06:36:37 +0000 (06:36 +0000)]
2010-11-20  Andreas Kling  <kling@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Dragging a selection should use a rendering of the selection as "cursor" for the drag
        https://bugs.webkit.org/show_bug.cgi?id=49870

        * WebCoreSupport/DragClientQt.cpp:
        (WebCore::DragClientQt::startDrag): Pass the DragImage to QDrag::setPixmap()
2010-11-20  Andreas Kling  <kling@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Dragging a selection should use a rendering of the selection as "cursor" for the drag
        https://bugs.webkit.org/show_bug.cgi?id=49870

        Implement Frame::dragImageForSelection() and the necessary DragImage helpers for Qt.

        * page/qt/FrameQt.cpp:
        (WebCore::Frame::dragImageForSelection):
        * platform/qt/DragImageQt.cpp:
        (WebCore::deleteDragImage):
        (WebCore::createDragImageFromImage):

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

9 years ago2010-11-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Sun, 21 Nov 2010 06:22:14 +0000 (06:22 +0000)]
2010-11-20  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        Remove leftover code in unit test.

        * GNUmakefile.am: remove unneeded utils file in dependency list.
        * tests/testdomdocument.c:
        (main): do not change to the directory of a non existing resource
        list.

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

9 years agoWebCore:
xan@webkit.org [Sun, 21 Nov 2010 06:11:57 +0000 (06:11 +0000)]
WebCore:

2010-11-20  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Memory managament for DOM GObject wrappers
        https://bugs.webkit.org/show_bug.cgi?id=40302

        Initial attempt to have a kind of poor man's garbage collection
        for GObject DOM objects. We tie the object's lifecycle to their
        parent Frame and/or its document; that is, all objects will be
        collected when their parent frame is destroyed or when that frame
        transitions to a new document. Manual management (calling
        g_object_unref on them) is also allowed, and is required for
        objects that are not in the DOM tree (eg NodeLists).

        * GNUmakefile.am:
        * bindings/gobject/DOMObjectCache.cpp: Added.
        * bindings/gobject/DOMObjectCache.h: Copied from WebCore/bindings/gobject/WebKitDOMBinding.h.
        * bindings/gobject/WebKitDOMBinding.cpp: Remove the old cache code.
        * bindings/gobject/WebKitDOMBinding.h: ditto.
        * bindings/scripts/CodeGeneratorGObject.pm: include the new DOMObjectCache header.

WebKit/gtk:

2010-11-20  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Memory managament for DOM GObject wrappers
        https://bugs.webkit.org/show_bug.cgi?id=40302

        Initial attempt to have a kind of poor man's garbage collection
        for GObject DOM objects. We tie the object's lifecycle to their
        parent Frame and/or its document; that is, all objects will be
        collected when their parent frame is destroyed or when that frame
        transitions to a new document. Manual management (calling
        g_object_unref on them) is also allowed, and is required for
        objects that are not in the DOM tree (eg NodeLists).

        * GNUmakefile.am: add testutils file to testdomdocument.c
        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::setMainFrameDocumentReady): collect
        DOM objects on document transition.
        * tests/testdomdocument.c:
        (dom_document_fixture_teardown): only destroy the view if it's not
        already destroyed, since the new test detroys it on its own.
        (test_dom_document_get_elements_by_tag_name): manually unref node list.
        (test_dom_document_get_elements_by_class_name): ditto.
        (test_dom_document_get_links): ditto.
        (test_dom_document_garbage_collection): test all possible
        scenarios for DOM object "garbage collection".
        (main): add new test.
        * tests/testdomnode.c:
        (test_dom_node_hierarchy_navigation): manually unref node list.
        (test_dom_node_insertion): ditto.
        * webkit/webkithittestresult.cpp:
        (webkit_hit_test_result_dispose): unref the inner node on dispose
        now that the memory management model is clarified.
        (webkit_hit_test_result_class_init): hook dispose.
        * webkit/webkitwebframe.cpp:
        (webkit_web_frame_core_frame_gone): clear DOM objects attached to this frame.
        (webkit_web_frame_finalize): ditto.

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

9 years ago2010-11-20 Sam Magnuson <smagnuso@gmail.com>
commit-queue@webkit.org [Sun, 21 Nov 2010 06:03:08 +0000 (06:03 +0000)]
2010-11-20  Sam Magnuson  <smagnuso@gmail.com>

        Reviewed by Andreas Kling.

        [Qt] crash when attempting to add a JS object
        https://bugs.webkit.org/show_bug.cgi?id=49287

        * Api/qwebframe.cpp:
        (QWebFrame::addToJavaScriptWindowObject):

        Test: LayoutTests/fast/frames/sandboxed-iframe-plugins.html

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

9 years ago2010-11-20 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Sun, 21 Nov 2010 04:19:55 +0000 (04:19 +0000)]
2010-11-20  Helder Correia  <helder@sencha.com>

        Reviewed by Andreas Kling.

        [Qt] Path stroke lacks blur shadow support
        https://bugs.webkit.org/show_bug.cgi?id=49490

        Add new test for checking path stroke blur shadow.

        * fast/canvas/canvas-strokePath-shadow-expected.txt: Added.
        * fast/canvas/canvas-strokePath-shadow.html: Added.
        * fast/canvas/script-tests/canvas-strokePath-shadow.js: Added.
2010-11-20  Helder Correia  <helder@sencha.com>

        Reviewed by Andreas Kling.

        [Qt] Path stroke lacks blur shadow support
        https://bugs.webkit.org/show_bug.cgi?id=49490

        Add blur shadow support to strokePath().

        Test: fast/canvas/canvas-strokePath-shadow.html

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::strokePath):

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

9 years agoYARR JIT should fallback to YARR Interpreter instead of PCRE.
barraclough@apple.com [Sun, 21 Nov 2010 02:48:09 +0000 (02:48 +0000)]
YARR JIT should fallback to YARR Interpreter instead of PCRE.
https://bugs.webkit.org/show_bug.cgi?id=46719

Patch by Peter Varga <pvarga@inf.u-szeged.hu> on 2010-11-19
Reviewed by Gavin Barraclough.

Remove the ENABLE_YARR macro and the option of matching regular
expressions with PCRE from JavaScriptCore.

JavaScriptCore:

* runtime/JSGlobalData.h:
* runtime/RegExp.cpp:
(JSC::RegExp::compile):
(JSC::RegExp::match):
* tests/mozilla/expected.html:
* wtf/Platform.h:
* yarr/RegexCompiler.cpp:
* yarr/RegexCompiler.h:
* yarr/RegexInterpreter.cpp:
(JSC::Yarr::byteCompileRegex):
* yarr/RegexInterpreter.h:
* yarr/RegexJIT.cpp:
(JSC::Yarr::jitCompileRegex):
* yarr/RegexJIT.h:
(JSC::Yarr::RegexCodeBlock::RegexCodeBlock):
(JSC::Yarr::RegexCodeBlock::~RegexCodeBlock):
(JSC::Yarr::RegexCodeBlock::getFallback):
(JSC::Yarr::RegexCodeBlock::isFallback):
(JSC::Yarr::RegexCodeBlock::setFallback):
(JSC::Yarr::executeRegex):
* yarr/RegexParser.h:
* yarr/RegexPattern.h:

LayoutTests:

* fast/js/regexp-look-ahead-empty-expected.txt:
* fast/js/regexp-overflow-expected.txt:
* fast/js/script-tests/regexp-overflow.js:
* fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.5_Term/S15.10.2.5_A1_T4-expected.txt:
* fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.8_Atom/S15.10.2.8_A2_T1-expected.txt:
* fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.6/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T6-expected.txt:

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

9 years ago2010-11-20 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Sun, 21 Nov 2010 01:05:23 +0000 (01:05 +0000)]
2010-11-20  Ryosuke Niwa  <rniwa@webkit.org>

        Another unreviewed rebaseline for r72482.

        * editing/selection/extend-selection-home-end-expected.txt:
        * platform/chromium-win/editing/selection/extend-selection-home-end-expected.txt: Added.

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

9 years ago2010-11-20 Kwang Yul Seo <skyul@company100.net>
commit-queue@webkit.org [Sun, 21 Nov 2010 00:27:23 +0000 (00:27 +0000)]
2010-11-20  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by David Kilzer.

        [BREWMP] Replace HTONL, HTONS, NTOHL and NTOHS with byte order conversion functions from AEEstd.h
        https://bugs.webkit.org/show_bug.cgi?id=49518

        HTONL, HTONS, NTOHL and NTOHS macros are prohibited in Mod1. Use byte order conversion functions provided by AEEstd.h.

        * platform/graphics/WOFFFileFormat.cpp:

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

9 years ago2010-11-20 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Sun, 21 Nov 2010 00:16:38 +0000 (00:16 +0000)]
2010-11-20  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed rebaselines for r72482.

        Since Home/End behavior is different on Mac and GTK, move the expected result added by r72482
        to platform/mac and platform/gtk, and add new expected result for other platforms.

        See also: http://trac.webkit.org/changeset/54980 and https://webkit.org/b/35066.

        * editing/selection/extend-selection-home-end-expected.txt:
        * platform/chromium-win/editing/selection/extend-selection-expected.txt: Removed.
        * platform/chromium/test_expectations.txt: Removed extend-selection.html.
        * platform/gtk/Skipped: Ditto.
        * platform/gtk/editing/selection/extend-selection-expected.txt: Removed.
        * platform/gtk/editing/selection/extend-selection-home-end-expected.txt: Added.
        * platform/mac/editing/selection/extend-selection-home-end-expected.txt: Added.
        * platform/qt/Skipped: Removed extend-selection.html.
        * platform/win/editing/selection/extend-selection-expected.txt: Removed.

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

9 years ago2010-11-20 Kwang Yul Seo <skyul@company100.net>
commit-queue@webkit.org [Sat, 20 Nov 2010 23:34:43 +0000 (23:34 +0000)]
2010-11-20  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by David Kilzer.

        [BREWMP] Use std_wstrlen instead of WSTRLEN
        https://bugs.webkit.org/show_bug.cgi?id=49516

        WSTRLEN is prohibited in Mod1. Use std_wstrlen from AEEstd.h instead.

        * platform/text/brew/StringBrew.cpp:
        (WTF::String::String):

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

9 years ago2010-11-20 Kwang Yul Seo <skyul@company100.net>
commit-queue@webkit.org [Sat, 20 Nov 2010 23:32:01 +0000 (23:32 +0000)]
2010-11-20  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by David Kilzer.

        [BREWMP] Replace DBGPRINTF and DBGPRINTF_FATAL with dbg_Message
        https://bugs.webkit.org/show_bug.cgi?id=49520

        DBGPRINTF and DBGPRINTF_FATAL macros are prohibited in Mod1. Use dbg_Message instead.

        * wtf/Assertions.cpp:
        * wtf/Assertions.h:

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

9 years ago2010-11-20 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 20 Nov 2010 23:18:51 +0000 (23:18 +0000)]
2010-11-20  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by David Kilzer.

        [WINCE] Implement textBreakLast and textBreakPrevious
        https://bugs.webkit.org/show_bug.cgi?id=49552

        This allows us to use TextBoundaries.cpp and remove TextBoundariesWinCE.cpp.
        Also unify the different TextBreakIterator::first() implementations.

        * platform/text/wince/TextBoundariesWinCE.cpp: Removed.
        * platform/text/wince/TextBreakIteratorWinCE.cpp:
        (WebCore::TextBreakIterator::first):
        (WebCore::TextBreakIterator::last):
        (WebCore::textBreakLast):
        (WebCore::textBreakPrevious):

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

9 years ago2010-11-19 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Sat, 20 Nov 2010 22:51:50 +0000 (22:51 +0000)]
2010-11-19  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Antonio Gomes.

        /editing/selection/extend-selection.html should be split into smaller tests
        https://bugs.webkit.org/show_bug.cgi?id=49849

        Divided the test into 4 pieces.

        * editing/selection/extend-selection-character-expected.txt: Added.
        * editing/selection/extend-selection-character.html: Added.
        * editing/selection/extend-selection-enclosing-block-expected.txt: Added.
        * editing/selection/extend-selection-enclosing-block.html: Added.
        * editing/selection/extend-selection-expected.txt: Removed.
        * editing/selection/extend-selection-home-end-expected.txt: Added.
        * editing/selection/extend-selection-home-end.html: Added.
        * editing/selection/extend-selection-word-expected.txt: Added.
        * editing/selection/extend-selection-word.html: Added.
        * editing/selection/extend-selection.html: Removed.
        * editing/selection/resources/extend-selection.css: Added.
        (div.test):
        (div.test:before):
        (div.test span):
        (div.test img):
        (div.test img + img):
        (div.test div):
        * editing/selection/resources/extend-selection.js: Added.
        (log):
        (positionsExtendingInDirectionForEnclosingBlock):
        (positionsExtendingInDirection):
        (fold):
        (logPositions):
        (checkReverseOrder):
        (checkSameOrder):
        (extendingSelection):
        (testExtendingSelection):
        (createTestNodes.window.onload):
        (createTestNodes):

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

9 years ago2010-11-20 Gabor Loki <loki@webkit.org>
loki@webkit.org [Sat, 20 Nov 2010 22:02:36 +0000 (22:02 +0000)]
2010-11-20  Gabor Loki  <loki@webkit.org>

        Reviewed by Gavin Barraclough.

        Support JIT_OPTIMIZE_MOD on Thumb-2
        https://bugs.webkit.org/show_bug.cgi?id=49432

        Rewrite the soft modulo operation into macroassembler form, and move it
        to JSValue32_64 section.
        Add support for soft modulo on Thumb-2 JIT also.

        * assembler/ARMv7Assembler.h:
        (JSC::ARMv7Assembler::clz):
        * assembler/MacroAssemblerARM.h:
        (JSC::MacroAssemblerARM::countLeadingZeros32):
        (JSC::MacroAssemblerARM::relativeTableJump):
        * assembler/MacroAssemblerARMv7.h:
        (JSC::MacroAssemblerARMv7::countLeadingZeros32):
        (JSC::MacroAssemblerARMv7::relativeTableJump):
        * jit/JITArithmetic.cpp:
        (JSC::JIT::emit_op_mod):
        * jit/JITOpcodes.cpp:
        (JSC::JIT::privateCompileCTIMachineTrampolines):
        * jit/JITOpcodes32_64.cpp:
        (JSC::JIT::softModulo):
        * jit/JITStubs.cpp:
        (JSC::JITThunks::JITThunks):
        * wtf/Platform.h:

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

9 years agoUnreviewed. Adding failing expectation for Win + Linux for new
jparent@chromium.org [Sat, 20 Nov 2010 21:25:19 +0000 (21:25 +0000)]
Unreviewed.  Adding failing expectation for Win + Linux for new
fast/canvas/canvas-fillPath-shadow test.

* platform/chromium/test_expectations.txt:

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

9 years ago2010-11-20 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Sat, 20 Nov 2010 20:54:24 +0000 (20:54 +0000)]
2010-11-20  Andreas Kling  <kling@webkit.org>

        Reviewed by David Kilzer.

        Path: Remove unused method swap()
        https://bugs.webkit.org/show_bug.cgi?id=49853

        * platform/graphics/Path.h:

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

9 years ago<http://webkit.org/b/49867> MediaPlayerPrivateQTKit::setPreservesPitch(bool) leaks...
ddkilzer@apple.com [Sat, 20 Nov 2010 20:12:14 +0000 (20:12 +0000)]
<webkit.org/b/49867> MediaPlayerPrivateQTKit::setPreservesPitch(bool) leaks an NSDictionary

Reviewed by Dan Bernstein.

* platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivateQTKit::setPreservesPitch): Use
RetainPtr<NSDictionary> for movieAttributes.

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

9 years ago<http://webkit.org/b/49848> Make it possible to display the last character of a secur...
ddkilzer@apple.com [Sat, 20 Nov 2010 18:54:43 +0000 (18:54 +0000)]
<webkit.org/b/49848> Make it possible to display the last character of a secure text field unobscured

Reviewed by Darin Adler.

* JavaScriptCore.exp:
* wtf/text/StringImpl.cpp:
(WTF::StringImpl::secure): Added argument that controls whether
the last character is obscured or not.  Implemented behavior.
* wtf/text/StringImpl.h:
(WTF::StringImpl::LastCharacterBehavior): Added enum.
(WTF::StringImpl::secure): Updated method signature.

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

9 years ago2010-11-20 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 20 Nov 2010 17:40:10 +0000 (17:40 +0000)]
2010-11-20  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        Use String::fromUTF8 instead of UTF8Encoding().decode
        in the libxml XMLDocumentParser
        https://bugs.webkit.org/show_bug.cgi?id=45488

        * dom/XMLDocumentParser.cpp:
        (WebCore::toString):

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

9 years ago2010-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Sat, 20 Nov 2010 17:33:26 +0000 (17:33 +0000)]
2010-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72471.
        http://trac.webkit.org/changeset/72471
        https://bugs.webkit.org/show_bug.cgi?id=49865

        broke two IME tests on Qt (Requested by kling on #webkit).

        * Api/qwebpage.cpp:
        (QWebPagePrivate::inputMethodEvent):
        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::inputMethods):

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

9 years agoFilterPrimitives should have a pointer to its Filter object.
reni@webkit.org [Sat, 20 Nov 2010 14:21:43 +0000 (14:21 +0000)]
FilterPrimitives should have a pointer to its Filter object.
https://bugs.webkit.org/show_bug.cgi?id=49863

Reviewed by Dirk Schulze.

FilterPrimitives should have a renderer, and they need a member pointer to their Filter objects for Layout() calls.
This patch adds this member to FilterEffect.

No new test is needed because these modifications are covered by all of SVG Filter tests.

* platform/graphics/filters/FEBlend.cpp:
(WebCore::FEBlend::FEBlend):
(WebCore::FEBlend::create):
(WebCore::FEBlend::apply):
* platform/graphics/filters/FEBlend.h:
* platform/graphics/filters/FEColorMatrix.cpp:
(WebCore::FEColorMatrix::FEColorMatrix):
(WebCore::FEColorMatrix::create):
(WebCore::FEColorMatrix::apply):
* platform/graphics/filters/FEColorMatrix.h:
* platform/graphics/filters/FEComponentTransfer.cpp:
(WebCore::FEComponentTransfer::FEComponentTransfer):
(WebCore::FEComponentTransfer::create):
(WebCore::FEComponentTransfer::apply):
* platform/graphics/filters/FEComponentTransfer.h:
* platform/graphics/filters/FEComposite.cpp:
(WebCore::FEComposite::FEComposite):
(WebCore::FEComposite::create):
(WebCore::FEComposite::determineAbsolutePaintRect):
(WebCore::FEComposite::apply):
* platform/graphics/filters/FEComposite.h:
* platform/graphics/filters/FEConvolveMatrix.cpp:
(WebCore::FEConvolveMatrix::FEConvolveMatrix):
(WebCore::FEConvolveMatrix::create):
(WebCore::FEConvolveMatrix::apply):
* platform/graphics/filters/FEConvolveMatrix.h:
(WebCore::FEConvolveMatrix::determineAbsolutePaintRect):
* platform/graphics/filters/FEDiffuseLighting.cpp:
(WebCore::FEDiffuseLighting::FEDiffuseLighting):
(WebCore::FEDiffuseLighting::create):
* platform/graphics/filters/FEDiffuseLighting.h:
* platform/graphics/filters/FEDisplacementMap.cpp:
(WebCore::FEDisplacementMap::FEDisplacementMap):
(WebCore::FEDisplacementMap::create):
(WebCore::FEDisplacementMap::apply):
* platform/graphics/filters/FEDisplacementMap.h:
(WebCore::FEDisplacementMap::determineAbsolutePaintRect):
* platform/graphics/filters/FEFlood.cpp:
(WebCore::FEFlood::FEFlood):
(WebCore::FEFlood::create):
(WebCore::FEFlood::apply):
* platform/graphics/filters/FEFlood.h:
(WebCore::FEFlood::determineAbsolutePaintRect):
* platform/graphics/filters/FEGaussianBlur.cpp:
(WebCore::FEGaussianBlur::FEGaussianBlur):
(WebCore::FEGaussianBlur::create):
(WebCore::FEGaussianBlur::determineAbsolutePaintRect):
(WebCore::FEGaussianBlur::apply):
* platform/graphics/filters/FEGaussianBlur.h:
* platform/graphics/filters/FELighting.cpp:
(WebCore::FELighting::FELighting):
(WebCore::FELighting::apply):
* platform/graphics/filters/FELighting.h:
(WebCore::FELighting::determineAbsolutePaintRect):
* platform/graphics/filters/FEMerge.cpp:
(WebCore::FEMerge::FEMerge):
(WebCore::FEMerge::create):
(WebCore::FEMerge::apply):
* platform/graphics/filters/FEMerge.h:
* platform/graphics/filters/FEMorphology.cpp:
(WebCore::FEMorphology::FEMorphology):
(WebCore::FEMorphology::create):
(WebCore::FEMorphology::determineAbsolutePaintRect):
(WebCore::FEMorphology::apply):
* platform/graphics/filters/FEMorphology.h:
* platform/graphics/filters/FEOffset.cpp:
(WebCore::FEOffset::FEOffset):
(WebCore::FEOffset::create):
(WebCore::FEOffset::determineAbsolutePaintRect):
(WebCore::FEOffset::apply):
* platform/graphics/filters/FEOffset.h:
* platform/graphics/filters/FESpecularLighting.cpp:
(WebCore::FESpecularLighting::FESpecularLighting):
(WebCore::FESpecularLighting::create):
* platform/graphics/filters/FESpecularLighting.h:
* platform/graphics/filters/FETile.cpp:
(WebCore::FETile::FETile):
(WebCore::FETile::create):
(WebCore::FETile::apply):
* platform/graphics/filters/FETile.h:
(WebCore::FETile::determineAbsolutePaintRect):
* platform/graphics/filters/FETurbulence.cpp:
(WebCore::FETurbulence::FETurbulence):
(WebCore::FETurbulence::create):
(WebCore::FETurbulence::apply):
* platform/graphics/filters/FETurbulence.h:
(WebCore::FETurbulence::determineAbsolutePaintRect):
* platform/graphics/filters/FilterEffect.cpp:
(WebCore::FilterEffect::FilterEffect):
(WebCore::FilterEffect::determineAbsolutePaintRect):
(WebCore::FilterEffect::effectContext):
* platform/graphics/filters/FilterEffect.h:
(WebCore::FilterEffect::filter):
* platform/graphics/filters/SourceAlpha.cpp:
(WebCore::SourceAlpha::create):
(WebCore::SourceAlpha::determineAbsolutePaintRect):
(WebCore::SourceAlpha::apply):
* platform/graphics/filters/SourceAlpha.h:
(WebCore::SourceAlpha::SourceAlpha):
* platform/graphics/filters/SourceGraphic.cpp:
(WebCore::SourceGraphic::create):
(WebCore::SourceGraphic::determineAbsolutePaintRect):
(WebCore::SourceGraphic::apply):
* platform/graphics/filters/SourceGraphic.h:
(WebCore::SourceGraphic::SourceGraphic):
* rendering/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::buildPrimitives):
(WebCore::RenderSVGResourceFilter::applyResource):
(WebCore::RenderSVGResourceFilter::postApplyResource):
* rendering/RenderSVGResourceFilter.h:
* rendering/SVGRenderTreeAsText.cpp:
(WebCore::writeSVGResourceContainer):
* svg/SVGFEBlendElement.cpp:
(WebCore::SVGFEBlendElement::build):
* svg/SVGFEBlendElement.h:
* svg/SVGFEColorMatrixElement.cpp:
(WebCore::SVGFEColorMatrixElement::build):
* svg/SVGFEColorMatrixElement.h:
* svg/SVGFEComponentTransferElement.cpp:
(WebCore::SVGFEComponentTransferElement::build):
* svg/SVGFEComponentTransferElement.h:
* svg/SVGFECompositeElement.cpp:
(WebCore::SVGFECompositeElement::build):
* svg/SVGFECompositeElement.h:
* svg/SVGFEConvolveMatrixElement.cpp:
(WebCore::SVGFEConvolveMatrixElement::build):
* svg/SVGFEConvolveMatrixElement.h:
* svg/SVGFEDiffuseLightingElement.cpp:
(WebCore::SVGFEDiffuseLightingElement::build):
* svg/SVGFEDiffuseLightingElement.h:
* svg/SVGFEDisplacementMapElement.cpp:
(WebCore::SVGFEDisplacementMapElement::build):
* svg/SVGFEDisplacementMapElement.h:
* svg/SVGFEFloodElement.cpp:
(WebCore::SVGFEFloodElement::build):
* svg/SVGFEFloodElement.h:
* svg/SVGFEGaussianBlurElement.cpp:
(WebCore::SVGFEGaussianBlurElement::build):
* svg/SVGFEGaussianBlurElement.h:
* svg/SVGFEImageElement.cpp:
(WebCore::SVGFEImageElement::build):
* svg/SVGFEImageElement.h:
* svg/SVGFEMergeElement.cpp:
(WebCore::SVGFEMergeElement::build):
* svg/SVGFEMergeElement.h:
* svg/SVGFEMorphologyElement.cpp:
(WebCore::SVGFEMorphologyElement::build):
* svg/SVGFEMorphologyElement.h:
* svg/SVGFEOffsetElement.cpp:
(WebCore::SVGFEOffsetElement::build):
* svg/SVGFEOffsetElement.h:
* svg/SVGFESpecularLightingElement.cpp:
(WebCore::SVGFESpecularLightingElement::build):
* svg/SVGFESpecularLightingElement.h:
* svg/SVGFETileElement.cpp:
(WebCore::SVGFETileElement::build):
* svg/SVGFETileElement.h:
* svg/SVGFETurbulenceElement.cpp:
(WebCore::SVGFETurbulenceElement::build):
* svg/SVGFETurbulenceElement.h:
* svg/SVGFilterPrimitiveStandardAttributes.h:
* svg/graphics/filters/SVGFEImage.cpp:
(WebCore::FEImage::FEImage):
(WebCore::FEImage::create):
(WebCore::FEImage::determineAbsolutePaintRect):
(WebCore::FEImage::apply):
* svg/graphics/filters/SVGFEImage.h:
* svg/graphics/filters/SVGFilterBuilder.cpp:
(WebCore::SVGFilterBuilder::SVGFilterBuilder):
* svg/graphics/filters/SVGFilterBuilder.h:
(WebCore::SVGFilterBuilder::create):

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

9 years ago2010-11-20 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Sat, 20 Nov 2010 10:25:25 +0000 (10:25 +0000)]
2010-11-20  Helder Correia  <helder@sencha.com>

        Reviewed by Andreas Kling.

        [Qt] GraphicsContext::strokeArc() is not necessary any more
        https://bugs.webkit.org/show_bug.cgi?id=49859

        Remove strokeArc() from the Qt port.

        No test is needed.

        * platform/graphics/qt/GraphicsContextQt.cpp:

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

9 years ago2010-11-20 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Sat, 20 Nov 2010 10:09:56 +0000 (10:09 +0000)]
2010-11-20  Helder Correia  <helder@sencha.com>

        Reviewed by Andreas Kling.

        [Qt] Path fill lacks blur shadow support
        https://bugs.webkit.org/show_bug.cgi?id=49491

        Add new test for checking path fill blur shadow.

        * fast/canvas/canvas-fillPath-shadow-expected.txt: Added.
        * fast/canvas/canvas-fillPath-shadow.html: Added.
        * fast/canvas/script-tests/canvas-fillPath-shadow.js: Added.
2010-11-20  Helder Correia  <helder@sencha.com>

        Reviewed by Andreas Kling.

        [Qt] Path fill lacks blur shadow support
        https://bugs.webkit.org/show_bug.cgi?id=49491

        Add blur shadow support to fillPath().

        Test: fast/canvas/canvas-fillPath-shadow.html

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::fillPath):

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

9 years ago2010-11-19 Kristian Amlie <kristian.amlie@nokia.com>
andreas.kling@nokia.com [Sat, 20 Nov 2010 08:15:10 +0000 (08:15 +0000)]
2010-11-19  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Andreas Kling.

        Fixed handling of QInputMethodEvents with nonzero replacementLength.

        These types of events replace text that is already in the widget, but
        WebKit did not check for replacementLength at all.

        Also made sure that the preeditString is always respected, even if
        there is committed text. This is how QLineEdit does it.

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

        * Api/qwebpage.cpp:
        (QWebPagePrivate::inputMethodEvent):
        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::inputMethods):

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

9 years ago2010-11-19 W. James MacLean <wjmaclean@chromium.org>
commit-queue@webkit.org [Sat, 20 Nov 2010 07:56:22 +0000 (07:56 +0000)]
2010-11-19  W. James MacLean  <wjmaclean@chromium.org>

        Reviewed by James Robinson.

        Scaled Resized images are blurred when sent to Skia
        https://bugs.webkit.org/show_bug.cgi?id=42370

        * platform/chromium-linux/svg/custom/image-rescale-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/image-rescale-expected.png: Added.
        * platform/chromium-linux/svg/custom/image-rescale-expected.txt: Added.
        * platform/chromium-linux/svg/custom/image-rescale-scroll-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/image-rescale-scroll-expected.png: Added.
        * platform/chromium-linux/svg/custom/image-rescale-scroll-expected.txt: Added.
        * platform/chromium/test_expectations.txt:
        * platform/mac/svg/custom/image-rescale-expected.checksum: Added.
        * platform/mac/svg/custom/image-rescale-expected.png: Added.
        * platform/mac/svg/custom/image-rescale-expected.txt: Added.
        * platform/mac/svg/custom/image-rescale-scroll-expected.checksum: Added.
        * platform/mac/svg/custom/image-rescale-scroll-expected.png: Added.
        * platform/mac/svg/custom/image-rescale-scroll-expected.txt: Added.
        * platform/mac/test_expectations.txt:
        * svg/custom/image-rescale-scroll.html: Added.
        * svg/custom/image-rescale.svg: Added.
        * svg/custom/resources/image-rescale.jpg: Added.
2010-11-19  W. James MacLean  <wjmaclean@chromium.org>

        Reviewed by James Robinson.

        Scaled Resized images are blurred when sent to Skia
        https://bugs.webkit.org/show_bug.cgi?id=42370

        This patch modifies ImageSkia.cpp to fix the calculation of resampled
        bitmap sizes so as to include the transform matrix of the canvas.
        Includes a new test to catch a regression that occured the first time
        this patch was applied.

        Tests: svg/custom/image-rescale-scroll.html
               svg/custom/image-rescale.svg

        * platform/graphics/skia/ImageSkia.cpp:
        (WebCore::computeResamplingMode):
        (WebCore::drawResampledBitmap):

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

9 years ago2010-11-19 Jia Pu <jpu@apple.com>
commit-queue@webkit.org [Sat, 20 Nov 2010 07:25:54 +0000 (07:25 +0000)]
2010-11-19  Jia Pu  <jpu@apple.com>

        Reviewed by Dan Bernstein.

        Regression: contraction is considered misspelling.
        https://bugs.webkit.org/show_bug.cgi?id=49423
        <rdar://problem/8654206>

        * platform/mac-leopard/Skipped:
        * platform/mac-snowleopard/Skipped:
        * platform/mac-tiger/Skipped:
        * platform/mac-wk2/Skipped:
        * platform/mac/editing/spelling/autocorrection-contraction-expected.checksum: Added.
        * platform/mac/editing/spelling/autocorrection-contraction-expected.png: Added.
        * platform/mac/editing/spelling/autocorrection-contraction-expected.txt: Added.
        * platform/mac/editing/spelling/autocorrection-contraction.html: Added.
2010-11-19  Jia Pu  <jpu@apple.com>

        Reviewed by Dan Bernstein.

        Regression: contraction is considered misspelling.
        https://bugs.webkit.org/show_bug.cgi?id=49423
        <rdar://problem/8654206>

        Test: platform/mac/editing/spelling/autocorrection-contraction.html
              manual-tests/autocorrection/autocorrection-contraction.html

        * editing/Editor.cpp:
        (WebCore::isAmbiguousBoundaryCharacter): Moved function to the top of the file so that it can
          be used by all other functions in the file.
        (WebCore::Editor::markMisspellingsAfterTypingToWord): Renamed markMisspellingsAfterTypingToPosition()
          to improve readability, and to pass in additional argument. Before we apply pending
          autocorrection, we check to see if currently typed character makes current word a partial
          contraction, for instance "wouldn'". If that's the case, we would not apply the pending
          correction.
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): Make sure currently typed word
          is not a partial contraction, such as "wouldn'", before mark it as misspelled. Also update
          the location of ambiguous boundary if other replacements have changed the length of the
          paragraph.
        * editing/Editor.h:
        * editing/TypingCommand.cpp:
        (WebCore::TypingCommand::markMisspellingsAfterTyping): Adopt renamed function.
        * manual-tests/autocorrection/autocorrection-contraction.html: Added.

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

9 years ago2010-11-19 Zalan Bujtas <zbujtas@gmail.com>
commit-queue@webkit.org [Sat, 20 Nov 2010 06:27:25 +0000 (06:27 +0000)]
2010-11-19  Zalan Bujtas  <zbujtas@gmail.com>

        Reviewed by Andreas Kling.

        WebUIClient::createNewPage() expects a retained WKPageRef.
        https://bugs.webkit.org/show_bug.cgi?id=48549

        * UIProcess/API/qt/ClientImpl.cpp:
        (qt_wk_createNewPage):

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

9 years ago2010-11-19 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Sat, 20 Nov 2010 05:48:04 +0000 (05:48 +0000)]
2010-11-19  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Transition and animation do not work with QWebView anymore
        https://bugs.webkit.org/show_bug.cgi?id=49797

        Accelerated compositing should not be enabled on QWebView without
        texture mapper.

        * WebCoreSupport/PageClientQt.h:
        (WebCore::PageClientQWidget::allowsAcceleratedCompositing):

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

9 years ago2010-11-19 Yi Shen <yi.4.shen@nokia.com>
commit-queue@webkit.org [Sat, 20 Nov 2010 05:20:29 +0000 (05:20 +0000)]
2010-11-19  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] Memory leak in QWebInspector
        https://bugs.webkit.org/show_bug.cgi?id=49765

        Delete QWebInspectorPrivate in ~QWebInspector()

        * Api/qwebinspector.cpp:
        (QWebInspector::~QWebInspector):

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

9 years ago2010-11-19 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Sat, 20 Nov 2010 04:51:48 +0000 (04:51 +0000)]
2010-11-19  Andreas Kling  <kling@webkit.org>

        Reviewed by Antonio Gomes.

        ScrollView: Make delegatesScrolling() and avoidScrollbarCreation() const.
        https://bugs.webkit.org/show_bug.cgi?id=49854

        * page/FrameView.cpp:
        (WebCore::FrameView::delegatesScrolling):
        (WebCore::FrameView::avoidScrollbarCreation):
        * page/FrameView.h:
        * platform/ScrollView.h:
        (WebCore::ScrollView::delegatesScrolling):
        (WebCore::ScrollView::avoidScrollbarCreation):

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

9 years ago2010-11-19 William Chan <willchan@chromium.org>
commit-queue@webkit.org [Sat, 20 Nov 2010 04:40:32 +0000 (04:40 +0000)]
2010-11-19  William Chan  <willchan@chromium.org>

        Reviewed by David Levin.

        Add USE(CHROMIUM_NET)

        Indicates the use of Chromium's network stack.  Chromium's network
        stack performs better when it has full view of all resource requests,
        so USE(CHROMIUM_NET) can be used to bypass throttles.

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

        * wtf/Platform.h:

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

9 years agoTouch file to force build.
sfalken@apple.com [Sat, 20 Nov 2010 03:24:38 +0000 (03:24 +0000)]
Touch file to force build.

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

9 years ago2010-11-19 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Sat, 20 Nov 2010 03:09:47 +0000 (03:09 +0000)]
2010-11-19  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: scripts panel should be shown before execution line is scrolled into view.
        https://bugs.webkit.org/show_bug.cgi?id=49792

        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.debuggerPaused):

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

9 years agoAdd a didFail WKContextDownloadClient callback
andersca@apple.com [Sat, 20 Nov 2010 02:20:27 +0000 (02:20 +0000)]
Add a didFail WKContextDownloadClient callback
https://bugs.webkit.org/show_bug.cgi?id=49847

Reviewed by Sam Weinig.

* UIProcess/API/C/WKContext.h:
Add didFail callback.

* UIProcess/Downloads/DownloadProxy.cpp:
(WebKit::DownloadProxy::didFail):
Call WebDownloadClient::didFail.

* UIProcess/WebDownloadClient.cpp:
(WebKit::WebDownloadClient::didFail):
Call the didFail client function.

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

9 years ago2010-11-19 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Sat, 20 Nov 2010 02:12:00 +0000 (02:12 +0000)]
2010-11-19  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Tony Chang.

        Rebaseline server: checksum-only differences and prefetching
        https://bugs.webkit.org/show_bug.cgi?id=49841

        Add support for image test results where the only difference is in the
        checksum.

        Add prefetching of the image results from the next test.

        * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
        * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
        * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:

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

9 years ago2010-11-19 James Simonsen <simonjam@chromium.org>
commit-queue@webkit.org [Sat, 20 Nov 2010 01:52:03 +0000 (01:52 +0000)]
2010-11-19  James Simonsen  <simonjam@chromium.org>

        Reviewed by Tony Chang.

        [chromium] Fix whitespace character handling in complex text on linux
        https://bugs.webkit.org/show_bug.cgi?id=49771

        * platform/chromium-linux/fast/text/international/bidi-linebreak-001-expected.checksum: Remove null glyph from expected output.
        * platform/chromium-linux/fast/text/international/bidi-linebreak-001-expected.png: Ditto.
        * platform/chromium-linux/fast/text/international/bidi-linebreak-001-expected.txt: Ditto.
        * platform/chromium-linux/fast/text/international/bidi-linebreak-002-expected.checksum: Ditto.
        * platform/chromium-linux/fast/text/international/bidi-linebreak-002-expected.png: Ditto.
        * platform/chromium-linux/fast/text/international/bidi-linebreak-002-expected.txt: Ditto.
        * platform/chromium-linux/fast/text/international/bidi-linebreak-003-expected.checksum: Ditto.
        * platform/chromium-linux/fast/text/international/bidi-linebreak-003-expected.png: Ditto.
        * platform/chromium-linux/fast/text/international/bidi-linebreak-003-expected.txt: Ditto.
        * platform/chromium-linux/fast/text/wide-zero-width-space-expected.checksum: Added. Now passes on Linux.
        * platform/chromium-linux/fast/text/wide-zero-width-space-expected.png: Added.
        * platform/chromium-linux/fast/text/wide-zero-width-space-expected.txt: Added.
        * platform/chromium/test_expectations.txt: Removed LINUX from wide-zero-width-space.
2010-11-19  James Simonsen  <simonjam@chromium.org>

        Reviewed by Tony Chang.

        [chromium] Fix whitespace character handling in complex text on linux
        https://bugs.webkit.org/show_bug.cgi?id=49771

        * platform/graphics/SimpleFontData.h:
        (WebCore::SimpleFontData::isZeroWidthSpaceGlyph): Added.
        (WebCore::SimpleFontData::boundsForGlyph): Use isZeroWidthSpaceGlyph().
        (WebCore::SimpleFontData::widthForGlyph): Use isZeroWidthSpaceGlyph().
        * platform/graphics/chromium/FontLinux.cpp:
        (WebCore::TextRunWalker::nextScriptRun): Cache currently used font data.
        (WebCore::TextRunWalker::setGlyphXPositions): Skip zero width spaces.
        (WebCore::TextRunWalker::normalizeSpacesAndMirrorChars): Normalize zero width spaces.
        (WebCore::TextRunWalker::getNormalizedTextRun):

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

9 years ago2010-11-19 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sat, 20 Nov 2010 01:49:50 +0000 (01:49 +0000)]
2010-11-19  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        nrwt multiprocessing - add 'worker number' concept, move stuff to worker thread

        Add the 'worker number' and 'worker name' concepts to the
        TestShellThread objects, and move test_types and test_args from
        the TestRunner to the TestShellThread.

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

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

9 years ago2010-11-19 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sat, 20 Nov 2010 01:48:12 +0000 (01:48 +0000)]
2010-11-19  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        Do some minor cleanup and bug fixing.

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

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

9 years agoExtend sandbox when downloading files
andersca@apple.com [Sat, 20 Nov 2010 01:43:52 +0000 (01:43 +0000)]
Extend sandbox when downloading files
https://bugs.webkit.org/show_bug.cgi?id=49844

Reviewed by Sam Weinig.

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

* UIProcess/Downloads/DownloadProxy.cpp:
(WebKit::DownloadProxy::decideDestinationWithSuggestedFilename):
Create a sandbox extension handle if necessary.

* UIProcess/Downloads/DownloadProxy.messages.in:
Add a sandbox extension handle out parameter to the DecideDestinationWithSuggestedFilename message.

* WebProcess/Downloads/Download.cpp:
(WebKit::Download::decideDestinationWithSuggestedFilename):
Create and consume the returned sandbox extension handle.

(WebKit::Download::didFinish):
(WebKit::Download::didFail):
Invalidate the sandbox extension handles.

* WebProcess/Downloads/mac/DownloadMac.mm:
(-[WKDownloadAsDelegate download:shouldDecodeSourceDataOfMIMEType:]):
Whoops, fix inverted logic.

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

9 years ago2010-11-19 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sat, 20 Nov 2010 01:39:32 +0000 (01:39 +0000)]
2010-11-19  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        nrwt - config.build_directory() is busted

        Fixes a typo that was causing us to usually return the top level
        directory WebKitBuild instead of WebKitBuild/{Debug,Release}. The
        bug was hidden by test stubs that were too simplistic :(.

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

        * Scripts/webkitpy/common/system/executive_mock.py:
        * Scripts/webkitpy/layout_tests/port/config.py:
        * Scripts/webkitpy/layout_tests/port/config_unittest.py:

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

9 years ago2010-11-19 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Sat, 20 Nov 2010 01:15:17 +0000 (01:15 +0000)]
2010-11-19  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
        https://bugs.webkit.org/show_bug.cgi?id=49819

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops:
        * JavaScriptCore.vcproj/jsc/jsc.vcproj:
        * JavaScriptCore.vcproj/testapi/testapi.vcproj:
2010-11-19  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
        https://bugs.webkit.org/show_bug.cgi?id=49819

        * WebKit.vcproj/Interfaces.vcproj:
        * WebKit.vcproj/WebKit.sln:
        * WebKit.vcproj/WebKit.vcproj:
        * WebKit.vcproj/WebKitGUID.vcproj:
2010-11-19  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
        https://bugs.webkit.org/show_bug.cgi?id=49819

        * WebCore.vcproj/QTMovieWin.vcproj:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.vcproj/WebCoreGenerated.vcproj:
2010-11-19  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
        https://bugs.webkit.org/show_bug.cgi?id=49819

        * DumpRenderTree/DumpRenderTree.sln:
        * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
        * DumpRenderTree/win/DumpRenderTree.vcproj:
        * DumpRenderTree/win/ImageDiff.vcproj:
        * FindSafari/FindSafari.vcproj:
        * MiniBrowser/MiniBrowser.vcproj:
        * TestWebKitAPI/win/TestWebKitAPI.sln:
        * TestWebKitAPI/win/TestWebKitAPI.vcproj:
        * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
        * WebKitAPITest/WebKitAPITest.vcproj:
        * WebKitLauncherWin/WebKitLauncherWin.vcproj:
        * WebKitTestRunner/win/InjectedBundle.vcproj:
        * WebKitTestRunner/win/InjectedBundleGenerated.vcproj:
        * WebKitTestRunner/win/WebKitTestRunner.vcproj:
        * WinLauncher/WinLauncher.vcproj:
        * record-memory-win/record-memory-win.vcproj:
2010-11-19  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
        https://bugs.webkit.org/show_bug.cgi?id=49819

        * win/WebKit2.vcproj:
        * win/WebKit2Generated.vcproj:
        * win/WebKit2WebProcess.vcproj:
        * win/WebKit2WebProcessCommon.vsprops:

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

9 years agoAdd Lucas De Marchi's blog to Planet WebKit
aroben@apple.com [Sat, 20 Nov 2010 00:40:25 +0000 (00:40 +0000)]
Add Lucas De Marchi's blog to Planet WebKit

Reviewed by Jon Honeycutt.

* config.ini:

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

9 years agoAdd some more Windows slaves
aroben@apple.com [Sat, 20 Nov 2010 00:33:17 +0000 (00:33 +0000)]
Add some more Windows slaves

This is probably more than we will be using in the immediate future,
but having some extra slave names makes experimenting with different
configurations easier.

Reviewed by Jon Honeycutt.

* BuildSlaveSupport/build.webkit.org-config/config.json: Added 5 more
Windows slaves and distributed them among the three different Test
builders.

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

9 years agoMore of <rdar://problem/8613727> and https://bugs.webkit.org/show_bug.cgi?id=49836
beidson@apple.com [Sat, 20 Nov 2010 00:32:57 +0000 (00:32 +0000)]
More of <rdar://problem/8613727> and https://bugs.webkit.org/show_bug.cgi?id=49836
Add WebKit2 API relevant to customization of context menus

Reviewed by Darin Adler.

* WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
(WKBundleFrameAllowsFollowingLink):
* WebProcess/InjectedBundle/API/c/WKBundleFrame.h:

* WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::allowsFollowingLink):
* WebProcess/WebPage/WebFrame.h:

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

9 years ago2010-11-19 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Sat, 20 Nov 2010 00:24:55 +0000 (00:24 +0000)]
2010-11-19  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium/Mac rebaseline.

        Rebaseline tests in fast/events that have different scrollbar rendering.

        * platform/chromium-mac/fast/events/autoscroll-expected.checksum: Added.
        * platform/chromium-mac/fast/events/autoscroll-expected.png: Added.
        * platform/chromium-mac/fast/events/pointer-events-2-expected.checksum: Added.
        * platform/chromium-mac/fast/events/pointer-events-2-expected.png: Added.
        * platform/chromium-mac/fast/events/reveal-link-when-focused-expected.checksum: Added.
        * platform/chromium-mac/fast/events/reveal-link-when-focused-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-11-19 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Sat, 20 Nov 2010 00:21:04 +0000 (00:21 +0000)]
2010-11-19  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium/Mac rebaseline.

        Rebaseline tests in fast/frames that have different scrollbar rendering.

        * platform/chromium-mac/fast/frames/frame-scrolling-attribute-expected.checksum: Added.
        * platform/chromium-mac/fast/frames/frame-scrolling-attribute-expected.png: Added.
        * platform/chromium-mac/fast/frames/iframe-scrolling-attribute-expected.checksum: Added.
        * platform/chromium-mac/fast/frames/iframe-scrolling-attribute-expected.png: Added.
        * platform/chromium-mac/fast/frames/invalid-expected.checksum: Added.
        * platform/chromium-mac/fast/frames/invalid-expected.png: Added.
        * platform/chromium-mac/fast/frames/valid-expected.checksum: Added.
        * platform/chromium-mac/fast/frames/valid-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-11-19 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Sat, 20 Nov 2010 00:13:25 +0000 (00:13 +0000)]
2010-11-19  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium/Mac rebaseline of transforms/2d/zoom-menulist.html.

        * platform/chromium-mac/transforms/2d/zoom-menulist-expected.checksum: Added.
        * platform/chromium-mac/transforms/2d/zoom-menulist-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-11-19 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Sat, 20 Nov 2010 00:05:27 +0000 (00:05 +0000)]
2010-11-19  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update.

        http/tests/loading/bad-server-subframe.html had chromium-win baselines
        that made it fail consistently on Windows and Linux. It should pass with
        the regular upstream baselines.

        * platform/chromium-win/http/tests/loading/bad-server-subframe-expected.txt: Removed.
        * platform/chromium/test_expectations.txt:

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

9 years ago<rdar://problem/8613727> and https://bugs.webkit.org/show_bug.cgi?id=49836
beidson@apple.com [Fri, 19 Nov 2010 23:41:02 +0000 (23:41 +0000)]
<rdar://problem/8613727> and https://bugs.webkit.org/show_bug.cgi?id=49836
Add WebKit2 API relevant to customization of context menus

Reviewed by Darin Adler.

WebCore:

* WebCore.exp.in:

WebKit2:

Most of this is just exposing already-existing concepts in API.

* Shared/API/c/WKURLRequest.cpp:
(WKURLRequestCreateWithWKURL):
* Shared/API/c/WKURLRequest.h:

* Shared/WebURLRequest.cpp:
(WebKit::WebURLRequest::create):
* Shared/WebURLRequest.h:

* WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp:
(WKBundleHitTestResultCopyAbsoluteImageURL):
(WKBundleHitTestResultCopyAbsoluteMediaURL):
(WKBundleHitTestResultGetImageRect):
(WKBundleHitTestResultGetIsSelected):
* WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.h:

* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageHasLocalDataForURL):
(WKBundlePageCanHandleRequest):
* WebProcess/InjectedBundle/API/c/WKBundlePage.h:

* WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:
(WebKit::InjectedBundleHitTestResult::absoluteImageURL):
(WebKit::InjectedBundleHitTestResult::absoluteMediaURL):
(WebKit::InjectedBundleHitTestResult::imageRect):
(WebKit::InjectedBundleHitTestResult::isSelected):
* WebProcess/InjectedBundle/InjectedBundleHitTestResult.h:

* WebProcess/WebPage/WebContextMenu.cpp:
(WebKit::WebContextMenu::show):

* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::hasLocalDataForURL):
(WebKit::WebPage::canHandleRequest):
* WebProcess/WebPage/qt/WebPageQt.cpp:
(WebKit::WebPage::hasLocalDataForURL): Stubbed for now.
(WebKit::WebPage::canHandleRequest): Ditto.
* WebProcess/WebPage/win/WebPageWin.cpp:
(WebKit::WebPage::hasLocalDataForURL): Ditto.
(WebKit::WebPage::canHandleRequest): Ditto.

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

9 years ago2010-11-19 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Fri, 19 Nov 2010 23:08:28 +0000 (23:08 +0000)]
2010-11-19  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by Ojan Vafai.

        [Chromium] REGRESSION: Record actual test results in the JSON result summary for non-layout tests
        https://bugs.webkit.org/show_bug.cgi?id=49702

        Re-landing r72357 with a test fix.

        * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:

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

9 years agoNot reviewed, adding TIMEOUT for inspector/styles-disable-then-delete.html.
jparent@chromium.org [Fri, 19 Nov 2010 22:59:24 +0000 (22:59 +0000)]
Not reviewed, adding TIMEOUT for inspector/styles-disable-then-delete.html.

* platform/chromium/test_expectations.txt:

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

9 years ago2010-11-19 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Fri, 19 Nov 2010 22:59:14 +0000 (22:59 +0000)]
2010-11-19  Michael Saboff  <msaboff@apple.com>

        Reviewed by Sam Weinig

        Remove DOMSVGAnimatedPathData.h from all: target to fix build.

        * MigrateHeaders.make:

2010-11-19  Michael Saboff  <msaboff@apple.com>

        Reviewed by Sam Weinig

        Remove DOMSVGAnimatedPathData.h from all: target to fix build.

        * MigrateHeaders.make:

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

9 years ago2010-11-19 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Fri, 19 Nov 2010 22:40:12 +0000 (22:40 +0000)]
2010-11-19  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Don't check for constant registers when we can guarantee that the register won't be in the constant pool
        https://bugs.webkit.org/show_bug.cgi?id=49814

        Add uncheckedR(int) to CallFrame, and replace all the uses of r() with uncheckedR()
        when we can guarantee that the register is not referring to a constant.
        This makes the interpreter about 0.5% faster, and makes the CallFrame initialisation
        logic correct when we're using a faked callframe (as in the case of the globalExec).

        * bytecode/CodeBlock.cpp:
        (JSC::CodeBlock::createActivation):
        * debugger/DebuggerCallFrame.cpp:
        (JSC::DebuggerCallFrame::thisObject):
        * interpreter/CallFrame.h:
        (JSC::ExecState::uncheckedR):
        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::resolve):
        (JSC::Interpreter::resolveSkip):
        (JSC::Interpreter::resolveGlobal):
        (JSC::Interpreter::resolveGlobalDynamic):
        (JSC::Interpreter::resolveBase):
        (JSC::Interpreter::resolveBaseAndProperty):
        (JSC::Interpreter::callEval):
        (JSC::Interpreter::unwindCallFrame):
        (JSC::Interpreter::throwException):
        (JSC::Interpreter::execute):
        (JSC::Interpreter::executeCall):
        (JSC::Interpreter::executeConstruct):
        (JSC::Interpreter::prepareForRepeatCall):
        (JSC::Interpreter::createExceptionScope):
        (JSC::Interpreter::privateExecute):
        * jit/JITStubs.cpp:
        (JSC::DEFINE_STUB_FUNCTION):
        * runtime/JSActivation.cpp:
        (JSC::JSActivation::argumentsGetter):

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

9 years ago2010-11-19 Avi Drissman <avi@google.com>
commit-queue@webkit.org [Fri, 19 Nov 2010 22:37:06 +0000 (22:37 +0000)]
2010-11-19  Avi Drissman  <avi@google.com>

        Reviewed by Antonio Gomes.

        Complete support for Unix editing mode
        https://bugs.webkit.org/show_bug.cgi?id=49757

        * page/Settings.cpp:
        (WebCore::Settings::Settings):
        * page/Settings.h:
2010-11-19  Avi Drissman  <avi@google.com>

        Reviewed by Antonio Gomes.

        Complete support for Unix editing mode
        https://bugs.webkit.org/show_bug.cgi?id=49757

        * DumpRenderTree/LayoutTestController.cpp:
        (setEditingBehaviorCallback):
        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::setEditingBehavior):

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

9 years ago2010-11-19 Darin Adler <darin@apple.com>
darin@apple.com [Fri, 19 Nov 2010 22:23:24 +0000 (22:23 +0000)]
2010-11-19  Darin Adler  <darin@apple.com>

        Reviewed by Sam Weinig.

        Need a way to clear disk cache from WebContext
        https://bugs.webkit.org/show_bug.cgi?id=49820

        * UIProcess/API/C/WKContext.cpp:
        (WKContextClearResourceCaches): Added.
        (WKContextClearApplicationCache): Added.
        * UIProcess/API/C/WKContext.h:
        * UIProcess/WebContext.cpp:
        (WebKit::WebContext::clearResourceCaches): Added.
        (WebKit::WebContext::clearApplicationCache): Added.
        * UIProcess/WebContext.h:
        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::clearResourceCaches): Added.
        (WebKit::WebProcess::clearApplicationCache): Added.
        * WebProcess/WebProcess.h:
        * WebProcess/WebProcess.messages.in: Added messages.
        * WebProcess/mac/WebProcessMac.mm:
        (WebKit::WebProcess::platformClearResourceCaches): Added.
        * WebProcess/qt/WebProcessQt.cpp:
        (WebKit::WebProcess::platformClearResourceCaches): Added.
        * WebProcess/win/WebProcessWin.cpp:
        (WebKit::WebProcess::platformClearResourceCaches): Added.

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

9 years ago2010-11-19 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 19 Nov 2010 22:22:55 +0000 (22:22 +0000)]
2010-11-19  Zhenyao Mo  <zmo@google.com>

        Unreviewed, update webgl test expectations.

        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium/test_expectations.txt:
        * platform/mac-snowleopard/Skipped:

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

9 years agoImplement support for loading local files
andersca@apple.com [Fri, 19 Nov 2010 22:15:14 +0000 (22:15 +0000)]
Implement support for loading local files
https://bugs.webkit.org/show_bug.cgi?id=49828
<rdar://problem/8447121>

Reviewed by Sam Weinig.

* UIProcess/WebPageProxy.cpp:
(WebKit::initializeSandboxExtensionHandle):
Given an URL, create a sandbox extension if it's a local file URL.

(WebKit::WebPageProxy::loadURL):
(WebKit::WebPageProxy::loadURLRequest):
Pass along sandbox extension handles to the LoadURL and LoadURLRequest messages.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
Call SandboxExtensionTracker::didStartProvisionalLoad.

(WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
Call SandboxExtensionTracker::didCommitProvisionalLoad.

(WebKit::WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
Call SandboxExtensionTracker::didFailProvisionalLoad.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::~WebPage):
Invalidate the sandbox extension tracker.

(WebKit::WebPage::close):
Invalidate the sandbox extension tracker.

(WebKit::WebPage::loadURL):
(WebKit::WebPage::loadURLRequest):
Pass the sandbox extension handle to the sandbox extension tracker.

(WebKit::WebPage::SandboxExtensionTracker::~SandboxExtensionTracker):
Invalidate the sandbox extension tracker.

(WebKit::WebPage::SandboxExtensionTracker::invalidate):
invalidate ell the sandbox extensions.

(WebKit::WebPage::SandboxExtensionTracker::beginLoad):
Create a sandbox extension and store it as the "pending provisional extension".

(WebKit::WebPage::SandboxExtensionTracker::didStartProvisionalLoad):
Consume the pending provisional extension and make it the provisional extension.

(WebKit::WebPage::SandboxExtensionTracker::didCommitProvisionalLoad):
Invalidate the committed extension and make the provisional extension the committed extension.

(WebKit::WebPage::SandboxExtensionTracker::didFailProvisionalLoad):
Invalidate the provisional extension.

* WebProcess/WebPage/WebPage.messages.in:
Add SandboxExtension::Handle parameters to LoadURL and LoadURLRequest.

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

9 years ago2010-11-19 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 19 Nov 2010 22:14:55 +0000 (22:14 +0000)]
2010-11-19  Zhenyao Mo  <zmo@google.com>

        Unreviewed, update webgl test expectations.

        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-11-19 Ilya Sherman <isherman@chromium.org>
commit-queue@webkit.org [Fri, 19 Nov 2010 22:13:55 +0000 (22:13 +0000)]
2010-11-19  Ilya Sherman  <isherman@chromium.org>

        Reviewed by Darin Fisher.

        Expose default value of maxLength in Chromium API
        https://bugs.webkit.org/show_bug.cgi?id=49723

        * public/WebInputElement.h: Added constant defaultMaximumLength
        * src/WebInputElement.cpp:

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