WebKit.git
9 years agoPosition grid items by row/column index
tony@chromium.org [Mon, 16 Jul 2012 19:09:57 +0000 (19:09 +0000)]
Position grid items by row/column index
https://bugs.webkit.org/show_bug.cgi?id=91293

Reviewed by Ojan Vafai.

Source/WebCore:

Do some initial grid positioning. Only handle the simple case where tracks are
fixed values and don't properly size the grid items. This gives us something to
work with and starts implementing the "Grid Track Sizing Algorithm":
http://dev.w3.org/csswg/css3-grid-layout/#grid-track-sizing-algorithm0

Test: fast/css-grid-layout/place-cell-by-index.html

* rendering/RenderGrid.cpp:
(RenderGrid::GridTrack): Data structure for holding the track size. UsedBreadth matches the terminology
used in the spec.
(WebCore::RenderGrid::layoutBlock): Pull in some boiler plate code and put the
grid specific code in layoutGridItems.
(WebCore::RenderGrid::computedUsedBreadthOfGridTracks): Implement part of the grid track sizing algorithm.
(WebCore::RenderGrid::layoutGridItems): Compute the size of grid tracks, layout and position children.
(WebCore::RenderGrid::findChildLogicalPosition): Map track sizes to the actual position of the child.
* rendering/RenderGrid.h:
* rendering/style/RenderStyle.h: Just return a copy of Length rather than a reference to Length. This seems
more consistent with other getters that return a Length.

LayoutTests:

Add a test for grid layout in each writing mode direction.  The height in vertical writing mode is incorrect for now.

* fast/css-grid-layout/containing-block-grids-expected.html: Scope <p> around text only.
* fast/css-grid-layout/containing-block-grids.html: Fix missing closing </div>.
* fast/css-grid-layout/place-cell-by-index-expected.txt: Added.
* fast/css-grid-layout/place-cell-by-index.html: Added.

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

9 years ago[chromium] Only apply page scale delta to root scroll layer
commit-queue@webkit.org [Mon, 16 Jul 2012 19:06:00 +0000 (19:06 +0000)]
[chromium] Only apply page scale delta to root scroll layer
https://bugs.webkit.org/show_bug.cgi?id=91374

Patch by Sami Kyostila <skyostil@chromium.org> on 2012-07-16
Reviewed by Adrienne Walker.

Source/WebCore:

When the user pinch-zooms the web page though the Chromium compositor, the
per-layer page scale delta is used to keep track of the difference between the
page scale on the compositor thread versus the main thread. On the next
commit to the main thread these values are reset to 1.

When calculating layer positions, the compositor applies a layer's page scale
delta both to the layer itself as well as all of its children. Since we are
currently updating the page scale delta on all scrollable layers, this results
in scrollable child layers getting scaled multiple times.

This patch changes the compositor to only apply the page scale delta on the
root scroll layer.

New unit test: CCLayerTreeHostImplTest.pageScaleDeltaAppliedToRootScrollLayerOnly

* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::setPageScaleFactorAndLimits):
(WebCore::CCLayerTreeHostImpl::setPageScaleDelta):

Source/WebKit/chromium:

New unit test
CCLayerTreeHostImplTest.pageScaleDeltaAppliedToRootScrollLayerOnly to verify
the transformation of child layer while pinch zooming.

* tests/CCLayerTreeHostImplTest.cpp:

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

9 years ago[BlackBerry] Improve about:memory page
commit-queue@webkit.org [Mon, 16 Jul 2012 18:59:27 +0000 (18:59 +0000)]
[BlackBerry] Improve about:memory page
https://bugs.webkit.org/show_bug.cgi?id=87676

Patch by Yong Li <yoli@rim.com> on 2012-07-16
Reviewed by Rob Buis.

Add a table for process memory usage summary for easy read.

* WebCoreSupport/AboutData.cpp:
(WebCore::memoryPage):

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

9 years ago[BlackBerry] Use newer version of platform API to implement callOnMainThread
commit-queue@webkit.org [Mon, 16 Jul 2012 18:40:42 +0000 (18:40 +0000)]
[BlackBerry] Use newer version of platform API to implement callOnMainThread
https://bugs.webkit.org/show_bug.cgi?id=91404

Patch by Adam Treat <atreat@rim.com> on 2012-07-16
Reviewed by Yong Li.

Right now we're using an outdated API that involves a virtual function call for no reason.
Use the new API that is much more direct and to the point.

* wtf/blackberry/MainThreadBlackBerry.cpp:
(WTF::scheduleDispatchFunctionsOnMainThread):

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

9 years agoRemove setController from BatteryClient
commit-queue@webkit.org [Mon, 16 Jul 2012 18:28:29 +0000 (18:28 +0000)]
Remove setController from BatteryClient
https://bugs.webkit.org/show_bug.cgi?id=90944

Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-07-16
Reviewed by Adam Barth.

Source/WebCore:

BatteryClient doesn't need to keep m_controller,
because BatteryController can be accessed using BatteryController::from().
Remove BatteryClient::setController function.

No new tests. Covered by existing tests.

* Modules/battery/BatteryClient.h:
* Modules/battery/BatteryController.cpp:
(WebCore::BatteryController::BatteryController):

Source/WebKit/blackberry:

BatteryClient doesn't need to keep m_controller,
because BatteryController can be accessed using BatteryController::from().
Remove m_controller and Add webPagePrivate to BatteryClientBlackBerry.
And change all m_controller to BatteryController::from.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init):
* WebCoreSupport/BatteryClientBlackBerry.cpp:
(WebCore::BatteryClientBlackBerry::BatteryClientBlackBerry):
(WebCore::BatteryClientBlackBerry::onLevelChange):
(WebCore::BatteryClientBlackBerry::onChargingChange):
(WebCore::BatteryClientBlackBerry::onChargingTimeChange):
(WebCore::BatteryClientBlackBerry::onDischargingTimeChange):
* WebCoreSupport/BatteryClientBlackBerry.h:
(BatteryClientBlackBerry):

Source/WebKit/chromium:

Remove virtual identifier from setController because setController is removed from WebCore::BatteryClient.
In addition, BatteryController is set to instance of BatteryClientImpl in the constructor of WebViewImpl.

* src/BatteryClientImpl.h:
(BatteryClientImpl):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):

Source/WebKit/efl:

BatteryClient doesn't need to keep m_controller,
because BatteryController can be accessed using BatteryController::from().
Remove m_controller and Add ewk view evas object to BatteryClientEfl.
And change all m_controller to BatteryController::from.

* WebCoreSupport/BatteryClientEfl.cpp:
(BatteryClientEfl::BatteryClientEfl):
(BatteryClientEfl::didChangeBatteryStatus):
* WebCoreSupport/BatteryClientEfl.h:
(BatteryClientEfl):
* ewk/ewk_view.cpp:
(_ewk_view_priv_new):

Source/WebKit2:

Remove WebBatteryClient::setController function.

* WebProcess/WebCoreSupport/WebBatteryClient.cpp:
* WebProcess/WebCoreSupport/WebBatteryClient.h:
(WebBatteryClient):

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

9 years ago[EFL][WK2] Make Ewk_Navigation_Policy_Decision ref counted
commit-queue@webkit.org [Mon, 16 Jul 2012 18:21:26 +0000 (18:21 +0000)]
[EFL][WK2] Make Ewk_Navigation_Policy_Decision ref counted
https://bugs.webkit.org/show_bug.cgi?id=91343

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-16
Reviewed by Antonio Gomes.

Make Ewk_Navigation_Policy_Decision ref counted so that the
client can make navigation policy decisions asynchronously
by ref'ing the Ewk_Navigation_Policy_Decision object passed
with the "policy,*" signals.

* UIProcess/API/efl/ewk_navigation_policy_decision.cpp:
(_Ewk_Navigation_Policy_Decision):
(_Ewk_Navigation_Policy_Decision::_Ewk_Navigation_Policy_Decision):
(_Ewk_Navigation_Policy_Decision::~_Ewk_Navigation_Policy_Decision):
(ewk_navigation_policy_decision_ref):
(ewk_navigation_policy_decision_unref):
* UIProcess/API/efl/ewk_navigation_policy_decision.h:
* UIProcess/API/efl/ewk_view.h:
* UIProcess/API/efl/ewk_view_policy_client.cpp:
(decidePolicyForNavigationAction):
(decidePolicyForNewWindowAction):

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

9 years agoInvalid `script-nonce` directives should block script execution.
commit-queue@webkit.org [Mon, 16 Jul 2012 18:16:42 +0000 (18:16 +0000)]
Invalid `script-nonce` directives should block script execution.
https://bugs.webkit.org/show_bug.cgi?id=91353

Patch by Mike West <mkwst@chromium.org> on 2012-07-16
Reviewed by Adam Barth.

Source/WebCore:

If the `script-nonce` Content Security Policy directive contains an
invalid value, we should fail loudly, throwing a warning to the console
and denying execution of script on the page. The is in line with the
current state of the experimental CSP 1.1 Editors Draft[1].

[1]: https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#script-nonce--experimental

Test: http/tests/security/contentSecurityPolicy/1.1/scriptnonce-invalidnonce.html

* page/ContentSecurityPolicy.cpp:
(WebCore::CSPDirectiveList::checkNonceAndReportViolation):
    Check against null rather than empty for early exit, otherwise
    only compare nonces if the stored nonce isn't empty.
(WebCore::CSPDirectiveList::parseScriptNonce):
    Assign the empty string if nonce is invalid.

LayoutTests:

* http/tests/security/contentSecurityPolicy/1.1/scriptnonce-badnonce-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/scriptnonce-badnonce.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/scriptnonce-emptynonce-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/scriptnonce-emptynonce.html: Removed.
    Replaced these two tests with the following.
* http/tests/security/contentSecurityPolicy/1.1/scriptnonce-invalidnonce-expected.txt: Added.
* http/tests/security/contentSecurityPolicy/1.1/scriptnonce-invalidnonce.html: Added.
    This tests variously invalid nonces to ensure they block execution.

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

9 years ago[Android] remove RenderThemeChromiumAndroid::paintMediaFullscreenButton()
commit-queue@webkit.org [Mon, 16 Jul 2012 18:14:02 +0000 (18:14 +0000)]
[Android] remove RenderThemeChromiumAndroid::paintMediaFullscreenButton()
https://bugs.webkit.org/show_bug.cgi?id=91291

Patch by Min Qin <qinmin@chromium.org> on 2012-07-16
Reviewed by Adam Barth.

The recent media control refactoring added paintMediaFullscreenButton() in RenderThemeChromiumSkia.
Since RenderThemeChromiumAndroid inherits from that class, we don't need to redefine this function.
No test needed as this change just removes an unnecessary override.

* rendering/RenderThemeChromiumAndroid.cpp:
* rendering/RenderThemeChromiumAndroid.h:

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

9 years agoWeb Inspector: CodeGeneratorInspector.py: fix output write logic to support increment...
commit-queue@webkit.org [Mon, 16 Jul 2012 18:10:58 +0000 (18:10 +0000)]
Web Inspector: CodeGeneratorInspector.py: fix output write logic to support incremental build
https://bugs.webkit.org/show_bug.cgi?id=90642

Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-07-16
Reviewed by Yury Semikhatsky.

A small intermediate writer is added. It handles comparing old and new source before actual writing.

* inspector/CodeGeneratorInspector.py:
(flatten_list):
(SmartOutput):
(SmartOutput.__init__):
(SmartOutput.write):
(SmartOutput.close):

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

9 years ago[chromium] Unreviewed gardening. Layout Test storage/indexeddb/cursor-update-value...
wjmaclean@chromium.org [Mon, 16 Jul 2012 18:04:44 +0000 (18:04 +0000)]
[chromium] Unreviewed gardening. Layout Test storage/indexeddb/cursor-update-value-argument-required.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=91403

This test crashes occasionally, not sure how long it has been flaky.

* platform/chromium/TestExpectations:

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

9 years ago[chromium] Incorrect assertion: Replicas will cause a RenderPass to be removed twice
danakj@chromium.org [Mon, 16 Jul 2012 18:01:34 +0000 (18:01 +0000)]
[chromium] Incorrect assertion: Replicas will cause a RenderPass to be removed twice
https://bugs.webkit.org/show_bug.cgi?id=91328

Reviewed by Adrienne Walker.

Source/WebCore:

We asserted that we would never attempt to remove a render pass that had
already been removed. This was incorrect as a surface with a replica has
two quads and both may cause us to attempt its removal. We must handle
this case gracefully.

Test: CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit

* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::CullRenderPassesWithNoQuads::shouldRemoveRenderPass):

Source/WebKit/chromium:

Add replicas to the surfaces in the test.

* tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):
(WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::beginTest):
(WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::afterTest):
(CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit):

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

9 years ago[Qt] platform/qt/editing/execCommand tests update after the font change.
kbalazs@webkit.org [Mon, 16 Jul 2012 17:51:06 +0000 (17:51 +0000)]
[Qt] platform/qt/editing/execCommand tests update after the font change.
https://bugs.webkit.org/show_bug.cgi?id=91246.

Unreviewed rebaseline.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-16

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/editing/execCommand/4580583-1-expected.png:
* platform/qt/editing/execCommand/4580583-1-expected.txt:
* platform/qt/editing/execCommand/4580583-2-expected.png:
* platform/qt/editing/execCommand/4580583-2-expected.txt:
* platform/qt/editing/execCommand/4641880-1-expected.png:
* platform/qt/editing/execCommand/4641880-1-expected.txt:
* platform/qt/editing/execCommand/4641880-2-expected.png:
* platform/qt/editing/execCommand/4641880-2-expected.txt:
* platform/qt/editing/execCommand/4747450-expected.png:
* platform/qt/editing/execCommand/4747450-expected.txt:
* platform/qt/editing/execCommand/4916402-expected.png:
* platform/qt/editing/execCommand/4916402-expected.txt:
* platform/qt/editing/execCommand/4916541-expected.png:
* platform/qt/editing/execCommand/4916541-expected.txt:
* platform/qt/editing/execCommand/4924441-expected.png:
* platform/qt/editing/execCommand/4924441-expected.txt:
* platform/qt/editing/execCommand/5080333-1-expected.png:
* platform/qt/editing/execCommand/5080333-1-expected.txt:
* platform/qt/editing/execCommand/5080333-2-expected.png:
* platform/qt/editing/execCommand/5080333-2-expected.txt:
* platform/qt/editing/execCommand/5136770-expected.png:
* platform/qt/editing/execCommand/5136770-expected.txt:
* platform/qt/editing/execCommand/5138441-expected.png:
* platform/qt/editing/execCommand/5138441-expected.txt:
* platform/qt/editing/execCommand/5142012-1-expected.png:
* platform/qt/editing/execCommand/5142012-1-expected.txt:
* platform/qt/editing/execCommand/5142012-2-expected.png:
* platform/qt/editing/execCommand/5142012-2-expected.txt:
* platform/qt/editing/execCommand/5190926-expected.png:
* platform/qt/editing/execCommand/5190926-expected.txt:
* platform/qt/editing/execCommand/5481523-expected.png:
* platform/qt/editing/execCommand/5481523-expected.txt:
* platform/qt/editing/execCommand/5482023-expected.png:
* platform/qt/editing/execCommand/5482023-expected.txt:
* platform/qt/editing/execCommand/5569741-expected.png:
* platform/qt/editing/execCommand/5569741-expected.txt:
* platform/qt/editing/execCommand/create-list-with-hr-expected.png:
* platform/qt/editing/execCommand/create-list-with-hr-expected.txt:
* platform/qt/editing/execCommand/find-after-replace-expected.png:
* platform/qt/editing/execCommand/find-after-replace-expected.txt:
* platform/qt/editing/execCommand/findString-2-expected.png:
* platform/qt/editing/execCommand/findString-2-expected.txt:
* platform/qt/editing/execCommand/findString-expected.png:
* platform/qt/editing/execCommand/findString-expected.txt:
* platform/qt/editing/execCommand/format-block-with-trailing-br-expected.png:
* platform/qt/editing/execCommand/format-block-with-trailing-br-expected.txt:
* platform/qt/editing/execCommand/indent-empty-root-expected.png:
* platform/qt/editing/execCommand/indent-empty-root-expected.txt:
* platform/qt/editing/execCommand/indent-list-item-expected.png:
* platform/qt/editing/execCommand/indent-list-item-expected.txt:
* platform/qt/editing/execCommand/indent-selection-expected.png:
* platform/qt/editing/execCommand/indent-selection-expected.txt:
* platform/qt/editing/execCommand/insert-list-and-stitch-expected.png:
* platform/qt/editing/execCommand/insert-list-and-stitch-expected.txt:
* platform/qt/editing/execCommand/insertHorizontalRule-expected.png:
* platform/qt/editing/execCommand/insertHorizontalRule-expected.txt:
* platform/qt/editing/execCommand/insertImage-expected.png:
* platform/qt/editing/execCommand/insertImage-expected.txt:
* platform/qt/editing/execCommand/nsresponder-indent-expected.png:
* platform/qt/editing/execCommand/nsresponder-indent-expected.txt:
* platform/qt/editing/execCommand/nsresponder-outdent-expected.png:
* platform/qt/editing/execCommand/nsresponder-outdent-expected.txt:
* platform/qt/editing/execCommand/paste-1-expected.png:
* platform/qt/editing/execCommand/paste-1-expected.txt:
* platform/qt/editing/execCommand/paste-2-expected.png:
* platform/qt/editing/execCommand/paste-2-expected.txt:
* platform/qt/editing/execCommand/print-expected.png:
* platform/qt/editing/execCommand/print-expected.txt:
* platform/qt/editing/execCommand/remove-list-from-range-selection-expected.png:
* platform/qt/editing/execCommand/remove-list-from-range-selection-expected.txt:
* platform/qt/editing/execCommand/remove-list-item-1-expected.png:
* platform/qt/editing/execCommand/remove-list-item-1-expected.txt:
* platform/qt/editing/execCommand/selectAll-expected.png:
* platform/qt/editing/execCommand/selectAll-expected.txt:

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

9 years agoWeb Inspector: native memory: fix instrumentation for string members
loislo@chromium.org [Mon, 16 Jul 2012 16:23:59 +0000 (16:23 +0000)]
Web Inspector: native memory: fix instrumentation for string members
https://bugs.webkit.org/show_bug.cgi?id=91384

Reviewed by Pavel Feldman.

It was possible to report a string member via addMember instead of addString.
This patch is fixing the problem and adding a link time guard.

Covered by existing inspector performance tests infrastructure.

* dom/ElementAttributeData.h:
(WebCore::ElementAttributeData::reportMemoryUsage):
* dom/MemoryInstrumentation.h:
(WebCore):
(WebCore::MemoryClassInfo::addString):
* dom/QualifiedName.h:
(WebCore::QualifiedName::QualifiedNameImpl::reportMemoryUsage):

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

9 years agoUnreviewed buildfix after r122729. Typo fix.
rgabor@webkit.org [Mon, 16 Jul 2012 16:16:03 +0000 (16:16 +0000)]
Unreviewed buildfix after r122729. Typo fix.

* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::add32):

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

9 years agojquery/manipulation.html times out in release too.
abarth@webkit.org [Mon, 16 Jul 2012 15:49:54 +0000 (15:49 +0000)]
jquery/manipulation.html times out in release too.

* platform/chromium/TestExpectations:

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

9 years ago[Qt] remaining compositing tests after rebaseline for new testfonts
kbalazs@webkit.org [Mon, 16 Jul 2012 15:39:57 +0000 (15:39 +0000)]
[Qt] remaining compositing tests after rebaseline for new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91377

Unreviewed rebaseline.

* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0-wk2/compositing/overflow/theme-affects-visual-overflow-expected.txt: Removed.
* platform/qt/compositing/backing/no-backing-for-clip-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/backing/no-backing-for-clip-expected.txt.
* platform/qt/compositing/backing/no-backing-for-clip-overlap-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/backing/no-backing-for-clip-overlap-expected.txt.
* platform/qt/compositing/backing/no-backing-for-perspective-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/backing/no-backing-for-perspective-expected.txt.
* platform/qt/compositing/geometry/composited-html-size-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/composited-html-size-expected.png.
* platform/qt/compositing/geometry/composited-html-size-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/composited-html-size-expected.txt.
* platform/qt/compositing/geometry/composited-in-columns-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/composited-in-columns-expected.txt.
* platform/qt/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.png: Copied from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.png.
* platform/qt/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.txt.
* platform/qt/compositing/geometry/object-clip-rects-assertion-expected.txt: Added.
* platform/qt/compositing/geometry/preserve-3d-switching-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/preserve-3d-switching-expected.txt.
* platform/qt/compositing/iframes/composited-iframe-scroll-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.png.
* platform/qt/compositing/iframes/composited-iframe-scroll-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/iframes/composited-iframe-scroll-expected.txt.
* platform/qt/compositing/iframes/iframe-content-flipping-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/composited-html-size-expected.png.
* platform/qt/compositing/iframes/iframe-content-flipping-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/iframes/iframe-content-flipping-expected.txt.
* platform/qt/compositing/iframes/invisible-nested-iframe-show-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/iframes/invisible-nested-iframe-show-expected.txt.
* platform/qt/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt.
* platform/qt/compositing/overflow/theme-affects-visual-overflow-expected.png: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/overflow/theme-affects-visual-overflow-expected.png.
* platform/qt/compositing/overflow/theme-affects-visual-overflow-expected.txt: Added.

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

9 years ago[Qt] Fix Qt5 module dependencies
commit-queue@webkit.org [Mon, 16 Jul 2012 15:28:23 +0000 (15:28 +0000)]
[Qt] Fix Qt5 module dependencies
https://bugs.webkit.org/show_bug.cgi?id=91388

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-07-16
Reviewed by Laszlo Gombos.

Removed ancient qtscript and qtxmlpatterns module dependencies.

* qmake/qt_webkit.pri:

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

9 years agoUpdate expectations : rebaseline images after skia 4600 lands
reed@google.com [Mon, 16 Jul 2012 15:25:59 +0000 (15:25 +0000)]
Update expectations : rebaseline images after skia 4600 lands
https://bugs.webkit.org/show_bug.cgi?id=91392

Reviewed by NOBODY : expectations change only

* platform/chromium/TestExpectations:

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

9 years agoUnreviewed buildfix from Zoltan Herczeg after r122677.
rgabor@webkit.org [Mon, 16 Jul 2012 15:05:57 +0000 (15:05 +0000)]
Unreviewed buildfix from Zoltan Herczeg after r122677.
Implement missing add32 function to MacroAssemblerARM.

* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::add32):
(MacroAssemblerARM):

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

9 years agorun-webkit-test returns 254 at exit even when it succeeds
commit-queue@webkit.org [Mon, 16 Jul 2012 14:56:19 +0000 (14:56 +0000)]
run-webkit-test returns 254 at exit even when it succeeds
https://bugs.webkit.org/show_bug.cgi?id=91370

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-07-16
Reviewed by Simon Hausmann.

sys.exit() is implemented by raising SystemExit which inherits from
BaseException. Since we are catching BaseException, run_webkit_tests.py
was always returning an error code.

* Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

9 years ago[Qt] Fix inconsistent DLL linkage on Windows with WebKit1
commit-queue@webkit.org [Mon, 16 Jul 2012 14:56:08 +0000 (14:56 +0000)]
[Qt] Fix inconsistent DLL linkage on Windows with WebKit1
https://bugs.webkit.org/show_bug.cgi?id=91375

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-07-16
Reviewed by Laszlo Gombos.

Export QWebHistoryItemPrivate as required for tests. Unfortunately we cannot use
Q_AUTOTEST_EXPORT outside of Qt.

* Api/qwebhistory_p.h:

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

9 years agoUnreviewed. Remove unnecessary executable bits after r122720.
zoltan@webkit.org [Mon, 16 Jul 2012 14:56:05 +0000 (14:56 +0000)]
Unreviewed. Remove unnecessary executable bits after r122720.

* platform/graphics/ImageSource.h:
* platform/graphics/qt/ImageBufferQt.cpp:
* platform/graphics/qt/ImageDecoderQt.cpp:
* platform/graphics/qt/ImageQt.cpp:
* platform/graphics/qt/StillImageQt.h:
* platform/graphics/qt/TransparencyLayer.h:

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

9 years ago[BlackBerry] Text selection with touch hold does not start on text field in some...
commit-queue@webkit.org [Mon, 16 Jul 2012 14:54:03 +0000 (14:54 +0000)]
[BlackBerry] Text selection with touch hold does not start on text field in some cases
https://bugs.webkit.org/show_bug.cgi?id=91267

Patch by Yongxin Dai <yodai@rim.com> on 2012-07-16
Reviewed by Antonio Gomes.

Input fields host node is by spec non-editable unless the field itself has content editable enabled.
We enable selection if the shadow tree for the input field is selectable.
PR # 173450

Reviewed Internally by Mike Fenton.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::webContext):
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::webContext):

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

9 years ago[Qt] REGRESSION (r122720): svg/filters/feSpecularLight-premultiplied.svg
zoltan@webkit.org [Mon, 16 Jul 2012 14:50:34 +0000 (14:50 +0000)]
[Qt] REGRESSION (r122720): svg/filters/feSpecularLight-premultiplied.svg
https://bugs.webkit.org/show_bug.cgi?id=91390

Unreviewed gardening.

Skip until proper fix.

* platform/qt/Skipped: Add the test to the skiplist

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

9 years ago[Qt] Unreviewed gardening. Fix TestExpectations after r122718.
kkristof@inf.u-szeged.hu [Mon, 16 Jul 2012 14:31:57 +0000 (14:31 +0000)]
[Qt] Unreviewed gardening. Fix TestExpectations after r122718.

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-07-16

* platform/qt/TestExpectations:

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

9 years ago[Qt] compositing tests need rebaseline with new testfonts
kbalazs@webkit.org [Mon, 16 Jul 2012 14:29:16 +0000 (14:29 +0000)]
[Qt] compositing tests need rebaseline with new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91234

Unreviewed rebaseline.

Rebaseline compositing tests. Move expectations from qt-5.0-wk2 to qt because these
results should not vary across Qt versions. Co-authored with Csaba Osztrogonác. Some
tests were produced uncorrect result, I keep skipped them and filed
https://bugs.webkit.org/show_bug.cgi?id=91377. Compositing tests are still skipped on
qt-4.8 and qt-5.0-wk1.

* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0-wk2/compositing/animation/state-at-end-event-transform-layer-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/animation/state-at-end-event-transform-layer-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/color-matching/image-color-matching-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/color-matching/pdf-image-match-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/color-matching/pdf-image-match-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/compositing-visible-descendant-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/direct-image-compositing-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/direct-image-compositing-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/generated-content-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/generated-content-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/geometry/abs-position-inside-opacity-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/geometry/clipping-foreground-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/geometry/clipping-foreground-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/geometry/fixed-in-composited-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/geometry/fixed-position-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-deep-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/geometry/outline-change-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/geometry/outline-change-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/geometry/partial-layout-update-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/geometry/root-layer-update-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/geometry/video-fixed-scrolling-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/iframes/composited-iframe-alignment-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/iframes/iframe-copy-on-scroll-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/images/direct-image-background-color-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/masks/masked-ancestor-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/overflow/fixed-position-ancestor-clip-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/overflow/overflow-compositing-descendant-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/overflow/overflow-compositing-descendant-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/overflow/overflow-positioning-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/overflow/overflow-positioning-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/overflow/overflow-scroll-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/overflow/overflow-scroll-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/overflow/parent-overflow-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/overflow/parent-overflow-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/overflow/scroll-ancestor-update-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/overflow/scrollbar-painting-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/overflow/scrollbar-painting-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/reflections/compositing-change-inside-reflection-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/reflections/masked-reflection-on-composited-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/reflections/nested-reflection-mask-change-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/reflections/nested-reflection-transformed-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/reflections/nested-reflection-transformed2-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/reflections/reflection-in-composited-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/reflections/reflection-opacity-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/reflections/reflection-ordering-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/repaint/become-overlay-composited-layer-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/repaint/become-overlay-composited-layer-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/repaint/composited-document-element-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/repaint/composited-document-element-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/repaint/layer-repaint-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/repaint/layer-repaint-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/repaint/layer-repaint-rects-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute2-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute2-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/self-painting-layers-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/self-painting-layers-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/shadows/shadow-drawing-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/shadows/shadow-drawing-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/sibling-positioning-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/text-on-large-layer-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/transitions/scale-transition-no-start-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/transitions/scale-transition-no-start-expected.txt: Removed.
* platform/qt-5.0-wk2/compositing/transitions/singular-scale-transition-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/transitions/singular-scale-transition-expected.txt: Removed.
* platform/qt/animations/3d/change-transform-in-end-event-expected.txt: Removed.
* platform/qt/animations/3d/state-at-end-event-transform-expected.png: Added.
* platform/qt/compositing/animation/state-at-end-event-transform-layer-expected.png: Added.
* platform/qt/compositing/animation/state-at-end-event-transform-layer-expected.txt: Added.
* platform/qt/compositing/color-matching/image-color-matching-expected.png: Added.
* platform/qt/compositing/color-matching/image-color-matching-expected.txt: Added.
* platform/qt/compositing/color-matching/pdf-image-match-expected.png: Added.
* platform/qt/compositing/color-matching/pdf-image-match-expected.txt: Added.
* platform/qt/compositing/compositing-visible-descendant-expected.png: Added.
* platform/qt/compositing/compositing-visible-descendant-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/compositing-visible-descendant-expected.txt.
* platform/qt/compositing/direct-image-compositing-expected.png: Added.
* platform/qt/compositing/direct-image-compositing-expected.txt: Added.
* platform/qt/compositing/generated-content-expected.png: Added.
* platform/qt/compositing/generated-content-expected.txt: Added.
* platform/qt/compositing/geometry/abs-position-inside-opacity-expected.png: Added.
* platform/qt/compositing/geometry/abs-position-inside-opacity-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/abs-position-inside-opacity-expected.txt.
* platform/qt/compositing/geometry/clipping-foreground-expected.png: Added.
* platform/qt/compositing/geometry/clipping-foreground-expected.txt: Added.
* platform/qt/compositing/geometry/fixed-in-composited-expected.png: Added.
* platform/qt/compositing/geometry/fixed-in-composited-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/fixed-in-composited-expected.txt.
* platform/qt/compositing/geometry/fixed-position-expected.png: Added.
* platform/qt/compositing/geometry/fixed-position-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/fixed-position-expected.txt.
* platform/qt/compositing/geometry/layer-due-to-layer-children-deep-expected.png: Added.
* platform/qt/compositing/geometry/layer-due-to-layer-children-deep-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-deep-expected.txt.
* platform/qt/compositing/geometry/layer-due-to-layer-children-expected.png: Added.
* platform/qt/compositing/geometry/layer-due-to-layer-children-expected.txt: Added.
* platform/qt/compositing/geometry/outline-change-expected.png: Added.
* platform/qt/compositing/geometry/outline-change-expected.txt: Added.
* platform/qt/compositing/geometry/partial-layout-update-expected.png: Added.
* platform/qt/compositing/geometry/partial-layout-update-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/partial-layout-update-expected.txt.
* platform/qt/compositing/geometry/root-layer-update-expected.png: Added.
* platform/qt/compositing/geometry/root-layer-update-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/root-layer-update-expected.txt.
* platform/qt/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png: Added.
* platform/qt/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt.
* platform/qt/compositing/geometry/video-fixed-scrolling-expected.png: Added.
* platform/qt/compositing/geometry/video-fixed-scrolling-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/geometry/video-fixed-scrolling-expected.txt.
* platform/qt/compositing/iframes/composited-iframe-alignment-expected.png: Added.
* platform/qt/compositing/iframes/composited-iframe-alignment-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/iframes/composited-iframe-alignment-expected.txt.
* platform/qt/compositing/iframes/iframe-copy-on-scroll-expected.png: Added.
* platform/qt/compositing/iframes/iframe-copy-on-scroll-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/iframes/iframe-copy-on-scroll-expected.txt.
* platform/qt/compositing/images/direct-image-background-color-expected.png: Added.
* platform/qt/compositing/images/direct-image-background-color-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/images/direct-image-background-color-expected.txt.
* platform/qt/compositing/masks/direct-image-mask-expected.png: Added.
* platform/qt/compositing/masks/direct-image-mask-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/masks/direct-image-mask-expected.txt.
* platform/qt/compositing/masks/masked-ancestor-expected.png: Added.
* platform/qt/compositing/masks/masked-ancestor-expected.txt: Added.
* platform/qt/compositing/masks/multiple-masks-expected.png: Added.
* platform/qt/compositing/masks/multiple-masks-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/masks/multiple-masks-expected.txt.
* platform/qt/compositing/masks/simple-composited-mask-expected.png: Added.
* platform/qt/compositing/masks/simple-composited-mask-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/masks/simple-composited-mask-expected.txt.
* platform/qt/compositing/overflow/ancestor-overflow-expected.png:
* platform/qt/compositing/overflow/ancestor-overflow-expected.txt:
* platform/qt/compositing/overflow/fixed-position-ancestor-clip-expected.png: Added.
* platform/qt/compositing/overflow/fixed-position-ancestor-clip-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/overflow/fixed-position-ancestor-clip-expected.txt.
* platform/qt/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
* platform/qt/compositing/overflow/overflow-compositing-descendant-expected.txt: Added.
* platform/qt/compositing/overflow/overflow-positioning-expected.png: Added.
* platform/qt/compositing/overflow/overflow-positioning-expected.txt: Added.
* platform/qt/compositing/overflow/overflow-scroll-expected.png: Added.
* platform/qt/compositing/overflow/overflow-scroll-expected.txt: Added.
* platform/qt/compositing/overflow/parent-overflow-expected.png: Added.
* platform/qt/compositing/overflow/parent-overflow-expected.txt: Added.
* platform/qt/compositing/overflow/scroll-ancestor-update-expected.png: Added.
* platform/qt/compositing/overflow/scroll-ancestor-update-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/overflow/scroll-ancestor-update-expected.txt.
* platform/qt/compositing/overflow/scrollbar-painting-expected.png: Added.
* platform/qt/compositing/overflow/scrollbar-painting-expected.txt: Added.
* platform/qt/compositing/reflections/compositing-change-inside-reflection-expected.png: Added.
* platform/qt/compositing/reflections/compositing-change-inside-reflection-expected.txt: Added.
* platform/qt/compositing/reflections/masked-reflection-on-composited-expected.png: Added.
* platform/qt/compositing/reflections/masked-reflection-on-composited-expected.txt: Added.
* platform/qt/compositing/reflections/nested-reflection-mask-change-expected.png: Added.
* platform/qt/compositing/reflections/nested-reflection-mask-change-expected.txt: Added.
* platform/qt/compositing/reflections/nested-reflection-transformed-expected.png: Added.
* platform/qt/compositing/reflections/nested-reflection-transformed-expected.txt: Added.
* platform/qt/compositing/reflections/nested-reflection-transformed2-expected.png: Added.
* platform/qt/compositing/reflections/nested-reflection-transformed2-expected.txt: Added.
* platform/qt/compositing/reflections/reflection-in-composited-expected.png: Added.
* platform/qt/compositing/reflections/reflection-in-composited-expected.txt: Added.
* platform/qt/compositing/reflections/reflection-on-composited-expected.png: Added.
* platform/qt/compositing/reflections/reflection-on-composited-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/reflections/reflection-on-composited-expected.txt.
* platform/qt/compositing/reflections/reflection-opacity-expected.png: Added.
* platform/qt/compositing/reflections/reflection-opacity-expected.txt: Added.
* platform/qt/compositing/reflections/reflection-ordering-expected.png: Added.
* platform/qt/compositing/reflections/reflection-ordering-expected.txt: Added.
* platform/qt/compositing/reflections/reflection-positioning-expected.png: Added.
* platform/qt/compositing/reflections/reflection-positioning-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/reflections/reflection-positioning-expected.txt.
* platform/qt/compositing/reflections/reflection-positioning2-expected.png: Added.
* platform/qt/compositing/reflections/reflection-positioning2-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/reflections/reflection-positioning2-expected.txt.
* platform/qt/compositing/reflections/simple-composited-reflections-expected.png: Added.
* platform/qt/compositing/reflections/simple-composited-reflections-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/reflections/simple-composited-reflections-expected.txt.
* platform/qt/compositing/repaint/become-overlay-composited-layer-expected.png: Added.
* platform/qt/compositing/repaint/become-overlay-composited-layer-expected.txt: Added.
* platform/qt/compositing/repaint/composited-document-element-expected.png: Added.
* platform/qt/compositing/repaint/composited-document-element-expected.txt: Added.
* platform/qt/compositing/repaint/layer-repaint-expected.png: Added.
* platform/qt/compositing/repaint/layer-repaint-expected.txt: Added.
* platform/qt/compositing/repaint/layer-repaint-rects-expected.png: Added.
* platform/qt/compositing/repaint/layer-repaint-rects-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/repaint/layer-repaint-rects-expected.txt.
* platform/qt/compositing/repaint/opacity-between-absolute-expected.png: Added.
* platform/qt/compositing/repaint/opacity-between-absolute-expected.txt: Added.
* platform/qt/compositing/repaint/opacity-between-absolute2-expected.png: Added.
* platform/qt/compositing/repaint/opacity-between-absolute2-expected.txt: Added.
* platform/qt/compositing/self-painting-layers-expected.png: Added.
* platform/qt/compositing/self-painting-layers-expected.txt: Added.
* platform/qt/compositing/shadows/shadow-drawing-expected.png: Added.
* platform/qt/compositing/shadows/shadow-drawing-expected.txt: Added.
* platform/qt/compositing/sibling-positioning-expected.png: Added.
* platform/qt/compositing/sibling-positioning-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/sibling-positioning-expected.txt.
* platform/qt/compositing/text-on-large-layer-expected.png: Added.
* platform/qt/compositing/text-on-large-layer-expected.txt: Renamed from LayoutTests/platform/qt-5.0-wk2/compositing/text-on-large-layer-expected.txt.
* platform/qt/compositing/transitions/scale-transition-no-start-expected.png: Added.
* platform/qt/compositing/transitions/scale-transition-no-start-expected.txt: Added.
* platform/qt/compositing/transitions/singular-scale-transition-expected.png: Added.
* platform/qt/compositing/transitions/singular-scale-transition-expected.txt: Added.

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

9 years agoUnreviewed chromium gardening, skipped failing test.
vsevik@chromium.org [Mon, 16 Jul 2012 14:08:07 +0000 (14:08 +0000)]
Unreviewed chromium gardening, skipped failing test.
https://bugs.webkit.org/show_bug.cgi?id=91386

* platform/chromium/TestExpectations:

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

9 years ago[Qt] Change NativeImagePtr from QPixmap* to QImage*
zoltan@webkit.org [Mon, 16 Jul 2012 13:50:14 +0000 (13:50 +0000)]
[Qt] Change NativeImagePtr from QPixmap* to QImage*
https://bugs.webkit.org/show_bug.cgi?id=88785

Reviewed by Simon Hausmann.

Since we use raster engine there is no difference between QPixmap and QImage, so we are going
to use QImage everywhere where it is possible. This refactoring contains the change of the
NativeImagePtr typedef from QPixmap* to QImage* and covers the related modifications.

Part of the change is similar to Viatcheslav Ostapenko's internal work.

Covered by existing tests.

Source/WebCore:

* bridge/qt/qt_pixmapruntime.cpp:
(JSC::Bindings::QtPixmapAssignToElementMethod::invoke):
(JSC::Bindings::QtPixmapInstance::variantFromObject):
* platform/DragImage.h:
(WebCore):
* platform/graphics/GraphicsContext.h:
(GraphicsContext):
* platform/graphics/Image.h:
(Image):
* platform/graphics/ImageSource.h:
(WebCore):
* platform/graphics/gstreamer/ImageGStreamer.h:
* platform/graphics/gstreamer/ImageGStreamerQt.cpp:
(ImageGStreamer::ImageGStreamer):
* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3D::getImageData):
* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::pushTransparencyLayerInternal):
(WebCore::GraphicsContext::beginPlatformTransparencyLayer):
(WebCore::GraphicsContext::endPlatformTransparencyLayer):
* platform/graphics/qt/ImageBufferDataQt.h:
(ImageBufferData):
* platform/graphics/qt/ImageBufferQt.cpp:
(WebCore::ImageBufferData::ImageBufferData):
(WebCore::ImageBuffer::copyImage):
(WebCore::ImageBuffer::clip):
(WebCore::ImageBuffer::platformTransformColorSpace):
(WebCore::getImageData):
(WebCore::ImageBuffer::putByteArray):
(WebCore::encodeImage):
(WebCore::ImageBuffer::toDataURL):
* platform/graphics/qt/ImageDecoderQt.cpp:
(WebCore::ImageFrame::asNewNativeImage):
* platform/graphics/qt/ImageQt.cpp:
(graphics):
(loadResourceImage):
(WebCore::Image::loadPlatformResource):
(WebCore::Image::setPlatformResource):
(WebCore::Image::drawPattern):
(WebCore::BitmapImage::BitmapImage):
(WebCore::BitmapImage::draw):
(WebCore::BitmapImage::checkForSolidColor):
(WebCore::BitmapImage::create):
* platform/graphics/qt/NativeImageQt.h: Added.
(WebCore):
(NativeImageQt):
(WebCore::NativeImageQt::defaultFormatForAlphaEnabledImages):
(WebCore::NativeImageQt::defaultFormatForOpaqueImages):
 * platform/graphics/qt/PatternQt.cpp:
(WebCore::Pattern::createPlatformPattern):
* platform/graphics/qt/StillImageQt.cpp:
(WebCore::StillImage::StillImage):
(WebCore::StillImage::~StillImage):
(WebCore::StillImage::currentFrameHasAlpha):
(WebCore::StillImage::size):
(WebCore::StillImage::nativeImageForCurrentFrame):
(WebCore::StillImage::draw):
* platform/graphics/qt/StillImageQt.h:
(WebCore::StillImage::create):
(WebCore::StillImage::createForRendering):
(StillImage):
* platform/graphics/qt/TransparencyLayer.h:
(WebCore::TransparencyLayer::TransparencyLayer):
(TransparencyLayer):
* platform/graphics/texmap/TextureMapperGL.cpp:
* platform/graphics/surfaces/qt/GraphicsSurfaceQt.cpp:
(WebCore::GraphicsSurface::createReadOnlyImage):
 * platform/qt/ClipboardQt.cpp:
(WebCore::ClipboardQt::createDragImage):
(WebCore::ClipboardQt::declareAndWriteDragImage):
* platform/qt/CursorQt.cpp:
(WebCore::createCustomCursor):
* platform/qt/DragImageQt.cpp:
(WebCore::createDragImageFromImage):
* platform/qt/PasteboardQt.cpp:
(WebCore::Pasteboard::writeImage):

Source/WebKit/qt:

* Api/qwebframe.cpp:
(QWebHitTestResultPrivate::QWebHitTestResultPrivate):
* Api/qwebhistory.cpp:
(QWebHistoryItem::icon):
* Api/qwebsettings.cpp:
(QWebSettings::iconForUrl):
(QWebSettings::setWebGraphic):
(QWebSettings::webGraphic):
* WebCoreSupport/DragClientQt.cpp:
(WebCore::DragClientQt::startDrag):
* WebCoreSupport/InitWebCoreQt.cpp:
(WebCore::initializeWebCoreQt):

Source/WebKit2:

* Shared/qt/ShareableBitmapQt.cpp:
(WebKit::ShareableBitmap::createImage):
* UIProcess/qt/QtWebIconDatabaseClient.cpp:
(WebKit::QtWebIconDatabaseClient::iconImageForPageURL):
* WebProcess/WebCoreSupport/qt/WebDragClientQt.cpp:
(WebKit::convertQImageToShareableBitmap):
(WebKit::WebDragClient::startDrag):
* WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp:
(WebKit::LayerTreeCoordinator::adoptImageBackingStore):

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

9 years ago[Qt] platform/qt/tables/mozilla tests needs update after rebaseline and new testfonts
kbalazs@webkit.org [Mon, 16 Jul 2012 13:44:20 +0000 (13:44 +0000)]
[Qt] platform/qt/tables/mozilla tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91242

Unreviewed rebaseline.

