Title: [124923] trunk/Source/WebKit2
- Revision
- 124923
- Author
- [email protected]
- Date
- 2012-08-07 14:53:05 -0700 (Tue, 07 Aug 2012)
Log Message
[Qt] New API tests introuduced in r119723 marked as fail, but pass
https://bugs.webkit.org/show_bug.cgi?id=88870
Reviewed by Alexis Menard.
Revert r119723, because there are 2 failing tests, and the author and
the reviewer of the original patch ignore the bug report long time ago.
* UIProcess/API/qt/tests/qmltests/WebView/tst_devicePixelRatio.qml: Removed.
Modified Paths
Removed Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (124922 => 124923)
--- trunk/Source/WebKit2/ChangeLog 2012-08-07 21:46:07 UTC (rev 124922)
+++ trunk/Source/WebKit2/ChangeLog 2012-08-07 21:53:05 UTC (rev 124923)
@@ -1,3 +1,15 @@
+2012-08-07 Csaba Osztrogonác <[email protected]>
+
+ [Qt] New API tests introuduced in r119723 marked as fail, but pass
+ https://bugs.webkit.org/show_bug.cgi?id=88870
+
+ Reviewed by Alexis Menard.
+
+ Revert r119723, because there are 2 failing tests, and the author and
+ the reviewer of the original patch ignore the bug report long time ago.
+
+ * UIProcess/API/qt/tests/qmltests/WebView/tst_devicePixelRatio.qml: Removed.
+
2012-08-07 No'am Rosenthal <[email protected]>
GraphicsLayerAnimation shouldn't use HashMap<String>
Deleted: trunk/Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_devicePixelRatio.qml (124922 => 124923)
--- trunk/Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_devicePixelRatio.qml 2012-08-07 21:46:07 UTC (rev 124922)
+++ trunk/Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_devicePixelRatio.qml 2012-08-07 21:53:05 UTC (rev 124923)
@@ -1,63 +0,0 @@
-import QtQuick 2.0
-import QtTest 1.0
-import QtWebKit 3.0
-import QtWebKit.experimental 1.0
-import "../common"
-
-Item {
- TestWebView {
- id: webView
- property variant lastResult
- }
-
- SignalSpy {
- id: resultSpy
- target: webView
- signalName: "lastResultChanged"
- }
-
- TestCase {
- name: "DevicePixelRatio"
-
- function init() {
- resultSpy.clear()
- webView.lastResult = null
- }
-
- function test_devicePixelRatio() {
- expectFail("", "This currently fails since window.devicePixelRatio doesn't return the updated value.")
-
- resultSpy.clear()
- webView.url = ""
- webView.experimental.devicePixelRatio = 2.0
- verify(webView.waitForLoadSucceeded())
-
- webView.experimental.evaluateJavaScript(
- "(function() { return window.devicePixelRatio })()",
- function(result) {
- webView.lastResult = result
- })
-
- resultSpy.wait()
- compare(webView.lastResult, 2.0)
- compare(webView.lastResult, webView.experimental.devicePixelRatio)
- }
-
- function test_devicePixelRatioMediaQuery() {
- expectFail("", "This currently fails since the devicePixelRatio from the QML API isn't propagated correctly.")
- resultSpy.clear()
- webView.url = ""
- webView.experimental.devicePixelRatio = 2.0
- verify(webView.waitForLoadSucceeded())
-
- webView.experimental.evaluateJavaScript(
- "(function() { return window.matchMedia('-webkit-device-pixel-ratio: 2').matches })()",
- function(result) {
- webView.lastResult = result
- })
-
- resultSpy.wait()
- verify(webView.lastResult)
- }
- }
-}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes