[WK2] Supported media MIME types are not included to the list of shown MIME types.
https://bugs.webkit.org/show_bug.cgi?id=97552

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-09-25
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Exported WebCore::MIMETypeRegistry::isSupportedMediaMIMEType() for MAC.

No new tests. No new functionality.

* WebCore.exp.in:

Source/WebKit2:

Added supported media MIME types to the list of shown MIME types in order to fix
media tests regression after r129479.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::canShowMIMEType):
* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageCanShowMIMEType):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Do not dump inspector output in DRT
https://bugs.webkit.org/show_bug.cgi?id=97018

Patch by Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> on 2012-09-25
Reviewed by Kenneth Rohde Christiansen.

Tools:

Some inspector-related layout tests expect console output from the
inspector view to be suppressed. Do that by setting a property in
the inspector view that makes the onConsoleMessage callback return
early and not output anything.

Using evas_object_data_{get,set} is not very beautiful, but it is
still better than properly subclassing Ewk_View and having to
implement something similar to drt_view_console_message_enable_set().

* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::createWebInspectorView):
* DumpRenderTree/efl/DumpRenderTreeView.cpp:
(onConsoleMessage):

LayoutTests:

* platform/efl-wk2/TestExpectations: Skip some tests which still
fail on WK2.
* platform/efl/Skipped: Unskip a few inspector tests that now
pass.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Generate results for test.

* platform/efl-wk2/TestExpectations: Add a proper bug number for
this test.
* platform/efl/fast/history/visited-link-background-color-expected.png: Added.
* platform/efl/fast/history/visited-link-background-color-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][WK2] Focus out is not handled properly
https://bugs.webkit.org/show_bug.cgi?id=96997

Patch by Michael Brüning <michael.bruning@digia.com> on 2012-09-25
Reviewed by Simon Hausmann.

Adds a handler for QQuickWebView::itemChange event that is sent to
QQuickItems when their focus has been changed to replace focusOutEvent.

This fixes the problem because the focus has been updated when
itemChange is called, while it is not yet update when focusOutEvent
is called.

* UIProcess/API/qt/qquickwebview.cpp: Removed focusOutEvent.
(QQuickWebView::itemChange): Added in place of focusOutEvent.
* UIProcess/API/qt/qquickwebview_p.h:
* UIProcess/qt/QtWebPageEventHandler.cpp:
(WebKit::QtWebPageEventHandler::handleFocusLost): Renamed from handleFocusOutEvent, parameter removed.
* UIProcess/qt/QtWebPageEventHandler.h:
(QtWebPageEventHandler):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Don't render at scale 1.0 when doing a pinch-zoom out
https://bugs.webkit.org/show_bug.cgi?id=97212

Patch by Jocelyn Turcotte <jocelyn.turcotte@digia.com> on 2012-09-25
Reviewed by Kenneth Rohde Christiansen.

When the user starts pinching this creates extra rendering that is bound to the
page size and can be considerably big, reducing performance and peaking the tile
memory usage.

Fixing this might require a different approach that we could experiment with.

* UIProcess/qt/PageViewportControllerClientQt.cpp:
(WebKit::PageViewportControllerClientQt::animateContentRectVisible):
(WebKit::PageViewportControllerClientQt::pinchGestureRequestUpdate):

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