Patch by Balazs Ankes <bank@inf.u-szeged.hu> on 2012-07-16

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/tables/layering/paint-test-layering-1-expected.png:
* platform/qt/tables/layering/paint-test-layering-1-expected.txt:
* platform/qt/tables/layering/paint-test-layering-2-expected.png:
* platform/qt/tables/layering/paint-test-layering-2-expected.txt:
* platform/qt/tables/mozilla/bugs/45621-expected.png:
* platform/qt/tables/mozilla/bugs/45621-expected.txt:
* platform/qt/tables/mozilla/bugs/bug10009-expected.png:
* platform/qt/tables/mozilla/bugs/bug10009-expected.txt:
* platform/qt/tables/mozilla/bugs/bug100334-expected.png:
* platform/qt/tables/mozilla/bugs/bug100334-expected.txt:
* platform/qt/tables/mozilla/bugs/bug10036-expected.png:
* platform/qt/tables/mozilla/bugs/bug10036-expected.txt:
* platform/qt/tables/mozilla/bugs/bug10039-expected.png:
* platform/qt/tables/mozilla/bugs/bug10039-expected.txt:
* platform/qt/tables/mozilla/bugs/bug101201-expected.png:
* platform/qt/tables/mozilla/bugs/bug101201-expected.txt:
* platform/qt/tables/mozilla/bugs/bug101674-expected.png:
* platform/qt/tables/mozilla/bugs/bug101674-expected.txt:
* platform/qt/tables/mozilla/bugs/bug10269-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug10269-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1055-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug1055-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug10565-expected.png:
* platform/qt/tables/mozilla/bugs/bug10565-expected.txt:
* platform/qt/tables/mozilla/bugs/bug106158-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug106158-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug106158-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug106158-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug10633-expected.png:
* platform/qt/tables/mozilla/bugs/bug10633-expected.txt:
* platform/qt/tables/mozilla/bugs/bug106816-expected.png:
* platform/qt/tables/mozilla/bugs/bug106816-expected.txt:
* platform/qt/tables/mozilla/bugs/bug108340-expected.png:
* platform/qt/tables/mozilla/bugs/bug108340-expected.txt:
* platform/qt/tables/mozilla/bugs/bug109043-expected.png:
* platform/qt/tables/mozilla/bugs/bug109043-expected.txt:
* platform/qt/tables/mozilla/bugs/bug11026-expected.png:
* platform/qt/tables/mozilla/bugs/bug11026-expected.txt:
* platform/qt/tables/mozilla/bugs/bug110566-expected.png:
* platform/qt/tables/mozilla/bugs/bug110566-expected.txt:
* platform/qt/tables/mozilla/bugs/bug113235-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug113235-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug113235-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug113235-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug113235-3-expected.png:
* platform/qt/tables/mozilla/bugs/bug113235-3-expected.txt:
* platform/qt/tables/mozilla/bugs/bug113424-expected.png:
* platform/qt/tables/mozilla/bugs/bug113424-expected.txt:
* platform/qt/tables/mozilla/bugs/bug11384q-expected.png:
* platform/qt/tables/mozilla/bugs/bug11384q-expected.txt:
* platform/qt/tables/mozilla/bugs/bug11384s-expected.png:
* platform/qt/tables/mozilla/bugs/bug11384s-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1163-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug1163-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1188-expected.png:
* platform/qt/tables/mozilla/bugs/bug1188-expected.txt:
* platform/qt/tables/mozilla/bugs/bug11944-expected.png:
* platform/qt/tables/mozilla/bugs/bug11944-expected.txt:
* platform/qt/tables/mozilla/bugs/bug119786-expected.png:
* platform/qt/tables/mozilla/bugs/bug119786-expected.txt:
* platform/qt/tables/mozilla/bugs/bug12008-expected.png:
* platform/qt/tables/mozilla/bugs/bug12008-expected.txt:
* platform/qt/tables/mozilla/bugs/bug120364-expected.png:
* platform/qt/tables/mozilla/bugs/bug120364-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1220-expected.png:
* platform/qt/tables/mozilla/bugs/bug1220-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1224-expected.png:
* platform/qt/tables/mozilla/bugs/bug1224-expected.txt:
* platform/qt/tables/mozilla/bugs/bug12268-expected.png:
* platform/qt/tables/mozilla/bugs/bug12268-expected.txt:
* platform/qt/tables/mozilla/bugs/bug123862-expected.png:
* platform/qt/tables/mozilla/bugs/bug123862-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1261-expected.png:
* platform/qt/tables/mozilla/bugs/bug1261-expected.txt:
* platform/qt/tables/mozilla/bugs/bug126742-expected.png:
* platform/qt/tables/mozilla/bugs/bug126742-expected.txt:
* platform/qt/tables/mozilla/bugs/bug12709-expected.png:
* platform/qt/tables/mozilla/bugs/bug12709-expected.txt:
* platform/qt/tables/mozilla/bugs/bug127267-expected.png:
* platform/qt/tables/mozilla/bugs/bug127267-expected.txt:
* platform/qt/tables/mozilla/bugs/bug128229-expected.png:
* platform/qt/tables/mozilla/bugs/bug128229-expected.txt:
* platform/qt/tables/mozilla/bugs/bug12908-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug12908-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug12910-expected.png:
* platform/qt/tables/mozilla/bugs/bug12910-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1296-expected.png:
* platform/qt/tables/mozilla/bugs/bug1296-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1302-expected.png:
* platform/qt/tables/mozilla/bugs/bug1302-expected.txt:
* platform/qt/tables/mozilla/bugs/bug131020-expected.png:
* platform/qt/tables/mozilla/bugs/bug131020-expected.txt:
* platform/qt/tables/mozilla/bugs/bug131020_iframe-expected.png:
* platform/qt/tables/mozilla/bugs/bug131020_iframe-expected.txt:
* platform/qt/tables/mozilla/bugs/bug13105-expected.png:
* platform/qt/tables/mozilla/bugs/bug13105-expected.txt:
* platform/qt/tables/mozilla/bugs/bug13118-expected.png:
* platform/qt/tables/mozilla/bugs/bug13118-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1318-expected.png:
* platform/qt/tables/mozilla/bugs/bug1318-expected.txt:
* platform/qt/tables/mozilla/bugs/bug13196-expected.png:
* platform/qt/tables/mozilla/bugs/bug13196-expected.txt:
* platform/qt/tables/mozilla/bugs/bug133756-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug133756-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug133756-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug133756-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug13484-expected.png:
* platform/qt/tables/mozilla/bugs/bug13484-expected.txt:
* platform/qt/tables/mozilla/bugs/bug13526-expected.png:
* platform/qt/tables/mozilla/bugs/bug13526-expected.txt:
* platform/qt/tables/mozilla/bugs/bug138725-expected.png:
* platform/qt/tables/mozilla/bugs/bug138725-expected.txt:
* platform/qt/tables/mozilla/bugs/bug139524-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug139524-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug139524-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug139524-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug139524-3-expected.png:
* platform/qt/tables/mozilla/bugs/bug139524-3-expected.txt:
* platform/qt/tables/mozilla/bugs/bug139524-4-expected.png:
* platform/qt/tables/mozilla/bugs/bug139524-4-expected.txt:
* platform/qt/tables/mozilla/bugs/bug14159-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug14159-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug14159-3-expected.png:
* platform/qt/tables/mozilla/bugs/bug14159-3-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1430-expected.png:
* platform/qt/tables/mozilla/bugs/bug1430-expected.txt:
* platform/qt/tables/mozilla/bugs/bug14323-expected.png:
* platform/qt/tables/mozilla/bugs/bug14323-expected.txt:
* platform/qt/tables/mozilla/bugs/bug145572-expected.png:
* platform/qt/tables/mozilla/bugs/bug145572-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1474-expected.png:
* platform/qt/tables/mozilla/bugs/bug1474-expected.txt:
* platform/qt/tables/mozilla/bugs/bug149275-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug149275-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug149275-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug149275-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug14929-expected.png:
* platform/qt/tables/mozilla/bugs/bug14929-expected.txt:
* platform/qt/tables/mozilla/bugs/bug15247-expected.png:
* platform/qt/tables/mozilla/bugs/bug15247-expected.txt:
* platform/qt/tables/mozilla/bugs/bug15544-expected.png:
* platform/qt/tables/mozilla/bugs/bug15544-expected.txt:
* platform/qt/tables/mozilla/bugs/bug157890-expected.png:
* platform/qt/tables/mozilla/bugs/bug157890-expected.txt:
* platform/qt/tables/mozilla/bugs/bug159108-expected.png:
* platform/qt/tables/mozilla/bugs/bug159108-expected.txt:
* platform/qt/tables/mozilla/bugs/bug16012-expected.png:
* platform/qt/tables/mozilla/bugs/bug16012-expected.txt:
* platform/qt/tables/mozilla/bugs/bug16252-expected.png:
* platform/qt/tables/mozilla/bugs/bug16252-expected.txt:
* platform/qt/tables/mozilla/bugs/bug17130-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug17130-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug17130-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug17130-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug17138-expected.png:
* platform/qt/tables/mozilla/bugs/bug17138-expected.txt:
* platform/qt/tables/mozilla/bugs/bug17168-expected.png:
* platform/qt/tables/mozilla/bugs/bug17168-expected.txt:
* platform/qt/tables/mozilla/bugs/bug175455-4-expected.png:
* platform/qt/tables/mozilla/bugs/bug175455-4-expected.txt:
* platform/qt/tables/mozilla/bugs/bug17548-expected.png:
* platform/qt/tables/mozilla/bugs/bug17548-expected.txt:
* platform/qt/tables/mozilla/bugs/bug17587-expected.png:
* platform/qt/tables/mozilla/bugs/bug17587-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1800-expected.png:
* platform/qt/tables/mozilla/bugs/bug1800-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1802-expected.png:
* platform/qt/tables/mozilla/bugs/bug1802-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1802s-expected.png:
* platform/qt/tables/mozilla/bugs/bug1802s-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1809-expected.png:
* platform/qt/tables/mozilla/bugs/bug1809-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1818-5-expected.png:
* platform/qt/tables/mozilla/bugs/bug1818-5-expected.txt:
* platform/qt/tables/mozilla/bugs/bug1828-expected.png:
* platform/qt/tables/mozilla/bugs/bug1828-expected.txt:
* platform/qt/tables/mozilla/bugs/bug18359-expected.png:
* platform/qt/tables/mozilla/bugs/bug18359-expected.txt:
* platform/qt/tables/mozilla/bugs/bug18440-expected.png:
* platform/qt/tables/mozilla/bugs/bug18440-expected.txt:
* platform/qt/tables/mozilla/bugs/bug18558-expected.png:
* platform/qt/tables/mozilla/bugs/bug18558-expected.txt:
* platform/qt/tables/mozilla/bugs/bug18664-expected.png:
* platform/qt/tables/mozilla/bugs/bug18664-expected.txt:
* platform/qt/tables/mozilla/bugs/bug18955-expected.png:
* platform/qt/tables/mozilla/bugs/bug18955-expected.txt:
* platform/qt/tables/mozilla/bugs/bug19061-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug19061-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug19061-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug19061-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug19356-expected.png:
* platform/qt/tables/mozilla/bugs/bug19356-expected.txt:
* platform/qt/tables/mozilla/bugs/bug194024-expected.png:
* platform/qt/tables/mozilla/bugs/bug194024-expected.txt:
* platform/qt/tables/mozilla/bugs/bug19599-expected.png:
* platform/qt/tables/mozilla/bugs/bug19599-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2050-expected.png:
* platform/qt/tables/mozilla/bugs/bug2050-expected.txt:
* platform/qt/tables/mozilla/bugs/bug20579-expected.png:
* platform/qt/tables/mozilla/bugs/bug20579-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2065-expected.png:
* platform/qt/tables/mozilla/bugs/bug2065-expected.txt:
* platform/qt/tables/mozilla/bugs/bug20804-expected.png:
* platform/qt/tables/mozilla/bugs/bug20804-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2123-expected.png:
* platform/qt/tables/mozilla/bugs/bug2123-expected.txt:
* platform/qt/tables/mozilla/bugs/bug21299-expected.png:
* platform/qt/tables/mozilla/bugs/bug21299-expected.txt:
* platform/qt/tables/mozilla/bugs/bug215629-expected.png:
* platform/qt/tables/mozilla/bugs/bug215629-expected.txt:
* platform/qt/tables/mozilla/bugs/bug21918-expected.png:
* platform/qt/tables/mozilla/bugs/bug21918-expected.txt:
* platform/qt/tables/mozilla/bugs/bug22019-expected.png:
* platform/qt/tables/mozilla/bugs/bug22019-expected.txt:
* platform/qt/tables/mozilla/bugs/bug220536-expected.png:
* platform/qt/tables/mozilla/bugs/bug220536-expected.txt:
* platform/qt/tables/mozilla/bugs/bug22246-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug22246-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug22246-2a-expected.png:
* platform/qt/tables/mozilla/bugs/bug22246-2a-expected.txt:
* platform/qt/tables/mozilla/bugs/bug22246-3-expected.png:
* platform/qt/tables/mozilla/bugs/bug22246-3-expected.txt:
* platform/qt/tables/mozilla/bugs/bug22246-3a-expected.png:
* platform/qt/tables/mozilla/bugs/bug22246-3a-expected.txt:
* platform/qt/tables/mozilla/bugs/bug222846-expected.png:
* platform/qt/tables/mozilla/bugs/bug222846-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2267-expected.png:
* platform/qt/tables/mozilla/bugs/bug2267-expected.txt:
* platform/qt/tables/mozilla/bugs/bug227123-expected.png:
* platform/qt/tables/mozilla/bugs/bug227123-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2296-expected.png:
* platform/qt/tables/mozilla/bugs/bug2296-expected.txt:
* platform/qt/tables/mozilla/bugs/bug23151-expected.png:
* platform/qt/tables/mozilla/bugs/bug23151-expected.txt:
* platform/qt/tables/mozilla/bugs/bug23235-expected.png:
* platform/qt/tables/mozilla/bugs/bug23235-expected.txt:
* platform/qt/tables/mozilla/bugs/bug23299-expected.png:
* platform/qt/tables/mozilla/bugs/bug23299-expected.txt:
* platform/qt/tables/mozilla/bugs/bug24200-expected.png:
* platform/qt/tables/mozilla/bugs/bug24200-expected.txt:
* platform/qt/tables/mozilla/bugs/bug24503-expected.png:
* platform/qt/tables/mozilla/bugs/bug24503-expected.txt:
* platform/qt/tables/mozilla/bugs/bug24627-expected.png:
* platform/qt/tables/mozilla/bugs/bug24627-expected.txt:
* platform/qt/tables/mozilla/bugs/bug24661-expected.png:
* platform/qt/tables/mozilla/bugs/bug24661-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2469-expected.png:
* platform/qt/tables/mozilla/bugs/bug2469-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2479-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug2479-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2479-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug2479-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2479-3-expected.png:
* platform/qt/tables/mozilla/bugs/bug2479-3-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2479-4-expected.png:
* platform/qt/tables/mozilla/bugs/bug2479-4-expected.txt:
* platform/qt/tables/mozilla/bugs/bug24880-expected.png:
* platform/qt/tables/mozilla/bugs/bug24880-expected.txt:
* platform/qt/tables/mozilla/bugs/bug25004-expected.png:
* platform/qt/tables/mozilla/bugs/bug25004-expected.txt:
* platform/qt/tables/mozilla/bugs/bug25086-expected.png:
* platform/qt/tables/mozilla/bugs/bug25086-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2509-expected.png:
* platform/qt/tables/mozilla/bugs/bug2509-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2516-expected.png:
* platform/qt/tables/mozilla/bugs/bug2516-expected.txt:
* platform/qt/tables/mozilla/bugs/bug25663-expected.png:
* platform/qt/tables/mozilla/bugs/bug25663-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2585-expected.png:
* platform/qt/tables/mozilla/bugs/bug2585-expected.txt:
* platform/qt/tables/mozilla/bugs/bug26178-expected.png:
* platform/qt/tables/mozilla/bugs/bug26178-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2684-expected.png:
* platform/qt/tables/mozilla/bugs/bug2684-expected.txt:
* platform/qt/tables/mozilla/bugs/bug27038-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug27038-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug27038-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug27038-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug27038-3-expected.png:
* platform/qt/tables/mozilla/bugs/bug27038-3-expected.txt:
* platform/qt/tables/mozilla/bugs/bug275625-expected.png:
* platform/qt/tables/mozilla/bugs/bug275625-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2757-expected.png:
* platform/qt/tables/mozilla/bugs/bug2757-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2763-expected.png:
* platform/qt/tables/mozilla/bugs/bug2763-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2773-expected.png:
* platform/qt/tables/mozilla/bugs/bug2773-expected.txt:
* platform/qt/tables/mozilla/bugs/bug278266-expected.png:
* platform/qt/tables/mozilla/bugs/bug278266-expected.txt:
* platform/qt/tables/mozilla/bugs/bug278385-expected.png:
* platform/qt/tables/mozilla/bugs/bug278385-expected.txt:
* platform/qt/tables/mozilla/bugs/bug27993-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug27993-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug28341-expected.png:
* platform/qt/tables/mozilla/bugs/bug28341-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2886-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug2886-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2886-expected.png:
* platform/qt/tables/mozilla/bugs/bug2886-expected.txt:
* platform/qt/tables/mozilla/bugs/bug28928-expected.png:
* platform/qt/tables/mozilla/bugs/bug28928-expected.txt:
* platform/qt/tables/mozilla/bugs/bug29058-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug29058-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug29058-3-expected.png:
* platform/qt/tables/mozilla/bugs/bug29058-3-expected.txt:
* platform/qt/tables/mozilla/bugs/bug29157-expected.png:
* platform/qt/tables/mozilla/bugs/bug29157-expected.txt:
* platform/qt/tables/mozilla/bugs/bug29326-expected.png:
* platform/qt/tables/mozilla/bugs/bug29326-expected.txt:
* platform/qt/tables/mozilla/bugs/bug29429-expected.png:
* platform/qt/tables/mozilla/bugs/bug29429-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2947-expected.png:
* platform/qt/tables/mozilla/bugs/bug2947-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2962-expected.png:
* platform/qt/tables/mozilla/bugs/bug2962-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2973-expected.png:
* platform/qt/tables/mozilla/bugs/bug2973-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2981-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug2981-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2981-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug2981-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug2997-expected.png:
* platform/qt/tables/mozilla/bugs/bug2997-expected.txt:
* platform/qt/tables/mozilla/bugs/bug30273-expected.png:
* platform/qt/tables/mozilla/bugs/bug30273-expected.txt:
* platform/qt/tables/mozilla/bugs/bug30332-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug30332-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug30332-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug30332-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug30418-expected.png:
* platform/qt/tables/mozilla/bugs/bug30418-expected.txt:
* platform/qt/tables/mozilla/bugs/bug30559-expected.png:
* platform/qt/tables/mozilla/bugs/bug30559-expected.txt:
* platform/qt/tables/mozilla/bugs/bug30692-expected.png:
* platform/qt/tables/mozilla/bugs/bug30692-expected.txt:
* platform/qt/tables/mozilla/bugs/bug30985-expected.png:
* platform/qt/tables/mozilla/bugs/bug30985-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3103-expected.png:
* platform/qt/tables/mozilla/bugs/bug3103-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3191-expected.png:
* platform/qt/tables/mozilla/bugs/bug3191-expected.txt:
* platform/qt/tables/mozilla/bugs/bug32205-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug32205-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug32205-3-expected.png:
* platform/qt/tables/mozilla/bugs/bug32205-3-expected.txt:
* platform/qt/tables/mozilla/bugs/bug32205-5-expected.png:
* platform/qt/tables/mozilla/bugs/bug32205-5-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3260-expected.png:
* platform/qt/tables/mozilla/bugs/bug3260-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3263-expected.png:
* platform/qt/tables/mozilla/bugs/bug3263-expected.txt:
* platform/qt/tables/mozilla/bugs/bug32841-expected.png:
* platform/qt/tables/mozilla/bugs/bug32841-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3309-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug3309-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug33137-expected.png:
* platform/qt/tables/mozilla/bugs/bug33137-expected.txt:
* platform/qt/tables/mozilla/bugs/bug33855-expected.png:
* platform/qt/tables/mozilla/bugs/bug33855-expected.txt:
* platform/qt/tables/mozilla/bugs/bug34176-expected.png:
* platform/qt/tables/mozilla/bugs/bug34176-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3454-expected.png:
* platform/qt/tables/mozilla/bugs/bug3454-expected.txt:
* platform/qt/tables/mozilla/bugs/bug35662-expected.png:
* platform/qt/tables/mozilla/bugs/bug35662-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3681-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug3681-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3681-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug3681-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3718-expected.png:
* platform/qt/tables/mozilla/bugs/bug3718-expected.txt:
* platform/qt/tables/mozilla/bugs/bug38916-expected.png:
* platform/qt/tables/mozilla/bugs/bug38916-expected.txt:
* platform/qt/tables/mozilla/bugs/bug39209-expected.png:
* platform/qt/tables/mozilla/bugs/bug39209-expected.txt:
* platform/qt/tables/mozilla/bugs/bug3977-expected.png:
* platform/qt/tables/mozilla/bugs/bug3977-expected.txt:
* platform/qt/tables/mozilla/bugs/bug40828-expected.png:
* platform/qt/tables/mozilla/bugs/bug40828-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4093-expected.png:
* platform/qt/tables/mozilla/bugs/bug4093-expected.txt:
* platform/qt/tables/mozilla/bugs/bug41890-expected.png:
* platform/qt/tables/mozilla/bugs/bug41890-expected.txt:
* platform/qt/tables/mozilla/bugs/bug42187-expected.png:
* platform/qt/tables/mozilla/bugs/bug42187-expected.txt:
* platform/qt/tables/mozilla/bugs/bug42443-expected.png:
* platform/qt/tables/mozilla/bugs/bug42443-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4284-expected.png:
* platform/qt/tables/mozilla/bugs/bug4284-expected.txt:
* platform/qt/tables/mozilla/bugs/bug43039-expected.png:
* platform/qt/tables/mozilla/bugs/bug43039-expected.txt:
* platform/qt/tables/mozilla/bugs/bug43204-expected.png:
* platform/qt/tables/mozilla/bugs/bug43204-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4382-expected.png:
* platform/qt/tables/mozilla/bugs/bug4382-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4385-expected.png:
* platform/qt/tables/mozilla/bugs/bug4385-expected.txt:
* platform/qt/tables/mozilla/bugs/bug43854-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug43854-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug43854-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug43854-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4427-expected.png:
* platform/qt/tables/mozilla/bugs/bug4427-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4429-expected.png:
* platform/qt/tables/mozilla/bugs/bug4429-expected.txt:
* platform/qt/tables/mozilla/bugs/bug44505-expected.png:
* platform/qt/tables/mozilla/bugs/bug44505-expected.txt:
* platform/qt/tables/mozilla/bugs/bug44523-expected.png:
* platform/qt/tables/mozilla/bugs/bug44523-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4501-expected.png:
* platform/qt/tables/mozilla/bugs/bug4501-expected.txt:
* platform/qt/tables/mozilla/bugs/bug45055-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug45055-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug45055-expected.png:
* platform/qt/tables/mozilla/bugs/bug45055-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4520-expected.png:
* platform/qt/tables/mozilla/bugs/bug4520-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4523-expected.png:
* platform/qt/tables/mozilla/bugs/bug4523-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4527-expected.png:
* platform/qt/tables/mozilla/bugs/bug4527-expected.txt:
* platform/qt/tables/mozilla/bugs/bug45486-expected.png:
* platform/qt/tables/mozilla/bugs/bug45486-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4576-expected.png:
* platform/qt/tables/mozilla/bugs/bug4576-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46268-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug46268-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46268-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug46268-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46268-3-expected.png:
* platform/qt/tables/mozilla/bugs/bug46268-3-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46268-5-expected.png:
* platform/qt/tables/mozilla/bugs/bug46268-5-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46268-expected.png:
* platform/qt/tables/mozilla/bugs/bug46268-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46368-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug46368-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46368-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug46368-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46480-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug46480-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46480-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug46480-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46623-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug46623-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46623-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug46623-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46924-expected.png:
* platform/qt/tables/mozilla/bugs/bug46924-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46944-expected.png:
* platform/qt/tables/mozilla/bugs/bug46944-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4739-expected.png:
* platform/qt/tables/mozilla/bugs/bug4739-expected.txt:
* platform/qt/tables/mozilla/bugs/bug47432-expected.png:
* platform/qt/tables/mozilla/bugs/bug47432-expected.txt:
* platform/qt/tables/mozilla/bugs/bug48028-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug48028-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug48028-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug48028-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4803-expected.png:
* platform/qt/tables/mozilla/bugs/bug4803-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4849-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug4849-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug4849-expected.png:
* platform/qt/tables/mozilla/bugs/bug4849-expected.txt:
* platform/qt/tables/mozilla/bugs/bug48827-expected.png:
* platform/qt/tables/mozilla/bugs/bug48827-expected.txt:
* platform/qt/tables/mozilla/bugs/bug50695-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug50695-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug51037-expected.png:
* platform/qt/tables/mozilla/bugs/bug51037-expected.txt:
* platform/qt/tables/mozilla/bugs/bug51140-expected.png:
* platform/qt/tables/mozilla/bugs/bug51140-expected.txt:
* platform/qt/tables/mozilla/bugs/bug51727-expected.png:
* platform/qt/tables/mozilla/bugs/bug51727-expected.txt:
* platform/qt/tables/mozilla/bugs/bug5188-expected.png:
* platform/qt/tables/mozilla/bugs/bug5188-expected.txt:
* platform/qt/tables/mozilla/bugs/bug52505-expected.png:
* platform/qt/tables/mozilla/bugs/bug52505-expected.txt:
* platform/qt/tables/mozilla/bugs/bug52506-expected.png:
* platform/qt/tables/mozilla/bugs/bug52506-expected.txt:
* platform/qt/tables/mozilla/bugs/bug53891-expected.png:
* platform/qt/tables/mozilla/bugs/bug53891-expected.txt:
* platform/qt/tables/mozilla/bugs/bug54450-expected.png:
* platform/qt/tables/mozilla/bugs/bug54450-expected.txt:
* platform/qt/tables/mozilla/bugs/bug5538-expected.png:
* platform/qt/tables/mozilla/bugs/bug5538-expected.txt:
* platform/qt/tables/mozilla/bugs/bug55527-expected.png:
* platform/qt/tables/mozilla/bugs/bug55527-expected.txt:
* platform/qt/tables/mozilla/bugs/bug55545-expected.png:
* platform/qt/tables/mozilla/bugs/bug55545-expected.txt:
* platform/qt/tables/mozilla/bugs/bug55694-expected.png:
* platform/qt/tables/mozilla/bugs/bug55694-expected.txt:
* platform/qt/tables/mozilla/bugs/bug56563-expected.png:
* platform/qt/tables/mozilla/bugs/bug56563-expected.txt:
* platform/qt/tables/mozilla/bugs/bug57300-expected.png:
* platform/qt/tables/mozilla/bugs/bug57300-expected.txt:
* platform/qt/tables/mozilla/bugs/bug57378-expected.png:
* platform/qt/tables/mozilla/bugs/bug57378-expected.txt:
* platform/qt/tables/mozilla/bugs/bug57828-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug57828-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug57828-expected.png:
* platform/qt/tables/mozilla/bugs/bug57828-expected.txt:
* platform/qt/tables/mozilla/bugs/bug5797-expected.png:
* platform/qt/tables/mozilla/bugs/bug5797-expected.txt:
* platform/qt/tables/mozilla/bugs/bug5798-expected.png:
* platform/qt/tables/mozilla/bugs/bug5798-expected.txt:
* platform/qt/tables/mozilla/bugs/bug5799-expected.png:
* platform/qt/tables/mozilla/bugs/bug5799-expected.txt:
* platform/qt/tables/mozilla/bugs/bug5835-expected.png:
* platform/qt/tables/mozilla/bugs/bug5835-expected.txt:
* platform/qt/tables/mozilla/bugs/bug5838-expected.png:
* platform/qt/tables/mozilla/bugs/bug5838-expected.txt:
* platform/qt/tables/mozilla/bugs/bug58402-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug58402-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug59354-expected.png:
* platform/qt/tables/mozilla/bugs/bug59354-expected.txt:
* platform/qt/tables/mozilla/bugs/bug60013-expected.png:
* platform/qt/tables/mozilla/bugs/bug60013-expected.txt:
* platform/qt/tables/mozilla/bugs/bug60749-expected.png:
* platform/qt/tables/mozilla/bugs/bug60749-expected.txt:
* platform/qt/tables/mozilla/bugs/bug60804-expected.png:
* platform/qt/tables/mozilla/bugs/bug60804-expected.txt:
* platform/qt/tables/mozilla/bugs/bug60807-expected.png:
* platform/qt/tables/mozilla/bugs/bug60807-expected.txt:
* platform/qt/tables/mozilla/bugs/bug60992-expected.png:
* platform/qt/tables/mozilla/bugs/bug60992-expected.txt:
* platform/qt/tables/mozilla/bugs/bug6184-expected.png:
* platform/qt/tables/mozilla/bugs/bug6184-expected.txt:
* platform/qt/tables/mozilla/bugs/bug625-expected.png:
* platform/qt/tables/mozilla/bugs/bug625-expected.txt:
* platform/qt/tables/mozilla/bugs/bug6304-expected.png:
* platform/qt/tables/mozilla/bugs/bug6304-expected.txt:
* platform/qt/tables/mozilla/bugs/bug63785-expected.png:
* platform/qt/tables/mozilla/bugs/bug63785-expected.txt:
* platform/qt/tables/mozilla/bugs/bug6404-expected.png:
* platform/qt/tables/mozilla/bugs/bug6404-expected.txt:
* platform/qt/tables/mozilla/bugs/bug647-expected.png:
* platform/qt/tables/mozilla/bugs/bug647-expected.txt:
* platform/qt/tables/mozilla/bugs/bug650-expected.png:
* platform/qt/tables/mozilla/bugs/bug650-expected.txt:
* platform/qt/tables/mozilla/bugs/bug6674-expected.png:
* platform/qt/tables/mozilla/bugs/bug6674-expected.txt:
* platform/qt/tables/mozilla/bugs/bug67864-expected.png:
* platform/qt/tables/mozilla/bugs/bug67864-expected.txt:
* platform/qt/tables/mozilla/bugs/bug67915-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug67915-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug68912-expected.png:
* platform/qt/tables/mozilla/bugs/bug68912-expected.txt:
* platform/qt/tables/mozilla/bugs/bug68998-expected.png:
* platform/qt/tables/mozilla/bugs/bug68998-expected.txt:
* platform/qt/tables/mozilla/bugs/bug69187-expected.png:
* platform/qt/tables/mozilla/bugs/bug69187-expected.txt:
* platform/qt/tables/mozilla/bugs/bug69382-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug69382-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug69382-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug69382-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug709-expected.png:
* platform/qt/tables/mozilla/bugs/bug709-expected.txt:
* platform/qt/tables/mozilla/bugs/bug7112-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug7112-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug7112-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug7112-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug7121-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug7121-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug72359-expected.png:
* platform/qt/tables/mozilla/bugs/bug72359-expected.txt:
* platform/qt/tables/mozilla/bugs/bug727-expected.png:
* platform/qt/tables/mozilla/bugs/bug727-expected.txt:
* platform/qt/tables/mozilla/bugs/bug73321-expected.png:
* platform/qt/tables/mozilla/bugs/bug73321-expected.txt:
* platform/qt/tables/mozilla/bugs/bug7342-expected.png:
* platform/qt/tables/mozilla/bugs/bug7342-expected.txt:
* platform/qt/tables/mozilla/bugs/bug7471-expected.png:
* platform/qt/tables/mozilla/bugs/bug7471-expected.txt:
* platform/qt/tables/mozilla/bugs/bug75250-expected.png:
* platform/qt/tables/mozilla/bugs/bug75250-expected.txt:
* platform/qt/tables/mozilla/bugs/bug7714-expected.png:
* platform/qt/tables/mozilla/bugs/bug7714-expected.txt:
* platform/qt/tables/mozilla/bugs/bug78162-expected.png:
* platform/qt/tables/mozilla/bugs/bug78162-expected.txt:
* platform/qt/tables/mozilla/bugs/bug8032-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug8032-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug80762-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug80762-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug81934-expected.png:
* platform/qt/tables/mozilla/bugs/bug81934-expected.txt:
* platform/qt/tables/mozilla/bugs/bug82946-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug82946-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug82946-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug82946-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug83786-expected.png:
* platform/qt/tables/mozilla/bugs/bug83786-expected.txt:
* platform/qt/tables/mozilla/bugs/bug8381-expected.png:
* platform/qt/tables/mozilla/bugs/bug8381-expected.txt:
* platform/qt/tables/mozilla/bugs/bug8411-expected.png:
* platform/qt/tables/mozilla/bugs/bug8411-expected.txt:
* platform/qt/tables/mozilla/bugs/bug86220-expected.png:
* platform/qt/tables/mozilla/bugs/bug86220-expected.txt:
* platform/qt/tables/mozilla/bugs/bug86708-expected.png:
* platform/qt/tables/mozilla/bugs/bug86708-expected.txt:
* platform/qt/tables/mozilla/bugs/bug88035-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug88035-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug88035-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug88035-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug8858-expected.png:
* platform/qt/tables/mozilla/bugs/bug8858-expected.txt:
* platform/qt/tables/mozilla/bugs/bug8950-expected.png:
* platform/qt/tables/mozilla/bugs/bug8950-expected.txt:
* platform/qt/tables/mozilla/bugs/bug9123-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug9123-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug9123-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug9123-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug92143-expected.png:
* platform/qt/tables/mozilla/bugs/bug92143-expected.txt:
* platform/qt/tables/mozilla/bugs/bug9271-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug9271-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug9271-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug9271-2-expected.txt:
* platform/qt/tables/mozilla/bugs/bug92868-expected.png:
* platform/qt/tables/mozilla/bugs/bug92868-expected.txt:
* platform/qt/tables/mozilla/bugs/bug93363-expected.png:
* platform/qt/tables/mozilla/bugs/bug93363-expected.txt:
* platform/qt/tables/mozilla/bugs/bug963-expected.png:
* platform/qt/tables/mozilla/bugs/bug963-expected.txt:
* platform/qt/tables/mozilla/bugs/bug96334-expected.png:
* platform/qt/tables/mozilla/bugs/bug96334-expected.txt:
* platform/qt/tables/mozilla/bugs/bug96343-expected.png:
* platform/qt/tables/mozilla/bugs/bug96343-expected.txt:
* platform/qt/tables/mozilla/bugs/bug965-expected.png:
* platform/qt/tables/mozilla/bugs/bug965-expected.txt:
* platform/qt/tables/mozilla/bugs/bug97138-expected.png:
* platform/qt/tables/mozilla/bugs/bug97138-expected.txt:
* platform/qt/tables/mozilla/bugs/bug9879-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug9879-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug99923-expected.png:
* platform/qt/tables/mozilla/bugs/bug99923-expected.txt:
* platform/qt/tables/mozilla/collapsing_borders/bug127040-expected.png:
* platform/qt/tables/mozilla/collapsing_borders/bug127040-expected.txt:
* platform/qt/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/qt/tables/mozilla/collapsing_borders/bug41262-3-expected.txt:
* platform/qt/tables/mozilla/collapsing_borders/bug41262-4-expected.png:
* platform/qt/tables/mozilla/collapsing_borders/bug41262-4-expected.txt:
* platform/qt/tables/mozilla/core/bloomberg-expected.png:
* platform/qt/tables/mozilla/core/bloomberg-expected.txt:
* platform/qt/tables/mozilla/core/borders-expected.png:
* platform/qt/tables/mozilla/core/borders-expected.txt:
* platform/qt/tables/mozilla/core/box_sizing-expected.png:
* platform/qt/tables/mozilla/core/box_sizing-expected.txt:
* platform/qt/tables/mozilla/core/captions-expected.png:
* platform/qt/tables/mozilla/core/captions-expected.txt:
* platform/qt/tables/mozilla/core/cell_heights-expected.png:
* platform/qt/tables/mozilla/core/cell_heights-expected.txt:
* platform/qt/tables/mozilla/core/col_span-expected.png:
* platform/qt/tables/mozilla/core/col_span-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_auto_auto-expected.png:
* platform/qt/tables/mozilla/core/col_widths_auto_auto-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_auto_autoFix-expected.png:
* platform/qt/tables/mozilla/core/col_widths_auto_autoFix-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_auto_autoFixPer-expected.png:
* platform/qt/tables/mozilla/core/col_widths_auto_autoFixPer-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_auto_autoPer-expected.png:
* platform/qt/tables/mozilla/core/col_widths_auto_autoPer-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_auto_fix-expected.png:
* platform/qt/tables/mozilla/core/col_widths_auto_fix-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_auto_fixPer-expected.png:
* platform/qt/tables/mozilla/core/col_widths_auto_fixPer-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_auto_per-expected.png:
* platform/qt/tables/mozilla/core/col_widths_auto_per-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_fix_auto-expected.png:
* platform/qt/tables/mozilla/core/col_widths_fix_auto-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_fix_autoFix-expected.png:
* platform/qt/tables/mozilla/core/col_widths_fix_autoFix-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_fix_autoPer-expected.png:
* platform/qt/tables/mozilla/core/col_widths_fix_autoPer-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_fix_fix-expected.png:
* platform/qt/tables/mozilla/core/col_widths_fix_fix-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_fix_fixPer-expected.png:
* platform/qt/tables/mozilla/core/col_widths_fix_fixPer-expected.txt:
* platform/qt/tables/mozilla/core/col_widths_fix_per-expected.png:
* platform/qt/tables/mozilla/core/col_widths_fix_per-expected.txt:
* platform/qt/tables/mozilla/core/margins-expected.png:
* platform/qt/tables/mozilla/core/margins-expected.txt:
* platform/qt/tables/mozilla/core/misc-expected.png:
* platform/qt/tables/mozilla/core/misc-expected.txt:
* platform/qt/tables/mozilla/core/nested1-expected.png:
* platform/qt/tables/mozilla/core/nested1-expected.txt:
* platform/qt/tables/mozilla/core/one_row-expected.png:
* platform/qt/tables/mozilla/core/one_row-expected.txt:
* platform/qt/tables/mozilla/core/row_span-expected.png:
* platform/qt/tables/mozilla/core/row_span-expected.txt:
* platform/qt/tables/mozilla/core/table_frame-expected.png:
* platform/qt/tables/mozilla/core/table_frame-expected.txt:
* platform/qt/tables/mozilla/core/table_heights-expected.png:
* platform/qt/tables/mozilla/core/table_heights-expected.txt:
* platform/qt/tables/mozilla/core/table_rules-expected.png:
* platform/qt/tables/mozilla/core/table_rules-expected.txt:
* platform/qt/tables/mozilla/core/table_widths-expected.png:
* platform/qt/tables/mozilla/core/table_widths-expected.txt:
* platform/qt/tables/mozilla/dom/appendCol2-expected.png:
* platform/qt/tables/mozilla/dom/appendCol2-expected.txt:
* platform/qt/tables/mozilla/dom/appendRowsExpand1-expected.png:
* platform/qt/tables/mozilla/dom/appendRowsExpand1-expected.txt:
* platform/qt/tables/mozilla/dom/appendTbodyExpand1-expected.png:
* platform/qt/tables/mozilla/dom/appendTbodyExpand1-expected.txt:
* platform/qt/tables/mozilla/dom/deleteCellsRebuild1-expected.png:
* platform/qt/tables/mozilla/dom/deleteCellsRebuild1-expected.txt:
* platform/qt/tables/mozilla/dom/deleteCellsShrink1-expected.png:
* platform/qt/tables/mozilla/dom/deleteCellsShrink1-expected.txt:
* platform/qt/tables/mozilla/dom/deleteCellsShrink2-expected.png:
* platform/qt/tables/mozilla/dom/deleteCellsShrink2-expected.txt:
* platform/qt/tables/mozilla/dom/deleteCol1-expected.png:
* platform/qt/tables/mozilla/dom/deleteCol1-expected.txt:
* platform/qt/tables/mozilla/dom/deleteCol2-expected.png:
* platform/qt/tables/mozilla/dom/deleteCol2-expected.txt:
* platform/qt/tables/mozilla/dom/deleteCol3-expected.png:
* platform/qt/tables/mozilla/dom/deleteCol3-expected.txt:
* platform/qt/tables/mozilla/dom/deleteColGroup1-expected.png:
* platform/qt/tables/mozilla/dom/deleteColGroup1-expected.txt:
* platform/qt/tables/mozilla/dom/deleteColGroup2-expected.png:
* platform/qt/tables/mozilla/dom/deleteColGroup2-expected.txt:
* platform/qt/tables/mozilla/dom/deleteRowsRebuild1-expected.png:
* platform/qt/tables/mozilla/dom/deleteRowsRebuild1-expected.txt:
* platform/qt/tables/mozilla/dom/deleteRowsShrink1-expected.png:
* platform/qt/tables/mozilla/dom/deleteRowsShrink1-expected.txt:
* platform/qt/tables/mozilla/dom/deleteTbodyExpand1-expected.png:
* platform/qt/tables/mozilla/dom/deleteTbodyExpand1-expected.txt:
* platform/qt/tables/mozilla/dom/deleteTbodyRebuild1-expected.png:
* platform/qt/tables/mozilla/dom/deleteTbodyRebuild1-expected.txt:
* platform/qt/tables/mozilla/dom/insertCellsExpand1-expected.png:
* platform/qt/tables/mozilla/dom/insertCellsExpand1-expected.txt:
* platform/qt/tables/mozilla/dom/insertCellsExpand2-expected.png:
* platform/qt/tables/mozilla/dom/insertCellsExpand2-expected.txt:
* platform/qt/tables/mozilla/dom/insertCellsRebuild1-expected.png:
* platform/qt/tables/mozilla/dom/insertCellsRebuild1-expected.txt:
* platform/qt/tables/mozilla/dom/insertCellsRebuild2-expected.png:
* platform/qt/tables/mozilla/dom/insertCellsRebuild2-expected.txt:
* platform/qt/tables/mozilla/dom/insertColGroups1-expected.png:
* platform/qt/tables/mozilla/dom/insertColGroups1-expected.txt:
* platform/qt/tables/mozilla/dom/insertColGroups2-expected.png:
* platform/qt/tables/mozilla/dom/insertColGroups2-expected.txt:
* platform/qt/tables/mozilla/dom/insertCols1-expected.png:
* platform/qt/tables/mozilla/dom/insertCols1-expected.txt:
* platform/qt/tables/mozilla/dom/insertCols2-expected.png:
* platform/qt/tables/mozilla/dom/insertCols2-expected.txt:
* platform/qt/tables/mozilla/dom/insertCols3-expected.png:
* platform/qt/tables/mozilla/dom/insertCols3-expected.txt:
* platform/qt/tables/mozilla/dom/insertCols4-expected.png:
* platform/qt/tables/mozilla/dom/insertCols4-expected.txt:
* platform/qt/tables/mozilla/dom/insertCols5-expected.png:
* platform/qt/tables/mozilla/dom/insertCols5-expected.txt:
* platform/qt/tables/mozilla/dom/insertRowsExpand1-expected.png:
* platform/qt/tables/mozilla/dom/insertRowsExpand1-expected.txt:
* platform/qt/tables/mozilla/dom/insertRowsRebuild1-expected.png:
* platform/qt/tables/mozilla/dom/insertRowsRebuild1-expected.txt:
* platform/qt/tables/mozilla/dom/tableDom-expected.png:
* platform/qt/tables/mozilla/dom/tableDom-expected.txt:

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

