Commit f4e33d62 authored by allan.jensen@digia.com's avatar allan.jensen@digia.com
Browse files

[Qt][Wk2] Many tests are flaky on Qt 5.1

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

Reviewed by Jocelyn Turcotte.

We need to set renderToOffscreenBuffer since we won't otherwise get
the paint calls necessary to synchronize UI- and Web-Process. It was
only disabled in Qt 5.0 because it conflicted with setRenderWithoutShowing
which is no longer supported or needed.

* WebKitTestRunner/qt/PlatformWebViewQt.cpp:
(WTR::WrapperWindow::handleStatusChanged):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bfe38819
2013-08-28 Allan Sandfeld Jensen <allan.jensen@digia.com>
[Qt][Wk2] Many tests are flaky on Qt 5.1
https://bugs.webkit.org/show_bug.cgi?id=118232
Reviewed by Jocelyn Turcotte.
We need to set renderToOffscreenBuffer since we won't otherwise get
the paint calls necessary to synchronize UI- and Web-Process. It was
only disabled in Qt 5.0 because it conflicted with setRenderWithoutShowing
which is no longer supported or needed.
* WebKitTestRunner/qt/PlatformWebViewQt.cpp:
(WTR::WrapperWindow::handleStatusChanged):
2013-08-27 Alexey Proskuryakov <ap@apple.com>
[WK2] Remove USE_WEBPROCESS_EVENT_SIMULATION
......
......@@ -70,6 +70,8 @@ private Q_SLOTS:
create();
#if QT_VERSION < QT_VERSION_CHECK(5, 1, 0)
QQuickWindowPrivate::get(this)->setRenderWithoutShowing(true);
#else
m_view->experimental()->setRenderToOffscreenBuffer(true);
#endif
} else
m_view->experimental()->setRenderToOffscreenBuffer(true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment