[EFL] Unreviewed, add a few more pixel expectations.

* platform/efl/css3/flexbox/repaint-during-resize-no-flex-expected.png: Added.
* platform/efl/css3/flexbox/repaint-rtl-column-expected.png:
* platform/efl/fast/forms/indeterminate-expected.png: Added.
* platform/efl/media/video-aspect-ratio-expected.png: Added.
* platform/efl/media/video-layer-crash-expected.png: Added.
* platform/efl/media/video-transformed-expected.png: Added.
* platform/efl/media/video-zoom-expected.png: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove stray calls to mutableAttributeData()
https://bugs.webkit.org/show_bug.cgi?id=100849

Reviewed by Andreas Kling.

Changing the cached class attribute value does not require mutable attribute data.

* dom/Element.cpp:
(WebCore::Element::classAttributeChanged):
* dom/ElementAttributeData.h:
(WebCore::ElementAttributeData::clearClass):
        
    Make const like setClass().



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Skip http/tests/appcache/load-from-appcache-defer-resume-crash.html on WK2.

Just marking it as Failure does not prevent a useless PNG expectation to be generated when running pixel tests.

* platform/efl-wk2/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] More unreviewed gardening.

Skip the EXIF-related tests since the feature is not implemented
for the port anyway, and skip the recently-added
fast/images/exif-orientation-image-document.html as well.

* platform/efl/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WTR] WebKitTestRunner is not cleaning up the icon database
https://bugs.webkit.org/show_bug.cgi?id=100678

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-10-31
Reviewed by Kenneth Rohde Christiansen.

The icon database was not being set to the temporary folder created for
the test runner by the test driver, which is removed automatically
after the run.

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][GTK] Unreviewed gardening.

Exif orientation test marked as failing for GTK & EFL,
On EFL, the vibration IPC issue may cause crash, see bug 100334.

* platform/efl-wk2/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][GTK] Unreviewed gardening.

Removing duplicate in EFL file, changing bug number for exif orientation bug in GTK.

* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Unreviewed pixel expectations gardening.

Skip a few ietestcenter/css3/text texts which are rendering
incorrectly, and accept Missing as a valid result for some culling
tests.

* platform/efl/TestExpectations:
* platform/efl/ietestcenter/css3/text/textshadow-005-expected.png: Removed.
* platform/efl/ietestcenter/css3/text/textshadow-005-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r133016.
http://trac.webkit.org/changeset/133016
https://bugs.webkit.org/show_bug.cgi?id=100856

broke compile-webkit on several bots (Requested by podivilov
on #webkit).

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

Source/WebCore:

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* dom/DeviceOrientationClient.h:
(DeviceOrientationClient):
* dom/DeviceOrientationController.cpp:
(WebCore::DeviceOrientationController::DeviceOrientationController):
(WebCore):
(WebCore::DeviceOrientationController::~DeviceOrientationController):
(WebCore::DeviceOrientationController::timerFired):
(WebCore::DeviceOrientationController::addListener):
(WebCore::DeviceOrientationController::removeListener):
(WebCore::DeviceOrientationController::removeAllListeners):
(WebCore::DeviceOrientationController::suspendEventsForAllListeners):
(WebCore::DeviceOrientationController::resumeEventsForAllListeners):
(WebCore::DeviceOrientationController::didChangeDeviceOrientation):
(WebCore::DeviceOrientationController::supplementName):
* dom/DeviceOrientationController.h:
(WebCore):
(DeviceOrientationController):
(WebCore::DeviceOrientationController::isActive):
(WebCore::DeviceOrientationController::client):
(WebCore::DeviceOrientationController::from):
* dom/Document.cpp:
(WebCore::Document::suspendActiveDOMObjects):
(WebCore::Document::resumeActiveDOMObjects):
* loader/EmptyClients.h:
(WebCore::EmptyDeviceOrientationClient::startUpdating):
(WebCore::EmptyDeviceOrientationClient::stopUpdating):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::addEventListener):
(WebCore::DOMWindow::removeEventListener):
(WebCore::DOMWindow::removeAllEventListeners):
* page/DeviceClient.h: Removed.
* page/DeviceController.cpp: Removed.
* page/DeviceController.h: Removed.

Source/WebKit/qt:

* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::setMockDeviceOrientation):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
perspective-origin should ignore values with more then two lengths and use the default values
https://bugs.webkit.org/show_bug.cgi?id=100835