9 years ago[Qt] Unreviewed gardening. Adding flaky tests to TextExpectations.
kkristof@inf.u-szeged.hu [Mon, 16 Jul 2012 12:43:23 +0000 (12:43 +0000)]
[Qt] Unreviewed gardening. Adding flaky tests to TextExpectations.
https://bugs.webkit.org/show_bug.cgi?id=91379
https://bugs.webkit.org/show_bug.cgi?id=91376

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-07-16

* platform/qt/TestExpectations:

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

9 years agoWeb Inspector: moving forward to the better memory instrumentation API
loislo@chromium.org [Mon, 16 Jul 2012 12:42:00 +0000 (12:42 +0000)]
Web Inspector: moving forward to the better memory instrumentation API
https://bugs.webkit.org/show_bug.cgi?id=91259

Reviewed by Pavel Feldman.

I'm trying to remove unnecessary complexity of the API
reportInstrumentedObject and reportInstrumentedPointer will be replaced with addInstrumentedMember
The same will happen with reportPointer, reportObject pair.
Also info.report* will be replaced with info.add*

* bindings/js/ScriptWrappable.h:
(WebCore::ScriptWrappable::reportMemoryUsage):
* bindings/v8/DOMDataStore.cpp:
(WebCore::DOMDataStore::reportMemoryUsage):
* bindings/v8/IntrusiveDOMWrapperMap.h:
(WebCore::ChunkedTable::reportMemoryUsage):
* bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::collectBindingMemoryInfo):
* bindings/v8/ScriptWrappable.h:
(WebCore::ScriptWrappable::reportMemoryUsage):
* bindings/v8/V8Binding.cpp:
(WebCore::V8BindingPerIsolateData::reportMemoryUsage):
(WebCore::StringCache::reportMemoryUsage):
* bindings/v8/V8DOMMap.h:
* css/StylePropertySet.h:
(WebCore::StylePropertySet::reportMemoryUsage):
* dom/CharacterData.cpp:
(WebCore::CharacterData::reportMemoryUsage):
* dom/ContainerNode.h:
(WebCore::ContainerNode::reportMemoryUsage):
* dom/Document.cpp:
(WebCore::Document::reportMemoryUsage):
* dom/Element.h:
(WebCore::Element::reportMemoryUsage):
* dom/ElementAttributeData.h:
(WebCore::ElementAttributeData::reportMemoryUsage):
* dom/MemoryInstrumentation.h:
(WebCore::MemoryInstrumentation::addInstrumentedMember):
(MemoryInstrumentation):
(WebCore::MemoryInstrumentation::addMember):
(WebCore::MemoryInstrumentation::OwningTraits::addInstrumentedMember):
(WebCore::MemoryInstrumentation::OwningTraits::addMember):
(WebCore::MemoryInstrumentation::addInstrumentedMemberImpl):
(WebCore::MemoryInstrumentation::addMemberImpl):
(WebCore::MemoryClassInfo::addInstrumentedMember):
(WebCore::MemoryClassInfo::addMember):
(WebCore::MemoryClassInfo::addHashMap):
(WebCore::MemoryClassInfo::addHashSet):
(WebCore::MemoryClassInfo::addListHashSet):
(WebCore::MemoryClassInfo::addVector):
(WebCore::MemoryClassInfo::addString):
(WebCore::MemoryInstrumentation::addHashMap):
(WebCore::MemoryInstrumentation::addHashSet):
(WebCore::MemoryInstrumentation::addListHashSet):
(WebCore::MemoryInstrumentation::addVector):
* dom/Node.cpp:
(WebCore::Node::reportMemoryUsage):
* dom/QualifiedName.h:
(WebCore::QualifiedName::QualifiedNameImpl::reportMemoryUsage):
(WebCore::QualifiedName::reportMemoryUsage):
* inspector/InspectorMemoryAgent.cpp:
(WebCore):
* platform/TreeShared.h:
(WebCore::TreeShared::reportMemoryUsage):

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

9 years ago[Qt] platform/qt/editing/selection tests needs update after rebaseline and new testfonts
kbalazs@webkit.org [Mon, 16 Jul 2012 12:37:49 +0000 (12:37 +0000)]
[Qt] platform/qt/editing/selection tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91088

Unreviewed rebaseline.

Patch by Balazs Ankes <bank@inf.u-szeged.hu> on 2012-07-16

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/editing/selection/13804-expected.png:
* platform/qt/editing/selection/13804-expected.txt:
* platform/qt/editing/selection/14971-expected.png:
* platform/qt/editing/selection/14971-expected.txt:
* platform/qt/editing/selection/3690703-2-expected.png:
* platform/qt/editing/selection/3690703-2-expected.txt:
* platform/qt/editing/selection/3690703-expected.png:
* platform/qt/editing/selection/3690703-expected.txt:
* platform/qt/editing/selection/3690719-expected.png:
* platform/qt/editing/selection/3690719-expected.txt:
* platform/qt/editing/selection/4397952-expected.png:
* platform/qt/editing/selection/4397952-expected.txt:
* platform/qt/editing/selection/4402375-expected.png:
* platform/qt/editing/selection/4402375-expected.txt:
* platform/qt/editing/selection/4776665-expected.png:
* platform/qt/editing/selection/4776665-expected.txt:
* platform/qt/editing/selection/4818145-expected.png:
* platform/qt/editing/selection/4818145-expected.txt:
* platform/qt/editing/selection/4866671-expected.png:
* platform/qt/editing/selection/4866671-expected.txt:
* platform/qt/editing/selection/4889598-expected.png:
* platform/qt/editing/selection/4889598-expected.txt:
* platform/qt/editing/selection/4895428-2-expected.png:
* platform/qt/editing/selection/4895428-2-expected.txt:
* platform/qt/editing/selection/4895428-3-expected.png:
* platform/qt/editing/selection/4895428-3-expected.txt:
* platform/qt/editing/selection/4932260-1-expected.png:
* platform/qt/editing/selection/4932260-1-expected.txt:
* platform/qt/editing/selection/4932260-2-expected.png:
* platform/qt/editing/selection/4932260-2-expected.txt:
* platform/qt/editing/selection/4932260-3-expected.png:
* platform/qt/editing/selection/4932260-3-expected.txt:
* platform/qt/editing/selection/4947387-expected.png:
* platform/qt/editing/selection/4947387-expected.txt:
* platform/qt/editing/selection/4960116-expected.png:
* platform/qt/editing/selection/4960116-expected.txt:
* platform/qt/editing/selection/4960137-expected.png:
* platform/qt/editing/selection/4960137-expected.txt:
* platform/qt/editing/selection/4975120-expected.png:
* platform/qt/editing/selection/4975120-expected.txt:
* platform/qt/editing/selection/4983858-expected.png:
* platform/qt/editing/selection/4983858-expected.txt:
* platform/qt/editing/selection/5007143-2-expected.png:
* platform/qt/editing/selection/5007143-2-expected.txt:
* platform/qt/editing/selection/5007143-expected.png:
* platform/qt/editing/selection/5007143-expected.txt:
* platform/qt/editing/selection/5057506-2-expected.png:
* platform/qt/editing/selection/5057506-2-expected.txt:
* platform/qt/editing/selection/5057506-expected.png:
* platform/qt/editing/selection/5057506-expected.txt:
* platform/qt/editing/selection/5076323-1-expected.png:
* platform/qt/editing/selection/5076323-1-expected.txt:
* platform/qt/editing/selection/5076323-2-expected.png:
* platform/qt/editing/selection/5076323-2-expected.txt:
* platform/qt/editing/selection/5076323-3-expected.png:
* platform/qt/editing/selection/5076323-3-expected.txt:
* platform/qt/editing/selection/5081257-1-expected.png:
* platform/qt/editing/selection/5081257-1-expected.txt:
* platform/qt/editing/selection/5081257-2-expected.png:
* platform/qt/editing/selection/5081257-2-expected.txt:
* platform/qt/editing/selection/5099303-expected.png:
* platform/qt/editing/selection/5099303-expected.txt:
* platform/qt/editing/selection/5131716-1-expected.png:
* platform/qt/editing/selection/5131716-1-expected.txt:
* platform/qt/editing/selection/5131716-2-expected.png:
* platform/qt/editing/selection/5131716-2-expected.txt:
* platform/qt/editing/selection/5131716-3-expected.png:
* platform/qt/editing/selection/5131716-3-expected.txt:
* platform/qt/editing/selection/5131716-4-expected.png:
* platform/qt/editing/selection/5131716-4-expected.txt:
* platform/qt/editing/selection/5195166-2-expected.png:
* platform/qt/editing/selection/5195166-2-expected.txt:
* platform/qt/editing/selection/5234383-1-expected.png:
* platform/qt/editing/selection/5234383-1-expected.txt:
* platform/qt/editing/selection/5234383-2-expected.png:
* platform/qt/editing/selection/5234383-2-expected.txt:
* platform/qt/editing/selection/5240265-expected.png:
* platform/qt/editing/selection/5240265-expected.txt:
* platform/qt/editing/selection/5354455-2-expected.png:
* platform/qt/editing/selection/5354455-2-expected.txt:
* platform/qt/editing/selection/6476-expected.png:
* platform/qt/editing/selection/6476-expected.txt:
* platform/qt/editing/selection/7152-1-expected.png:
* platform/qt/editing/selection/7152-1-expected.txt:
* platform/qt/editing/selection/7152-2-expected.png:
* platform/qt/editing/selection/7152-2-expected.txt:
* platform/qt/editing/selection/addRange-expected.png:
* platform/qt/editing/selection/addRange-expected.txt:
* platform/qt/editing/selection/after-line-wrap-expected.png:
* platform/qt/editing/selection/after-line-wrap-expected.txt:
* platform/qt/editing/selection/caret-and-focus-ring-expected.png:
* platform/qt/editing/selection/caret-and-focus-ring-expected.txt:
* platform/qt/editing/selection/caret-before-select-expected.png:
* platform/qt/editing/selection/caret-before-select-expected.txt:
* platform/qt/editing/selection/clear-selection-expected.png:
* platform/qt/editing/selection/clear-selection-expected.txt:
* platform/qt/editing/selection/click-start-of-line-expected.png:
* platform/qt/editing/selection/click-start-of-line-expected.txt:
* platform/qt/editing/selection/contenteditable-click-inside-expected.png:
* platform/qt/editing/selection/contenteditable-click-inside-expected.txt:
* platform/qt/editing/selection/display-table-text-expected.png:
* platform/qt/editing/selection/display-table-text-expected.txt:
* platform/qt/editing/selection/doubleclick-crash-expected.png:
* platform/qt/editing/selection/doubleclick-crash-expected.txt:
* platform/qt/editing/selection/drag-in-iframe-expected.png:
* platform/qt/editing/selection/drag-in-iframe-expected.txt:
* platform/qt/editing/selection/drag-select-1-expected.png:
* platform/qt/editing/selection/drag-select-1-expected.txt:
* platform/qt/editing/selection/editable-html-element-expected.png:
* platform/qt/editing/selection/editable-html-element-expected.txt:
* platform/qt/editing/selection/editable-non-editable-crash-expected.png:
* platform/qt/editing/selection/editable-non-editable-crash-expected.txt:
* platform/qt/editing/selection/end-of-document-expected.png:
* platform/qt/editing/selection/end-of-document-expected.txt:
* platform/qt/editing/selection/expanding-selections-expected.png:
* platform/qt/editing/selection/expanding-selections-expected.txt:
* platform/qt/editing/selection/expanding-selections2-expected.png:
* platform/qt/editing/selection/expanding-selections2-expected.txt:
* platform/qt/editing/selection/extend-by-character-001-expected.png:
* platform/qt/editing/selection/extend-by-character-001-expected.txt:
* platform/qt/editing/selection/extend-by-character-002-expected.png:
* platform/qt/editing/selection/extend-by-character-002-expected.txt:
* platform/qt/editing/selection/extend-by-character-003-expected.png:
* platform/qt/editing/selection/extend-by-character-003-expected.txt:
* platform/qt/editing/selection/extend-by-character-004-expected.png:
* platform/qt/editing/selection/extend-by-character-004-expected.txt:
* platform/qt/editing/selection/extend-by-character-005-expected.png:
* platform/qt/editing/selection/extend-by-character-005-expected.txt:
* platform/qt/editing/selection/extend-by-character-006-expected.png:
* platform/qt/editing/selection/extend-by-character-006-expected.txt:
* platform/qt/editing/selection/extend-by-sentence-001-expected.png:
* platform/qt/editing/selection/extend-by-sentence-001-expected.txt:
* platform/qt/editing/selection/extend-by-word-001-expected.png:
* platform/qt/editing/selection/extend-by-word-001-expected.txt:
* platform/qt/editing/selection/extend-by-word-002-expected.png:
* platform/qt/editing/selection/extend-by-word-002-expected.txt:
* platform/qt/editing/selection/extend-inside-transforms-backward-expected.png:
* platform/qt/editing/selection/extend-inside-transforms-backward-expected.txt:
* platform/qt/editing/selection/extend-inside-transforms-forward-expected.png:
* platform/qt/editing/selection/extend-inside-transforms-forward-expected.txt:
* platform/qt/editing/selection/fake-doubleclick-expected.png:
* platform/qt/editing/selection/fake-doubleclick-expected.txt:
* platform/qt/editing/selection/focus-body-expected.png:
* platform/qt/editing/selection/focus-body-expected.txt:
* platform/qt/editing/selection/focus_editable_html-expected.png:
* platform/qt/editing/selection/focus_editable_html-expected.txt:
* platform/qt/editing/selection/iframe-expected.png:
* platform/qt/editing/selection/iframe-expected.txt:
* platform/qt/editing/selection/image-before-linebreak-expected.png:
* platform/qt/editing/selection/image-before-linebreak-expected.txt:
* platform/qt/editing/selection/inline-closest-leaf-child-expected.png:
* platform/qt/editing/selection/inline-closest-leaf-child-expected.txt:
* platform/qt/editing/selection/inline-table-expected.png:
* platform/qt/editing/selection/inline-table-expected.txt:
* platform/qt/editing/selection/leave-requested-block-expected.png:
* platform/qt/editing/selection/leave-requested-block-expected.txt:
* platform/qt/editing/selection/line-wrap-1-expected.png:
* platform/qt/editing/selection/line-wrap-1-expected.txt:
* platform/qt/editing/selection/line-wrap-2-expected.png:
* platform/qt/editing/selection/line-wrap-2-expected.txt:
* platform/qt/editing/selection/mixed-editability-1-expected.png:
* platform/qt/editing/selection/mixed-editability-1-expected.txt:
* platform/qt/editing/selection/mixed-editability-2-expected.png:
* platform/qt/editing/selection/mixed-editability-2-expected.txt:
* platform/qt/editing/selection/mixed-editability-3-expected.png:
* platform/qt/editing/selection/mixed-editability-3-expected.txt:
* platform/qt/editing/selection/mixed-editability-4-expected.png:
* platform/qt/editing/selection/mixed-editability-4-expected.txt:
* platform/qt/editing/selection/mixed-editability-5-expected.png:
* platform/qt/editing/selection/mixed-editability-5-expected.txt:
* platform/qt/editing/selection/mixed-editability-6-expected.png:
* platform/qt/editing/selection/mixed-editability-6-expected.txt:
* platform/qt/editing/selection/mixed-editability-7-expected.png:
* platform/qt/editing/selection/mixed-editability-7-expected.txt:
* platform/qt/editing/selection/mixed-editability-8-expected.png:
* platform/qt/editing/selection/mixed-editability-8-expected.txt:
* platform/qt/editing/selection/mixed-editability-9-expected.png:
* platform/qt/editing/selection/mixed-editability-9-expected.txt:
* platform/qt/editing/selection/move-3875618-fix-expected.png:
* platform/qt/editing/selection/move-3875618-fix-expected.txt:
* platform/qt/editing/selection/move-3875641-fix-expected.png:
* platform/qt/editing/selection/move-3875641-fix-expected.txt:
* platform/qt/editing/selection/move-backwords-by-word-001-expected.png:
* platform/qt/editing/selection/move-backwords-by-word-001-expected.txt:
* platform/qt/editing/selection/move-between-blocks-no-001-expected.png:
* platform/qt/editing/selection/move-between-blocks-no-001-expected.txt:
* platform/qt/editing/selection/move-between-blocks-yes-001-expected.png:
* platform/qt/editing/selection/move-between-blocks-yes-001-expected.txt:
* platform/qt/editing/selection/move-by-character-001-expected.png:
* platform/qt/editing/selection/move-by-character-001-expected.txt:
* platform/qt/editing/selection/move-by-character-002-expected.png:
* platform/qt/editing/selection/move-by-character-002-expected.txt:
* platform/qt/editing/selection/move-by-character-003-expected.png:
* platform/qt/editing/selection/move-by-character-003-expected.txt:
* platform/qt/editing/selection/move-by-character-004-expected.png:
* platform/qt/editing/selection/move-by-character-004-expected.txt:
* platform/qt/editing/selection/move-by-character-005-expected.png:
* platform/qt/editing/selection/move-by-character-005-expected.txt:
* platform/qt/editing/selection/move-by-character-6-expected.png:
* platform/qt/editing/selection/move-by-character-6-expected.txt:
* platform/qt/editing/selection/move-by-line-001-expected.png:
* platform/qt/editing/selection/move-by-line-001-expected.txt:
* platform/qt/editing/selection/move-by-line-002-expected.png:
* platform/qt/editing/selection/move-by-line-002-expected.txt:
* platform/qt/editing/selection/move-by-sentence-001-expected.png:
* platform/qt/editing/selection/move-by-sentence-001-expected.txt:
* platform/qt/editing/selection/move-by-sentence-linebreak-expected.png:
* platform/qt/editing/selection/move-by-sentence-linebreak-expected.txt:
* platform/qt/editing/selection/move-by-word-001-expected.png:
* platform/qt/editing/selection/move-by-word-001-expected.txt:
* platform/qt/editing/selection/node-removal-1-expected.png:
* platform/qt/editing/selection/node-removal-1-expected.txt:
* platform/qt/editing/selection/node-removal-2-expected.png:
* platform/qt/editing/selection/node-removal-2-expected.txt:
* platform/qt/editing/selection/paragraph-granularity-expected.png:
* platform/qt/editing/selection/paragraph-granularity-expected.txt:
* platform/qt/editing/selection/previous-line-position-expected.png:
* platform/qt/editing/selection/previous-line-position-expected.txt:
* platform/qt/editing/selection/range-between-block-and-inline-expected.png:
* platform/qt/editing/selection/range-between-block-and-inline-expected.txt:
* platform/qt/editing/selection/replace-selection-1-expected.png:
* platform/qt/editing/selection/replace-selection-1-expected.txt:
* platform/qt/editing/selection/replaced-boundaries-1-expected.png:
* platform/qt/editing/selection/replaced-boundaries-1-expected.txt:
* platform/qt/editing/selection/replaced-boundaries-2-expected.png:
* platform/qt/editing/selection/replaced-boundaries-2-expected.txt:
* platform/qt/editing/selection/replaced-boundaries-3-expected.png:
* platform/qt/editing/selection/replaced-boundaries-3-expected.txt:
* platform/qt/editing/selection/select-across-readonly-input-1-expected.png:
* platform/qt/editing/selection/select-across-readonly-input-1-expected.txt:
* platform/qt/editing/selection/select-across-readonly-input-2-expected.png:
* platform/qt/editing/selection/select-across-readonly-input-2-expected.txt:
* platform/qt/editing/selection/select-across-readonly-input-3-expected.png:
* platform/qt/editing/selection/select-across-readonly-input-3-expected.txt:
* platform/qt/editing/selection/select-across-readonly-input-4-expected.png:
* platform/qt/editing/selection/select-across-readonly-input-4-expected.txt:
* platform/qt/editing/selection/select-across-readonly-input-5-expected.png:
* platform/qt/editing/selection/select-across-readonly-input-5-expected.txt:
* platform/qt/editing/selection/select-all-001-expected.png:
* platform/qt/editing/selection/select-all-001-expected.txt:
* platform/qt/editing/selection/select-all-002-expected.png:
* platform/qt/editing/selection/select-all-002-expected.txt:
* platform/qt/editing/selection/select-all-003-expected.png:
* platform/qt/editing/selection/select-all-003-expected.txt:
* platform/qt/editing/selection/select-all-004-expected.png:
* platform/qt/editing/selection/select-all-004-expected.txt:
* platform/qt/editing/selection/select-all-005-expected.png:
* platform/qt/editing/selection/select-all-005-expected.txt:
* platform/qt/editing/selection/select-all-006-expected.png:
* platform/qt/editing/selection/select-all-006-expected.txt:
* platform/qt/editing/selection/select-all-iframe-expected.png:
* platform/qt/editing/selection/select-all-iframe-expected.txt:
* platform/qt/editing/selection/select-box-expected.png:
* platform/qt/editing/selection/select-box-expected.txt:
* platform/qt/editing/selection/select-element-paragraph-boundary-expected.png:
* platform/qt/editing/selection/select-element-paragraph-boundary-expected.txt:
* platform/qt/editing/selection/select-text-overflow-ellipsis-expected.png:
* platform/qt/editing/selection/select-text-overflow-ellipsis-expected.txt:
* platform/qt/editing/selection/selectNode-expected.png:
* platform/qt/editing/selection/selectNode-expected.txt:
* platform/qt/editing/selection/selectNodeContents-expected.png:
* platform/qt/editing/selection/selectNodeContents-expected.txt:
* platform/qt/editing/selection/selection-3748164-fix-expected.png:
* platform/qt/editing/selection/selection-3748164-fix-expected.txt:
* platform/qt/editing/selection/selection-actions-expected.png:
* platform/qt/editing/selection/selection-actions-expected.txt:
* platform/qt/editing/selection/selection-background-expected.png:
* platform/qt/editing/selection/selection-background-expected.txt:
* platform/qt/editing/selection/selection-button-text-expected.png:
* platform/qt/editing/selection/selection-button-text-expected.txt:
* platform/qt/editing/selection/table-caret-1-expected.png:
* platform/qt/editing/selection/table-caret-1-expected.txt:
* platform/qt/editing/selection/table-caret-2-expected.png:
* platform/qt/editing/selection/table-caret-2-expected.txt:
* platform/qt/editing/selection/table-caret-3-expected.png:
* platform/qt/editing/selection/table-caret-3-expected.txt:
* platform/qt/editing/selection/triple-click-in-pre-expected.png:
* platform/qt/editing/selection/triple-click-in-pre-expected.txt:
* platform/qt/editing/selection/unrendered-space-expected.png:
* platform/qt/editing/selection/unrendered-space-expected.txt:
* platform/qt/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.png: Added.
* platform/qt/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt:
* platform/qt/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.png: Added.
* platform/qt/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt:
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.png: Added.
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt:
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.png: Added.
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt:
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.png: Added.
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.png: Added.
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt:
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.png: Added.
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt:
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.png: Added.
* platform/qt/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
* platform/qt/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.png:
* platform/qt/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt:
* platform/qt/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.png:
* platform/qt/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt:
* platform/qt/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.png:
* platform/qt/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt:
* platform/qt/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.png:
* platform/qt/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt:
* platform/qt/editing/selection/word-granularity-expected.png:
* platform/qt/editing/selection/word-granularity-expected.txt:
* platform/qt/editing/selection/wrapped-line-caret-1-expected.png:
* platform/qt/editing/selection/wrapped-line-caret-1-expected.txt:
* platform/qt/editing/selection/wrapped-line-caret-2-expected.png:
* platform/qt/editing/selection/wrapped-line-caret-2-expected.txt:

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

