WebKit-https.git
8 years agoMore SVG rebaselining.
dpranke@chromium.org [Fri, 30 Mar 2012 20:21:35 +0000 (20:21 +0000)]
More SVG rebaselining.

Unreviewed, new baselines and expectations, for:

svg/W3C-SVG-1.1/animate-elem-37-t.svg
svg/W3C-SVG-1.1/animate-elem-81-t.svg
svg/W3C-SVG-1.1/animate-elem-82-t.svg
svg/W3C-SVG-1.1/animate-elem-83-t.svg
svg/W3C-SVG-1.1/struct-frag-02-t.svg
svg/W3C-SVG-1.1/text-align-05-b.svg
svg/text/text-align-05-b.svg
svg/zoom/page/zoom-coords-viewattr-01-b.svg
svg/zoom/text/zoom-coords-viewattr-01-b.svg
svg/W3C-SVG-1.1/types-basicDOM-01-b.svg

* platform/chromium-linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt: Removed.
* platform/chromium-mac/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
* platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-37-t-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt:
* platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt:
* platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt:
* platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt:
* platform/chromium-win/svg/W3C-SVG-1.1/struct-frag-02-t-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/struct-frag-02-t-expected.txt:
* platform/chromium-win/svg/W3C-SVG-1.1/text-align-05-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/text-align-05-b-expected.txt:
* platform/chromium-win/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png:
* platform/chromium-win/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
* platform/chromium-win/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt:
* platform/chromium/test_expectations.txt:

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

8 years ago[BlackBerry] Make sure strings do not leak in PluginViewBlackberry.
commit-queue@webkit.org [Fri, 30 Mar 2012 20:19:22 +0000 (20:19 +0000)]
[BlackBerry] Make sure strings do not leak in PluginViewBlackberry.
https://bugs.webkit.org/show_bug.cgi?id=82764

Update PluginViewBlackBerry to follow the changes in
BlackBerry::Platform::Window which now returns std::string instead of char* for
strings. Also copy the windowGroup and rootGroup strings in PluginViewPrivate
instead of just saving a pointer to the returned memory, which could become
invalid at any time.

Patch by Joe Mason <jmason@rim.com> on 2012-03-30
Reviewed by Rob Buis.

* plugins/blackberry/PluginViewBlackBerry.cpp:
(WebCore::PluginView::setNPWindowIfNeeded):
(WebCore::PluginView::platformGetValue):
(WebCore::PluginView::platformDestroy):
* plugins/blackberry/PluginViewPrivateBlackBerry.h:
(PluginViewPrivate):

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

8 years agoAnother build fix.
andersca@apple.com [Fri, 30 Mar 2012 20:03:10 +0000 (20:03 +0000)]
Another build fix.

* WebCore.xcodeproj/project.pbxproj:

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

8 years agoAdd new renderer for circles and ellipses
ossy@webkit.org [Fri, 30 Mar 2012 19:56:45 +0000 (19:56 +0000)]
Add new renderer for circles and ellipses
https://bugs.webkit.org/show_bug.cgi?id=80423

One more unreviewed gardening after r112667.

* platform/qt-5.0/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt:
* platform/qt/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.txt:

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

8 years agoUnreviewed, expectations updates for Lion, Linux for some SVG tests.
dpranke@chromium.org [Fri, 30 Mar 2012 19:31:54 +0000 (19:31 +0000)]
Unreviewed, expectations updates for Lion, Linux for some SVG tests.

* platform/chromium-linux-x86/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Removed.
* platform/chromium-linux/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Removed.
* platform/chromium-linux/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-01-t-expected.png: Added.
* platform/chromium-linux/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.png: Added.
* platform/chromium-linux/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.png: Added.
* platform/chromium-mac-leopard/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.txt: Removed.
* platform/chromium-mac-leopard/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.txt: Removed.
* platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Removed.
* platform/chromium-mac/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.txt: Copied from LayoutTests/platform/chromium-win/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.txt.
* platform/chromium-mac/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
* platform/chromium-mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.txt: Removed.
* platform/chromium-mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.txt: Removed.
* platform/chromium-mac/svg/custom/viewbox-syntax-expected.txt:
* platform/chromium-mac/svg/zoom/text/zoom-coords-viewattr-01-b-expected.png: Added.
* platform/chromium-mac/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt: Added.
* platform/chromium-win-vista/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Removed.
* platform/chromium-win-xp/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Removed.
* platform/chromium-win/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.txt:
* platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Removed.
* platform/chromium-win/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
* platform/chromium-win/svg/custom/viewbox-syntax-expected.txt:
* platform/chromium/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt.
* platform/chromium/test_expectations.txt:

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

8 years agoFix build.
andersca@apple.com [Fri, 30 Mar 2012 19:22:24 +0000 (19:22 +0000)]
Fix build.

* page/scrolling/mac/ScrollingTreeMac.mm:

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

8 years agoChromium garden-o-matic rebaselines for expected failures.
ojan@chromium.org [Fri, 30 Mar 2012 19:06:53 +0000 (19:06 +0000)]
Chromium garden-o-matic rebaselines for expected failures.
Most of these are one of the following:
-text-rendering differences
-anti-aliasing differences
-form control/scrollbar rendering
-different error messages from V8 vs. JSC
-Mac bots paint repaint shadow at a slightly different shade

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

8 years ago[chromium] Flaky animation unit test CCLayerTreeHostTestSynchronizeAnimationStartTimes
commit-queue@webkit.org [Fri, 30 Mar 2012 19:05:59 +0000 (19:05 +0000)]
[chromium] Flaky animation unit test CCLayerTreeHostTestSynchronizeAnimationStartTimes
https://bugs.webkit.org/show_bug.cgi?id=82731

Patch by Ian Vollick <vollick@chromium.org> on 2012-03-30
Reviewed by James Robinson.

* tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::CCLayerTreeHostTestSynchronizeAnimationStartTimes):
(WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::animateLayers):
(CCLayerTreeHostTestSynchronizeAnimationStartTimes):
(WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::notifyAnimationStarted):

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

8 years agoShow a scrolling indicator light when compositing borders are turned on
andersca@apple.com [Fri, 30 Mar 2012 18:59:49 +0000 (18:59 +0000)]
Show a scrolling indicator light when compositing borders are turned on
https://bugs.webkit.org/show_bug.cgi?id=82758
<rdar://problem/11143892>

Reviewed by Andreas Kling.

Source/WebCore:

With this change, turning on compositing borders also turn on a tiny indicator in the top left corner.
This indicator uses color coding to show where wheel events are handled and where the scroll layer position is updated:

  - Green means that both wheel events and scroll layer position updates are handled on the scrolling thread.
  - Yellow means that wheel events need to be dispatched to the main thread (due to wheel event handlers), but that scroll layer position
    updates still happen on the scrolling thread.
  - Red means that scroll layer position updates happen on the main thread (due to background-attachment: fixed or fixed position objects).

* WebCore.exp.in:
* WebCore.xcodeproj/project.pbxproj:
* page/scrolling/ScrollingTree.cpp:
(WebCore::ScrollingTree::commitNewTreeState):
Call updateDebugRootLayer().

* page/scrolling/ScrollingTreeNode.h:
(WebCore::ScrollingTreeNode::shouldUpdateScrollLayerPositionOnMainThread):
Make this public.

(ScrollingTreeNode):
* page/scrolling/mac/ScrollingTreeMac.mm: Added.
(WebCore::ScrollingTree::setDebugRootLayer):
Set up a new debug info sublayer.

(WebCore::ScrollingTree::updateDebugRootLayer):
Update the debug root layer background color based on the scrolling tree state.

Source/WebKit2:

* WebProcess/WebPage/DrawingArea.h:
(WebKit::DrawingArea::updatePreferences):
Add a hook for letting drawing area subclasses know when preferences change.

* WebProcess/WebPage/WebPage.cpp:
Call DrawingArea::updatePreferences.

(WebKit::WebPage::updatePreferences):
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::TiledCoreAnimationDrawingArea):
Call updatePreferences.

(WebKit::TiledCoreAnimationDrawingArea::updatePreferences):
If compositing borders are enabled, create a debug root layer and tell the scrolling tree about it.

(WebKit::TiledCoreAnimationDrawingArea::setRootCompositingLayer):
If we have a debug root layer, make sure it's in front.

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

8 years agoWeb Inspector: CodeGeneratorInspector.py: add missing runtime assert method for Inspe...
vsevik@chromium.org [Fri, 30 Mar 2012 18:54:04 +0000 (18:54 +0000)]
Web Inspector: CodeGeneratorInspector.py: add missing runtime assert method for InspectorObject
https://bugs.webkit.org/show_bug.cgi?id=82753

Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-03-30
Reviewed by Vsevolod Vlasov.

Type validator generator is extended to support missing InspectorObject type and
made more accurate for "int" type.

Strict types are enabled for 2 more domains.

* inspector/CodeGeneratorInspector.py:
(RawTypes.BaseType.generate_validate_method):
(RawTypes.String.get_validate_method_params.ValidateMethodParams):
(RawTypes.Int):
(RawTypes.Int.generate_validate_method):
(RawTypes.Int.get_raw_validator_call_text):
(RawTypes.Number.get_validate_method_params.ValidateMethodParams):
(RawTypes.Bool.get_validate_method_params.ValidateMethodParams):
(RawTypes.Object.get_validate_method_params.ValidateMethodParams):
(RawTypes.Object.get_validate_method_params):
(TypeBindings.create_type_declaration_.ClassBinding.request_internal_runtime_cast):
(PlainObjectBinding.request_internal_runtime_cast):
(PlainObjectBinding.get_validator_call_text):
(ArrayBinding.request_internal_runtime_cast):

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

8 years agoFix a typo in the Skipped list.
simon.fraser@apple.com [Fri, 30 Mar 2012 18:49:40 +0000 (18:49 +0000)]
Fix a typo in the Skipped list.

* platform/mac/Skipped:

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

8 years agoSkip some more failing/timing-out tests.
simon.fraser@apple.com [Fri, 30 Mar 2012 18:44:58 +0000 (18:44 +0000)]
Skip some more failing/timing-out tests.

* platform/mac/Skipped:

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

8 years ago[chromium] assertion being hit in CCLayerAnimationController
commit-queue@webkit.org [Fri, 30 Mar 2012 18:39:43 +0000 (18:39 +0000)]
[chromium] assertion being hit in CCLayerAnimationController
https://bugs.webkit.org/show_bug.cgi?id=82237

Patch by Ian Vollick <vollick@chromium.org> on 2012-03-30
Reviewed by James Robinson.

Source/WebCore:

Animations are no longer pushed to the impl thread if they have already completed.

Tested in CCLayerAnimationControllerTest.doNotSyncFinishedAnimation

* platform/graphics/chromium/cc/CCLayerAnimationController.cpp:
(WebCore::CCLayerAnimationController::pushNewAnimationsToImplThread):

Source/WebKit/chromium:

* tests/CCLayerAnimationControllerTest.cpp:
(WebKitTests::TEST):
(WebKitTests):

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

8 years agoBuild fix after r112699.
rniwa@webkit.org [Fri, 30 Mar 2012 18:32:18 +0000 (18:32 +0000)]
Build fix after r112699.

* css/StylePropertySet.cpp:
(WebCore::StylePropertySet::findPropertyWithId):

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

8 years agoAdd a compile assert for the size of CSSProperty
rniwa@webkit.org [Fri, 30 Mar 2012 18:27:16 +0000 (18:27 +0000)]
Add a compile assert for the size of CSSProperty
https://bugs.webkit.org/show_bug.cgi?id=82756

Reviewed by Andreas Kling.

Add a compile assert to ensure CSSProperty instances stay small.

Also make member variables of CSSProperty private as they should have been,
and extract wrapValueInCommaSeparatedList from createFontFaceRule.

* css/CSSParser.cpp:
(WebCore::CSSParser::createFontFaceRule):
* css/CSSProperty.cpp:
(SameSizeAsCSSProperty):
(WebCore):
(WebCore::CSSProperty::wrapValueInCommaSeparatedList):
* css/CSSProperty.h:
(CSSProperty):

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

8 years ago2012-03-30 Chang Shu <cshu@webkit.org>
chang.shu@nokia.com [Fri, 30 Mar 2012 18:24:18 +0000 (18:24 +0000)]
2012-03-30  Chang Shu  <cshu@webkit.org>

        Unreviewed. Update my email.

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

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

8 years agoLet there be a clean xcodeproj.
rniwa@webkit.org [Fri, 30 Mar 2012 18:20:30 +0000 (18:20 +0000)]
Let there be a clean xcodeproj.

* WebCore.xcodeproj/project.pbxproj:

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

8 years agoUnreviewed rebaseline after r112436
shawnsingh@chromium.org [Fri, 30 Mar 2012 18:13:11 +0000 (18:13 +0000)]
Unreviewed rebaseline after r112436

* platform/chromium-linux/compositing/reflections/nested-reflection-on-overflow-expected.png:
* platform/chromium-mac-leopard/compositing/reflections/nested-reflection-on-overflow-expected.png:
* platform/chromium-mac-snowleopard/compositing/reflections/nested-reflection-on-overflow-expected.png:
* platform/chromium-mac/compositing/reflections/nested-reflection-on-overflow-expected.png:
* platform/chromium-win/compositing/reflections/nested-reflection-on-overflow-expected.png:
* platform/chromium/test_expectations.txt:

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