Patch by Zoltan Nyul <zoltan.nyul@intel.com> on 2012-10-31
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Perspective-origin should ignore values with more then two lengths
(http://www.w3.org/TR/css3-transforms/#perspective-origin) and use
the default values instead of parsing it as an unlimited-length list,
of which all but the first two values are ignored. This makes perspective-origin
behave similar to transform-origin which uses default value in this case,
as well as firefox does the same.

Test: transforms/2d/computed-style-origin.html

* css/CSSParser.cpp:
(WebCore::CSSParser::parsePerspectiveOrigin):

LayoutTests:

Add test for perspective-origin with more the than two lengths.

* transforms/2d/computed-style-origin-expected.txt:
* transforms/2d/computed-style-origin.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: page crash when pausing in dedicated worker
https://bugs.webkit.org/show_bug.cgi?id=100837

Reviewed by Pavel Feldman.

Source/WebCore:

Pass debugger agent to InjectedScriptHost::init in case of workers.

Test: inspector-protocol/debugger-pause-dedicated-worker.html

* inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::WorkerInspectorController):

LayoutTests:

Test that Debugger.pause works for dedicated workers. The test is skipped
on all platforms that use JSC as worker debugging is not supported there
yet.

* http/tests/inspector-protocol/resources/InspectorTest.js:
(WebInspector.dispatchMessageFromBackend):
* inspector-protocol/debugger-pause-dedicated-worker-expected.txt: Added.
* inspector-protocol/debugger-pause-dedicated-worker.html: Added.
* inspector-protocol/resources/dedicated-worker.js: Added.
(onmessage):
(doWork):
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening. Rebaselining tests after r133019.

* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
New Chromium baselines for css3/filters/composited-reflected.html.

Unreviewed.

* platform/chromium-mac/css3/filters/composited-reflected-expected.png: Added.
* platform/chromium-win/css3/filters/composited-reflected-expected.png: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add support for text-based repaint testing
https://bugs.webkit.org/show_bug.cgi?id=100584

Reviewed by Simon Fraser.

Allows tracked repaint rects to be dumped as text.

.:

* Source/autotools/symbols.filter:
  Exports for:
    FrameView::setTracksRepaints(bool)
    Frame::trackedRepaintRectsAsText() const

Source/WebCore:

The following layout tests have been converted:
  fast/repaint/layer-full-repaint.html
  fast/repaint/overflow-flipped-writing-mode-table.html

* WebCore.exp.in:
  Exports for:
    FrameView::setTracksRepaints(bool)
    Frame::trackedRepaintRectsAsText() const
* page/Frame.cpp:
(WebCore::Frame::trackedRepaintRectsAsText):
  Returns a string containing information on all tracked repaint rects.
* page/FrameView.cpp:
(WebCore::FrameView::setTracksRepaints):
  Rather than calling m_trackedRepaintRects.clear() directly, I've
  called resetTrackedRepaints(). This will allow us to do more
  sophisticated resetting when we start tracking repaint rects for
  composited layers.
(WebCore::FrameView::trackedRepaintRectsAsText):
  Provides the string returned by Frame::trackedRepaintRectsAsText.
* testing/Internals.cpp:
(WebCore::Internals::repaintRectsAsText):
  Returns Frame::trackedRepaintRectsAsText.
(WebCore):
(WebCore::Internals::startTrackingRepaints):
  Calls FrameView::setTracksRepaints(true)
(WebCore::Internals::stopTrackingRepaints):
  Calls FrameView::setTracksRepaints(false)
* testing/Internals.h:
* testing/Internals.idl:
  Declarations for:
    repaintRectsAsText
    startTrackingRepaints
    stopTrackingRepaints

Source/WebKit2:

* mac/WebKit2.order:
* win/WebKit2.def:
* win/WebKit2CFLite.def:
  Exports for:
    FrameView::setTracksRepaints(bool)
    Frame::trackedRepaintRectsAsText() const

LayoutTests:

* fast/repaint/layer-full-repaint-expected.txt: Added.
* fast/repaint/layer-full-repaint.html:
* fast/repaint/overflow-flipped-writing-mode-table-expected.png: Removed.
* fast/repaint/overflow-flipped-writing-mode-table-expected.txt:
* fast/repaint/overflow-flipped-writing-mode-table.html:
* fast/repaint/resources/repaint.js:
* fast/repaint/resources/text-based-repaint.js: Added.
(runRepaintTest):
  The function calls internals.startTrackingRepaints() rather than display()
  before calling repaintTest(). It also generates a <pre> element and sets
  its innerHTML to internals.repaintRectsAsText().
* platform/chromium-mac/fast/repaint/layer-full-repaint-expected.png: Removed.
* platform/chromium-mac/fast/repaint/overflow-flipped-writing-mode-table-expected.png: Removed.
* platform/chromium-win/fast/repaint/overflow-flipped-writing-mode-table-expected.png: Removed.
* platform/chromium/fast/repaint/layer-full-repaint-expected.png: Removed.
* platform/chromium/fast/repaint/layer-full-repaint-expected.txt: Removed.
* platform/efl/fast/repaint/layer-full-repaint-expected.png: Removed.
* platform/efl/fast/repaint/layer-full-repaint-expected.txt: Removed.
* platform/gtk/fast/repaint/layer-full-repaint-expected.png: Removed.
* platform/gtk/fast/repaint/layer-full-repaint-expected.txt: Removed.
* platform/gtk/fast/repaint/overflow-flipped-writing-mode-table-expected.png: Removed.
* platform/mac/fast/repaint/layer-full-repaint-expected.png: Removed.
* platform/mac/fast/repaint/layer-full-repaint-expected.txt: Removed.
* platform/qt/fast/repaint/layer-full-repaint-expected.png: Removed.
* platform/qt/fast/repaint/layer-full-repaint-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] More unreviewed pixel expectations gardening.

Accept Missing as a valid result for some ietestcenter tests, and
skip another one of them.

* platform/efl/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] WebContext::platformDefaultIconDatabasePath() should return a path to a file
https://bugs.webkit.org/show_bug.cgi?id=100679

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-10-31
Reviewed by Kenneth Rohde Christiansen.

This patch aligns the EFL implementation with other ports. Before
that, we had an inconsistence: the return value of the getter could
not be used on the setter (the setter expects a full path, not a
directory).

* UIProcess/API/efl/ewk_context.cpp:
(Ewk_Context::faviconDatabase):
* UIProcess/efl/WebContextEfl.cpp:
(WebKit::WebContext::platformDefaultIconDatabasePath):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] DRT doesn't clean up after itself
https://bugs.webkit.org/show_bug.cgi?id=100346

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-10-31
Reviewed by Kenneth Rohde Christiansen.

The test driver exports an environment variable DUMPRENDERTREE_TEMP
which is used by both DRT and WTR as the folder for storing icons,
databases, application cache, etc, overriding the default XDG_* path.

We don't need to create these folders because in fact, they are never
used and also never cleaned. Things created inside DUMPRENDERTREE_TEMP
are automatically removed after the test run.

* Scripts/webkitpy/layout_tests/port/efl.py:
(EflPort.setup_environ_for_server):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Table with percentage column widths doesn't scale to fill the entire width of a table containing it
https://bugs.webkit.org/show_bug.cgi?id=11645

Patch by Arpita Bahuguna <arpitabahuguna@gmail.com> on 2012-10-31
Reviewed by Julien Chaffraix.

Source/WebCore:

When the inner (or nested) table has auto width and column(s) with
percent width, we should scale our column(s) to the width of the
containing table (unless it has auto width).

Test: fast/table/scale-nested-percent-width-cols.html

* rendering/AutoTableLayout.cpp:
(WebCore::shouldScaleColumns):
If the containing table width was of percent type, we were disallowing
our inner or nested table's column from scaling to the size of the parent
table. We should prohibit the scaling of the nested table columns only
if the parent table has auto width.

LayoutTests:

* fast/table/scale-nested-percent-width-cols-expected.html: Added.
* fast/table/scale-nested-percent-width-cols.html: Added.
Added a ref test verifying that our nested (auto width) table's columns
are scaled and sized appropriately if the containing table has
percent width.

* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/win/TestExpectations:
Added an entry for fast/table/025.html for these ports. It would need
rebaselining as a result of this fix.

* platform/qt/fast/table/025-expected.png:
* platform/qt/fast/table/025-expected.txt:
Modified expected results for the existing test on qt port.

In the given test, our innermost nested table has auto width and consits
of three table cells with percent width specified for the first and the
third cells. Its containing table on the other hand is a percent width
table.

Previously, we were not scaling our inner table's column(s) from expanding
to the width of the containing table if it had percent width type. Because
of this our first and last table cells in the innermost table were being
rendered only with the minimum width (4px).

Post this fix, since now our inner table columns shall scale, the first and
the last table cell would thus expand in width (41px each) and hence the
change in the column and the table dimensions.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] New baselines for
fast/images/exif-orientation-css-expected.png.  Unreviewed.

* platform/chromium-linux-x86/fast/images/exif-orientation-css-expected.png: Removed.
* platform/chromium-win/fast/images/exif-orientation-css-expected.png: Added.
* platform/chromium/fast/images/exif-orientation-css-expected.png: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][WK2] Fix "Unable to find a renderable master window QQuickView" warnings in tst_QQuickWebView
https://bugs.webkit.org/show_bug.cgi?id=100247

Reviewed by Jocelyn Turcotte.

Make sure we have a visible window for tests that want to render.

* UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp:
(tst_QQuickWebView::showWebView):
(tst_QQuickWebView::removeFromCanvas):
(tst_QQuickWebView::multipleWebViewWindows):
(tst_QQuickWebView::multipleWebViews):
(tst_QQuickWebView::basicRenderingSanity):
(tst_QQuickWebView::transparentWebViews):
Removed some unnecessary resize now that the window have a default size.
* UIProcess/API/qt/tests/testwindow.h:
(TestWindow): Resize the window to a default size at construction.

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