9 years agoUnreviewed, rolling out r122714.
loislo@chromium.org [Mon, 16 Jul 2012 12:18:06 +0000 (12:18 +0000)]
Unreviewed, rolling out r122714.
http://trac.webkit.org/changeset/122714
https://bugs.webkit.org/show_bug.cgi?id=91380

It broke mac compilation (Requested by loislo on #webkit).

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

* bindings/js/ScriptWrappable.h:
(WebCore::ScriptWrappable::reportMemoryUsage):
* bindings/v8/DOMDataStore.cpp:
(WebCore::DOMDataStore::reportMemoryUsage):
* bindings/v8/IntrusiveDOMWrapperMap.h:
(WebCore::ChunkedTable::reportMemoryUsage):
* bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::collectBindingMemoryInfo):
* bindings/v8/ScriptWrappable.h:
(WebCore::ScriptWrappable::reportMemoryUsage):
* bindings/v8/V8Binding.cpp:
(WebCore::V8BindingPerIsolateData::reportMemoryUsage):
(WebCore::StringCache::reportMemoryUsage):
* bindings/v8/V8DOMMap.h:
* css/StylePropertySet.h:
(WebCore::StylePropertySet::reportMemoryUsage):
* dom/CharacterData.cpp:
(WebCore::CharacterData::reportMemoryUsage):
* dom/ContainerNode.h:
(WebCore::ContainerNode::reportMemoryUsage):
* dom/Document.cpp:
(WebCore::Document::reportMemoryUsage):
* dom/Element.h:
(WebCore::Element::reportMemoryUsage):
* dom/ElementAttributeData.h:
(WebCore::ElementAttributeData::reportMemoryUsage):
* dom/MemoryInstrumentation.h:
(WebCore::MemoryInstrumentation::reportObject):
(MemoryInstrumentation):
(WebCore::MemoryInstrumentation::reportPointer):
(WebCore::MemoryClassInfo::reportInstrumentedPointer):
(WebCore::MemoryClassInfo::reportInstrumentedObject):
(WebCore::MemoryClassInfo::reportPointer):
(WebCore::MemoryClassInfo::reportObject):
(WebCore::MemoryClassInfo::reportHashMap):
(WebCore::MemoryClassInfo::reportHashSet):
(WebCore::MemoryClassInfo::reportListHashSet):
(WebCore::MemoryClassInfo::reportVector):
(MemoryClassInfo):
(WebCore::MemoryClassInfo::reportString):
(WebCore):
(WebCore::MemoryInstrumentation::reportInstrumentedPointer):
(WebCore::MemoryInstrumentation::reportInstrumentedObject):
(WebCore::MemoryInstrumentation::reportHashMap):
(WebCore::MemoryInstrumentation::reportHashSet):
(WebCore::MemoryInstrumentation::reportListHashSet):
(WebCore::MemoryInstrumentation::reportVector):
* dom/Node.cpp:
(WebCore::Node::reportMemoryUsage):
* dom/QualifiedName.h:
(WebCore::QualifiedName::QualifiedNameImpl::reportMemoryUsage):
(WebCore::QualifiedName::reportMemoryUsage):
* inspector/InspectorMemoryAgent.cpp:
(WebCore):
* platform/TreeShared.h:
(WebCore::TreeShared::reportMemoryUsage):

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

9 years agoWeb Inspector: moving forward to the better memory instrumentation API
loislo@chromium.org [Mon, 16 Jul 2012 12:00:28 +0000 (12:00 +0000)]
Web Inspector: moving forward to the better memory instrumentation API
https://bugs.webkit.org/show_bug.cgi?id=91259

Reviewed by Pavel Feldman.

I'm trying to remove unnecessary complexity of the API
reportInstrumentedObject and reportInstrumentedPointer will be replaced with addInstrumentedMember
The same will happen with reportPointer, reportObject pair.
Also info.report* will be replaced with info.add*

* bindings/js/ScriptWrappable.h:
(WebCore::ScriptWrappable::reportMemoryUsage):
* bindings/v8/DOMDataStore.cpp:
(WebCore::DOMDataStore::reportMemoryUsage):
* bindings/v8/IntrusiveDOMWrapperMap.h:
(WebCore::ChunkedTable::reportMemoryUsage):
* bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::collectBindingMemoryInfo):
* bindings/v8/ScriptWrappable.h:
(WebCore::ScriptWrappable::reportMemoryUsage):
* bindings/v8/V8Binding.cpp:
(WebCore::V8BindingPerIsolateData::reportMemoryUsage):
(WebCore::StringCache::reportMemoryUsage):
* bindings/v8/V8DOMMap.h:
* css/StylePropertySet.h:
(WebCore::StylePropertySet::reportMemoryUsage):
* dom/CharacterData.cpp:
(WebCore::CharacterData::reportMemoryUsage):
* dom/ContainerNode.h:
(WebCore::ContainerNode::reportMemoryUsage):
* dom/Document.cpp:
(WebCore::Document::reportMemoryUsage):
* dom/Element.h:
(WebCore::Element::reportMemoryUsage):
* dom/ElementAttributeData.h:
(WebCore::ElementAttributeData::reportMemoryUsage):
* dom/MemoryInstrumentation.h:
(WebCore::MemoryInstrumentation::addInstrumentedMember):
(MemoryInstrumentation):
(WebCore::MemoryInstrumentation::addMember):
(WebCore::MemoryInstrumentation::OwningTraits::addInstrumentedMember):
(WebCore::MemoryInstrumentation::OwningTraits::addMember):
(WebCore::MemoryInstrumentation::addInstrumentedMemberImpl):
(WebCore::MemoryInstrumentation::addMemberImpl):
(WebCore::MemoryClassInfo::addInstrumentedMember):
(WebCore::MemoryClassInfo::addMember):
(WebCore::MemoryClassInfo::addHashMap):
(WebCore::MemoryClassInfo::addHashSet):
(WebCore::MemoryClassInfo::addListHashSet):
(WebCore::MemoryClassInfo::addVector):
(WebCore::MemoryClassInfo::addString):
(WebCore::MemoryInstrumentation::addHashMap):
(WebCore::MemoryInstrumentation::addHashSet):
(WebCore::MemoryInstrumentation::addListHashSet):
(WebCore::MemoryInstrumentation::addVector):
* dom/Node.cpp:
(WebCore::Node::reportMemoryUsage):
* dom/QualifiedName.h:
(WebCore::QualifiedName::QualifiedNameImpl::reportMemoryUsage):
(WebCore::QualifiedName::reportMemoryUsage):
* inspector/InspectorMemoryAgent.cpp:
(WebCore):
* platform/TreeShared.h:
(WebCore::TreeShared::reportMemoryUsage):

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

9 years agoWeb Inspector: native memory instrumentation: extract instrumentation methods into...
loislo@chromium.org [Mon, 16 Jul 2012 11:48:11 +0000 (11:48 +0000)]
Web Inspector: native memory instrumentation: extract instrumentation methods into MemoryClassInfo
https://bugs.webkit.org/show_bug.cgi?id=91227

Reviewed by Pavel Feldman.

void Node::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
{
    MemoryClassInfo<Node> info(memoryObjectInfo, this, MemoryInstrumentation::DOM);
    info.visitBaseClass<ScriptWrappable>(this);

    info.addMember(m_notInstrumentedPointer); // automatically detects poniter/reference
    info.addInstrumentedMember(m_next);
    info.addHashSet<MemoryInstrumentation::NonClass>(m_aHash);                // NonClass value_type (report only size of internal template structures)
    info.addHashSet<MemoryInstrumentation::NotInstrumentedClass>(m_aHashSet); // not instrumented value_type (use sizeof)
    info.addHashSet<MemoryInstrumentation::InstrumentedClass>(m_aHashSet);    // instrumented value_type (call visit)
}

The change is covered by existing tests for native memory snapshot.

* bindings/v8/DOMDataStore.cpp:
(WebCore::DOMDataStore::reportMemoryUsage):
* bindings/v8/IntrusiveDOMWrapperMap.h:
(WebCore::ChunkedTable::reportMemoryUsage):
* bindings/v8/ScriptWrappable.h:
(WebCore::ScriptWrappable::reportMemoryUsage):
* bindings/v8/V8Binding.cpp:
(WebCore::V8BindingPerIsolateData::reportMemoryUsage):
(WebCore::StringCache::reportMemoryUsage):
* bindings/v8/V8DOMMap.h:
* css/StylePropertySet.h:
(WebCore::StylePropertySet::reportMemoryUsage):
* dom/CharacterData.cpp:
(WebCore::CharacterData::reportMemoryUsage):
* dom/ContainerNode.h:
(WebCore::ContainerNode::reportMemoryUsage):
* dom/Document.cpp:
(WebCore::Document::reportMemoryUsage):
* dom/Element.h:
(WebCore::Element::reportMemoryUsage):
* dom/ElementAttributeData.h:
(WebCore::ElementAttributeData::reportMemoryUsage):
* dom/MemoryInstrumentation.h:
(MemoryInstrumentation):
(WebCore::MemoryObjectInfo::objectType):
(WebCore::MemoryObjectInfo::objectSize):
(WebCore::MemoryObjectInfo::memoryInstrumentation):
(MemoryObjectInfo):
(WebCore::MemoryObjectInfo::reportObjectInfo):
(WebCore):
(MemoryClassInfo):
(WebCore::MemoryClassInfo::MemoryClassInfo):
(WebCore::MemoryClassInfo::visitBaseClass):
(WebCore::MemoryClassInfo::reportInstrumentedPointer):
(WebCore::MemoryClassInfo::reportInstrumentedObject):
(WebCore::MemoryClassInfo::reportPointer):
(WebCore::MemoryClassInfo::reportObject):
(WebCore::MemoryClassInfo::reportHashMap):
(WebCore::MemoryClassInfo::reportHashSet):
(WebCore::MemoryClassInfo::reportListHashSet):
(WebCore::MemoryClassInfo::reportVector):
(WebCore::MemoryClassInfo::reportString):
* dom/Node.cpp:
(WebCore::Node::reportMemoryUsage):
* dom/QualifiedName.h:
(WebCore::QualifiedName::QualifiedNameImpl::reportMemoryUsage):
(WebCore::QualifiedName::reportMemoryUsage):
* platform/TreeShared.h:
(WebCore::TreeShared::reportMemoryUsage):

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

9 years ago[Qt] Update test expectations. Unskip now passing tests.
kbalazs@webkit.org [Mon, 16 Jul 2012 11:28:36 +0000 (11:28 +0000)]
[Qt] Update test expectations. Unskip now passing tests.
https://bugs.webkit.org/show_bug.cgi?id=91085.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-16
Reviewed by Csaba Osztorgonác.

* platform/qt-5.0/Skipped:
* platform/qt/editing/deleting/4922367-expected.png:
* platform/qt/editing/deleting/4922367-expected.txt:
* platform/qt/editing/deleting/5099303-expected.png:
* platform/qt/editing/deleting/5099303-expected.txt:
* platform/qt/editing/deleting/5126166-expected.png:
* platform/qt/editing/deleting/5126166-expected.txt:
* platform/qt/editing/deleting/5144139-2-expected.png:
* platform/qt/editing/deleting/5144139-2-expected.txt:
* platform/qt/editing/deleting/5206311-1-expected.png:
* platform/qt/editing/deleting/5206311-1-expected.txt:
* platform/qt/editing/deleting/5272440-expected.png:
* platform/qt/editing/deleting/5272440-expected.txt:
* platform/qt/editing/deleting/5369009-expected.png:
* platform/qt/editing/deleting/5369009-expected.txt:
* platform/qt/editing/deleting/5433862-2-expected.png:
* platform/qt/editing/deleting/5433862-2-expected.txt:
* platform/qt/editing/deleting/5483370-expected.png:
* platform/qt/editing/deleting/5483370-expected.txt:
* platform/qt/editing/deleting/collapse-whitespace-3587601-fix-expected.png:
* platform/qt/editing/deleting/collapse-whitespace-3587601-fix-expected.txt:
* platform/qt/editing/deleting/delete-3608445-fix-expected.png:
* platform/qt/editing/deleting/delete-3608445-fix-expected.txt:
* platform/qt/editing/deleting/delete-3608462-fix-expected.png:
* platform/qt/editing/deleting/delete-3608462-fix-expected.txt:
* platform/qt/editing/deleting/delete-3775172-fix-expected.png:
* platform/qt/editing/deleting/delete-3775172-fix-expected.txt:
* platform/qt/editing/deleting/delete-3800834-fix-expected.png:
* platform/qt/editing/deleting/delete-3800834-fix-expected.txt:
* platform/qt/editing/deleting/delete-3857753-fix-expected.png:
* platform/qt/editing/deleting/delete-3857753-fix-expected.txt:
* platform/qt/editing/deleting/delete-3865854-fix-expected.png:
* platform/qt/editing/deleting/delete-3865854-fix-expected.txt:
* platform/qt/editing/deleting/delete-3928305-fix-expected.png:
* platform/qt/editing/deleting/delete-3928305-fix-expected.txt:
* platform/qt/editing/deleting/delete-4083333-fix-expected.png:
* platform/qt/editing/deleting/delete-4083333-fix-expected.txt:
* platform/qt/editing/deleting/delete-after-span-ws-001-expected.png:
* platform/qt/editing/deleting/delete-after-span-ws-001-expected.txt:
* platform/qt/editing/deleting/delete-after-span-ws-002-expected.png:
* platform/qt/editing/deleting/delete-after-span-ws-002-expected.txt:
* platform/qt/editing/deleting/delete-after-span-ws-003-expected.png:
* platform/qt/editing/deleting/delete-after-span-ws-003-expected.txt:
* platform/qt/editing/deleting/delete-and-undo-expected.png:
* platform/qt/editing/deleting/delete-and-undo-expected.txt:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-002-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-002-expected.txt:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-003-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-003-expected.txt:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-004-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-004-expected.txt:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-005-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-005-expected.txt:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-006-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-006-expected.txt:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-007-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-007-expected.txt:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-008-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-009-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-009-expected.txt:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-010-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-010-expected.txt:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-011-expected.png:
* platform/qt/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
* platform/qt/editing/deleting/delete-at-start-or-end-expected.png:
* platform/qt/editing/deleting/delete-at-start-or-end-expected.txt:
* platform/qt/editing/deleting/delete-block-contents-001-expected.png:
* platform/qt/editing/deleting/delete-block-contents-001-expected.txt:
* platform/qt/editing/deleting/delete-block-contents-002-expected.png:
* platform/qt/editing/deleting/delete-block-contents-002-expected.txt:
* platform/qt/editing/deleting/delete-block-contents-003-expected.png:
* platform/qt/editing/deleting/delete-block-contents-003-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-001-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-001-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-002-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-002-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-003-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-003-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-004-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-004-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-005-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-005-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-006-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-006-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-007-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-007-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-008-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-008-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-009-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-009-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-010-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-010-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-011-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-011-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-012-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-012-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-013-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-013-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-014-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-014-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-015-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-015-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-016-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-016-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-017-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-017-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-018-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-018-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-019-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-019-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-020-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-020-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-021-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-021-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-022-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-022-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-023-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-023-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-024-expected.png:
* platform/qt/editing/deleting/delete-block-merge-contents-024-expected.txt:
* platform/qt/editing/deleting/delete-br-001-expected.png:
* platform/qt/editing/deleting/delete-br-001-expected.txt:
* platform/qt/editing/deleting/delete-br-002-expected.png:
* platform/qt/editing/deleting/delete-br-002-expected.txt:
* platform/qt/editing/deleting/delete-br-003-expected.png:
* platform/qt/editing/deleting/delete-br-003-expected.txt:
* platform/qt/editing/deleting/delete-br-004-expected.png:
* platform/qt/editing/deleting/delete-br-004-expected.txt:
* platform/qt/editing/deleting/delete-br-005-expected.png:
* platform/qt/editing/deleting/delete-br-005-expected.txt:
* platform/qt/editing/deleting/delete-br-006-expected.png:
* platform/qt/editing/deleting/delete-br-006-expected.txt:
* platform/qt/editing/deleting/delete-br-007-expected.png:
* platform/qt/editing/deleting/delete-br-007-expected.txt:
* platform/qt/editing/deleting/delete-br-008-expected.png:
* platform/qt/editing/deleting/delete-br-008-expected.txt:
* platform/qt/editing/deleting/delete-br-009-expected.png:
* platform/qt/editing/deleting/delete-br-009-expected.txt:
* platform/qt/editing/deleting/delete-br-010-expected.png:
* platform/qt/editing/deleting/delete-br-010-expected.txt:
* platform/qt/editing/deleting/delete-br-013-expected.png:
* platform/qt/editing/deleting/delete-br-013-expected.txt:
* platform/qt/editing/deleting/delete-character-001-expected.png:
* platform/qt/editing/deleting/delete-character-001-expected.txt:
* platform/qt/editing/deleting/delete-contiguous-ws-001-expected.png:
* platform/qt/editing/deleting/delete-contiguous-ws-001-expected.txt:
* platform/qt/editing/deleting/delete-first-list-item-expected.png:
* platform/qt/editing/deleting/delete-first-list-item-expected.txt:
* platform/qt/editing/deleting/delete-hr-expected.png:
* platform/qt/editing/deleting/delete-hr-expected.txt:
* platform/qt/editing/deleting/delete-image-001-expected.png:
* platform/qt/editing/deleting/delete-image-001-expected.txt:
* platform/qt/editing/deleting/delete-image-002-expected.png:
* platform/qt/editing/deleting/delete-image-002-expected.txt:
* platform/qt/editing/deleting/delete-image-003-expected.png:
* platform/qt/editing/deleting/delete-image-003-expected.txt:
* platform/qt/editing/deleting/delete-image-004-expected.png:
* platform/qt/editing/deleting/delete-image-004-expected.txt:
* platform/qt/editing/deleting/delete-leading-ws-001-expected.png:
* platform/qt/editing/deleting/delete-leading-ws-001-expected.txt:
* platform/qt/editing/deleting/delete-line-001-expected.png:
* platform/qt/editing/deleting/delete-line-001-expected.txt:
* platform/qt/editing/deleting/delete-line-002-expected.png:
* platform/qt/editing/deleting/delete-line-002-expected.txt:
* platform/qt/editing/deleting/delete-line-003-expected.png:
* platform/qt/editing/deleting/delete-line-003-expected.txt:
* platform/qt/editing/deleting/delete-line-004-expected.png:
* platform/qt/editing/deleting/delete-line-004-expected.txt:
* platform/qt/editing/deleting/delete-line-005-expected.png:
* platform/qt/editing/deleting/delete-line-005-expected.txt:
* platform/qt/editing/deleting/delete-line-006-expected.png:
* platform/qt/editing/deleting/delete-line-006-expected.txt:
* platform/qt/editing/deleting/delete-line-007-expected.png:
* platform/qt/editing/deleting/delete-line-007-expected.txt:
* platform/qt/editing/deleting/delete-line-008-expected.png:
* platform/qt/editing/deleting/delete-line-008-expected.txt:
* platform/qt/editing/deleting/delete-line-009-expected.png:
* platform/qt/editing/deleting/delete-line-009-expected.txt:
* platform/qt/editing/deleting/delete-line-010-expected.png:
* platform/qt/editing/deleting/delete-line-010-expected.txt:
* platform/qt/editing/deleting/delete-line-011-expected.png:
* platform/qt/editing/deleting/delete-line-011-expected.txt:
* platform/qt/editing/deleting/delete-line-012-expected.png:
* platform/qt/editing/deleting/delete-line-012-expected.txt:
* platform/qt/editing/deleting/delete-line-013-expected.png:
* platform/qt/editing/deleting/delete-line-013-expected.txt:
* platform/qt/editing/deleting/delete-line-014-expected.png:
* platform/qt/editing/deleting/delete-line-014-expected.txt:
* platform/qt/editing/deleting/delete-line-015-expected.png:
* platform/qt/editing/deleting/delete-line-015-expected.txt:
* platform/qt/editing/deleting/delete-line-016-expected.png:
* platform/qt/editing/deleting/delete-line-016-expected.txt:
* platform/qt/editing/deleting/delete-line-017-expected.png:
* platform/qt/editing/deleting/delete-line-017-expected.txt:
* platform/qt/editing/deleting/delete-line-end-ws-001-expected.png:
* platform/qt/editing/deleting/delete-line-end-ws-001-expected.txt:
* platform/qt/editing/deleting/delete-line-end-ws-002-expected.png:
* platform/qt/editing/deleting/delete-line-end-ws-002-expected.txt:
* platform/qt/editing/deleting/delete-listitem-001-expected.png:
* platform/qt/editing/deleting/delete-listitem-001-expected.txt:
* platform/qt/editing/deleting/delete-listitem-002-expected.png:
* platform/qt/editing/deleting/delete-listitem-002-expected.txt:
* platform/qt/editing/deleting/delete-selection-001-expected.png:
* platform/qt/editing/deleting/delete-selection-001-expected.txt:
* platform/qt/editing/deleting/delete-to-select-table-expected.png:
* platform/qt/editing/deleting/delete-to-select-table-expected.txt:
* platform/qt/editing/deleting/delete-trailing-ws-001-expected.png:
* platform/qt/editing/deleting/delete-trailing-ws-001-expected.txt:
* platform/qt/editing/deleting/delete-trailing-ws-002-expected.png:
* platform/qt/editing/deleting/delete-trailing-ws-002-expected.txt:
* platform/qt/editing/deleting/delete-ws-fixup-001-expected.png:
* platform/qt/editing/deleting/delete-ws-fixup-001-expected.txt:
* platform/qt/editing/deleting/delete-ws-fixup-002-expected.png:
* platform/qt/editing/deleting/delete-ws-fixup-002-expected.txt:
* platform/qt/editing/deleting/delete-ws-fixup-003-expected.png:
* platform/qt/editing/deleting/delete-ws-fixup-003-expected.txt:
* platform/qt/editing/deleting/delete-ws-fixup-004-expected.png:
* platform/qt/editing/deleting/delete-ws-fixup-004-expected.txt:
* platform/qt/editing/deleting/deletionUI-single-instance-expected.png:
* platform/qt/editing/deleting/deletionUI-single-instance-expected.txt:
* platform/qt/editing/deleting/forward-delete-expected.png:
* platform/qt/editing/deleting/forward-delete-expected.txt:
* platform/qt/editing/deleting/list-item-1-expected.png:
* platform/qt/editing/deleting/list-item-1-expected.txt:
* platform/qt/editing/deleting/merge-different-styles-expected.png:
* platform/qt/editing/deleting/merge-different-styles-expected.txt:
* platform/qt/editing/deleting/merge-endOfParagraph-expected.png:
* platform/qt/editing/deleting/merge-endOfParagraph-expected.txt:
* platform/qt/editing/deleting/merge-no-br-expected.png:
* platform/qt/editing/deleting/merge-no-br-expected.txt:
* platform/qt/editing/deleting/merge-unrendered-space-expected.png:
* platform/qt/editing/deleting/merge-unrendered-space-expected.txt:
* platform/qt/editing/deleting/merge-whitespace-pre-expected.png:
* platform/qt/editing/deleting/merge-whitespace-pre-expected.txt:
* platform/qt/editing/deleting/move-nodes-001-expected.png:
* platform/qt/editing/deleting/move-nodes-001-expected.txt:
* platform/qt/editing/deleting/non-smart-delete-expected.png:
* platform/qt/editing/deleting/non-smart-delete-expected.txt:
* platform/qt/editing/deleting/pruning-after-merge-2-expected.png:
* platform/qt/editing/deleting/pruning-after-merge-2-expected.txt:
* platform/qt/editing/deleting/smart-delete-001-expected.png:
* platform/qt/editing/deleting/smart-delete-001-expected.txt:
* platform/qt/editing/deleting/smart-delete-002-expected.png:
* platform/qt/editing/deleting/smart-delete-002-expected.txt:
* platform/qt/editing/deleting/smart-delete-003-expected.png: Added.
* platform/qt/editing/deleting/smart-delete-003-expected.txt:
* platform/qt/editing/deleting/smart-delete-004-expected.png: Added.
* platform/qt/editing/deleting/smart-delete-004-expected.txt:
* platform/qt/editing/deleting/table-cells-expected.png:
* platform/qt/editing/deleting/table-cells-expected.txt:
* platform/qt/editing/deleting/transpose-empty-expected.png: Copied from LayoutTests/platform/qt/editing/deleting/delete-at-start-or-end-expected.png.
* platform/qt/editing/deleting/type-delete-after-quote-expected.png:
* platform/qt/editing/deleting/type-delete-after-quote-expected.txt:

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

