summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjchaffraix@chromium.org <jchaffraix@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2013-05-20 21:09:11 +0000
committerjchaffraix@chromium.org <jchaffraix@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2013-05-20 21:09:11 +0000
commit2ed570ea6d49c017fdbfcd9638a327fa1edcd72c (patch)
tree274d4e8e4893ba2bd3a006666ff888f9a46f5785
parentd11d5fe804e2ba08e3ccb6323545b41f870f1cc9 (diff)
downloadchromium_src-2ed570ea6d49c017fdbfcd9638a327fa1edcd72c.zip
chromium_src-2ed570ea6d49c017fdbfcd9638a327fa1edcd72c.tar.gz
chromium_src-2ed570ea6d49c017fdbfcd9638a327fa1edcd72c.tar.bz2
Try to reduce the flakiness of 4 :hover tests.
Based on what is currently done throughout the LayoutTests/, there are 2 ways to reduce the flakiness of a :hover test: * Force layout before and after moving the mouse (especially since some tests claim that we don't track the mouse before first layout). * Force a click after moving the mouse. This change implements the first option as the second one didn't work for these tests (I remember that it helped in webkit.org/b/81460 though). Review URL: https://chromiumcodereview.appspot.com/15373002 git-svn-id: svn://svn.chromium.org/blink/trunk@150693 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-rw-r--r--third_party/WebKit/LayoutTests/TestExpectations4
-rwxr-xr-xthird_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-added-after-transform.html1
-rwxr-xr-xthird_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-added-after-transition.html1
-rwxr-xr-xthird_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-hardware-acceleration.html1
-rw-r--r--third_party/WebKit/LayoutTests/fast/table/border-collapsing/cached-69296.html1
5 files changed, 4 insertions, 4 deletions
diff --git a/third_party/WebKit/LayoutTests/TestExpectations b/third_party/WebKit/LayoutTests/TestExpectations
index df47a3c..0064d9a 100644
--- a/third_party/WebKit/LayoutTests/TestExpectations
+++ b/third_party/WebKit/LayoutTests/TestExpectations
@@ -1367,10 +1367,6 @@ webkit.org/b/112058 [ Debug SnowLeopard ] svg/custom/foreign-object-skew.svg [ I
webkit.org/b/112193 fast/dom/Window/window-postmessage-clone.html [ Failure Pass ]
-webkit.org/b/112219 fast/layers/no-clipping-overflow-hidden-added-after-transform.html [ ImageOnlyFailure Pass ]
-webkit.org/b/112219 fast/layers/no-clipping-overflow-hidden-hardware-acceleration.html [ ImageOnlyFailure Pass ]
-webkit.org/b/112219 fast/layers/no-clipping-overflow-hidden-added-after-transition.html [ ImageOnlyFailure Pass ]
-
webkit.org/b/112601 http/tests/security/cross-frame-access-port-explicit-domain.html [ Failure Pass ]
webkit.org/b/112621 [ Win Linux ] fast/forms/datalist/update-range-with-datalist.html [ ImageOnlyFailure Pass ]
webkit.org/b/112629 http/tests/xmlhttprequest/send-array-buffer.html [ Failure Pass ]
diff --git a/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-added-after-transform.html b/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-added-after-transform.html
index 5746cc1..71d3560 100755
--- a/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-added-after-transform.html
+++ b/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-added-after-transform.html
@@ -36,6 +36,7 @@ div {
var transformed = document.getElementById("transformed");
transformed.parentNode.setAttribute("id", "overflowHidden");
eventSender.mouseMoveTo(transformed.offsetLeft + 10, transformed.offsetTop + 10);
+ document.body.offsetTop;
</script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-added-after-transition.html b/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-added-after-transition.html
index 86bd3bc6..98a6c94 100755
--- a/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-added-after-transition.html
+++ b/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-added-after-transition.html
@@ -41,6 +41,7 @@ div {
var transformed = document.getElementsByClassName("transformed");
eventSender.mouseMoveTo(transformed[0].offsetLeft + 10, transformed[0].offsetTop + 10);
eventSender.mouseMoveTo(transformed[1].offsetLeft + 10, transformed[1].offsetTop + 10);
+ document.body.offsetTop;
</script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-hardware-acceleration.html b/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-hardware-acceleration.html
index 64306de..882e93d 100755
--- a/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-hardware-acceleration.html
+++ b/third_party/WebKit/LayoutTests/fast/layers/no-clipping-overflow-hidden-hardware-acceleration.html
@@ -35,6 +35,7 @@ div {
var transformed = document.getElementById("transformed");
eventSender.mouseMoveTo(transformed.offsetLeft + 10, transformed.offsetTop + 10);
+ document.body.offsetTop;
</script>
</body>
</html>
diff --git a/third_party/WebKit/LayoutTests/fast/table/border-collapsing/cached-69296.html b/third_party/WebKit/LayoutTests/fast/table/border-collapsing/cached-69296.html
index 54d0715..dbfc36f 100644
--- a/third_party/WebKit/LayoutTests/fast/table/border-collapsing/cached-69296.html
+++ b/third_party/WebKit/LayoutTests/fast/table/border-collapsing/cached-69296.html
@@ -35,6 +35,7 @@ Collapsed borders should not disappear.
y = rowRect.top;
eventSender.mouseMoveTo(x, y + 1);
eventSender.mouseMoveTo(x, y - 1);
+ document.body.offsetTop;
}
}
</script>