8 years ago[Chromium] Unreviewed Chromium Mac build fix.
apavlov@chromium.org [Fri, 30 Mar 2012 18:09:29 +0000 (18:09 +0000)]
[Chromium] Unreviewed Chromium Mac build fix.

* src/WebDevToolsAgentPrivate.h:
(WebKit):

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

8 years agoAX: Crash at WebCore::renderObjectContainsPosition(WebCore::RenderObject*, WebCore...
cfleizach@apple.com [Fri, 30 Mar 2012 18:07:27 +0000 (18:07 +0000)]
AX: Crash at WebCore::renderObjectContainsPosition(WebCore::RenderObject*, WebCore::Position const&)
https://bugs.webkit.org/show_bug.cgi?id=82745

Reviewed by Simon Fraser.

Source/WebCore:

Test: platform/mac/accessibility/range-for-position.html

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

Tools:

* DumpRenderTree/AccessibilityUIElement.cpp:
(rangeForPositionCallback):
(AccessibilityUIElement::rangeForPosition):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
(AccessibilityUIElement):
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::rangeForPosition):
* WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
(WTR::AccessibilityUIElement::rangeForPosition):
* WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
(AccessibilityUIElement):
* WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
* WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
(WTR::AccessibilityUIElement::rangeForPosition):
(WTR):

LayoutTests:

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

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

8 years ago[Chromium] Unreviewed, rebaseline part of expectations after r112667 using garden...
apavlov@chromium.org [Fri, 30 Mar 2012 18:02:13 +0000 (18:02 +0000)]
[Chromium] Unreviewed, rebaseline part of expectations after r112667 using garden-o-matic (224 files affected).

* platform/chromium-linux-x86/svg/: [...]
* platform/chromium-linux/svg/: [...]
* platform/chromium-mac-leopard/svg/: [...]
* platform/chromium-mac-snowleopard/svg/: [...]
* platform/chromium-mac/svg/: [...]
* platform/chromium-win-vista/svg/: [...]
* platform/chromium-win-xp/svg/: [...]
* platform/chromium-win/svg/: [...]
* platform/chromium/svg/hixie/shapes/path/001-expected.txt: Renamed from LayoutTests/platform/chromium-win/svg/hixie/shapes/path/001-expected.txt.
* platform/chromium/svg/stroke/zero-length-arc-linecaps-rendering-expected.txt:
* platform/gtk/svg/hixie/perf/001-expected.txt: Removed.
* platform/gtk/svg/hixie/perf/002-expected.txt: Removed.
* platform/gtk/svg/hixie/shapes/path/001-expected.txt: Removed.
* platform/mac-snowleopard/svg/custom/object-sizing-no-width-height-expected.png: Removed.
* svg/hixie/mixed/004-expected.txt: Renamed from LayoutTests/platform/qt/svg/hixie/mixed/004-expected.txt.
* svg/hixie/mixed/005-expected.txt: Renamed from LayoutTests/platform/qt/svg/hixie/mixed/005-expected.txt.
* svg/hixie/perf/001-expected.txt: Renamed from LayoutTests/platform/efl/svg/hixie/perf/001-expected.txt.
* svg/hixie/perf/002-expected.txt: Renamed from LayoutTests/platform/efl/svg/hixie/perf/002-expected.txt.
* svg/hixie/shapes/path/001-expected.txt: Renamed from LayoutTests/platform/efl/svg/hixie/shapes/path/001-expected.txt.

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

8 years agoCertain emoji characters should not be displayed in user-visible URL strings.
sullivan@apple.com [Fri, 30 Mar 2012 18:00:41 +0000 (18:00 +0000)]
Certain emoji characters should not be displayed in user-visible URL strings.
<https://bugs.webkit.org/show_bug.cgi?id=82739>
<rdar://problem/9205643>

Reviewed by Alexey Proskuryakov

* platform/mac/WebCoreNSURLExtras.mm:
(WebCore::isLookalikeCharacter):
Added five emoji characters to the list.

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

8 years agoWeb Inspector: [Chromium] Implement Chromium-specific part of the device metrics...
apavlov@chromium.org [Fri, 30 Mar 2012 17:54:03 +0000 (17:54 +0000)]
Web Inspector: [Chromium] Implement Chromium-specific part of the device metrics emulation
https://bugs.webkit.org/show_bug.cgi?id=82612

This change implements the Chromium-specific code for overriding the device metrics, such as screen size
(by setting the FrameView size) and font zoom factor (necessary for certain emulated devices,)
and for painting the gutter overlay covering the WebView area not occupied by the associated FrameView.

Reviewed by Pavel Feldman.

* src/InspectorClientImpl.cpp:
(WebKit::InspectorClientImpl::canOverrideDeviceMetrics):
(WebKit):
(WebKit::InspectorClientImpl::overrideDeviceMetrics):
(WebKit::InspectorClientImpl::autoZoomPageToFitWidth):
* src/InspectorClientImpl.h:
(InspectorClientImpl):
* src/WebDevToolsAgentImpl.cpp:
(OverlayZOrders):
(DeviceMetricsSupport):
(WebKit::DeviceMetricsSupport::DeviceMetricsSupport):
(WebKit::DeviceMetricsSupport::~DeviceMetricsSupport):
(WebKit::DeviceMetricsSupport::setDeviceMetrics):
(WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
(WebKit::DeviceMetricsSupport::applySizeOverrideIfNecessary):
(WebKit::DeviceMetricsSupport::restore):
(WebKit::DeviceMetricsSupport::applySizeOverrideInternal):
(WebKit::DeviceMetricsSupport::paintPageOverlay):
(WebKit::DeviceMetricsSupport::frameView):
(WebKit):
(WebKit::WebDevToolsAgentImpl::mainFrameViewCreated):
(WebKit::WebDevToolsAgentImpl::metricsOverridden):
(WebKit::WebDevToolsAgentImpl::overrideDeviceMetrics):
(WebKit::WebDevToolsAgentImpl::autoZoomPageToFitWidth):
(WebKit::WebDevToolsAgentImpl::highlight):
* src/WebDevToolsAgentImpl.h:
(WebCore):
(WebKit):
(WebDevToolsAgentImpl):
* src/WebDevToolsAgentPrivate.h:
(WebKit):
(WebDevToolsAgentPrivate):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::createFrameView):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::resize):
(WebKit::WebViewImpl::setZoomLevel):
(WebKit::WebViewImpl::setEmulatedTextZoomFactor):
(WebKit):
(WebKit::WebViewImpl::updateLayerTreeViewport):
* src/WebViewImpl.h:
(WebViewImpl):
(WebKit::WebViewImpl::emulatedTextZoomFactor):

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

8 years agoSkip some more failing tests.
simon.fraser@apple.com [Fri, 30 Mar 2012 17:53:28 +0000 (17:53 +0000)]
Skip some more failing tests.

* platform/mac/Skipped:

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

8 years agoSkip fast/css/font-face-data-uri.html which is flaky.
simon.fraser@apple.com [Fri, 30 Mar 2012 17:37:20 +0000 (17:37 +0000)]
Skip fast/css/font-face-data-uri.html which is flaky.
Tracked by https://bugs.webkit.org/show_bug.cgi?id=82744

* platform/mac/Skipped:

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

8 years agoSkip a test, tracked by https://bugs.webkit.org/show_bug.cgi?id=82743.
simon.fraser@apple.com [Fri, 30 Mar 2012 17:35:16 +0000 (17:35 +0000)]
Skip a test, tracked by https://bugs.webkit.org/show_bug.cgi?id=82743.

* platform/mac/Skipped:

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

8 years agoSkip two lineboxcontain tests. Tracked by
simon.fraser@apple.com [Fri, 30 Mar 2012 17:31:33 +0000 (17:31 +0000)]
Skip two lineboxcontain tests. Tracked by
https://bugs.webkit.org/show_bug.cgi?id=82742

* platform/mac/Skipped:

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

8 years agoSplit up top-level .gitignore and .gitattributes
commit-queue@webkit.org [Fri, 30 Mar 2012 17:17:03 +0000 (17:17 +0000)]
Split up top-level .gitignore and .gitattributes
https://bugs.webkit.org/show_bug.cgi?id=82687

Patch by David Barr <davidbarr@chromium.org> on 2012-03-30
Reviewed by Tor Arne Vestbø.

.:

Jeff King <peff@peff.net> suggested this on the git mailing list.
http://article.gmane.org/gmane.comp.version-control.git/194294
He reported a 1.6 times speed up for 'git status'.

* .gitattributes:
* .gitignore:
* ManualTests/.gitattributes: Added.
* Source/.gitignore: Added.
* Websites/.gitattributes: Added.

PerformanceTests:

* .gitattributes: Added.

Source/JavaScriptCore:

* JavaScriptCore.gyp/.gitignore: Added.

Source/Platform:

* Platform.gyp/.gitignore: Added.

Source/ThirdParty:

* glu/.gitignore: Added.

Source/WebCore:

No new tests, source control administrivia.

* .gitattributes: Added.
* WebCore.gyp/.gitignore: Added.

Source/WebKit/chromium:

* .gitignore: Added.

Source/WTF:

* WTF.gyp/.gitignore: Added.

Tools:

* .gitattributes: Added.
* .gitignore: Added.
* DumpRenderTree/DumpRenderTree.gyp/.gitignore: Added.
* TestWebKitAPI/TestWebKitAPI.gyp/.gitignore: Added.

LayoutTests:

* .gitattributes: Added.
* .gitignore: Added.

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

8 years agopass alpha directly to player, rather than creating a layer (for performance)
reed@google.com [Fri, 30 Mar 2012 17:08:51 +0000 (17:08 +0000)]
pass alpha directly to player, rather than creating a layer (for performance)
https://bugs.webkit.org/show_bug.cgi?id=82360

Reviewed by Stephen White.

Performance change, existing webkit tests apply.

* public/WebMediaPlayer.h:
(WebMediaPlayer):
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::paintCurrentFrameInContext):

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

8 years ago[WinCE] Correct <wtf/*.h> include paths.
paroga@webkit.org [Fri, 30 Mar 2012 16:53:54 +0000 (16:53 +0000)]
[WinCE] Correct <wtf/*.h> include paths.
https://bugs.webkit.org/show_bug.cgi?id=82713

Reviewed by Eric Seidel.

Modify the #include declarations for several WinCE-related files
so that the wtf types are included using the full path.

Source/WebCore:

* platform/graphics/wince/ImageBufferWinCE.cpp:

Source/WebKit/wince:

* WebView.cpp:
* WebView.h:

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

8 years agoWindows (make based) build fix.
sfalken@apple.com [Fri, 30 Mar 2012 16:47:35 +0000 (16:47 +0000)]
Windows (make based) build fix.

* JavaScriptCore.vcproj/JavaScriptCore.make: Copy WTF header files into a place where JavaScriptCore build can see them.

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

8 years agoWeb Inspector: ScriptsNavigator scripts selection/focus polish.
vsevik@chromium.org [Fri, 30 Mar 2012 16:39:02 +0000 (16:39 +0000)]
Web Inspector: ScriptsNavigator scripts selection/focus polish.
https://bugs.webkit.org/show_bug.cgi?id=82732

Reviewed by Pavel Feldman.

Script could be selected by space in ScriptsNavigator now.
This patch also polishes focus behavior when using ScriptsNavigator.

* inspector/front-end/ScriptsNavigator.js:
(WebInspector.ScriptsNavigator.prototype._scriptSelected): Added focusSource param to give clients possibility to release focus.
(WebInspector.NavigatorScriptTreeElement.prototype.onspace): Added script selection on space pressed.
(WebInspector.NavigatorScriptTreeElement.prototype._onclick):
(WebInspector.NavigatorScriptTreeElement.prototype.onenter):
* inspector/front-end/ScriptsPanel.js: _hideNavigatorOverlay moved to the end of events processing to set focus correctly.
(WebInspector.ScriptsPanel.prototype._editorSelected):
(WebInspector.ScriptsPanel.prototype._fileSelected):
(WebInspector.ScriptsPanel.prototype._hideNavigatorOverlay):
* inspector/front-end/treeoutline.js:
(TreeOutline.prototype._treeKeyDown): onspace event added.

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

8 years agoremove unneeded copies of SkPaths, remove unneeded save/restore
reed@google.com [Fri, 30 Mar 2012 16:33:11 +0000 (16:33 +0000)]
remove unneeded copies of SkPaths, remove unneeded save/restore
https://bugs.webkit.org/show_bug.cgi?id=82641

Reviewed by Stephen White.

Performance change, existing webkit tests apply.

* platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::clipOut):
(WebCore::GraphicsContext::clipPath):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::strokePath):

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

8 years agoActually remove the ChromiumOS GTK builder, like r112673 said it would.
mihaip@chromium.org [Fri, 30 Mar 2012 16:31:14 +0000 (16:31 +0000)]
Actually remove the ChromiumOS GTK builder, like r112673 said it would.

* TestResultServer/static-dashboards/builders.js:

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

8 years agoWeb Inspector: undo-ing edit that consists of a Tab does not work.
pfeldman@chromium.org [Fri, 30 Mar 2012 16:24:35 +0000 (16:24 +0000)]
Web Inspector: undo-ing edit that consists of a Tab does not work.
https://bugs.webkit.org/show_bug.cgi?id=82733

Reviewed by Vsevolod Vlasov.

Source/WebCore:

We should never modify the range returned by the edit operation manually.
And we should clone ranges that get into the model so that subsequent edits
don't mutate them.

Drive-by: restore selection after undo via selecting all the text that undo
operation produced.

Test: inspector/editor/text-editor-undo-redo.html

* inspector/front-end/TextEditorModel.js:
(WebInspector.TextEditorModel.endsWithBracketRegex.):
* inspector/front-end/TextViewer.js:

LayoutTests:

* inspector/editor/text-editor-undo-redo-expected.txt: Added.
* inspector/editor/text-editor-undo-redo.html: Added.

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

8 years agoUpdate ChromiumOS bot names in builders.js to reflect changes made by
mihaip@chromium.org [Fri, 30 Mar 2012 16:23:45 +0000 (16:23 +0000)]
Update ChromiumOS bot names in builders.js to reflect changes made by
http://crrev.com/129835

Also removes the ChromiumOS GTK builder, which was removed by
http://crrev.com/129835

* TestResultServer/static-dashboards/builders.js:

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

8 years ago[GTK] Disable introspection build in the at-spi2-core module.
commit-queue@webkit.org [Fri, 30 Mar 2012 16:18:39 +0000 (16:18 +0000)]
[GTK] Disable introspection build in the at-spi2-core module.
https://bugs.webkit.org/show_bug.cgi?id=82729

Patch by Vineet Chaudhary <rgf748@motorola.com> on 2012-03-30
Reviewed by Philippe Normand.

This change is a follow-up of bug 82395 which initially disabled for other modules of the set.

* gtk/jhbuild.modules: Disable introspection.

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

8 years agoAdd new renderer for circles and ellipses
ossy@webkit.org [Fri, 30 Mar 2012 16:00:29 +0000 (16:00 +0000)]
Add new renderer for circles and ellipses
https://bugs.webkit.org/show_bug.cgi?id=80423

Unreviewed gardening after r112667.

* platform/qt/svg/ [...] : Updated.

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

8 years ago[wx] Implement Gradient and ImageBuffer support.
kevino@webkit.org [Fri, 30 Mar 2012 15:57:26 +0000 (15:57 +0000)]
[wx] Implement Gradient and ImageBuffer support.
https://bugs.webkit.org/show_bug.cgi?id=82710

Reviewed by Kevin Ollivier.

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

8 years ago[Qt] Find zoomable area using area-based hit-testing
commit-queue@webkit.org [Fri, 30 Mar 2012 15:47:04 +0000 (15:47 +0000)]
[Qt] Find zoomable area using area-based hit-testing
https://bugs.webkit.org/show_bug.cgi?id=82609

Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-03-30
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Implement API for calculating the best zoomable area for a
tap-to-zoom gesture.
It picks the area with the largest intersection with the touch. In most
cases this will be all areas fully containing the area, and returns the
smallest inner-most of these.

* page/EventHandler.cpp:
(WebCore::EventHandler::bestZoomableAreaForTouchPoint):
* page/EventHandler.h:
* page/TouchAdjustment.cpp:
(WebCore::TouchAdjustment::nodeIsZoomTarget):
(WebCore::TouchAdjustment::appendZoomableSubtargets):
(WebCore::TouchAdjustment::compileZoomableSubtargets):
(WebCore::TouchAdjustment::areaOfIntersection):
(WebCore::TouchAdjustment::findAreaWithLargestIntersection):
(WebCore::findBestZoomableArea):
* page/TouchAdjustment.h:
* platform/graphics/IntSize.h:
(WebCore::IntSize::area):

Source/WebKit2:

Add area to findZoomableAreaForPoint and use new TOUCH_ADJUSTMENT
code-path to find the best zoomable area.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::findZoomableAreaForPoint):
* UIProcess/WebPageProxy.h:
(WebPageProxy):
* UIProcess/qt/QtWebPageEventHandler.cpp:
(QtWebPageEventHandler::handleDoubleTapEvent):
* WebProcess/WebPage/WebPage.cpp:
(WebKit):
(WebKit::WebPage::findZoomableAreaForPoint):
* WebProcess/WebPage/WebPage.h:
(WebPage):
* WebProcess/WebPage/WebPage.messages.in:

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

8 years agoWeb Inspector: do not issue attributes modified event if actual values were not changed.
pfeldman@chromium.org [Fri, 30 Mar 2012 15:44:38 +0000 (15:44 +0000)]
Web Inspector: do not issue attributes modified event if actual values were not changed.
https://bugs.webkit.org/show_bug.cgi?id=82726

Reviewed by Yury Semikhatsky.

Source/WebCore:

When style attribute is invalidated, we re-fetch the attributes values. There is no
point in further dispatching attrs modified event if model stays the same.

Test: inspector/elements/edit-style-attribute.html

* inspector/front-end/DOMAgent.js:
(WebInspector.DOMNode.prototype._setAttributesPayload):
(WebInspector.DOMAgent.prototype._loadNodeAttributes):

LayoutTests:

* inspector/elements/edit-style-attribute-expected.txt: Added.
* inspector/elements/edit-style-attribute.html: Added.

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

8 years agoAdd new renderer for circles and ellipses
schenney@chromium.org [Fri, 30 Mar 2012 15:37:16 +0000 (15:37 +0000)]
Add new renderer for circles and ellipses
https://bugs.webkit.org/show_bug.cgi?id=80423

Patch by Philip Rogers <pdr@google.com> on 2012-03-30
Reviewed by Eric Seidel.

Source/WebCore:

This patch introduces a special renderer for SVGCircleElements
and SVGEllipseElements to avoid having to use the slower path
rendering code. This patch includes optimized circle code for
the CG platform, and hooks (GC::fillEllipse, GC::strokeEllipse)
are available for other platforms as well.

Tests: svg/hittest/svg-ellipse-non-scale-stroke.xhtml
       svg/hittest/svg-ellipse.xhtml

Added a test to exercise hit testing on an ellipse, and on
an ellipse's stroke, to make sure the formulae in this patch
are correct.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContext::fillEllipse):
(WebCore):
(WebCore::GraphicsContext::strokeEllipse):
(WebCore::GraphicsContext::fillEllipseAsPath):
(WebCore::GraphicsContext::strokeEllipseAsPath):
(WebCore::GraphicsContext::platformFillEllipse):
(WebCore::GraphicsContext::platformStrokeEllipse):
* platform/graphics/GraphicsContext.h:
(GraphicsContext):
* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::platformFillEllipse):
(WebCore):
(WebCore::GraphicsContext::platformStrokeEllipse):
* platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::platformFillEllipse):
(WebCore):
(WebCore::GraphicsContext::platformStrokeEllipse):
* rendering/svg/RenderSVGAllInOne.cpp:
* rendering/svg/RenderSVGEllipse.cpp: Added.
(WebCore):
(WebCore::RenderSVGEllipse::RenderSVGEllipse):
(WebCore::RenderSVGEllipse::~RenderSVGEllipse):
(WebCore::RenderSVGEllipse::createShape):
(WebCore::RenderSVGEllipse::calculateRadiiAndCenter):
(WebCore::RenderSVGEllipse::objectBoundingBox):
(WebCore::RenderSVGEllipse::strokeBoundingBox):
(WebCore::RenderSVGEllipse::fillShape):
(WebCore::RenderSVGEllipse::strokeShape):
(WebCore::RenderSVGEllipse::shapeDependentStrokeContains):
(WebCore::RenderSVGEllipse::shapeDependentFillContains):
* rendering/svg/RenderSVGEllipse.h: Added.
(WebCore):
(RenderSVGEllipse):
(WebCore::RenderSVGEllipse::isSVGEllipse):
(WebCore::RenderSVGEllipse::renderName):
(WebCore::RenderSVGEllipse::isEmpty):
* svg/SVGCircleElement.cpp:
(WebCore::SVGCircleElement::svgAttributeChanged):
(WebCore):
(WebCore::SVGCircleElement::createRenderer):
* svg/SVGCircleElement.h:
(SVGCircleElement):
* svg/SVGEllipseElement.cpp:
(WebCore::SVGEllipseElement::svgAttributeChanged):
(WebCore::SVGEllipseElement::createRenderer):
(WebCore):
* svg/SVGEllipseElement.h:
(SVGEllipseElement):

LayoutTests:

* platform/chromium/test_expectations.txt:
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/struct-use-11-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-28-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-30-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-32-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-39-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/color-prop-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/color-prop-02-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/color-prop-03-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/filters-felem-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/filters-offset-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/interact-order-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/interact-order-02-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/linking-a-04-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/painting-marker-01-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/shapes-circle-02-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/shapes-ellipse-02-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/struct-frag-02-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/struct-frag-03-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/struct-frag-04-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/styling-css-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/styling-pres-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/text-align-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/text-align-05-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.txt:
* platform/mac/svg/as-image/img-preserveAspectRatio-support-1-expected.txt:
* platform/mac/svg/as-image/img-preserveAspectRatio-support-2-expected.txt:
* platform/mac/svg/as-object/object-box-sizing-no-width-height-expected.txt:
* platform/mac/svg/as-object/svg-embedded-in-html-in-iframe-expected.txt:
* platform/mac/svg/batik/masking/maskRegions-expected.txt:
* platform/mac/svg/batik/paints/patternPreserveAspectRatioA-expected.txt:
* platform/mac/svg/batik/paints/patternRegions-expected.txt:
* platform/mac/svg/batik/paints/patternRegions-positioned-objects-expected.txt:
* platform/mac/svg/batik/text/verticalText-expected.txt:
* platform/mac/svg/carto.net/button-expected.txt:
* platform/mac/svg/clip-path/clip-in-mask-expected.txt:
* platform/mac/svg/clip-path/clip-path-child-clipped-expected.txt:
* platform/mac/svg/clip-path/clip-path-evenodd-nonzero-expected.txt:
* platform/mac/svg/clip-path/clip-path-nonzero-evenodd-expected.txt:
* platform/mac/svg/clip-path/clip-path-nonzero-expected.txt:
* platform/mac/svg/clip-path/clip-path-pixelation-expected.txt:
* platform/mac/svg/clip-path/clip-path-transform-1-expected.txt:
* platform/mac/svg/clip-path/clip-path-use-as-child2-expected.txt:
* platform/mac/svg/clip-path/clip-path-use-as-child3-expected.txt:
* platform/mac/svg/clip-path/clip-path-use-as-child4-expected.txt:
* platform/mac/svg/clip-path/clip-path-use-as-child5-expected.txt:
* platform/mac/svg/clip-path/clip-path-with-different-unittypes-expected.txt:
* platform/mac/svg/clip-path/clip-path-with-different-unittypes2-expected.txt:
* platform/mac/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt:
* platform/mac/svg/clip-path/deep-nested-clip-in-mask-expected.txt:
* platform/mac/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt:
* platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt:
* platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt:
* platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt:
* platform/mac/svg/css/shadow-changes-expected.txt:
* platform/mac/svg/custom/absolute-sized-content-with-resources-expected.txt:
* platform/mac/svg/custom/circle-move-invalidation-expected.txt:
* platform/mac/svg/custom/circular-marker-reference-2-expected.txt:
* platform/mac/svg/custom/clone-element-with-animated-svg-properties-expected.txt:
* platform/mac/svg/custom/dasharrayOrigin-expected.txt:
* platform/mac/svg/custom/focus-ring-expected.txt:
* platform/mac/svg/custom/getscreenctm-in-scrollable-div-area-expected.txt:
* platform/mac/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.txt:
* platform/mac/svg/custom/getscreenctm-in-scrollable-svg-area-expected.txt:
* platform/mac/svg/custom/inline-svg-in-xhtml-expected.txt:
* platform/mac/svg/custom/invalid-css-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-all-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-preserveAspectRatio-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-transform-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-viewBox-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-viewBox-transform-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-viewTarget-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-zoomAndPan-expected.txt:
* platform/mac/svg/custom/linking-uri-01-b-expected.txt:
* platform/mac/svg/custom/marker-opacity-expected.txt:
* platform/mac/svg/custom/mask-colorspace-expected.txt:
* platform/mac/svg/custom/mask-on-multiple-objects-expected.txt:
* platform/mac/svg/custom/mouse-move-on-svg-container-expected.txt:
* platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
* platform/mac/svg/custom/mouse-move-on-svg-root-expected.txt:
* platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
* platform/mac/svg/custom/non-circular-marker-reference-expected.txt:
* platform/mac/svg/custom/object-sizing-expected.txt:
* platform/mac/svg/custom/object-sizing-explicit-height-expected.txt:
* platform/mac/svg/custom/object-sizing-explicit-width-expected.txt:
* platform/mac/svg/custom/object-sizing-explicit-width-height-expected.txt:
* platform/mac/svg/custom/object-sizing-no-width-height-expected.txt:
* platform/mac/svg/custom/path-zero-strokewidth-expected.txt:
* platform/mac/svg/custom/pattern-incorrect-tiling-expected.txt:
* platform/mac/svg/custom/pattern-no-pixelation-expected.txt:
* platform/mac/svg/custom/pattern-referencing-preserve-aspect-ratio-expected.txt:
* platform/mac/svg/custom/pattern-rotate-expected.txt:
* platform/mac/svg/custom/relative-sized-content-with-resources-expected.txt:
* platform/mac/svg/custom/shapes-supporting-markers-expected.txt:
* platform/mac/svg/custom/stroked-pattern-expected.txt:
* platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.txt:
* platform/mac/svg/custom/use-css-events-expected.txt:
* platform/mac/svg/custom/use-detach-expected.txt:
* platform/mac/svg/custom/use-elementInstance-methods-expected.txt:
* platform/mac/svg/custom/use-instanceRoot-modifications-expected.txt:
* platform/mac/svg/custom/use-modify-container-in-target-expected.txt:
* platform/mac/svg/custom/use-modify-target-container-expected.txt:
* platform/mac/svg/custom/use-on-g-containing-use-expected.txt:
* platform/mac/svg/custom/use-on-g-expected.txt:
* platform/mac/svg/custom/use-on-use-expected.txt:
* platform/mac/svg/custom/use-transform-expected.txt:
* platform/mac/svg/custom/width-full-percentage-expected.txt:
* platform/mac/svg/filters/feDropShadow-expected.txt:
* platform/mac/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-objectBoundingBox-expected.txt:
* platform/mac/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-userSpaceOnUse-expected.txt:
* platform/mac/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-objectBoundingBox-expected.txt:
* platform/mac/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-userSpaceOnUse-expected.txt:
* platform/mac/svg/filters/feImage-late-indirect-update-expected.txt:
* platform/mac/svg/hixie/cascade/001-broken-expected.txt:
* platform/mac/svg/hixie/cascade/002-expected.txt:
* platform/mac/svg/hixie/error/001-expected.txt:
* platform/mac/svg/hixie/error/003-expected.txt:
* platform/mac/svg/hixie/error/017-expected.txt:
* platform/mac/svg/hixie/mixed/003-expected.txt:
* platform/mac/svg/hixie/mixed/004-expected.txt:
* platform/mac/svg/hixie/mixed/005-expected.txt:
* platform/mac/svg/hixie/mixed/006-expected.txt:
* platform/mac/svg/hixie/mixed/008-expected.txt:
* platform/mac/svg/hixie/mixed/011-expected.txt:
* platform/mac/svg/hixie/perf/001-expected.txt:
* platform/mac/svg/hixie/perf/002-expected.txt:
* platform/mac/svg/hixie/perf/007-expected.txt:
* platform/mac/svg/hixie/rendering-model/001-expected.txt:
* platform/mac/svg/hixie/rendering-model/002-expected.txt:
* platform/mac/svg/hixie/shapes/path/001-expected.txt:
* platform/mac/svg/hixie/transform/001-expected.txt:
* platform/mac/svg/in-html/circle-expected.txt:
* platform/mac/svg/stroke/zero-length-arc-linecaps-rendering-expected.txt:
* platform/mac/svg/stroke/zero-length-path-linecap-rendering-expected.txt:
* platform/mac/svg/stroke/zero-length-subpaths-linecap-rendering-expected.txt:
* platform/mac/svg/text/small-fonts-3-expected.txt:
* platform/mac/svg/text/text-align-01-b-expected.txt:
* platform/mac/svg/text/text-align-05-b-expected.txt:
* platform/mac/svg/text/text-fill-opacity-expected.txt:
* platform/mac/svg/transforms/svg-css-transforms-clip-path-expected.txt:
* platform/mac/svg/wicd/rightsizing-grid-expected.txt:
* platform/mac/svg/wicd/test-rightsizing-b-expected.txt:
* platform/mac/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
* platform/mac/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt:
* platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.txt:
* platform/mac/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt:
* platform/mac/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
* platform/qt/Skipped:
* platform/win/Skipped:
* svg/clip-path/clip-in-mask-objectBoundingBox-expected.txt:
* svg/clip-path/clip-in-mask-userSpaceOnUse-expected.txt:
* svg/clip-path/clip-path-childs-clipped-expected.txt:
* svg/clip-path/clip-path-clipped-evenodd-twice-expected.txt:
* svg/clip-path/clip-path-clipped-expected.txt:
* svg/clip-path/clip-path-clipped-nonzero-expected.txt:
* svg/clip-path/clip-path-css-transform-1-expected.txt:
* svg/clip-path/clip-path-css-transform-2-expected.txt:
* svg/clip-path/clip-path-objectBoundingBox-expected.txt:
* svg/clip-path/clip-path-on-clipped-use-expected.txt:
* svg/clip-path/clip-path-on-g-and-child-expected.txt:
* svg/clip-path/clip-path-on-g-expected.txt:
* svg/clip-path/clip-path-on-svg-and-child-expected.txt:
* svg/clip-path/clip-path-on-svg-expected.txt:
* svg/clip-path/clip-path-transform-2-expected.txt:
* svg/clip-path/clip-path-use-as-child-expected.txt:
* svg/css/circle-in-mask-with-shadow-expected.txt:
* svg/css/mask-with-shadow-expected.txt:
* svg/custom/absolute-root-position-masking-expected.txt:
* svg/custom/fill-opacity-update-expected.txt:
* svg/custom/gradient-stroke-width-expected.txt:
* svg/custom/js-late-marker-and-object-creation-expected.txt:
* svg/custom/js-late-marker-creation-expected.txt:
* svg/custom/js-update-bounce-expected.txt:
* svg/custom/marker-changes-expected.txt:
* svg/custom/marker-child-changes-css-expected.txt:
* svg/custom/marker-child-changes-expected.txt:
* svg/custom/marker-strokeWidth-changes-expected.txt:
* svg/custom/marker-viewBox-changes-expected.txt:
* svg/custom/object-sizing-no-width-height-change-content-box-size-expected.txt:
* svg/custom/pattern-scaled-pattern-space-expected.txt:
* svg/custom/resource-invalidate-on-target-update-expected.txt:
* svg/custom/stroke-opacity-update-expected.txt:
* svg/custom/use-setAttribute-crash-expected.txt:
* svg/custom/viewBox-hit-expected.txt:
* svg/filters/feImage-reference-svg-primitive-expected.txt:
* svg/filters/filter-clip-expected.txt:
* svg/filters/invalidate-on-child-layout-expected.txt:
* svg/hittest/svg-ellipse-expected.txt: Added.
* svg/hittest/svg-ellipse-non-scale-stroke-expected.txt: Added.
* svg/hittest/svg-ellipse-non-scale-stroke.xhtml: Added.
* svg/hittest/svg-ellipse.xhtml: Added.
* svg/hixie/links/001-expected.txt:

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

8 years ago[Chromium] Unreviewed, update expectations for XP.
apavlov@chromium.org [Fri, 30 Mar 2012 15:32:38 +0000 (15:32 +0000)]
[Chromium] Unreviewed, update expectations for XP.

* platform/chromium/test_expectations.txt:

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

8 years ago[Chromium] Unreviewed, more expectations for BUGWK82505.
apavlov@chromium.org [Fri, 30 Mar 2012 14:51:41 +0000 (14:51 +0000)]
[Chromium] Unreviewed, more expectations for BUGWK82505.

* platform/chromium/test_expectations.txt:

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

8 years agoAdd a "preview" state to Page Visibility API implementation
commit-queue@webkit.org [Fri, 30 Mar 2012 14:04:55 +0000 (14:04 +0000)]
Add a "preview" state to Page Visibility API implementation
https://bugs.webkit.org/show_bug.cgi?id=81355

Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2012-03-30
Reviewed by Adam Barth.

Updating the Page Visibility API implementation to the current spec version.

Source/WebCore:

This change is covered by fast/events/page-visibility-transition-test.html,
so no new tests needed.

* page/PageVisibilityState.cpp:
(WebCore::pageVisibilityStateString):
* page/PageVisibilityState.h:

Source/WebKit/chromium:

* public/WebPageVisibilityState.h:
* src/AssertMatchingEnums.cpp:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setVisibilityState):

Source/WebKit/efl:

* WebCoreSupport/AssertMatchingEnums.cpp:
* ewk/ewk_view.h:

Tools:

* DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::setPageVisibility):

LayoutTests:

* fast/events/page-visibility-transition-test-expected.txt:
* fast/events/page-visibility-transition-test.html:

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

8 years ago[Chromium] Unreviewed, updated fast/frames/valid.html expectation for LEOPARD.
apavlov@chromium.org [Fri, 30 Mar 2012 13:36:24 +0000 (13:36 +0000)]
[Chromium] Unreviewed, updated fast/frames/valid.html expectation for LEOPARD.

* platform/chromium/test_expectations.txt:

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

8 years ago[Qt] Skip another asserting test on debug build
ossy@webkit.org [Fri, 30 Mar 2012 13:35:30 +0000 (13:35 +0000)]
[Qt] Skip another asserting test on debug build
https://bugs.webkit.org/show_bug.cgi?id=82052

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-03-30
Reviewed by Csaba Osztrogonác.

* platform/qt/Skipped: Skip asserting test.

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

8 years agoWeb Inspector: [Regression] Execution line is not revealed after pretty print.
vsevik@chromium.org [Fri, 30 Mar 2012 13:31:05 +0000 (13:31 +0000)]
Web Inspector: [Regression] Execution line is not revealed after pretty print.
https://bugs.webkit.org/show_bug.cgi?id=82727

Reviewed by Pavel Feldman.

This patch makes JavaScriptSourceFrame reveal execution line after pretty print.

* inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype.setExecutionLine):

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

8 years agoWeb Inspector: preload field values into local variables for better heap profiler...
yurys@chromium.org [Fri, 30 Mar 2012 13:24:58 +0000 (13:24 +0000)]
Web Inspector: preload field values into local variables for better heap profiler performance
https://bugs.webkit.org/show_bug.cgi?id=82703

Reading from object fields takes a noticable time when the only other thing you do
is just manipulating on big(several million elements) Uint32Array array cells.

Reviewed by Pavel Feldman.

* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshot.prototype._createContainmentEdgesArray):
(WebInspector.HeapSnapshot.prototype._buildRetainers):
(WebInspector.HeapSnapshot.prototype._bfs):

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

8 years agoUnreviewed, rolling out r112489.
commit-queue@webkit.org [Fri, 30 Mar 2012 13:17:16 +0000 (13:17 +0000)]
Unreviewed, rolling out r112489.
http://trac.webkit.org/changeset/112489
https://bugs.webkit.org/show_bug.cgi?id=82725

Tentatively introduces a lot of webfont-related test flakiness
on Snow Leopard (Requested by apavlov on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-03-30

* css/CSSSegmentedFontFace.cpp:
(WebCore::CSSSegmentedFontFace::getFontData):

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

8 years agoChange ENABLE_INPUT_COLOR to ENABLE_INPUT_TYPE_COLOR and enable it for chromium
keishi@webkit.org [Fri, 30 Mar 2012 13:15:27 +0000 (13:15 +0000)]
Change ENABLE_INPUT_COLOR to ENABLE_INPUT_TYPE_COLOR and enable it for chromium
https://bugs.webkit.org/show_bug.cgi?id=80972

Reviewed by Kent Tamura.

.:

* Source/cmake/OptionsBlackBerry.cmake:
* configure.ac:

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* GNUmakefile.am:
* WebCore.exp.in:
* css/html.css:
* html/ColorInputType.cpp:
* html/ColorInputType.h:
* html/HTMLInputElement.cpp:
(WebCore):
* html/HTMLInputElement.h:
(HTMLInputElement):
* html/InputType.cpp:
(WebCore::createInputTypeFactoryMap):
(WebCore):
(InputTypeNames):
* html/InputType.h:
(InputType):
(InputTypeNames):
* loader/EmptyClients.h:
(EmptyChromeClient):
* page/Chrome.cpp:
(WebCore):
* page/Chrome.h:
(WebCore):
(Chrome):
* page/ChromeClient.h:
(WebCore):
(ChromeClient):
* platform/ColorChooser.h:
* platform/ColorChooserClient.h:
* testing/InternalSettings.cpp:
* testing/Internals.cpp:
(WebCore):
* testing/Internals.h:
(Internals):
* testing/Internals.idl:

Source/WebKit/blackberry:

* WebCoreSupport/AboutDataEnableFeatures.in:
* WebCoreSupport/ChromeClientBlackBerry.h:
(ChromeClientBlackBerry):
* WebKitSupport/DOMSupport.cpp:
(BlackBerry::WebKit::DOMSupport::isColorInputField):
* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::convertInputType):

Source/WebKit/chromium:

* features.gypi:
* src/ChromeClientImpl.cpp:
(WebKit):
* src/ChromeClientImpl.h:
(WebCore):
(ChromeClientImpl):
* src/ColorChooserProxy.cpp:
* src/ColorChooserProxy.h:
* src/WebColorChooserClientImpl.cpp:
* src/WebColorChooserClientImpl.h:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Tools:

* Scripts/build-webkit:
* qmake/mkspecs/features/features.prf:

WebKitLibraries:

* win/tools/vsprops/FeatureDefines.vsprops:
* win/tools/vsprops/FeatureDefinesCairo.vsprops:

LayoutTests:

* platform/efl/Skipped:
* platform/qt/Skipped:

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

8 years ago[BlackBerry] EventLoop::platformInit() obsolete.
charles.wei@torchmobile.com.cn [Fri, 30 Mar 2012 13:12:21 +0000 (13:12 +0000)]
[BlackBerry] EventLoop::platformInit() obsolete.
https://bugs.webkit.org/show_bug.cgi?id=82709

Reviewed by Rob Buis.

No new tests, build fix for BlackBerry porting.

* platform/blackberry/EventLoopBlackBerry.cpp:

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

8 years agoWeb Inspector: ScriptsNavigator should open scripts with single click (not double...
vsevik@chromium.org [Fri, 30 Mar 2012 13:10:07 +0000 (13:10 +0000)]
Web Inspector: ScriptsNavigator should open scripts with single click (not double click).
https://bugs.webkit.org/show_bug.cgi?id=82723

Reviewed by Pavel Feldman.

This patch makes ScriptsNavigator open scripts with single click.

* inspector/front-end/ScriptsNavigator.js:
(WebInspector.NavigatorScriptTreeElement.prototype.onattach):
(WebInspector.NavigatorScriptTreeElement.prototype._onclick):

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

8 years ago[Chromium] Unreviewed, update expectations.
apavlov@chromium.org [Fri, 30 Mar 2012 12:50:31 +0000 (12:50 +0000)]
[Chromium] Unreviewed, update expectations.

* platform/chromium/test_expectations.txt:

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

8 years ago[BlackBerry] Add more ENABLERS to cmakeconfig.h.cmake
charles.wei@torchmobile.com.cn [Fri, 30 Mar 2012 12:27:36 +0000 (12:27 +0000)]
[BlackBerry] Add more ENABLERS to cmakeconfig.h.cmake
https://bugs.webkit.org/show_bug.cgi?id=82594

Reviewed by Rob Buis.

Upstreaming feature enablers in cmakeconfig.h.cmake for BlackBerry porting,
and clean up obsolete MACROs in OptionsBlackBerry.cmake.

* Source/cmake/OptionsBlackBerry.cmake:
* Source/cmakeconfig.h.cmake:

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

8 years agoIDLParser.pm should be able to parse sequence<T> as method argument.
commit-queue@webkit.org [Fri, 30 Mar 2012 11:54:00 +0000 (11:54 +0000)]
IDLParser.pm should be able to parse sequence<T> as method argument.
https://bugs.webkit.org/show_bug.cgi?id=82599

Patch by Vineet Chaudhary <rgf748@motorola.com> on 2012-03-30
Reviewed by Kentaro Hara.

With this patch IDL parser should support sequence<T> as method argument.
Current behaviour is argument name is not parsed hence shows empty spaces instead.

Tests: bindings/scripts/test/TestObj.idl

* bindings/scripts/CodeGeneratorCPP.pm:
(SkipFunction): Skip functions for specific type.
(SkipAttribute): Skip functions for specific type.
(AddIncludesForType): Skip header for sequence<T> type.
(GenerateHeader): Skip header and declaration for sequence<T> type.
(GenerateImplementation): Skip header and implementation for sequence<T> type.
* bindings/scripts/CodeGeneratorGObject.pm:
(SkipFunction): Skip functions for sequence<T> type.
* bindings/scripts/CodeGeneratorObjC.pm:
(SkipFunction): Skip functions for specific type.
(SkipAttribute): Skip functions for specific type.
(AddForwardDeclarationsForType): Skip header for sequence<T> type.
(AddIncludesForType): Skip header for sequence<T> type.
(GenerateHeader):Skip header and declaration for sequence<T> type.
(GenerateImplementation): Skip header and implementation for sequence<T> type.
* bindings/scripts/CodeGeneratorV8.pm:
(CreateCustomSignature): Add appropriate headers.
* bindings/scripts/IDLStructure.pm: Add support to parse sequence<T>.
* bindings/scripts/test/CPP/WebDOMTestObj.cpp: Modified results from run-binding-tests.
(WebDOMTestObj::objMethodWithArgs):
* bindings/scripts/test/CPP/WebDOMTestObj.h: Ditto.
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: Ditto.
(webkit_dom_test_obj_obj_method_with_args):
* bindings/scripts/test/GObject/WebKitDOMTestObj.h: Ditto.
* bindings/scripts/test/JS/JSTestObj.cpp: Ditto.
(WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg):
* bindings/scripts/test/ObjC/DOMTestObj.h: Ditto.
* bindings/scripts/test/ObjC/DOMTestObj.mm: Ditto.
(-[DOMTestObj objMethodWithArgs:strArg:objArg:]):
* bindings/scripts/test/V8/V8TestObj.cpp: Ditto.
(WebCore::TestObjInternal::methodWithSequenceArgCallback):
(WebCore::ConfigureV8TestObjTemplate):

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

8 years agoWeb Inspector: editing resets line-ending of the whole file
pfeldman@chromium.org [Fri, 30 Mar 2012 11:36:15 +0000 (11:36 +0000)]
Web Inspector: editing resets line-ending of the whole file
https://bugs.webkit.org/show_bug.cgi?id=82708

Reviewed by Yury Semikhatsky.

Source/WebCore:

This change splits TextEditorModel's setText into setText (for initialization) and
editRange (for editing). Distinguishing between the two allowed properly detecting
the preferred line endings.

Test: inspector/editor/text-editor-line-breaks.html

* inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype.afterTextChanged):
* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype.setContent):
* inspector/front-end/TextEditorModel.js:
(WebInspector.TextEditorCommand):
(WebInspector.TextEditorModel):
(WebInspector.TextEditorModel.endsWithBracketRegex.):
* inspector/front-end/TextViewer.js:
(WebInspector.TextViewer.prototype._textChanged):
(WebInspector.TextEditorMainPanel.prototype._unindentLines.get var):
(WebInspector.TextEditorMainPanel.prototype._unindentLines):
(WebInspector.TextEditorMainPanel.prototype.handleEnterKey.get var):
(WebInspector.TextEditorMainPanel.prototype.handleEnterKey):
(WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
(WebInspector.TextEditorMainPanel.prototype._editRange):

LayoutTests:

* inspector/editor/highlighter-basics.html:
* inspector/editor/highlighter-long-line.html:
* inspector/editor/highlighter-paste-in-comment.html:
* inspector/editor/indentation.html:
* inspector/editor/text-editor-line-breaks-expected.txt: Added.
* inspector/editor/text-editor-line-breaks.html: Added.
* inspector/editor/text-editor-model.html:

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

8 years ago[Qt] Build fix by renameing QtDeclarative to QtQml in header calls.
kkristof@inf.u-szeged.hu [Fri, 30 Mar 2012 11:00:01 +0000 (11:00 +0000)]
[Qt] Build fix by renameing QtDeclarative to QtQml in header calls.
https://bugs.webkit.org/show_bug.cgi?id=82195

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-03-29
Reviewed by Simon Hausmann.

Source/WebKit/qt:

* declarative/experimental/plugin.cpp:
* declarative/plugin.cpp:
(WebKitQmlPlugin::initializeEngine):

Source/WebKit2:

* UIProcess/API/qt/qquicknetworkreply_p.h:
* UIProcess/API/qt/qquicknetworkrequest_p.h:
* UIProcess/API/qt/qquickwebview.cpp:
* UIProcess/API/qt/qquickwebview_p.h:
* UIProcess/API/qt/qwebiconimageprovider_p.h:
* UIProcess/API/qt/qwebnavigationhistory.cpp:
* UIProcess/API/qt/qwebnavigationhistory_p.h:
* UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp:
* UIProcess/qt/QtDialogRunner.cpp:
(QtDialogRunner::initForAlert):
(QtDialogRunner::initForConfirm):
(QtDialogRunner::initForPrompt):
(QtDialogRunner::initForAuthentication):
(QtDialogRunner::initForProxyAuthentication):
(QtDialogRunner::initForCertificateVerification):
(QtDialogRunner::initForFilePicker):
(QtDialogRunner::initForDatabaseQuotaDialog):
(QtDialogRunner::createDialog):
* UIProcess/qt/QtFlickProvider.cpp:
* UIProcess/qt/QtFlickProvider.h:
(QtFlickProvider):
* UIProcess/qt/WebPopupMenuProxyQt.cpp:
(WebKit::WebPopupMenuProxyQt::createItem):
(WebKit::WebPopupMenuProxyQt::createContext):

Tools:

* MiniBrowser/qt/BrowserWindow.cpp:
(BrowserWindow::updateVisualMockTouchPoints):
* MiniBrowser/qt/main.cpp:
* WebKitTestRunner/qt/PlatformWebViewQt.cpp:
(WTR::WrapperWindow::handleStatusChanged):
* qmake/mkspecs/features/unix/default_post.prf:

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

8 years agoWeb Inspector: Take IndexedDB support out of experiments.
vsevik@chromium.org [Fri, 30 Mar 2012 10:14:15 +0000 (10:14 +0000)]
Web Inspector: Take IndexedDB support out of experiments.
https://bugs.webkit.org/show_bug.cgi?id=82635

Reviewed by Pavel Feldman.

Source/WebCore:

This patch takes inspector IndexedDB support out of experiments and enables tests.

Test: http/tests/inspector/indexeddb/resources-panel.html

* inspector/front-end/ResourcesPanel.js:
* inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):

LayoutTests:

* http/tests/inspector/indexeddb/resources-panel.html: Renamed from LayoutTests/http/tests/inspector/indexeddb/resources-panel.html_disabled.

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

8 years ago[Chromium] Unreviewed, more CRASH expectations for BUGWK82505 added.
apavlov@chromium.org [Fri, 30 Mar 2012 10:06:49 +0000 (10:06 +0000)]
[Chromium] Unreviewed, more CRASH expectations for BUGWK82505 added.

* platform/chromium/test_expectations.txt:

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

8 years agoBuild fix after r112482.
paroga@webkit.org [Fri, 30 Mar 2012 10:03:00 +0000 (10:03 +0000)]
Build fix after r112482.

* platform/network/cf/FormDataStreamCFNet.h: Added missing forward decleration.

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

8 years ago[EFL] Implement LayoutTestController::setMinimumTimerInterval
commit-queue@webkit.org [Fri, 30 Mar 2012 09:46:03 +0000 (09:46 +0000)]
[EFL] Implement LayoutTestController::setMinimumTimerInterval
https://bugs.webkit.org/show_bug.cgi?id=81220

Tools:

Add missing implementation setMinimumTimerInterval to EFL's
LayoutTestController so that we can unskip related tests from the skip list.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-30
Reviewed by Philippe Normand.

* DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::setMinimumTimerInterval):

LayoutTests:

Unskip tests connected with setMinimumTimerInterval.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-30
Reviewed by Philippe Normand.

* platform/efl/Skipped:

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

8 years ago[GTK] WebAudio channelSize issue
philn@webkit.org [Fri, 30 Mar 2012 07:45:32 +0000 (07:45 +0000)]
[GTK] WebAudio channelSize issue
https://bugs.webkit.org/show_bug.cgi?id=81905

Reviewed by Martin Robinson.

* platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
(WebCore::AudioFileReader::handleBuffer): Calculate the audio
buffer duration and frames number from the buffer and caps instead
of relying on the buffer offets that are not always correctly set
depending on the audio file format.

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

8 years agoUnreviewed, GTK rebaseline after r112582 and r112391.
philn@webkit.org [Fri, 30 Mar 2012 07:43:10 +0000 (07:43 +0000)]
Unreviewed, GTK rebaseline after r112582 and r112391.

* platform/gtk/fast/block/lineboxcontain/block-glyphs-replaced-expected.txt:
* platform/gtk/svg/custom/preserve-aspect-ratio-syntax-expected.txt:

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

8 years ago[CSS Filters] Trigger a repaint on elements with changed filter
achicu@adobe.com [Fri, 30 Mar 2012 05:07:06 +0000 (05:07 +0000)]
[CSS Filters] Trigger a repaint on elements with changed filter
https://bugs.webkit.org/show_bug.cgi?id=82521

Reviewed by Dean Jackson.

Source/WebCore:

I've added ContextSensitivePropertyFilter and changed RenderStyle::diff to use it when
the filter property is changed. In RenderObject::adjustStyleDifference the appropriate StyleDifferenceRepaintLayer
or StyleDifferenceRecompositeLayer is used depending on whether the layer is painting filters in software or in hardware
(composited).

Tests: css3/filters/filter-change-repaint-composited.html
       css3/filters/filter-change-repaint.html

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::createFilterOperations): None was treated as an invalid value.
* platform/graphics/ca/mac/PlatformCALayerMac.mm: Shadows were remaining behind. Fixed that.
(PlatformCALayer::setFilters):
* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::styleWillChange): Repaint the layer when there is a layout change and a filter change.
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::styleChanged): Making sure that the backing store is repainted when filters fallback to hardware.
* rendering/RenderObject.cpp:
(WebCore::RenderObject::adjustStyleDifference):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):
* rendering/style/RenderStyleConstants.h:

LayoutTests:

Repaint was not triggered when the filter property was changed. I've added two
tests, one for software and one for composited mode. Both tests are triggering
all the possible scenarios of changing the filter property.

* css3/filters/filter-change-repaint-composited-expected.png: Added.
* css3/filters/filter-change-repaint-composited-expected.txt: Added.
* css3/filters/filter-change-repaint-composited.html: Added.
* css3/filters/filter-change-repaint-expected.png: Added.
* css3/filters/filter-change-repaint-expected.txt: Added.
* css3/filters/filter-change-repaint.html: Added.
* platform/chromium/test_expectations.txt: Disabled the new tests on Chromium. They need rebaselining.

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

8 years agoVertical flow support for OpenType fonts with the least platform dependencies
commit-queue@webkit.org [Fri, 30 Mar 2012 03:44:14 +0000 (03:44 +0000)]
Vertical flow support for OpenType fonts with the least platform dependencies
https://bugs.webkit.org/show_bug.cgi?id=81326

Patch by Koji Ishii <kojiishi@gmail.com> on 2012-03-29
Reviewed by Dan Bernstein.

This patch introduces a new class OpenTypeVerticalData to read
vertical font metrics from OpenType fonts.

Currently, WebKit relies on platform APIs to do the work. However,
some platforms such as Windows lack support for all the capabilities
WebKit requires for vertical flow and the text-orientation property
to work correctly. Reading OpenType tables directly also gives
benefits in consistent behavior among the WebKit platforms.

This patch is for any platforms that want to parse OpenType tables
directly, but it's currently included only in CGWin and isn't on any
code path even on CGWin yet. Caller's side change for CGWin and
support for other platforms will be in separate bugs.

No new tests are required. No behavior changes.

* WebCore.vcproj/WebCore.vcproj: Added OpenTypeTypes.h and OpenTypeVerticalData.h/cpp.
* platform/SharedBuffer.cpp: Add create(size_t)
(WebCore::SharedBuffer::SharedBuffer):
(WebCore):
* platform/SharedBuffer.h: Add create(size_t)
(WebCore::SharedBuffer::create):
(SharedBuffer):
* platform/graphics/FontPlatformData.h: Added openTypeTable().
(WebCore):
(FontPlatformData):
* platform/graphics/SimpleFontData.h: Added sizePerUnit().
(WebCore::SimpleFontData::sizePerUnit): size() / unitsPerEm() for less multiplication.
* platform/graphics/opentype/OpenTypeTypes.h: Added OpenType basic type definitions.
(OpenType):
(WebCore::OpenType::BigEndianShort::operator short):
(WebCore::OpenType::BigEndianShort::BigEndianShort):
(BigEndianShort):
(WebCore::OpenType::BigEndianUShort::operator unsigned short):
(WebCore::OpenType::BigEndianUShort::BigEndianUShort):
(BigEndianUShort):
(WebCore::OpenType::BigEndianLong::operator int):
(WebCore::OpenType::BigEndianLong::BigEndianLong):
(BigEndianLong):
(WebCore::OpenType::BigEndianULong::operator unsigned):
(WebCore::OpenType::BigEndianULong::BigEndianULong):
(BigEndianULong):
* platform/graphics/opentype/OpenTypeVerticalData.cpp: Added.
(OpenType):
(HheaTable):
(VheaTable):
(Entry):
(VORGTable):
(VertOriginYMetrics):
(WebCore::OpenType::VORGTable::requiredSize):
(WebCore):
(WebCore::validatedPtr):
(WebCore::OpenTypeVerticalData::OpenTypeVerticalData):
(WebCore::OpenTypeVerticalData::advanceHeight): Advance height for a glyph.
(WebCore::OpenTypeVerticalData::getVerticalTranslationsForGlyphs): Vertical origin.
* platform/graphics/opentype/OpenTypeVerticalData.h: Added.
(WebCore):
(OpenTypeVerticalData): A new class to handle vertical flow data in OpenType.
(WebCore::OpenTypeVerticalData::isOpenType):
(WebCore::OpenTypeVerticalData::hasVerticalMetrics):
(WebCore::OpenTypeVerticalData::hasVORG):
* platform/graphics/win/FontPlatformDataWin.cpp:
(WebCore):
(WebCore::FontPlatformData::openTypeTable): Implemented openTypeTable() for Win32.

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

8 years ago[BlackBerry] Sync up PlatformMouseEvent
leo.yang@torchmobile.com.cn [Fri, 30 Mar 2012 03:31:45 +0000 (03:31 +0000)]
[BlackBerry] Sync up PlatformMouseEvent
https://bugs.webkit.org/show_bug.cgi?id=82567

Reviewed by Rob Buis.

This patch is adding blackberry specific members to PlatformMouseEvent.
Also re-base PlatformMouseEventBlackBerry to adapt to the re-factor
of PlatformMouseEvent.

* platform/PlatformMouseEvent.h:
(PlatformMouseEvent): BlackBerry specific constructor.
(WebCore::PlatformMouseEvent::inputMethod): Input source of mouse event
for blackberry platform.
* platform/blackberry/PlatformMouseEventBlackBerry.cpp:
(WebCore::PlatformMouseEvent::PlatformMouseEvent): Re-base the constructor
to adapt the re-factor of PlatformMouseEvent.

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

8 years ago[BlackBerry] Turn on STORE_FONT_CUSTOM_PLATFORM_DATA in CachedFont.cpp
leo.yang@torchmobile.com.cn [Fri, 30 Mar 2012 03:04:25 +0000 (03:04 +0000)]
[BlackBerry] Turn on STORE_FONT_CUSTOM_PLATFORM_DATA in CachedFont.cpp
https://bugs.webkit.org/show_bug.cgi?id=82573

Reviewed by Rob Buis.

Tests: covered by existing tests.

* loader/cache/CachedFont.cpp:

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

8 years ago[Chromium] Attempt to fix the component build
abarth@webkit.org [Fri, 30 Mar 2012 03:02:04 +0000 (03:02 +0000)]
[Chromium] Attempt to fix the component build
https://bugs.webkit.org/show_bug.cgi?id=82676

Reviewed by Dirk Pranke.

Now that we're implementing some of the WEBKIT_EXPORT symbols in
WebCore/platform/chromium/support, we need to tell the build system
that we want to actually export these symbols.

* WebCore.gyp/WebCore.gyp:

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

8 years agoRemoved “Intel” from the Lion builders’ names.
mitz@apple.com [Fri, 30 Mar 2012 01:57:59 +0000 (01:57 +0000)]
Removed “Intel” from the Lion builders’ names.

Rubber-stamped by Mark Rowe.

* BuildSlaveSupport/build.webkit.org-config/config.json:
* BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
(LeaksViewer._displayURLPrompt):

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

8 years agoUnreviewed, rolling out r112572.
abarth@webkit.org [Fri, 30 Mar 2012 01:37:07 +0000 (01:37 +0000)]
Unreviewed, rolling out r112572.
http://trac.webkit.org/changeset/112572
https://bugs.webkit.org/show_bug.cgi?id=82582

Does not compile in Windows component build

Source/WebCore:

* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:

Source/WebKit/chromium:

* WebKit.gyp:
* src/WebData.cpp: Renamed from Source/WebCore/platform/chromium/support/WebData.cpp.
(WebKit):
(WebKit::WebData::reset):
(WebKit::WebData::assign):
(WebKit::WebData::size):
(WebKit::WebData::data):
(WebKit::WebData::WebData):
(WebKit::WebData::operator=):
(WebKit::WebData::operator PassRefPtr<SharedBuffer>):
* src/WebHTTPBody.cpp: Renamed from Source/WebCore/platform/chromium/support/WebHTTPBody.cpp.
(WebKit):
(WebKit::WebHTTPBody::initialize):
(WebKit::WebHTTPBody::reset):
(WebKit::WebHTTPBody::assign):
(WebKit::WebHTTPBody::elementCount):
(WebKit::WebHTTPBody::elementAt):
(WebKit::WebHTTPBody::appendData):
(WebKit::WebHTTPBody::appendFile):
(WebKit::WebHTTPBody::appendFileRange):
(WebKit::WebHTTPBody::appendBlob):
(WebKit::WebHTTPBody::identifier):
(WebKit::WebHTTPBody::setIdentifier):
(WebKit::WebHTTPBody::containsPasswordData):
(WebKit::WebHTTPBody::setContainsPasswordData):
(WebKit::WebHTTPBody::WebHTTPBody):
(WebKit::WebHTTPBody::operator=):
(WebKit::WebHTTPBody::operator PassRefPtr<FormData>):
(WebKit::WebHTTPBody::ensureMutable):
* src/WebHTTPLoadInfo.cpp: Renamed from Source/WebCore/platform/chromium/support/WebHTTPLoadInfo.cpp.
(WebKit):
(WebKit::WebHTTPLoadInfo::initialize):
(WebKit::WebHTTPLoadInfo::reset):
(WebKit::WebHTTPLoadInfo::assign):
(WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
(WebKit::WebHTTPLoadInfo::operator WTF::PassRefPtr<WebCore::ResourceLoadInfo>):
(WebKit::WebHTTPLoadInfo::httpStatusCode):
(WebKit::WebHTTPLoadInfo::setHTTPStatusCode):
(WebKit::WebHTTPLoadInfo::httpStatusText):
(WebKit::WebHTTPLoadInfo::setHTTPStatusText):
(WebKit::WebHTTPLoadInfo::encodedDataLength):
(WebKit::WebHTTPLoadInfo::setEncodedDataLength):
(WebKit::addHeader):
(WebKit::WebHTTPLoadInfo::addRequestHeader):
(WebKit::WebHTTPLoadInfo::addResponseHeader):
(WebKit::WebHTTPLoadInfo::requestHeadersText):
(WebKit::WebHTTPLoadInfo::setRequestHeadersText):
(WebKit::WebHTTPLoadInfo::responseHeadersText):
(WebKit::WebHTTPLoadInfo::setResponseHeadersText):
* src/WebURL.cpp: Renamed from Source/WebCore/platform/chromium/support/WebURL.cpp.
(WebKit):
(WebKit::WebURL::WebURL):
(WebKit::WebURL::operator=):
(WebKit::WebURL::operator WebCore::KURL):
* src/WebURLError.cpp: Renamed from Source/WebCore/platform/chromium/support/WebURLError.cpp.
(WebKit):
(WebKit::WebURLError::WebURLError):
(WebKit::WebURLError::operator=):
(WebKit::WebURLError::operator ResourceError):
* src/WebURLRequest.cpp: Renamed from Source/WebCore/platform/chromium/support/WebURLRequest.cpp.
(WebURLRequestPrivateImpl):
(WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
(WebKit::WebURLRequestPrivateImpl::dispose):
(WebKit::WebURLRequestPrivateImpl::~WebURLRequestPrivateImpl):
(WebKit):
(WebKit::WebURLRequest::initialize):
(WebKit::WebURLRequest::reset):
(WebKit::WebURLRequest::assign):
(WebKit::WebURLRequest::isNull):
(WebKit::WebURLRequest::url):
(WebKit::WebURLRequest::setURL):
(WebKit::WebURLRequest::firstPartyForCookies):
(WebKit::WebURLRequest::setFirstPartyForCookies):
(WebKit::WebURLRequest::allowCookies):
(WebKit::WebURLRequest::setAllowCookies):
(WebKit::WebURLRequest::allowStoredCredentials):
(WebKit::WebURLRequest::setAllowStoredCredentials):
(WebKit::WebURLRequest::cachePolicy):
(WebKit::WebURLRequest::setCachePolicy):
(WebKit::WebURLRequest::httpMethod):
(WebKit::WebURLRequest::setHTTPMethod):
(WebKit::WebURLRequest::httpHeaderField):
(WebKit::WebURLRequest::setHTTPHeaderField):
(WebKit::WebURLRequest::addHTTPHeaderField):
(WebKit::WebURLRequest::clearHTTPHeaderField):
(WebKit::WebURLRequest::visitHTTPHeaderFields):
(WebKit::WebURLRequest::httpBody):
(WebKit::WebURLRequest::setHTTPBody):
(WebKit::WebURLRequest::reportUploadProgress):
(WebKit::WebURLRequest::setReportUploadProgress):
(WebKit::WebURLRequest::reportLoadTiming):
(WebKit::WebURLRequest::setReportRawHeaders):
(WebKit::WebURLRequest::reportRawHeaders):
(WebKit::WebURLRequest::setReportLoadTiming):
(WebKit::WebURLRequest::targetType):
(WebKit::WebURLRequest::hasUserGesture):
(WebKit::WebURLRequest::setHasUserGesture):
(WebKit::WebURLRequest::setTargetType):
(WebKit::WebURLRequest::requestorID):
(WebKit::WebURLRequest::setRequestorID):
(WebKit::WebURLRequest::requestorProcessID):
(WebKit::WebURLRequest::setRequestorProcessID):
(WebKit::WebURLRequest::appCacheHostID):
(WebKit::WebURLRequest::setAppCacheHostID):
(WebKit::WebURLRequest::downloadToFile):
(WebKit::WebURLRequest::setDownloadToFile):
(WebKit::WebURLRequest::extraData):
(WebKit::WebURLRequest::setExtraData):
(WebKit::WebURLRequest::toMutableResourceRequest):
(WebKit::WebURLRequest::toResourceRequest):
* src/WebURLRequestPrivate.h: Renamed from Source/WebCore/platform/chromium/support/WebURLRequestPrivate.h.
(WebKit):
(WebURLRequestPrivate):
(WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
* src/WebURLResponse.cpp: Renamed from Source/WebCore/platform/chromium/support/WebURLResponse.cpp.
(WebURLResponsePrivateImpl):
(WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
(WebKit::WebURLResponsePrivateImpl::dispose):
(WebKit::WebURLResponsePrivateImpl::~WebURLResponsePrivateImpl):
(WebKit):
(WebKit::WebURLResponse::initialize):
(WebKit::WebURLResponse::reset):
(WebKit::WebURLResponse::assign):
(WebKit::WebURLResponse::isNull):
(WebKit::WebURLResponse::url):
(WebKit::WebURLResponse::setURL):
(WebKit::WebURLResponse::connectionID):
(WebKit::WebURLResponse::setConnectionID):
(WebKit::WebURLResponse::connectionReused):
(WebKit::WebURLResponse::setConnectionReused):
(WebKit::WebURLResponse::loadTiming):
(WebKit::WebURLResponse::setLoadTiming):
(WebKit::WebURLResponse::httpLoadInfo):
(WebKit::WebURLResponse::setHTTPLoadInfo):
(WebKit::WebURLResponse::responseTime):
(WebKit::WebURLResponse::setResponseTime):
(WebKit::WebURLResponse::mimeType):
(WebKit::WebURLResponse::setMIMEType):
(WebKit::WebURLResponse::expectedContentLength):
(WebKit::WebURLResponse::setExpectedContentLength):
(WebKit::WebURLResponse::textEncodingName):
(WebKit::WebURLResponse::setTextEncodingName):
(WebKit::WebURLResponse::suggestedFileName):
(WebKit::WebURLResponse::setSuggestedFileName):
(WebKit::WebURLResponse::httpStatusCode):
(WebKit::WebURLResponse::setHTTPStatusCode):
(WebKit::WebURLResponse::httpStatusText):
(WebKit::WebURLResponse::setHTTPStatusText):
(WebKit::WebURLResponse::httpHeaderField):
(WebKit::WebURLResponse::setHTTPHeaderField):
(WebKit::WebURLResponse::addHTTPHeaderField):
(WebKit::WebURLResponse::clearHTTPHeaderField):
(WebKit::WebURLResponse::visitHTTPHeaderFields):
(WebKit::WebURLResponse::lastModifiedDate):
(WebKit::WebURLResponse::setLastModifiedDate):
(WebKit::WebURLResponse::appCacheID):
(WebKit::WebURLResponse::setAppCacheID):
(WebKit::WebURLResponse::appCacheManifestURL):
(WebKit::WebURLResponse::setAppCacheManifestURL):
(WebKit::WebURLResponse::securityInfo):
(WebKit::WebURLResponse::setSecurityInfo):
(WebKit::WebURLResponse::toMutableResourceResponse):
(WebKit::WebURLResponse::toResourceResponse):
(WebKit::WebURLResponse::wasCached):
(WebKit::WebURLResponse::setWasCached):
(WebKit::WebURLResponse::wasFetchedViaSPDY):
(WebKit::WebURLResponse::setWasFetchedViaSPDY):
(WebKit::WebURLResponse::wasNpnNegotiated):
(WebKit::WebURLResponse::setWasNpnNegotiated):
(WebKit::WebURLResponse::wasAlternateProtocolAvailable):
(WebKit::WebURLResponse::setWasAlternateProtocolAvailable):
(WebKit::WebURLResponse::wasFetchedViaProxy):
(WebKit::WebURLResponse::setWasFetchedViaProxy):
(WebKit::WebURLResponse::isMultipartPayload):
(WebKit::WebURLResponse::setIsMultipartPayload):
(WebKit::WebURLResponse::downloadFilePath):
(WebKit::WebURLResponse::setDownloadFilePath):
(WebKit::WebURLResponse::remoteIPAddress):
(WebKit::WebURLResponse::setRemoteIPAddress):
(WebKit::WebURLResponse::remotePort):
(WebKit::WebURLResponse::setRemotePort):
(WebKit::WebURLResponse::extraData):
(WebKit::WebURLResponse::setExtraData):
* src/WebURLResponsePrivate.h: Renamed from Source/WebCore/platform/chromium/support/WebURLResponsePrivate.h.
(WebKit):
(WebURLResponsePrivate):
(WebKit::WebURLResponsePrivate::WebURLResponsePrivate):

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

8 years agoUnreviewed, rolling out r112579.
abarth@webkit.org [Fri, 30 Mar 2012 01:36:05 +0000 (01:36 +0000)]
Unreviewed, rolling out r112579.
http://trac.webkit.org/changeset/112579
https://bugs.webkit.org/show_bug.cgi?id=82657

Does not compile in Windows component build

Source/WebCore:

* WebCore.gypi:

Source/WebKit/chromium:

* WebKit.gyp:
* src/ResourceHandle.cpp: Renamed from Source/WebCore/platform/network/chromium/ResourceHandle.cpp.
(WebCore):
(WebCore::ResourceHandleInternal::ResourceHandleInternal):
(WebCore::ResourceHandleInternal::start):
(WebCore::ResourceHandleInternal::cancel):
(WebCore::ResourceHandleInternal::setDefersLoading):
(WebCore::ResourceHandleInternal::allowStoredCredentials):
(WebCore::ResourceHandleInternal::willSendRequest):
(WebCore::ResourceHandleInternal::didSendData):
(WebCore::ResourceHandleInternal::didReceiveResponse):
(WebCore::ResourceHandleInternal::didDownloadData):
(WebCore::ResourceHandleInternal::didReceiveData):
(WebCore::ResourceHandleInternal::didReceiveCachedMetadata):
(WebCore::ResourceHandleInternal::didFinishLoading):
(WebCore::ResourceHandleInternal::didFail):
(WebCore::ResourceHandleInternal::FromResourceHandle):
(WebCore::ResourceHandle::ResourceHandle):
(WebCore::ResourceHandle::create):
(WebCore::ResourceHandle::firstRequest):
(WebCore::ResourceHandle::client):
(WebCore::ResourceHandle::setClient):
(WebCore::ResourceHandle::setDefersLoading):
(WebCore::ResourceHandle::start):
(WebCore::ResourceHandle::hasAuthenticationChallenge):
(WebCore::ResourceHandle::clearAuthentication):
(WebCore::ResourceHandle::cancel):
(WebCore::ResourceHandle::~ResourceHandle):
(WebCore::ResourceHandle::loadsBlocked):
(WebCore::ResourceHandle::loadResourceSynchronously):
(WebCore::ResourceHandle::willLoadFromCache):
(WebCore::ResourceHandle::cacheMetadata):
* src/ResourceHandleInternal.h: Renamed from Source/WebCore/platform/network/chromium/ResourceHandleInternal.h.
(WebCore):
(ResourceHandleInternal):
(WebCore::ResourceHandleInternal::~ResourceHandleInternal):
(WebCore::ResourceHandleInternal::setOwner):
(WebCore::ResourceHandleInternal::request):
(WebCore::ResourceHandleInternal::client):
(WebCore::ResourceHandleInternal::setClient):
(WebCore::ResourceHandleInternal::loader):
* src/WrappedResourceRequest.h: Renamed from Source/WebCore/platform/chromium/support/WrappedResourceRequest.h.
(WebKit):
(WrappedResourceRequest):
(WebKit::WrappedResourceRequest::~WrappedResourceRequest):
(WebKit::WrappedResourceRequest::WrappedResourceRequest):
(WebKit::WrappedResourceRequest::bind):
(Handle):
(WebKit::WrappedResourceRequest::Handle::dispose):
* src/WrappedResourceResponse.h: Renamed from Source/WebCore/platform/chromium/support/WrappedResourceResponse.h.
(WebKit):
(WrappedResourceResponse):
(WebKit::WrappedResourceResponse::~WrappedResourceResponse):
(WebKit::WrappedResourceResponse::WrappedResourceResponse):
(WebKit::WrappedResourceResponse::bind):
(Handle):
(WebKit::WrappedResourceResponse::Handle::dispose):

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

8 years agoUnreviewed, rolling out r112611.
abarth@webkit.org [Fri, 30 Mar 2012 01:34:51 +0000 (01:34 +0000)]
Unreviewed, rolling out r112611.
http://trac.webkit.org/changeset/112611
https://bugs.webkit.org/show_bug.cgi?id=82676

Does not compile in Windows component build

* WebCore.gyp/WebCore.gyp:

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

8 years agoUpdate shape-inside/shape-outside CSS Exclusion properties
commit-queue@webkit.org [Fri, 30 Mar 2012 01:17:38 +0000 (01:17 +0000)]
Update shape-inside/shape-outside CSS Exclusion properties
https://bugs.webkit.org/show_bug.cgi?id=82365

Patch by Bear Travis <betravis@adobe.com> on 2012-03-29
Reviewed by Ryosuke Niwa.

Source/WebCore:

Updating CSS property names for wrap-shape-inside and wrap-shape-outside
to shape-inside and shape-outside, per the current exclusions spec.
Renaming some parsing functions in CSSParser for clarity.
No new functionality.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseClipShape):
(WebCore::CSSParser::parseExclusionShapeRect):
(WebCore::CSSParser::parseExclusionShapeCircle):
(WebCore::CSSParser::parseExclusionShapeEllipse):
(WebCore::CSSParser::parseExclusionShapePolygon):
(WebCore::CSSParser::parseExclusionShape):
* css/CSSParser.h:
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* css/CSSPropertyNames.in:
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::collectMatchingRulesForList):

LayoutTests:

Renaming prefixed wrap-shape-inside and wrap-shape-outside
to prefixed shape-inside and shape-outside. Updating the
tests to reflect the change.

* fast/exclusions/parsing-wrap-shape-inside-expected.txt:
* fast/exclusions/parsing-wrap-shape-outside-expected.txt:
* fast/exclusions/script-tests/parsing-wrap-shape-inside.js:
(testCSSText):
(testComputedStyle):
(testNotInherited):
* fast/exclusions/script-tests/parsing-wrap-shape-outside.js:
(testCSSText):
(testComputedStyle):
(testNotInherited):

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

8 years ago[chromium] Update paths in GYP files
commit-queue@webkit.org [Fri, 30 Mar 2012 01:15:57 +0000 (01:15 +0000)]
[chromium] Update paths in GYP files
https://bugs.webkit.org/show_bug.cgi?id=82663

Patch by Ryan Sleevi <rsleevi@chromium.org> on 2012-03-29
Reviewed by Adam Barth.

* WebCore.gypi:
Remove PluginDataGtk.cpp following r112401

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

8 years agoUnreviewed, expectations changes.
dpranke@chromium.org [Fri, 30 Mar 2012 00:44:10 +0000 (00:44 +0000)]
Unreviewed, expectations changes.

fast/block/lineboxcontain/glyphs.html and
fast/text/international/spaces-combined-in-vertical-text.html on
mac

* platform/chromium/test_expectations.txt:

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

8 years agoRefactor recompileAllJSFunctions() to be less expensive
mhahnenberg@apple.com [Fri, 30 Mar 2012 00:36:37 +0000 (00:36 +0000)]
Refactor recompileAllJSFunctions() to be less expensive
https://bugs.webkit.org/show_bug.cgi?id=80330

Reviewed by Filip Pizlo.

This change is performance neutral on the JS benchmarks we track. It's mostly to improve page
load performance, which currently does at least a couple full GCs per navigation.

* heap/Heap.cpp:
(JSC::Heap::discardAllCompiledCode): Rename recompileAllJSFunctions to discardAllCompiledCode
because the function doesn't actually recompile anything (and never did); it simply throws code
away for it to be recompiled later if we determine we should do so.
(JSC):
(JSC::Heap::collectAllGarbage):
(JSC::Heap::addFunctionExecutable): Adds a newly created FunctionExecutable to the Heap's list.
(JSC::Heap::removeFunctionExecutable): Removes the specified FunctionExecutable from the Heap's list.
* heap/Heap.h:
(JSC):
(Heap):
* runtime/Executable.cpp: Added next and prev fields to FunctionExecutables so that they can
be used in DoublyLinkedLists.
(JSC::FunctionExecutable::FunctionExecutable):
(JSC::FunctionExecutable::finalize): Removes the FunctionExecutable from the Heap's list.
* runtime/Executable.h:
(FunctionExecutable):
(JSC::FunctionExecutable::create): Adds the FunctionExecutable to the Heap's list.
* runtime/JSGlobalData.cpp: Remove recompileAllJSFunctions, as it's the Heap's job to own and manage
the list of FunctionExecutables.
* runtime/JSGlobalData.h:
(JSGlobalData):
* runtime/JSGlobalObject.cpp:
(JSC::DynamicGlobalObjectScope::DynamicGlobalObjectScope): Use the new discardAllCompiledCode.

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

8 years agoCrash in GenericEventQueue::~GenericEventQueue.
inferno@chromium.org [Fri, 30 Mar 2012 00:33:10 +0000 (00:33 +0000)]
Crash in GenericEventQueue::~GenericEventQueue.
https://bugs.webkit.org/show_bug.cgi?id=81976

Reviewed by Eric Carlson.

* dom/GenericEventQueue.cpp:
(WebCore::GenericEventQueue::create):
(WebCore):
(WebCore::GenericEventQueue::GenericEventQueue):
(WebCore::GenericEventQueue::enqueueEvent):
(WebCore::GenericEventQueue::timerFired):
* dom/GenericEventQueue.h:
(GenericEventQueue):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement):
(WebCore::HTMLMediaElement::scheduleEvent):
(WebCore::HTMLMediaElement::updateActiveTextTrackCues):
(WebCore::HTMLMediaElement::cancelPendingEventsAndCallbacks):
(WebCore::HTMLMediaElement::hasPendingActivity):
* html/HTMLMediaElement.h:
(HTMLMediaElement):

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

8 years agoUnreviewed, expectations updates.
dpranke@chromium.org [Fri, 30 Mar 2012 00:31:32 +0000 (00:31 +0000)]
Unreviewed, expectations updates.

* platform/chromium/test_expectations.txt:

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

8 years agoMove to the WK1 skipped list (which WK2 picks up). The
simon.fraser@apple.com [Fri, 30 Mar 2012 00:26:27 +0000 (00:26 +0000)]
Move to the WK1 skipped list (which WK2 picks up). The
bug on the skipping is https://bugs.webkit.org/show_bug.cgi?id=82679.

* platform/mac-wk2/Skipped:
* platform/mac/Skipped:

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

8 years ago[Chromium] Add sharded ChromiumOS debug bots to builders.js
mihaip@chromium.org [Fri, 30 Mar 2012 00:25:26 +0000 (00:25 +0000)]
[Chromium] Add sharded ChromiumOS debug bots to builders.js
https://bugs.webkit.org/show_bug.cgi?id=82639

Reviewed by Eric Seidel.

The bots were sharded by http://crrev.com/129613, update builders.js
to reflect this.

* TestResultServer/static-dashboards/builders.js:

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

8 years ago[Qt][WK2] Direct composited image assignment doesn't work
noam.rosenthal@nokia.com [Fri, 30 Mar 2012 00:21:00 +0000 (00:21 +0000)]
[Qt][WK2] Direct composited image assignment doesn't work
https://bugs.webkit.org/show_bug.cgi?id=82525

Reviewed by Kenneth Rohde Christiansen.

We don't need to check whether the image or contentsRect are updated,
since assignImageToLayer is a cheap operation after the LayerBackingStore
refactor.

* UIProcess/WebLayerTreeRenderer.cpp:
(WebKit::WebLayerTreeRenderer::setLayerChildren):
(WebKit::WebLayerTreeRenderer::setLayerState):
(WebKit::WebLayerTreeRenderer::renderNextFrame):

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

8 years agoSkip three flaky storage tests.
simon.fraser@apple.com [Fri, 30 Mar 2012 00:16:01 +0000 (00:16 +0000)]
Skip three flaky storage tests.

* platform/mac/Skipped:

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

8 years agoAdd new chrome.webkit GPU bot to flakiness dashboard.
commit-queue@webkit.org [Fri, 30 Mar 2012 00:16:01 +0000 (00:16 +0000)]
Add new chrome.webkit GPU bot to flakiness dashboard.
https://bugs.webkit.org/show_bug.cgi?id=82562

Patch by Dave Tu <dtu@chromium.org> on 2012-03-29
Reviewed by Ojan Vafai.

* Tools/TestResultServer/static-dashboards/builders.js:

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

8 years ago[BlackBerry] DRT test case findString-markers is broken
commit-queue@webkit.org [Fri, 30 Mar 2012 00:09:56 +0000 (00:09 +0000)]
[BlackBerry] DRT test case findString-markers is broken
https://bugs.webkit.org/show_bug.cgi?id=82661

Patch by Andy Chen <andchen@rim.com> on 2012-03-29
Reviewed by Rob Buis.

Fixed wrong paths to js libs for this test case.

* platform/blackberry/editing/text-iterator/findString-markers.html:

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

8 years ago[Chromium] Attempt to fix the component build
abarth@webkit.org [Fri, 30 Mar 2012 00:00:52 +0000 (00:00 +0000)]
[Chromium] Attempt to fix the component build
https://bugs.webkit.org/show_bug.cgi?id=82676

Unreviewed.

Now that we're implementing some of the WEBKIT_EXPORT symbols in
WebCore/platform/chromium/support, we need to tell the build system
that we want to actually export these symbols.

* WebCore.gyp/WebCore.gyp:

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

8 years agoSkipping a failing test on Lion.
enrica@apple.com [Thu, 29 Mar 2012 23:45:10 +0000 (23:45 +0000)]
Skipping a failing test on Lion.
I filed https://bugs.webkit.org/show_bug.cgi?id=82675 to
track this issue.

* platform/mac/Skipped:

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

8 years agoVersioning.
lforschler@apple.com [Thu, 29 Mar 2012 23:38:32 +0000 (23:38 +0000)]
Versioning.

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

8 years agoUnreviewed, expectations and baselines updates.
dpranke@chromium.org [Thu, 29 Mar 2012 23:29:55 +0000 (23:29 +0000)]
Unreviewed, expectations and baselines updates.

* platform/chromium-mac/fast/block/lineboxcontain/block-glyphs-replaced-expected.txt:
* platform/chromium/test_expectations.txt:

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

8 years agoRestored change log entries that were accidentally deleted in r104276
mitz@apple.com [Thu, 29 Mar 2012 23:18:07 +0000 (23:18 +0000)]
Restored change log entries that were accidentally deleted in r104276

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

8 years agoSimplify reporting a main resource error to DocumentLoader and
japhet@chromium.org [Thu, 29 Mar 2012 23:17:09 +0000 (23:17 +0000)]
Simplify reporting a main resource error to DocumentLoader and
FrameLoader.
https://bugs.webkit.org/show_bug.cgi?id=82649

Reviewed by Adam Barth.

No new tests, no functionality change intended.

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::mainReceivedError): Remove isComplete parameter,
    since it was always true. Call FrameLoader::receivedMainResourceError,
    instead of the other way around.
* loader/DocumentLoader.h:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::receivedMainResourceError): Remove isComplete parameter,
    since it was always true. Merge in most of mainReceivedCompleteError().
* loader/FrameLoader.h:
* loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::receivedError):
(WebCore::MainResourceLoader::didCancel):

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

8 years agoremove support for junit-style xml output from test-webkitpy
dpranke@chromium.org [Thu, 29 Mar 2012 23:16:33 +0000 (23:16 +0000)]
remove support for junit-style xml output from test-webkitpy
https://bugs.webkit.org/show_bug.cgi?id=82279

Reviewed by Eric Seidel.

This was added when we were looking into integrating w/ Jenkins
rather than buildbot, but I believe that project got shelved, so
this is unused. We can always add it back in later as necessary.

* Scripts/webkitpy/test/main.py:
(Tester._parse_args):
(Tester._run_tests):
* Scritps/webkitpy/thirdparty/__init__.py:

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

8 years agoHeap-use-after-free in WebCore::InlineFlowBox::deleteLine due to fullscreen issues.
jer.noble@apple.com [Thu, 29 Mar 2012 23:03:58 +0000 (23:03 +0000)]
Heap-use-after-free in WebCore::InlineFlowBox::deleteLine due to fullscreen issues.
https://bugs.webkit.org/show_bug.cgi?id=82055

Reviewed by David Hyatt.

No new tests; fixes fuzz test crasher which is not reproducible in DRT or WKTR.

When a RenderFullScreen object is inserted between a child and parent renderer, make sure the
parent renderer deletes its line boxes by calling setNeedsLayoutAndPrefWidthsRecalc().  This
forces its InlineBox renderers to be removed from the line boxes and their parents in the correct
order, fixing a double-delete crash.

The same is true when unwrapping the RenderFullScreen object, and when creating and inserting
the full screen placeholder.

* rendering/RenderFullScreen.cpp:
(RenderFullScreen::wrapRenderer):
(RenderFullScreen::unwrapRenderer):
(RenderFullScreen::createPlaceholder):

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

8 years agoUnreviewed build fix for non-x86 platforms.
fpizlo@apple.com [Thu, 29 Mar 2012 23:01:46 +0000 (23:01 +0000)]
Unreviewed build fix for non-x86 platforms.

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileSoftModulo):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation):
* jit/JITArithmetic32_64.cpp:
(JSC::JIT::emitSlow_op_mod):

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

8 years agonew-run-webkit-tests: crashes when it fails to decode a stack trace
dpranke@chromium.org [Thu, 29 Mar 2012 22:53:28 +0000 (22:53 +0000)]
new-run-webkit-tests: crashes when it fails to decode a stack trace
https://bugs.webkit.org/show_bug.cgi?id=82673

Unreviewed, build fix.

We are assuming the stdout/stderr output from the driver is utf-8
encoded when we get stack traces; this may not be a valid
assumption generally, but if we do get strings that aren't valid
utf-8, we would crash. Now we will ignore any decoding errors.

* Scripts/webkitpy/layout_tests/port/base.py:
(Port._get_crash_log):
* Scripts/webkitpy/layout_tests/port/port_testcase.py:
(PortTestCase.test_get_crash_log):

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

8 years agoSkipping http/tests/xmlhttprequest/range-test.html for Mac platforms.
enrica@apple.com [Thu, 29 Mar 2012 22:50:34 +0000 (22:50 +0000)]
Skipping http/tests/xmlhttprequest/range-test.html for Mac platforms.
I filed https://bugs.webkit.org/show_bug.cgi?id=82672

* platform/mac/Skipped:

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

8 years agoGet rid of Geolocation::positionChangedInternal(), use positionChanged() directly
benjamin@webkit.org [Thu, 29 Mar 2012 22:45:49 +0000 (22:45 +0000)]
Get rid of Geolocation::positionChangedInternal(), use positionChanged() directly
https://bugs.webkit.org/show_bug.cgi?id=82543

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-03-29
Reviewed by Andreas Kling.

After the change to client based geolocation, the method positionChangedInternal()
is called only by positionChanged(). This patch remove this extra indirection.

* Modules/geolocation/Geolocation.cpp:
(WebCore::Geolocation::positionChanged):
* Modules/geolocation/Geolocation.h:
(Geolocation):
* WebCore.order:

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

8 years agoRebaseline fast/js tests for Chromium where the new results are
ojan@chromium.org [Thu, 29 Mar 2012 22:44:38 +0000 (22:44 +0000)]
Rebaseline fast/js tests for Chromium where the new results are
clearly more correct or the differences are just the error messages
V8 uses that are different from JSCs.

* platform/chromium-linux-x86/fast/js/large-expressions-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/js/large-expressions-expected.txt.
* platform/chromium-linux/fast/js/large-expressions-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/js/large-expressions-expected.txt.
* platform/chromium-mac-leopard/fast/js/large-expressions-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/js/large-expressions-expected.txt.
* platform/chromium-mac-snowleopard/fast/js/large-expressions-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/js/large-expressions-expected.txt.
* platform/chromium-mac/fast/js/large-expressions-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/js/large-expressions-expected.txt.
* platform/chromium-win-vista/fast/js/large-expressions-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/js/large-expressions-expected.txt.
* platform/chromium-win-xp/fast/js/large-expressions-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/js/large-expressions-expected.txt.
* platform/chromium-win/fast/js/large-expressions-expected.txt:
* platform/chromium/fast/js/JSON-parse-expected.txt:
* platform/chromium/fast/js/JSON-stringify-replacer-expected.txt: Added.
* platform/chromium/fast/js/Object-create-expected.txt: Added.
* platform/chromium/fast/js/Object-defineProperties-expected.txt: Added.
* platform/chromium/fast/js/exception-codegen-crash-expected.txt: Removed.
* platform/chromium/fast/js/function-apply-aliased-expected.txt: Renamed from LayoutTests/platform/chromium-win/fast/js/function-apply-aliased-expected.txt.
* platform/chromium/fast/js/function-bind-expected.txt: Added.
* platform/chromium/fast/js/kde/parse-expected.txt:
* platform/chromium/fast/js/object-literal-syntax-expected.txt: Added.
* platform/chromium/fast/js/object-prototype-properties-expected.txt: Added.
* platform/chromium/fast/js/regexp-caching-expected.txt: Removed.
* platform/chromium/fast/js/regexp-test-null-string-expected.txt: Removed.
* platform/chromium/fast/js/reserved-words-as-property-expected.txt: Added.
* platform/chromium/fast/js/reserved-words-strict-expected.txt:
* platform/chromium/test_expectations.txt:

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

8 years agoSkipping 3 inspector tests on Mac.
enrica@apple.com [Thu, 29 Mar 2012 22:42:21 +0000 (22:42 +0000)]
Skipping 3 inspector tests on Mac.
I filed https://bugs.webkit.org/show_bug.cgi?id=82671

* platform/mac/Skipped:

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

8 years agoInputType attribute changed functions should happen after the attribute change
commit-queue@webkit.org [Thu, 29 Mar 2012 22:32:39 +0000 (22:32 +0000)]
InputType attribute changed functions should happen after the attribute change
https://bugs.webkit.org/show_bug.cgi?id=82644

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2012-03-29
Reviewed by Benjamin Poulain.

* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::parseAttribute):

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