9 years agoUnreviewed chromium gardening, marked test as flaky.
vsevik@chromium.org [Mon, 16 Jul 2012 11:04:08 +0000 (11:04 +0000)]
Unreviewed chromium gardening, marked test as flaky.
https://bugs.webkit.org/show_bug.cgi?id=91373

* platform/chromium/TestExpectations:

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

9 years agoUnreviewed chromium gardening, skipped failing test.
vsevik@chromium.org [Mon, 16 Jul 2012 10:40:10 +0000 (10:40 +0000)]
Unreviewed chromium gardening, skipped failing test.
https://bugs.webkit.org/show_bug.cgi?id=91372

* platform/chromium/TestExpectations:

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

9 years agoUnreviewed. Update NEWS and configure.ac for 1.9.5 release
carlosgc@webkit.org [Mon, 16 Jul 2012 09:43:44 +0000 (09:43 +0000)]
Unreviewed. Update NEWS and configure.ac for 1.9.5 release

.:

* configure.ac: Bump version number.

Source/WebKit/gtk:

* NEWS: Added release notes for 1.9.5.

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

9 years agoUnreviewed. Fix make distcheck.
carlosgc@webkit.org [Mon, 16 Jul 2012 09:38:39 +0000 (09:38 +0000)]
Unreviewed. Fix make distcheck.

Source/WebCore:

* GNUmakefile.am: Add missing idl directory.
* GNUmakefile.list.am: Add missing files to compilation.

Source/WebKit2:

* UIProcess/API/gtk/tests/GNUmakefile.am: Add test resources to
EXTRA_DIST.

Tools:

* GNUmakefile.am: Add missing file to compilation.

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

9 years agoWeb Inspector: Implement message loop instrumentation for timeline
caseq@chromium.org [Mon, 16 Jul 2012 08:53:27 +0000 (08:53 +0000)]
Web Inspector: Implement message loop instrumentation for timeline
https://bugs.webkit.org/show_bug.cgi?id=88325

Patch by Eugene Klyuchnikov <eustas.big@gmail.com> on 2012-07-16
Reviewed by Pavel Feldman.

Message loop instrumentation will show when the render thread is busy.

* inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):
Added new experiment.
* inspector/front-end/TimelineGrid.js:
(WebInspector.TimelineGrid.prototype.get dividersLabelBarElement):
Exposed label bar element.
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel):
(WebInspector.TimelinePanel.prototype._resetPanel):
Cleanups recorded tasks.
(WebInspector.TimelinePanel.prototype._refresh):
Updates CPU bar.
(WebInspector.TimelinePanel.prototype._refreshRecords):
Ditto.
(WebInspector.TimelinePanel.prototype._refreshCpuBars.compareEndTime):
Ditto.
(WebInspector.TimelinePanel.prototype._refreshCpuBars):
Ditto.
(WebInspector.TimelinePanel.prototype._enableMainThreadMonitoringExperiment):
Adds CPU bar to UI.
(WebInspector.TimelinePanel.prototype._showPopover):
Fix NPE.
(WebInspector.TimelineCalculator.prototype.computeTime):
Utility for position to time conversion.
(WebInspector.TimelineCalculator.prototype.setDisplayWindow):
Remenbers clientWidth.
* inspector/front-end/TimelinePresentationModel.js:
(WebInspector.TimelinePresentationModel.categories):
Define CPU bar colors.
* inspector/front-end/timelinePanel.css:
(.timeline-cpu-bars):
CPU bar styles.
(.timeline-cpu-bars-label):
Ditto.

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

9 years ago[EFL] Mark fast/forms/number/spin-button-gets-disabled-or-readonly.html as flaky
commit-queue@webkit.org [Mon, 16 Jul 2012 08:41:48 +0000 (08:41 +0000)]
[EFL] Mark fast/forms/number/spin-button-gets-disabled-or-readonly.html as flaky
https://bugs.webkit.org/show_bug.cgi?id=91367

Unreviewed EFL gardening. Mark fast/forms/number/spin-button-gets-disabled-or-readonly.html
as flaky.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-16

* platform/efl/TestExpectations:

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

9 years agoUnreviewed GTK gardening, updating baselines for MathML Presentation
zandobersek@gmail.com [Mon, 16 Jul 2012 08:31:33 +0000 (08:31 +0000)]
Unreviewed GTK gardening, updating baselines for MathML Presentation
layout tests. The tests are currently marked as flaky so bots should
do some more iterations to see if that's still the case or those
expectations will be removed.

* platform/gtk/mathml/presentation/attributes-expected.png:
* platform/gtk/mathml/presentation/attributes-expected.txt:
* platform/gtk/mathml/presentation/fenced-expected.png:
* platform/gtk/mathml/presentation/fenced-expected.txt:
* platform/gtk/mathml/presentation/fenced-mi-expected.png:
* platform/gtk/mathml/presentation/fenced-mi-expected.txt:
* platform/gtk/mathml/presentation/fractions-expected.png:
* platform/gtk/mathml/presentation/fractions-expected.txt:
* platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.png:
* platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.txt:
* platform/gtk/mathml/presentation/mo-expected.png:
* platform/gtk/mathml/presentation/mo-expected.txt:
* platform/gtk/mathml/presentation/mo-stretch-expected.png: Added.
* platform/gtk/mathml/presentation/mo-stretch-expected.txt:
* platform/gtk/mathml/presentation/mroot-pref-width-expected.png: Added.
* platform/gtk/mathml/presentation/mroot-pref-width-expected.txt:
* platform/gtk/mathml/presentation/over-expected.png:
* platform/gtk/mathml/presentation/over-expected.txt:
* platform/gtk/mathml/presentation/roots-expected.png:
* platform/gtk/mathml/presentation/roots-expected.txt:
* platform/gtk/mathml/presentation/row-alignment-expected.png:
* platform/gtk/mathml/presentation/row-alignment-expected.txt:
* platform/gtk/mathml/presentation/row-expected.png:
* platform/gtk/mathml/presentation/row-expected.txt:
* platform/gtk/mathml/presentation/style-expected.png:
* platform/gtk/mathml/presentation/style-expected.txt:
* platform/gtk/mathml/presentation/sub-expected.png:
* platform/gtk/mathml/presentation/sub-expected.txt:
* platform/gtk/mathml/presentation/subsup-expected.png:
* platform/gtk/mathml/presentation/subsup-expected.txt:
* platform/gtk/mathml/presentation/sup-expected.png:
* platform/gtk/mathml/presentation/sup-expected.txt:
* platform/gtk/mathml/presentation/tables-expected.png:
* platform/gtk/mathml/presentation/tables-expected.txt:
* platform/gtk/mathml/presentation/tokenElements-expected.png:
* platform/gtk/mathml/presentation/tokenElements-expected.txt:
* platform/gtk/mathml/presentation/under-expected.png:
* platform/gtk/mathml/presentation/under-expected.txt:
* platform/gtk/mathml/presentation/underover-expected.png:
* platform/gtk/mathml/presentation/underover-expected.txt:

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

9 years agoUnreviewed GTK gardening, generating baselines for three tests that pass
zandobersek@gmail.com [Mon, 16 Jul 2012 07:54:49 +0000 (07:54 +0000)]
Unreviewed GTK gardening, generating baselines for three tests that pass
but require specific baselines. Also removing their test expectations.

* platform/gtk/TestExpectations:
* platform/gtk/fast/parser/nested-fragment-parser-crash-expected.txt: Added.
* platform/gtk/fast/profiler/dead-time-expected.txt: Added.
* platform/gtk/fast/profiler/stop-profiling-after-setTimeout-expected.txt: Added.

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

9 years agoSource/WebKit: Add accessible for QWebView.
commit-queue@webkit.org [Mon, 16 Jul 2012 07:45:51 +0000 (07:45 +0000)]
Source/WebKit: Add accessible for QWebView.
https://bugs.webkit.org/show_bug.cgi?id=91073

Patch by Frederik Gladhorn <frederik.gladhorn@nokia.com> on 2012-07-16
Reviewed by Simon Hausmann.

Add classes to enable accessibility on the widget level.

* WebKit.pri:
* WebKit1.pro:

Source/WebKit/qt: Accessible Widget for QWebView
https://bugs.webkit.org/show_bug.cgi?id=91073

Added classes that allow navigation to the web view widget.
This is the glue to later access webkit's accessible objects
though the Qt accessibility framework.

Patch by Frederik Gladhorn <frederik.gladhorn@nokia.com> on 2012-07-16
Reviewed by Simon Hausmann.

* Api/qwebview.cpp:
(QWebView::QWebView):
* Api/qwebviewaccessible.cpp: Added.
(accessibleInterfaceFactory):
(QWebFrameAccessible::QWebFrameAccessible):
(QWebFrameAccessible::frame):
(QWebFrameAccessible::parent):
(QWebFrameAccessible::text):
(QWebFrameAccessible::childCount):
(QWebFrameAccessible::child):
(QWebFrameAccessible::indexOfChild):
(QWebFrameAccessible::state):
(QWebFrameAccessible::role):
(QWebFrameAccessible::navigate):
(QWebPageAccessible::QWebPageAccessible):
(QWebPageAccessible::page):
(QWebPageAccessible::text):
(QWebPageAccessible::parent):
(QWebPageAccessible::child):
(QWebPageAccessible::childCount):
(QWebPageAccessible::indexOfChild):
(QWebPageAccessible::navigate):
(QWebPageAccessible::role):
(QWebPageAccessible::state):
(QWebViewAccessible::QWebViewAccessible):
(QWebViewAccessible::view):
(QWebViewAccessible::childCount):
(QWebViewAccessible::child):
* Api/qwebviewaccessible_p.h: Added.
(QWebFrameAccessible):
(QWebPageAccessible):
(QWebViewAccessible):

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

9 years agoUnreviewed, rolling out r122681.
commit-queue@webkit.org [Mon, 16 Jul 2012 07:24:17 +0000 (07:24 +0000)]
Unreviewed, rolling out r122681.
http://trac.webkit.org/changeset/122681
https://bugs.webkit.org/show_bug.cgi?id=91363

Patch introduces crashes in debug builds for GTK and EFL ports
(Requested by zdobersek on #webkit).

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

* platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::scrollPositionChanged):

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

9 years agoCompilation failure in StyleResolver.cpp (clang)
macpherson@chromium.org [Mon, 16 Jul 2012 07:11:03 +0000 (07:11 +0000)]
Compilation failure in StyleResolver.cpp (clang)
https://bugs.webkit.org/show_bug.cgi?id=89892

Reviewed by Ryosuke Niwa.

Patch adds assertions that unreachable code is in fact not reached.

Covered by fast/css/variables tests.

* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::collectMatchingRulesForList):

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

9 years ago[Qt] Unreviewed gardening. Skip the new failing test.
kkristof@inf.u-szeged.hu [Mon, 16 Jul 2012 06:50:28 +0000 (06:50 +0000)]
[Qt] Unreviewed gardening. Skip the new failing test.

* platform/qt/Skipped:

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

9 years ago[EFL] Mark a few media tests as flaky on RELEASE bot as well
commit-queue@webkit.org [Mon, 16 Jul 2012 06:44:34 +0000 (06:44 +0000)]
[EFL] Mark a few media tests as flaky on RELEASE bot as well
https://bugs.webkit.org/show_bug.cgi?id=91361

Unreviewed EFL gardening. Mark a few media test as flaky on
the RELEASE bot as well.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-15

* platform/efl/TestExpectations:

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

9 years ago[EFL][WK2] Define destructors for Ewk structures
commit-queue@webkit.org [Mon, 16 Jul 2012 06:25:16 +0000 (06:25 +0000)]
[EFL][WK2] Define destructors for Ewk structures
https://bugs.webkit.org/show_bug.cgi?id=91338

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-15
Reviewed by Kentaro Hara.

Add destructors to Ewk structures and move
memory freeing code from *_free() or *_unref()
functions to the destructors.

* UIProcess/API/efl/ewk_intent.cpp:
(_Ewk_Intent::_Ewk_Intent):
(_Ewk_Intent):
(_Ewk_Intent::~_Ewk_Intent):
(ewk_intent_unref):
* UIProcess/API/efl/ewk_intent_service.cpp:
(_Ewk_Intent_Service):
(_Ewk_Intent_Service::~_Ewk_Intent_Service):
(ewk_intent_service_unref):
* UIProcess/API/efl/ewk_navigation_policy_decision.cpp:
(_Ewk_Navigation_Policy_Decision):
(_Ewk_Navigation_Policy_Decision::~_Ewk_Navigation_Policy_Decision):
(ewk_navigation_policy_decision_free):
* UIProcess/API/efl/ewk_url_request.cpp:
(_Ewk_Url_Request):
(_Ewk_Url_Request::~_Ewk_Url_Request):
(ewk_url_request_unref):
* UIProcess/API/efl/ewk_url_response.cpp:
(_Ewk_Url_Response):
(_Ewk_Url_Response::~_Ewk_Url_Response):
(ewk_url_response_unref):
* UIProcess/API/efl/ewk_view.cpp:
(_Ewk_View_Private_Data):
(_Ewk_View_Private_Data::~_Ewk_View_Private_Data):
(_ewk_view_priv_del):
* UIProcess/API/efl/ewk_web_error.cpp:
(_Ewk_Web_Error):
(_Ewk_Web_Error::~_Ewk_Web_Error):
(ewk_web_error_free):
* UIProcess/API/efl/ewk_web_resource.cpp:
(_Ewk_Web_Resource):
(_Ewk_Web_Resource::~_Ewk_Web_Resource):
(ewk_web_resource_unref):

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

9 years ago[EFL] Skip css3/flexbox/flexbox-overflow-auto.html
commit-queue@webkit.org [Mon, 16 Jul 2012 06:22:58 +0000 (06:22 +0000)]
[EFL] Skip css3/flexbox/flexbox-overflow-auto.html
https://bugs.webkit.org/show_bug.cgi?id=91360

Unreviewed EFL gardening. Skip css3/flexbox/flexbox-overflow-auto.html
which started failing after r122681.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-15

* platform/efl/TestExpectations:

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

9 years ago[EFL] Disable perf tests for DEBUG builds
commit-queue@webkit.org [Mon, 16 Jul 2012 06:07:16 +0000 (06:07 +0000)]
[EFL] Disable perf tests for DEBUG builds
https://bugs.webkit.org/show_bug.cgi?id=91358

Unreviewed EFL gardening. Disable performance tests
in DEBUG builds since they are really slow and there
are very few benefits in running them.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-15

* platform/efl/TestExpectations:

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

9 years agoFix calculation of rgba's alpha in CSS custom text
mikelawther@chromium.org [Mon, 16 Jul 2012 05:26:24 +0000 (05:26 +0000)]
Fix calculation of rgba's alpha in CSS custom text
https://bugs.webkit.org/show_bug.cgi?id=91355

Reviewed by Ryosuke Niwa.

Source/WebCore:

Alpha values are stored as an 8 bit value. To convert this to a float in the
range [0,1], we need to divide by 255, not 256.

Test: fast/css/rgba-custom-text.html

* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::customCssText):

LayoutTests:

* css3/calc/color-hsl-expected.txt:
* css3/calc/color-rgb-expected.txt:
* editing/execCommand/query-command-value-background-color-expected.txt:
* editing/execCommand/query-command-value-background-color.html:
* fast/css/rgba-custom-text-expected.txt: Added.
* fast/css/rgba-custom-text.html: Added.
* media/track/track-cue-rendering-expected.txt:

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

9 years ago[EFL] Add a API for getting security origin string
commit-queue@webkit.org [Mon, 16 Jul 2012 03:22:36 +0000 (03:22 +0000)]
[EFL] Add a API for getting security origin string
https://bugs.webkit.org/show_bug.cgi?id=90936

Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-07-15
Reviewed by Ryosuke Niwa.

Support to change from Ewk_Security_Origin to string on the API level.
Add ewk_security_origin_string_get for getting security origin string.

* ewk/ewk_security_origin.cpp:
(_Ewk_Security_Origin):
(ewk_security_origin_string_get):
(ewk_security_origin_free):
(ewk_security_origin_new):
* ewk/ewk_security_origin.h:

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

9 years ago[BlackBerry] We shouldn't call didFinishLoading for the old request when a new reques...
jason.liu@torchmobile.com.cn [Mon, 16 Jul 2012 02:53:19 +0000 (02:53 +0000)]
[BlackBerry] We shouldn't call didFinishLoading for the old request when a new request has been sent by notifyAuthReceived.
https://bugs.webkit.org/show_bug.cgi?id=90962

Reviewed by Rob Buis.

We start a new NetworkJob with credentials after receiving 401/407 status.
We should not release resources in webcore when the old job is closed because
they are needed by the new one.
We should do as 3XX.

No new tests. No change in behaviour.

* platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::NetworkJob):
(WebCore::NetworkJob::notifyAuthReceived):
(WebCore::NetworkJob::shouldReleaseClientResource):
(WebCore::NetworkJob::handleRedirect):
* platform/network/blackberry/NetworkJob.h:
(NetworkJob):

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

9 years ago[BlackBerry] Move icon database to application data directory.
commit-queue@webkit.org [Mon, 16 Jul 2012 02:29:28 +0000 (02:29 +0000)]
[BlackBerry] Move icon database to application data directory.
https://bugs.webkit.org/show_bug.cgi?id=91195

Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-07-15
Reviewed by Rob Buis.

RIM PR: 156852
Create icon database in application data directory instead of
database or local storage directory, by doing this we can make
things easier when clearing database or local storage data files.

Internally reviewed by Charles Wei <charles.wei@torchmobile.com.cn>

* WebCoreSupport/IconDatabaseClientBlackBerry.cpp:
(WebCore::IconDatabaseClientBlackBerry::initIconDatabase):

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

9 years ago[EFL] Several media tests are flaky in DEBUG mode
commit-queue@webkit.org [Mon, 16 Jul 2012 02:27:32 +0000 (02:27 +0000)]
[EFL] Several media tests are flaky in DEBUG mode
https://bugs.webkit.org/show_bug.cgi?id=91347

Unreviewed EFL gardening. Add to TestExpectations a
few media tests which are flaky in DEBUG mode only.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-15

* platform/efl/TestExpectations:

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

9 years agoREGRESSION(r122660): Cannot iterate over HTMLCollection that contains non-child desce...
rniwa@webkit.org [Mon, 16 Jul 2012 02:26:03 +0000 (02:26 +0000)]
REGRESSION(r122660): Cannot iterate over HTMLCollection that contains non-child descendent nodes in some conditions
https://bugs.webkit.org/show_bug.cgi?id=91334

Reviewed by Ojan Vafai.

Source/WebCore:

The bug was caused by using lastChild() as the starting node for traversePreviousNode. Since it's the inverse of
Node::traverseNextNode(), which visits nodes in pre order, we must start our search from the last descendent node,
which is visited traverseNextNode immediately before reaching the root node.

Test: fast/dom/htmlcollection-backwards-subtree-iteration.html

* html/HTMLCollection.cpp:
(WebCore::lastDescendent):
(WebCore):
(WebCore::itemBeforeOrAfter):

LayoutTests:

Add a regression test. Without this patch, it results in an console error in release builds and an assertion failure
in debug builds.

* fast/dom/htmlcollection-backwards-subtree-iteration-expected.txt: Added.
* fast/dom/htmlcollection-backwards-subtree-iteration.html: Added.

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

9 years ago[EFL] Move files guarded by #ifdef to existing file list.
gyuyoung.kim@samsung.com [Mon, 16 Jul 2012 02:25:51 +0000 (02:25 +0000)]
[EFL] Move files guarded by #ifdef to existing file list.
https://bugs.webkit.org/show_bug.cgi?id=91336

Reviewed by Ryosuke Niwa.

Some EFL files are already guared by #ifdef. So, cmake files doesn't need to guard
them again. In addition, some files are missing #ifdef guard its header files.

Source/WebKit:

* PlatformEfl.cmake:

Source/WebKit/efl:

* WebCoreSupport/DeviceMotionClientEfl.h:
* WebCoreSupport/InspectorClientEfl.h:
* WebCoreSupport/NetworkInfoClientEfl.h:
* WebCoreSupport/VibrationClientEfl.h:

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

9 years agoUse testRunner instead of layoutTestController in fast/js, layers, leaks, line-grid...
rniwa@webkit.org [Mon, 16 Jul 2012 01:41:53 +0000 (01:41 +0000)]
Use testRunner instead of layoutTestController in fast/js, layers, leaks, line-grid, lists, loader, loading, media, mediastream, multicol, and mutation tests
https://bugs.webkit.org/show_bug.cgi?id=91315

Reviewed by Adam Barth.

* fast/js/:
* fast/layers/add-layer-with-nested-stacking.html:
* fast/layers/assert-RenderLayer-update-positions.html:
* fast/layers/clip-rects-assertion.html:
* fast/layers/clip-rects-transformed-2.html:
* fast/layers/clip-rects-transformed.html:
* fast/layers/generated-layer-scrollbar-crash.html:
* fast/layers/inline-dirty-z-order-lists.html:
* fast/layers/layer-content-visibility-change.html:
* fast/layers/layer-visibility.html:
* fast/layers/nested-layers-1.html:
* fast/layers/nested-layers-2.html:
* fast/layers/nested-layers-3.html:
* fast/layers/nested-layers-4.html:
* fast/layers/remove-layer-with-nested-stacking.html:
* fast/layers/remove-only-this-layer-update.html:
* fast/layers/removed-by-scroll-handler.html:
* fast/layers/resize-layer-deletion-crash.html:
* fast/layers/scroll-with-transform-composited-layer.html:
* fast/layers/scroll-with-transform-layer.html:
* fast/layers/scrollByLines-overflow-no-layer.html:
* fast/layers/visible-layer-with-hidden-parent.html:
* fast/layers/zindex-hit-test.html:
* fast/leaks/001.html:
* fast/leaks/002.html:
* fast/leaks/003.html-disabled:
* fast/line-grid/line-grid-nested.html:
* fast/lists/alpha-boundary-values.html:
* fast/lists/alpha-list-wrap.html:
* fast/lists/calc-width-with-space.html:
* fast/lists/decimal-leading-zero.html:
* fast/lists/drag-into-marker.html:
* fast/lists/item-not-in-list-line-wrapping.html:
* fast/lists/li-values.html:
* fast/lists/list-style-type-dynamic-change.html:
* fast/lists/ol-nested-items-dynamic-insert.html:
* fast/lists/ol-nested-items-dynamic-remove.html:
* fast/lists/ol-nested-items.html:
* fast/lists/ol-nested-list-dynamic-insert.html:
* fast/lists/ol-nested-list-dynamic-remove.html:
* fast/lists/ol-nested-list.html:
* fast/lists/ol-reversed-dynamic-simple.html:
* fast/lists/ol-reversed-dynamic.html:
* fast/lists/ol-reversed-nested-items.html:
* fast/lists/ol-reversed-nested-list.html:
* fast/lists/ol-reversed-simple.html:
* fast/lists/ol-reversed-simple.xhtml:
* fast/lists/ol-start-roman.html:
* fast/lists/parent-box-not-box-crash.html:
* fast/lists/positioned-count-crash.html:
* fast/lists/remove-listmarker-from-anonblock-with-continuation-crash.html:
* fast/lists/resources/dump-list.js:
(dumpListItemAsHTML):
(testListItemMarkerEqualsListItemText):
* fast/lists/w3-css3-list-styles-alphabetic.html:
* fast/lists/w3-css3-list-styles-fallback-style.html:
* fast/lists/w3-css3-list-styles-numeric.html:
* fast/lists/w3-css3-list-styles-symbolic.html:
* fast/lists/w3-css3-lower-armenian.html:
* fast/lists/w3-css3-upper-armenian.html:
* fast/lists/w3-list-styles.html:
* fast/loader/:
* fast/media/color-does-not-include-alpha.html:
* fast/media/invalid-lengths.html:
* fast/media/lifetime.html:
* fast/media/matchmedium-query-api.html:
* fast/media/media-query-list-01.html:
* fast/media/media-query-list-02.html:
* fast/media/media-query-list-03.html:
* fast/media/media-query-list-04.html:
* fast/media/media-query-list-05.html:
* fast/media/media-query-list-06.html:
* fast/media/media-query-list-07.html:
* fast/media/media-query-list-callback.html:
* fast/media/media-svg-crash.html:
* fast/media/mq-pointer.html:
* fast/media/print-restores-previous-mediatype.html:
* fast/media/update-media-query-css-parser.html:
* fast/media/view-mode-media-feature.html:
* fast/multicol/:
* fast/mutation/end-of-task-delivery.html:
* fast/mutation/inline-event-listener.html:
* fast/mutation/mutation-callback-non-element-crash.html:
* platform/chromium/fast/loader/create-view-target-blank.html:
* platform/chromium/fast/loader/resources/done.html:
* platform/gtk/fast/loader/crash-display-local-directory.html:
* platform/mac/fast/loader/file-url-mimetypes-2.html:
* platform/mac/fast/loader/file-url-mimetypes-3.html:
* platform/mac/fast/loader/file-url-mimetypes.html:
* platform/mac/fast/loader/non-html-load-event.html:
* platform/mac/fast/loader/webarchive-encoding-respected.html:
* platform/qt/fast/loader/user-stylesheet-qrc-path.html:

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

9 years agoUnreviewed. Add EFLWebKit2PublicAPI, EFLWebKit2PlatformSpecific to watch list.
gyuyoung.kim@samsung.com [Mon, 16 Jul 2012 01:13:45 +0000 (01:13 +0000)]
Unreviewed. Add EFLWebKit2PublicAPI, EFLWebKit2PlatformSpecific to watch list.

* Scripts/webkitpy/common/config/watchlist:

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

9 years agoUnreviewed. Add gyuyoung.kim@samsung.com to watch list.
gyuyoung.kim@samsung.com [Mon, 16 Jul 2012 00:36:44 +0000 (00:36 +0000)]
Unreviewed. Add gyuyoung.kim@samsung.com to watch list.

* Scripts/webkitpy/common/config/watchlist:

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

9 years agoFix case sensitive build issue.
joepeck@webkit.org [Sun, 15 Jul 2012 23:01:11 +0000 (23:01 +0000)]
Fix case sensitive build issue.

Unreviewed build fix.

* WebView/WebPreferences.mm:

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

9 years agoWindowless WebView not firing JavaScript load event if there is a media element
joepeck@webkit.org [Sun, 15 Jul 2012 21:26:51 +0000 (21:26 +0000)]
Windowless WebView not firing JavaScript load event if there is a media element
https://bugs.webkit.org/show_bug.cgi?id=91331

Reviewed by Eric Carlson.

Source/WebCore:

In prepareForLoad we start deferring the load event. If we fall into this
clause where the page can not start loading media we bail, potentially
indefinitely waiting until we can start loading media. Since we can not
be certain this will ever happen, we should stop deferring the page's
load event.

Test: WebKit1.WindowlessWebViewWithMedia TestWebKitAPI test. The only
way this path was reachable right now is on the mac port.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::loadInternal):

Tools:

Test a windowless WebView loading a page with a media element. The load
event should happen on the next spin of the run loop, but we spin check
the page, with a timeout of 250ms.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/mac/WindowlessWebViewWithMedia.html: Added.
* TestWebKitAPI/Tests/mac/WindowlessWebViewWithMedia.mm: Added.
(-[WindowlessWebViewWithMediaFrameLoadDelegate webView:didFinishLoadForFrame:]):
(TestWebKitAPI::spinLoop): Spin check with timeout. Runs a block each spin to early bail.
(TestWebKitAPI::TEST):

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

9 years agoMake WebPreferencesPrivate a simple struct
benjamin@webkit.org [Sun, 15 Jul 2012 20:24:03 +0000 (20:24 +0000)]
Make WebPreferencesPrivate a simple struct
https://bugs.webkit.org/show_bug.cgi?id=91330

Reviewed by Filip Pizlo.

To avoid taking time creating a new Objective-C object for WebPreferencesPrivate, we can just make
it a simple struct.

* WebView/WebPreferences.h:
* WebView/WebPreferences.mm:
(WebPreferencesPrivate):
(WebPreferencesPrivate::WebPreferencesPrivate):
Replace the Objective-C WebPreferencesPrivate by a struct.
Remove IBCreatorID from the object as it is unused.
Use RetainPtr for the Objective-C attribute to avoid tracking their memory manually.

(-[WebPreferences initWithIdentifier:]):
Change the order of the initialization to avoid allocating anyting if a WebPreferences exists
for the identifier.
Both [NSObject init] and WebPreferencesPrivate allocation are moved after the fast path.

(-[WebPreferences initWithCoder:]):
(-[WebPreferences encodeWithCoder:]):
(-[WebPreferences dealloc]):
(-[WebPreferences identifier]):
(-[WebPreferences _valueForKey:]):
(-[WebPreferences _setStringValue:forKey:]):
(-[WebPreferences _setIntegerValue:forKey:]):
(-[WebPreferences _setFloatValue:forKey:]):
(-[WebPreferences _setBoolValue:forKey:]):
(-[WebPreferences _setLongLongValue:forKey:]):
(-[WebPreferences _setUnsignedLongLongValue:forKey:]):

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

9 years ago<rdar://problem/11875795> REGRESSION (tiled drawing): Page’s scroll bars flash with...
mitz@apple.com [Sun, 15 Jul 2012 20:15:10 +0000 (20:15 +0000)]
<rdar://problem/11875795> REGRESSION (tiled drawing): Page’s scroll bars flash with each character you type in a textarea (affects Wikipedia and YouTube)
https://bugs.webkit.org/show_bug.cgi?id=91348

Reviewed by Anders Carlsson.

* platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::scrollPositionChanged): Added an early return if the scroll position
did not, in fact, change. This avoids the call to ScrollAnimator::notifyContentAreaScrolled,
which is what causes the scroll bars to flash.

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

9 years ago[EFL] Skip fast/text/descent-clip-in-scaled-page.html
commit-queue@webkit.org [Sun, 15 Jul 2012 15:40:53 +0000 (15:40 +0000)]
[EFL] Skip fast/text/descent-clip-in-scaled-page.html
https://bugs.webkit.org/show_bug.cgi?id=91342

Unreviewed EFL gardening. Skip new test added in r122651
that fails on EFL port because our LayoutTestController
does not implement setSubpixelTextPositioning().

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-15

* platform/efl/TestExpectations:

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

9 years ago[EFL] Skip css2.1/20110323/vertical-align-boxes-001.htm
commit-queue@webkit.org [Sun, 15 Jul 2012 12:10:34 +0000 (12:10 +0000)]
[EFL] Skip css2.1/20110323/vertical-align-boxes-001.htm
https://bugs.webkit.org/show_bug.cgi?id=91340

Unreviewed EFL gardening. Skipping new test introduced in
r122663 which is failing on EFL port.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-15

* platform/efl/TestExpectations:

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

9 years agoDFG PutByVal opcodes should accept more than 3 operands
fpizlo@apple.com [Sun, 15 Jul 2012 05:23:58 +0000 (05:23 +0000)]
DFG PutByVal opcodes should accept more than 3 operands
https://bugs.webkit.org/show_bug.cgi?id=91332

Reviewed by Oliver Hunt.

Turned PutByVal/PutByValAlias into var-arg nodes, so that we can give them
4 or more operands in the future.

* dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::getByValLoadElimination):
(JSC::DFG::CSEPhase::getIndexedPropertyStorageLoadElimination):
(JSC::DFG::CSEPhase::performNodeCSE):
* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):
(JSC::DFG::FixupPhase::fixDoubleEdge):
* dfg/DFGGraph.h:
(JSC::DFG::Graph::byValIsPure):
(JSC::DFG::Graph::varArgNumChildren):
(Graph):
(JSC::DFG::Graph::numChildren):
(JSC::DFG::Graph::varArgChild):
(JSC::DFG::Graph::child):
* dfg/DFGNodeType.h:
(DFG):
* dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::propagate):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compilePutByValForIntTypedArray):
(JSC::DFG::SpeculativeJIT::compilePutByValForFloatTypedArray):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

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

9 years agoRationalize and optimize storage allocation
fpizlo@apple.com [Sun, 15 Jul 2012 04:02:16 +0000 (04:02 +0000)]
Rationalize and optimize storage allocation
https://bugs.webkit.org/show_bug.cgi?id=91303

Reviewed by Oliver Hunt.

This implements a backwards bump allocator for copied space storage
allocation, shown in pseudo-code below:

    pointer bump(size) {
        pointer tmp = allocator->remaining;
        tmp -= size;
        if (tmp < 0)
            fail;
        allocator->remaining = tmp;
        return allocator->payloadEnd - tmp - size;
    }

The advantage of this allocator is that it:

- Only requires one comparison in the common case where size is known to
  not be huge, and this comparison can be done by checking the sign bit
  of the subtraction.

- Can be implemented even when only one register is available. This
  register is reused for both temporary storage during allocation and
  for the result.

- Preserves the behavior that memory in a block is filled in from lowest
  address to highest address, which allows for a cheap reallocation fast
  path.

- Is resilient against the block used for allocation being the last one
  in virtual memory, thereby otherwise leading to the risk of overflow
  in the bump pointer, despite only doing one branch.

In order to implement this allocator using the smallest possible chunk
of code, I refactored the copied space code so that all of the allocation
logic is in CopiedAllocator, and all of the state is in either
CopiedBlock or CopiedAllocator. This should make changing the allocation
fast path easier in the future.

In order to do this, I needed to add some new assembler support,
particularly for various forms of add(address, register) and negPtr().

This is performance neutral. The purpose of this change is to facilitate
further inlining of storage allocation without having to reserve
additional registers or emit too much code.

* assembler/MacroAssembler.h:
(JSC::MacroAssembler::addPtr):
(MacroAssembler):
(JSC::MacroAssembler::negPtr):
* assembler/MacroAssemblerARMv7.h:
(MacroAssemblerARMv7):
(JSC::MacroAssemblerARMv7::add32):
* assembler/MacroAssemblerX86.h:
(JSC::MacroAssemblerX86::add32):
(MacroAssemblerX86):
* assembler/MacroAssemblerX86_64.h:
(MacroAssemblerX86_64):
(JSC::MacroAssemblerX86_64::addPtr):
(JSC::MacroAssemblerX86_64::negPtr):
* assembler/X86Assembler.h:
(X86Assembler):
(JSC::X86Assembler::addl_mr):
(JSC::X86Assembler::addq_mr):
(JSC::X86Assembler::negq_r):
* heap/CopiedAllocator.h:
(CopiedAllocator):
(JSC::CopiedAllocator::isValid):
(JSC::CopiedAllocator::CopiedAllocator):
(JSC::CopiedAllocator::tryAllocate):
(JSC):
(JSC::CopiedAllocator::tryReallocate):
(JSC::CopiedAllocator::forceAllocate):
(JSC::CopiedAllocator::resetCurrentBlock):
(JSC::CopiedAllocator::setCurrentBlock):
(JSC::CopiedAllocator::currentCapacity):
* heap/CopiedBlock.h:
(CopiedBlock):
(JSC::CopiedBlock::create):
(JSC::CopiedBlock::zeroFillWilderness):
(JSC::CopiedBlock::CopiedBlock):
(JSC::CopiedBlock::payloadEnd):
(JSC):
(JSC::CopiedBlock::payloadCapacity):
(JSC::CopiedBlock::data):
(JSC::CopiedBlock::dataEnd):
(JSC::CopiedBlock::dataSize):
(JSC::CopiedBlock::wilderness):
(JSC::CopiedBlock::wildernessEnd):
(JSC::CopiedBlock::wildernessSize):
(JSC::CopiedBlock::size):
* heap/CopiedSpace.cpp:
(JSC::CopiedSpace::tryAllocateSlowCase):
(JSC::CopiedSpace::tryAllocateOversize):
(JSC::CopiedSpace::tryReallocate):
(JSC::CopiedSpace::doneFillingBlock):
(JSC::CopiedSpace::doneCopying):
* heap/CopiedSpace.h:
(CopiedSpace):
* heap/CopiedSpaceInlineMethods.h:
(JSC::CopiedSpace::startedCopying):
(JSC::CopiedSpace::allocateBlockForCopyingPhase):
(JSC::CopiedSpace::allocateBlock):
(JSC::CopiedSpace::tryAllocate):
(JSC):
* heap/MarkStack.cpp:
(JSC::SlotVisitor::startCopying):
(JSC::SlotVisitor::allocateNewSpace):
(JSC::SlotVisitor::doneCopying):
* heap/SlotVisitor.h:
(JSC::SlotVisitor::SlotVisitor):
* jit/JIT.h:
* jit/JITInlineMethods.h:
(JSC::JIT::emitAllocateBasicStorage):
(JSC::JIT::emitAllocateJSArray):

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

9 years agoEnable AVCF hardware video decoding
eric.carlson@apple.com [Sun, 15 Jul 2012 02:19:00 +0000 (02:19 +0000)]
Enable AVCF hardware video decoding
https://bugs.webkit.org/show_bug.cgi?id=90015
<rdar://problem/10770317>

Reviewed by Anders Carlsson.

Source/WebCore:

* html/HTMLMediaElement.cpp:
(WebCore):
(WebCore::HTMLMediaElement::mediaPlayerGraphicsDeviceAdapter): New, return the client's graphics
    device adapter.
* html/HTMLMediaElement.h:

* page/ChromeClient.h:
(WebCore::ChromeClient::graphicsDeviceAdapter): New.

* platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::graphicsDeviceAdapter): New, ask the media element for the graphics
    device adapter.
* platform/graphics/MediaPlayer.h:

* platform/graphics/avfoundation/cf/AVFoundationCFSoftLinking.h: Soft-link AVCFPlayerSetDirect3DDevice
    and AVCFPlayerEnableHardwareAcceleratedVideoDecoderKey.

* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
(WebCore::MediaPlayerPrivateAVFoundationCF::createAVAssetForURL): Pass the current d3d9
    device interface to the AVFWrapper.
(WebCore::AVFWrapper::createAssetForURL): If the d3d9 device implements IDirect3DDevice9Ex,
    tell the AVAsset to enable hardware video decoding.
(WebCore::AVFWrapper::createPlayer): Pass the d3d9 device to the player if it implements IDirect3DDevice9Ex.

* platform/graphics/ca/win/CACFLayerTreeHost.h:
(WebCore::CACFLayerTreeHost::graphicsDeviceAdapter): New, default implementation.

* platform/graphics/ca/win/LegacyCACFLayerTreeHost.h:
(WebCore::LegacyCACFLayerTreeHost::graphicsDeviceAdapter): New, default implementation.
* platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:
(WebCore::WKCACFViewLayerTreeHost::graphicsDeviceAdapter): New.
* platform/graphics/ca/win/WKCACFViewLayerTreeHost.h:

* platform/win/SoftLinking.h: Define SOFT_LINK_DLL_IMPORT_OPTIONAL, SOFT_LINK_LOADED_LIBRARY,
    and SOFT_LINK_VARIABLE_DLL_IMPORT_OPTIONAL.

Source/WebKit/win:

* WebCoreSupport/WebChromeClient.cpp:
(WebChromeClient::graphicsDeviceAdapter): New, return the view's graphics adapter.
* WebCoreSupport/WebChromeClient.h:
(WebChromeClient):

* WebView.cpp:
(WebView::graphicsDeviceAdapter): New, return the layer tree host's graphics adapter.
* WebView.h:
(WebCore):
(WebView):

Source/WebKit2:

* DerivedSources.make: Define HAVE_AVCF if necessary.

* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit):
(WebKit::WebChromeClient::graphicsDeviceAdapter): New, return the layer tree host's
    graphics adapter.
* WebProcess/WebCoreSupport/WebChromeClient.h:
(WebChromeClient):
* WebProcess/WebPage/LayerTreeHost.h:
(WebCore):
(LayerTreeHost):
(WebKit::LayerTreeHost::graphicsDeviceAdapter): New, default implementation.

* WebProcess/WebPage/ca/win/LayerTreeHostCAWin.h:
(LayerTreeHostCAWin):

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

9 years ago[Mac] Do not try to update the cache model for every WebPreferences change
benjamin@webkit.org [Sat, 14 Jul 2012 23:31:03 +0000 (23:31 +0000)]
[Mac] Do not try to update the cache model for every WebPreferences change
https://bugs.webkit.org/show_bug.cgi?id=91302

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-07-14
Reviewed by Joseph Pecoraro.

Source/WebKit/mac:

WebView was listening to any change on any WebPreferences in order to update the cache model. This is unneeded in most cases,
we can just listen to updates of the CacheModel property.

* WebView/WebPreferences.mm:
(-[WebPreferences initWithIdentifier:]):
(-[WebPreferences _postCacheModelChangedNotification]):
(-[WebPreferences setCacheModel:]):
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(+[WebView initialize]):
(+[WebView _cacheModelChangedNotification:]):

Tools:

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm: Added.
(TestWebKitAPI):
(TestWebKitAPI::TEST):

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

9 years agoFix Chromium Mac build failure after r122670.
rniwa@webkit.org [Sat, 14 Jul 2012 21:56:59 +0000 (21:56 +0000)]
Fix Chromium Mac build failure after r122670.

* platform/graphics/mac/ComplexTextController.cpp:

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

9 years agoFix the Snow Leopard build.
mrowe@apple.com [Sat, 14 Jul 2012 21:45:37 +0000 (21:45 +0000)]
Fix the Snow Leopard build.

* platform/LocalizedStrings.cpp:
(WebCore::contextMenuItemTagLookUpInDictionary): Fix a typo in the condition so that Snow Leopard
continues to take the expected path.

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

9 years agoAccessing the last item in children should be a constant time operation
rniwa@webkit.org [Sat, 14 Jul 2012 21:38:39 +0000 (21:38 +0000)]
Accessing the last item in children should be a constant time operation
https://bugs.webkit.org/show_bug.cgi?id=91320

Reviewed by Ojan Vafai.

Source/WebCore:

Traverse nodes from the last item when the target offset we're looking for is closer to the last item
than to the cached item. e.g. if the cached item was at offset 0 in the collection and length was 100,
we should not be looking for the item at offset 95 from the cached item.

Note that this trick can be only used in HTML collection that supports itemBefore and when the length
cache is available.

Also broke shouldSearchFromFirstItem into smaller logical pieces to clarify the intents.

Test: perf/htmlcollection-last-item.html

* html/HTMLCollection.cpp:
(WebCore):
(WebCore::HTMLCollection::isLastItemCloserThanLastOrCachedItem):
(WebCore::HTMLCollection::isFirstItemCloserThanCachedItem):
(WebCore::HTMLCollection::item):
* html/HTMLCollection.h:
(HTMLCollection):

LayoutTests:

Added an asymptotic time complexity test.

* perf/htmlcollection-last-item-expected.txt: Added.
* perf/htmlcollection-last-item.html: Added.

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

9 years agoFix the Windows build.
mrowe@apple.com [Sat, 14 Jul 2012 21:34:10 +0000 (21:34 +0000)]
Fix the Windows build.

* platform/network/cf/DNSCFNet.cpp: Fix the condition to take Windows in to account.

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

9 years agoMake it explicit which code paths iOS should use when doing checks based on OS X...
mrowe@apple.com [Sat, 14 Jul 2012 21:11:56 +0000 (21:11 +0000)]
Make it explicit which code paths iOS should use when doing checks based on OS X versions.

Rubber-stamped by David Kilzer.

* WebCore.exp.in:
* accessibility/AccessibilityList.h:
* accessibility/AccessibilityTable.h:
* accessibility/mac/AXObjectCacheMac.mm:
* editing/mac/EditorMac.mm:
* loader/MainResourceLoader.cpp:
* loader/MainResourceLoader.h:
* page/AlternativeTextClient.h:
* page/mac/SettingsMac.mm:
* platform/LocalizedStrings.cpp:
* platform/MemoryPressureHandler.cpp:
* platform/audio/mac/AudioBusMac.mm:
* platform/graphics/Gradient.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
* platform/graphics/ca/GraphicsLayerCA.cpp:
* platform/graphics/ca/PlatformCALayer.h:
* platform/graphics/ca/mac/PlatformCALayerMac.mm:
* platform/graphics/ca/mac/TileCache.mm:
* platform/graphics/cg/GraphicsContextCG.cpp:
* platform/graphics/cg/ImageBufferCG.cpp:
* platform/graphics/cg/ImageBufferDataCG.h:
* platform/graphics/cg/ImageCG.cpp:
* platform/graphics/cg/ImageSourceCG.cpp:
* platform/graphics/cocoa/FontPlatformDataCocoa.mm:
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
* platform/graphics/mac/ComplexTextController.cpp:
* platform/graphics/mac/ComplexTextControllerCoreText.mm:
* platform/graphics/mac/FontCacheMac.mm:
* platform/graphics/mac/FontCustomPlatformData.cpp:
* platform/graphics/mac/FontMac.mm:
* platform/graphics/mac/GraphicsContextMac.mm:
* platform/graphics/mac/SimpleFontDataMac.mm:
* platform/graphics/mac/WebLayer.h:
* platform/graphics/mac/WebLayer.mm:
* platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
* platform/mac/DisplaySleepDisabler.cpp:
* platform/mac/DisplaySleepDisabler.h:
* platform/mac/HTMLConverter.h:
* platform/mac/HTMLConverter.mm:
* platform/mac/MemoryPressureHandlerMac.mm:
* platform/mac/SharedTimerMac.mm:
* platform/mac/SuddenTermination.mm:
* platform/mac/WebFontCache.mm:
* platform/network/Credential.h:
* platform/network/ResourceHandle.h:
* platform/network/cf/DNSCFNet.cpp:
* platform/network/cf/ProxyServerCFNet.cpp:
* platform/network/cf/ResourceRequest.h:
* platform/network/cf/SocketStreamHandleCFNet.cpp:
* platform/network/mac/AuthenticationMac.mm:
* platform/network/mac/CookieStorageMac.mm:
* platform/network/mac/ResourceHandleMac.mm:
* platform/network/mac/ResourceRequestMac.mm:
* platform/network/mac/WebCoreURLResponse.mm:
* platform/text/TextChecking.h:
* platform/text/cf/HyphenationCF.cpp:
* platform/text/mac/HyphenationMac.mm:
* rendering/RenderLayerBacking.cpp:
* rendering/RenderLayerCompositor.cpp:

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

9 years agoUnreviewed, build fix.
fpizlo@apple.com [Sat, 14 Jul 2012 19:28:40 +0000 (19:28 +0000)]
Unreviewed, build fix.

* wtf/Assertions.cpp:
* wtf/Platform.h:
* wtf/unicode/icu/CollatorICU.cpp:
(WTF::Collator::userDefault):

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

9 years ago[Tests] Unskip not failing tests previously relying on LTC::nodesFromRect implementation
allan.jensen@nokia.com [Sat, 14 Jul 2012 14:09:28 +0000 (14:09 +0000)]
[Tests] Unskip not failing tests previously relying on LTC::nodesFromRect implementation
https://bugs.webkit.org/show_bug.cgi?id=46600

Reviewed by Ryosuke Niwa.

These tests no longer relies on LayoutTestController.nodesFromRect but on Internals, and should work
in all platforms.

* platform/chromium/TestExpectations:
* platform/win/Skipped:
* platform/wincairo/Skipped:
* platform/wk2/Skipped:

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

9 years agoUnreviewed, rolling out r122665.
rniwa@webkit.org [Sat, 14 Jul 2012 10:53:53 +0000 (10:53 +0000)]
Unreviewed, rolling out r122665.
http://trac.webkit.org/changeset/122665
https://bugs.webkit.org/show_bug.cgi?id=91321

Broke Mac builds (Requested by rniwa on #webkit).

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

Source/WebKit/mac:

* WebView/WebPreferences.mm:
(-[WebPreferences initWithIdentifier:]):
(-[WebPreferences setCacheModel:]):
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(+[WebView initialize]):
(+[WebView _preferencesChangedNotification:]):

Tools:

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm: Removed.

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

9 years agoSkip test added in r122663 on Qt and GTK
robert@webkit.org [Sat, 14 Jul 2012 09:50:22 +0000 (09:50 +0000)]
Skip test added in r122663 on Qt and GTK

Unreviewed, gardening.

Qt has 1px difference tracked under
 https://bugs.webkit.org/show_bug.cgi?id=89597
Gtk has a platform-specific rendering issue with the test.
 https://bugs.webkit.org/show_bug.cgi?id=91319

* platform/gtk/TestExpectations:
* platform/qt/Skipped:

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

9 years ago[Mac] Do not try to update the cache model for every WebPreferences change
benjamin@webkit.org [Sat, 14 Jul 2012 09:03:20 +0000 (09:03 +0000)]
[Mac] Do not try to update the cache model for every WebPreferences change
https://bugs.webkit.org/show_bug.cgi?id=91302

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-07-13
Reviewed by Joseph Pecoraro.

Source/WebKit/mac:

WebView was listening to any change on any WebPreferences in order to update the cache model. This is unneeded in most cases,
we can just listen to updates of the CacheModel property.

* WebView/WebPreferences.mm:
(-[WebPreferences initWithIdentifier:]):
(-[WebPreferences _postCacheModelChangedNotification]):
(-[WebPreferences setCacheModel:]):
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(+[WebView initialize]):
(+[WebView _cacheModelChangedNotification:]):

Tools:

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm: Added.
(TestWebKitAPI):
(TestWebKitAPI::TEST):

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

9 years agoUnreviewed, rolling out r122614.
commit-queue@webkit.org [Sat, 14 Jul 2012 08:59:16 +0000 (08:59 +0000)]
Unreviewed, rolling out r122614.
http://trac.webkit.org/changeset/122614
https://bugs.webkit.org/show_bug.cgi?id=91317

Broke performance tests (Requested by rniwa on #webkit).

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

* bindings/v8/V8Binding.cpp:
(WebCore::StringCache::v8ExternalStringSlow):

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

9 years agoCSS 2.1 failure: vertical-align-boxes-001 fails
robert@webkit.org [Sat, 14 Jul 2012 08:57:27 +0000 (08:57 +0000)]
CSS 2.1 failure: vertical-align-boxes-001 fails
https://bugs.webkit.org/show_bug.cgi?id=90626

Reviewed by Eric Seidel.

Source/WebCore:

Tests: css2.1/20110323/vertical-align-boxes-001.htm

A percentage value vertical-align is always a percentage of the actual line-height rather than
the margin box per http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align: 'Percentages:
refer to the 'line-height' of the element itself'.  Confusingly, RenderBox::lineheight() is a
shorthand into the dimensions of the margin box for replaced elements in the other vertical-align
cases, i.e. where it's the margin box that's relevant rather than the 'line-height'. So rather than patch RenderBox's
lineHeight() to somehow consider the percentage cases, just give percentage vertical-align the full computedLineHeight()
rather than lineHeight()'s margin box.

* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::verticalPositionForBox):

LayoutTests:

* css2.1/20110323/vertical-align-boxes-001-expected.html: Added.
* css2.1/20110323/vertical-align-boxes-001.htm: Added.
  This patch fixes the 'percentage' case in this test so that it calculates 50% of the
  line-height of 60px rather than 50% of the img's margin-box of -8px.

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

9 years agoUnreviewed GTK gardening, marking http/tests/misc/webtiming-origins.html as flaky.
zandobersek@gmail.com [Sat, 14 Jul 2012 08:09:20 +0000 (08:09 +0000)]
Unreviewed GTK gardening, marking http/tests/misc/webtiming-origins.html as flaky.

* platform/gtk/TestExpectations:

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

9 years agoUnreviewed GTK gardening, adding an image expectation for a test introduced
zandobersek@gmail.com [Sat, 14 Jul 2012 07:19:00 +0000 (07:19 +0000)]
Unreviewed GTK gardening, adding an image expectation for a test introduced
in r122651. Also creating platform-specific baselines for two File API tests
that behave differently because of function overloading problems but pass otherwise,
and skipping a test for correct viewport of sites with Mobile DTD which GTK port
does not (yet) support.

* platform/gtk/TestExpectations:
* platform/gtk/fast/files/create-blob-url-crash-expected.txt: Added.
* platform/gtk/fast/files/url-required-arguments-expected.txt: Added.

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

9 years agoIterating backwards over HTMLCollection is O(n^2)
rniwa@webkit.org [Sat, 14 Jul 2012 07:08:55 +0000 (07:08 +0000)]
Iterating backwards over HTMLCollection is O(n^2)
https://bugs.webkit.org/show_bug.cgi?id=91306

Reviewed by Anders Carlsson.

Source/WebCore:

Fixed the bug by introducing itemBefore that iterates nodes backwards to complement itemAfter.
Unfortunately, some HTML collections such as HTMLFormCollection and HTMLTableRowsCollection have
its own itemAfter function and writing an equivalent itemBefore is somewhat tricky. For now,
added a new boolean flag indicating whether a given HTML collection supports itemBefore or not,
and left those HTML collections that override itemAfter alone.

This also paves our way to share more code between DynamicNodeList and HTMLCollection.

Test: perf/htmlcollection-backwards-iteration.html

* dom/DynamicNodeList.h:
(WebCore::DynamicNodeListCacheBase::DynamicNodeListCacheBase): Takes ItemBeforeSupportType.
(WebCore::DynamicNodeListCacheBase::supportsItemBefore): Added.
(DynamicNodeListCacheBase):
(WebCore::DynamicNodeListCacheBase::setItemCache): Replaced a FIXME by an assertion now that
we can.
* html/HTMLAllCollection.cpp:
(WebCore::HTMLAllCollection::HTMLAllCollection): Supports itemBefore since it doesn't override
itemAfter.
* html/HTMLCollection.cpp:
(WebCore::HTMLCollection::HTMLCollection):
(WebCore::HTMLCollection::create):
(WebCore::isAcceptableElement): Made it a static local function instead of a static member.
(WebCore::nextNode): Templatized.
(WebCore::itemBeforeOrAfter): Extracted from itemAfter and templatized.
(WebCore::HTMLCollection::itemBefore): Added.
(WebCore::HTMLCollection::itemAfter):
(WebCore::HTMLCollection::shouldSearchFromFirstItem): Added. Determines whether we should reset
the item cache to the first item. We obviously do if the cache is invalid. If the target offset
is after the cached offset, then we shouldn't go back regardless of availability of itemBefore.
Otherwise, we go back to the first item iff itemBefore is not available or the distance from
the cached offset to the target offset is greater than the target offset itself.
(WebCore::HTMLCollection::length):
(WebCore::HTMLCollection::item): Use the term "offset" to match the terminology elsewhere.
(WebCore::HTMLCollection::itemBeforeOrAfterCachedItem): Ditto. Also added the logic to iterate
nodes backwards using itemBefore. Once we're in this branch, we should always find a matching
item since the target offset was less than the cached offset, and offsets are non-negative.
If we had ever reached the end of the loop without finding an item, it indicates that the cache
has been invalid and we have some serious bug elsewhere.
* html/HTMLCollection.h:
(WebCore::HTMLCollectionCacheBase::HTMLCollectionCacheBase):
(HTMLCollection):
* html/HTMLOptionsCollection.cpp:
(WebCore::HTMLOptionsCollection::HTMLOptionsCollection): Supports itemBefore since it doesn't
override itemAfter.
* html/HTMLFormCollection.cpp:
(WebCore::HTMLFormCollection::HTMLFormCollection): Doesn't support itemBefore as it overrides
itemAfter.
* html/HTMLNameCollection.cpp:
(WebCore::HTMLNameCollection::HTMLNameCollection): Ditto.
* html/HTMLPropertiesCollection.cpp:
(WebCore::HTMLPropertiesCollection::HTMLPropertiesCollection):
* html/HTMLTableRowsCollection.cpp:
(WebCore::HTMLTableRowsCollection::HTMLTableRowsCollection):

LayoutTests:

Add an asymptotic time complexity test.

* perf/htmlcollection-backwards-iteration-expected.txt: Added.
* perf/htmlcollection-backwards-iteration.html: Added.

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

9 years agorun-webkit-test outputs the wrong number of tests executed when some are skipped.
dpranke@chromium.org [Sat, 14 Jul 2012 03:45:48 +0000 (03:45 +0000)]
run-webkit-test outputs the wrong number of tests executed when some are skipped.
https://bugs.webkit.org/show_bug.cgi?id=89894

Reviewed by Ojan Vafai.

Fix the logging of the actual number of tests run so that tests
that are skipped aren't included.

Also revamp the 'expected' output so we distinguish the number
of tests found from the number of tests run (to account for
--repeat-each and --iterations).

Covered by existing tests.

* Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager.prepare_lists_and_print_output):
(Manager._log_num_workers):
(Manager.run):
(Manager._print_result_summary):
* Scripts/webkitpy/layout_tests/models/result_summary.py:
(ResultSummary.__init__):
(ResultSummary.add):
* Scripts/webkitpy/layout_tests/views/printing.py:
(Printer.print_one_line_summary):
* Scripts/webkitpy/layout_tests/views/printing_unittest.py:
(Testprinter.test_print_one_line_summary):

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

9 years ago[chromium] Add 'self-managed' option to CCPrioritizedTexture to enable render-surface...
commit-queue@webkit.org [Sat, 14 Jul 2012 03:05:06 +0000 (03:05 +0000)]
[chromium] Add 'self-managed' option to CCPrioritizedTexture to enable render-surface and canvas use cases.
https://bugs.webkit.org/show_bug.cgi?id=91177

Patch by Eric Penner <epenner@google.com> on 2012-07-13
Reviewed by Adrienne Walker.

Source/WebCore:

This makes the render-surface memory use case generic as 'self-managed' textures,
as this use case is popping up in other places (eg. canvases). It's exactly the
same idea except we can have as many place-holders as we want at arbitrary
priorities.

This already tested by the render surface unit tests which now also use the
generic placeholder.

* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::initializeLayerRenderer):
(WebCore::CCLayerTreeHost::updateLayers):
(WebCore::CCLayerTreeHost::setPrioritiesForSurfaces):
(WebCore):
(WebCore::CCLayerTreeHost::setPrioritiesForLayers):
(WebCore::CCLayerTreeHost::prioritizeTextures):
(WebCore::CCLayerTreeHost::calculateMemoryForRenderSurfaces):
(WebCore::CCLayerTreeHost::paintLayerContents):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:
(CCLayerTreeHost):
* platform/graphics/chromium/cc/CCPrioritizedTexture.cpp:
(WebCore::CCPrioritizedTexture::CCPrioritizedTexture):
(WebCore::CCPrioritizedTexture::setToSelfManagedMemoryPlaceholder):
* platform/graphics/chromium/cc/CCPrioritizedTexture.h:
(CCPrioritizedTexture):
(WebCore::CCPrioritizedTexture::setIsSelfManaged):
(WebCore::CCPrioritizedTexture::isSelfManaged):
* platform/graphics/chromium/cc/CCPrioritizedTextureManager.cpp:
(WebCore::CCPrioritizedTextureManager::prioritizeTextures):
(WebCore::CCPrioritizedTextureManager::acquireBackingTextureIfNeeded):
(WebCore::CCPrioritizedTextureManager::destroyBacking):
* platform/graphics/chromium/cc/CCPrioritizedTextureManager.h:
(CCPrioritizedTextureManager):
(WebCore::CCPrioritizedTextureManager::memoryForSelfManagedTextures):

Source/WebKit/chromium:

* tests/CCPrioritizedTextureTest.cpp:
(WTF::TEST_F):
* tests/TiledLayerChromiumTest.cpp:

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

9 years agonrwt: actually print the exception name and message for otherwise unhandled exceptions
dpranke@chromium.org [Sat, 14 Jul 2012 02:09:44 +0000 (02:09 +0000)]
nrwt: actually print the exception name and message for otherwise unhandled exceptions
https://bugs.webkit.org/show_bug.cgi?id=91305

Reviewed by Adam Barth.

Two more places where I was printing the stack trace but not the
exception itself :(. These two spots can't easily be
unit-tested, but I tested them by hand.

* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(run):
(main):

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

9 years agoInternals: Clean up the mock PagePopupDriver correctly.
tkent@chromium.org [Sat, 14 Jul 2012 02:07:48 +0000 (02:07 +0000)]
Internals: Clean up the mock PagePopupDriver correctly.
https://bugs.webkit.org/show_bug.cgi?id=91250

Source/WebCore:

Unreviewed, a trivial testing code fix.

* testing/InternalSettings.cpp:
(WebCore::InternalSettings::Backup::restoreTo):
(WebCore::InternalSettings::reset):
Resetting PaePopupDriver here instead of Backup::restoreTo.
Also, close the mock popup before resetting PagePopupDriver by clearing m_pagePopupDriver.
* testing/MockPagePopupDriver.cpp:
(WebCore::MockPagePopupDriver::~MockPagePopupDriver):
Close the popup.

LayoutTests:

* platform/chromium/TestExpectations: Remove CRASH expectation for date-apparance.html.

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

9 years agoRemove Widget from screenColorProfile
commit-queue@webkit.org [Sat, 14 Jul 2012 02:03:21 +0000 (02:03 +0000)]
Remove Widget from screenColorProfile
https://bugs.webkit.org/show_bug.cgi?id=91300

Patch by Tony Payne <tpayne@chromium.org> on 2012-07-13
Reviewed by Adam Barth.

Source/Platform:

* chromium/public/Platform.h:
(Platform): Updated comment to reflect that we no longer have a type param.

Source/WebCore:

Chromium, the only platform implementing screenColorProfile, does not
need the Widget, so removing for simplicity.

Covered by existing tests.

* platform/PlatformScreen.h:
(WebCore): Updated comment to remove reference to type param that no
longer exists and removed Widget param.
* platform/blackberry/PlatformScreenBlackBerry.cpp:
(WebCore::screenColorProfile): Removed widget param.
* platform/chromium/PlatformScreenChromium.cpp:
(WebCore::screenColorProfile): Removed widget param.
* platform/efl/PlatformScreenEfl.cpp:
(WebCore::screenColorProfile): Removed widget param.
* platform/gtk/PlatformScreenGtk.cpp:
(WebCore::screenColorProfile): Removed widget param.
* platform/image-decoders/ImageDecoder.h:
(WebCore::ImageDecoder::qcmsOutputDeviceProfile): removed param to
match screenColorProfile()'s new spec.
* platform/mac/PlatformScreenMac.mm:
(WebCore::screenColorProfile): Removed widget param.
* platform/qt/PlatformScreenQt.cpp:
(WebCore::screenColorProfile): Removed widget param.
* platform/win/PlatformScreenWin.cpp:
(WebCore::screenColorProfile): Removed widget param.

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

9 years agoSource/WebCore: [chromium] Add flushes to CCTextureUpdater::update
commit-queue@webkit.org [Sat, 14 Jul 2012 01:49:13 +0000 (01:49 +0000)]
Source/WebCore: [chromium] Add flushes to CCTextureUpdater::update
https://bugs.webkit.org/show_bug.cgi?id=89035

Patch by Brian Anderson <brianderson@chromium.org> on 2012-07-13
Reviewed by Adrienne Walker.

Automatic flushes are being removed from the command buffer, so
this moves the flushes into the CCTextureUpdater itself.

CCTextureUpdaterTest added to verify texture upload/flushing patterns.

* platform/graphics/chromium/cc/CCGraphicsContext.h:
(WebCore::CCGraphicsContext::flush):
(CCGraphicsContext):
* platform/graphics/chromium/cc/CCTextureUpdater.cpp:
(WebCore):
(WebCore::CCTextureUpdater::update): Manual flushes added here.

Source/WebKit/chromium: Add flushes to CCTextureUpdater::update
https://bugs.webkit.org/show_bug.cgi?id=89035

Patch by Brian Anderson <brianderson@chromium.org> on 2012-07-13
Reviewed by Adrienne Walker.

CCTextureUpdaterTest added to verify texture upload/flushing patterns.

* WebKit.gypi:
* tests/CCTextureUpdaterTest.cpp: Added.

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

9 years agoREGRESSION: RenderInline boundingBox ignores relative position offset
commit-queue@webkit.org [Sat, 14 Jul 2012 01:08:07 +0000 (01:08 +0000)]
REGRESSION: RenderInline boundingBox ignores relative position offset
https://bugs.webkit.org/show_bug.cgi?id=91168

Patch by Kiran Muppala <cmuppala@apple.com> on 2012-07-13
Reviewed by Simon Fraser.

Source/WebCore:

RenderGeometryMap, used for caching the transform to the view,
expects the first mapping pushed, to be that of the view itself.
RenderInline was instead pushing it's own offset first.  Besides
the offset of the view itself was not being pushed.

Relaxed the RenderGeometryMap restriction that the first pushed
step should be of the view.  It is sufficient that the view's mapping
is pushed in the first call to pushMappingsToAncestor.  Modified
RenderInline to push the offset of the view also to the geometry map.

Test: fast/inline/inline-relative-offset-boundingbox.html

* rendering/RenderGeometryMap.cpp:
(WebCore::RenderGeometryMap::pushMappingsToAncestor): Add assertion to
check if mapping to view was pushed in first invocation.
(WebCore::RenderGeometryMap::pushView): Correct assertion that checks
if the view's mapping is the first one to be applied.
(WebCore::RenderGeometryMap::stepInserted): Use isRenderView to check if
a mapping step belongs to a view instead of using mapping size.
(WebCore::RenderGeometryMap::stepRemoved): Ditto.
* rendering/RenderInline.cpp:
(WebCore::(anonymous namespace)::AbsoluteQuadsGeneratorContext::AbsoluteQuadsGeneratorContext):
Push mappings all the way up to and including the view.

LayoutTests:

Add a regression test for boundingBox of an inline element with relative position offsets.

* fast/inline/inline-relative-offset-boundingbox-expected.txt: Added.
* fast/inline/inline-relative-offset-boundingbox.html: Added.

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

9 years agoMove WebCore/platform/text/Base64 to WTF/wtf/text
wangxianzhu@chromium.org [Sat, 14 Jul 2012 01:03:14 +0000 (01:03 +0000)]
Move WebCore/platform/text/Base64 to WTF/wtf/text
https://bugs.webkit.org/show_bug.cgi?id=91162

Reviewed by Adam Barth.

Source/WebCore:

No new tests. Files moving only.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Modules/websockets/WebSocketHandshake.cpp:
(WebCore::generateSecWebSocketKey):
(WebCore::WebSocketHandshake::getExpectedWebSocketAccept):
* Target.pri:
* WebCore.gypi:
* WebCore.order:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* fileapi/FileReaderLoader.cpp:
(WebCore::FileReaderLoader::convertToDataURL):
* inspector/DOMPatchSupport.cpp:
(WebCore::DOMPatchSupport::createDigest):
* inspector/InspectorFileSystemAgent.cpp:
(WebCore):
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::cachedResourceContent):
(WebCore::InspectorPageAgent::sharedBufferContent):
* loader/archive/mhtml/MHTMLArchive.cpp:
(WebCore::MHTMLArchive::generateMHTMLData):
* loader/archive/mhtml/MHTMLParser.cpp:
(WebCore::MHTMLParser::parseNextPart):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::btoa):
(WebCore::DOMWindow::atob):
* page/Page.cpp:
(WebCore::Page::userStyleSheetLocationChanged):
* platform/graphics/cairo/ImageBufferCairo.cpp:
(WebCore::ImageBuffer::toDataURL):
* platform/graphics/cg/ImageBufferCG.cpp:
(WebCore::CGImageToDataURL):
* platform/graphics/gtk/ImageBufferGtk.cpp:
(WebCore::ImageBuffer::toDataURL):
* platform/graphics/skia/FontCustomPlatformData.cpp:
(WebCore::createUniqueFontName):
* platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::ImageBuffer::toDataURL):
(WebCore::ImageDataToDataURL):
* platform/graphics/win/FontCustomPlatformData.cpp:
(WebCore::createUniqueFontName):
* platform/graphics/wince/FontCustomPlatformData.cpp:
(WebCore::createUniqueFontName):
* platform/graphics/wince/ImageBufferWinCE.cpp:
* platform/graphics/wx/ImageBufferWx.cpp:
* platform/network/DataURL.cpp:
(WebCore::handleDataURL):
* platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::applyBasicAuthorizationHeader):
* platform/network/mac/ResourceHandleMac.mm:
(WebCore::applyBasicAuthorizationHeader):
* platform/network/soup/ResourceHandleSoup.cpp:
* platform/win/SSLKeyGeneratorWin.cpp:
(WebCore::WebCore::signedPublicKeyAndChallengeString):

Source/WebKit/blackberry:

* Api/WebKitTextCodec.cpp:
(BlackBerry::WebKit::base64DecodePolicyForWTF):
(BlackBerry::WebKit::base64Decode):
(BlackBerry::WebKit::base64EncodePolicyForWTF):
(BlackBerry::WebKit::base64Encode):
* Api/WebSettings.cpp:
(BlackBerry::WebKit::WebSettings::setUserStyleSheetString):
* WebCoreSupport/FrameLoaderClientBlackBerry.cpp:

Source/WTF:

* GNUmakefile.list.am:
* WTF.gypi:
* WTF.pro:
* WTF.vcproj/WTF.vcproj:
* WTF.xcodeproj/project.pbxproj:
* wtf/CMakeLists.txt:
* wtf/text/Base64.cpp: Renamed from Source/WebCore/platform/text/Base64.cpp.
(WTF):
(WTF::base64Encode):
(WTF::base64Decode):
(WTF::base64DecodeInternal):
* wtf/text/Base64.h: Renamed from Source/WebCore/platform/text/Base64.h.
(WTF):
(WTF::base64Encode):

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

9 years ago[Chromium] Sometimes bottom of text is truncated when page has a fractional scale
wangxianzhu@chromium.org [Sat, 14 Jul 2012 00:52:56 +0000 (00:52 +0000)]
[Chromium] Sometimes bottom of text is truncated when page has a fractional scale
https://bugs.webkit.org/show_bug.cgi?id=88684

Reviewed by Tony Chang.

Source/WebCore:

When the page has a fractional scale, the ascent and descent part of the fonts might be fractional.
If the descent part is rounded down, the bottom of the text might be truncated when displayed
when subpixel text positioning is enabled.
To avoid that, borrow one unit from the ascent when possible.

Test: fast/text/descent-clip-in-scaled-page.html

* platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp:
(WebCore::FontPlatformData::setupPaint): Moved NoPreference handling into querySystemForRenderStyle so that fontRenderStyle() can have actual styles without NoPreference.
(WebCore::FontPlatformData::querySystemForRenderStyle): Added NoPreference handling (moved from setupPaint)
* platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.h:
(FontPlatformData):
(WebCore::FontPlatformData::fontRenderStyle): Added to let SimpleFontDataSkia access the font render styles.
* platform/graphics/skia/SimpleFontDataSkia.cpp:
(WebCore::SimpleFontData::platformInit):

LayoutTests:

New test case.

* fast/text/descent-clip-in-scaled-page-expected.html: Added.
* fast/text/descent-clip-in-scaled-page.html: Added.

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

9 years agoOfflineASM Pretty printing and commenting enhancements.
commit-queue@webkit.org [Sat, 14 Jul 2012 00:44:47 +0000 (00:44 +0000)]
OfflineASM Pretty printing and commenting enhancements.
https://bugs.webkit.org/show_bug.cgi?id=91281

Patch by Mark Lam <mark.lam@apple.com> on 2012-07-13
Reviewed by Filip Pizlo.

Added some minor pretty printing in the OfflineASM.
Also added infrastruture for adding multiple types of comments and
annotations with the ability to enable/disable them in the generated
output as desired.

* GNUmakefile.list.am: add new file config.rb.
* llint/LLIntOfflineAsmConfig.h:
  Added OFFLINE_ASM_BEGIN, OFFLINE_ASM_END, and OFFLINE_ASM_LOCAL_LABEL macros.
  This will allow us to redefine these for other backends later.
* llint/LowLevelInterpreter32_64.asm:
  Add a small example of instruction annotations for now.
* llint/LowLevelInterpreter64.asm:
  Add a small example of instruction annotations for now.
* offlineasm/armv7.rb: Added handling of annotations.
* offlineasm/asm.rb:
  Added machinery to dump the new comments and annotations.
  Also added some indentations to make the output a little prettier.
* offlineasm/ast.rb: Added annotation field in class Instruction.
* offlineasm/backends.rb:
* offlineasm/config.rb: Added.
  Currently only contains commenting options.  This file is meant to be
  a centralized place for build config values much like config.h for
  JavaScriptCore.
* offlineasm/generate_offset_extractor.rb:
* offlineasm/instructions.rb:
* offlineasm/offsets.rb:
* offlineasm/opt.rb:
* offlineasm/parser.rb: Parse and record annotations.
* offlineasm/registers.rb:
* offlineasm/self_hash.rb:
* offlineasm/settings.rb:
* offlineasm/transform.rb:
* offlineasm/x86.rb: Added handling of annotations.

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

9 years agoRemove an assertion after r122637.
rniwa@webkit.org [Sat, 14 Jul 2012 00:44:02 +0000 (00:44 +0000)]
Remove an assertion after r122637.

* dom/DynamicNodeList.h:
(WebCore::DynamicNodeListCacheBase::shouldInvalidateTypeOnAttributeChange):

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

9 years agoFix for WebContext::getWebCoreStatistics() causes crash if no m_process
commit-queue@webkit.org [Sat, 14 Jul 2012 00:33:28 +0000 (00:33 +0000)]
Fix for WebContext::getWebCoreStatistics() causes crash if no m_process
https://bugs.webkit.org/show_bug.cgi?id=91116

.:

Patch by Josh Hawn <jhawn@apple.com> on 2012-07-12
Reviewed by Simon Fraser.

* Source/WebKit2/UIProcess/WebContext.cpp:
  WebContext::getWebCoreStatistics():
        Now invalidates callback if no m_process.

Tools:

Patch by Josh Hawn <jhawn@apple.com> on 2012-07-13
Reviewed by Simon Fraser.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
    Added new test file.
* TestWebKitAPI/Tests/WebKit2/WebCoreStatisticsWithNoWebProcess.cpp: Added.
(TestWebKitAPI::wkContextGetStatisticsCallback):
    Tests that callback function receives an error.
(TestWebKitAPI::TEST):
    Creates a dummy web context object (no web process).
    Calls WKContextGetStatistics with the web context and test callback.
    The test callback should get an expected error.

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

9 years ago[Qt] Improve the mobile theme slightly
pierre.rossi@gmail.com [Sat, 14 Jul 2012 00:15:43 +0000 (00:15 +0000)]
[Qt] Improve the mobile theme slightly
https://bugs.webkit.org/show_bug.cgi?id=90806

Reviewed by Kenneth Rohde Christiansen.

Improve drawing of the mobile theme's controls' background.

Ensure the focus ring never appears with the mobile theme, since it
looks bad in combination with the highlights.

No new tests. The painting code from the mobile theme is still
not covered specifically (it will when we revive pixel tests).

* platform/qt/RenderThemeQtMobile.cpp:
(WebCore):
(WebCore::addPointToOctants): Added. This is simply a helper to avoid
    doing too much duplicate work in drawControlBackground.
(WebCore::drawControlBackground): Rely on the octant logic added above
    and take the opportunity to increase the granularity.
(WebCore::borderPen):
(WebCore::StylePainterMobile::findLineEdit):
(WebCore::RenderThemeQtMobile::adjustTextFieldStyle):
* platform/qt/RenderThemeQtMobile.h:
(RenderThemeQtMobile):
(WebCore::RenderThemeQtMobile::supportsFocusRing):

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