+2015-04-03 Tim Horton <timothy_horton@apple.com>
+
+ fast/fixed-layout/fixed-layout.html is flaky
+ https://bugs.webkit.org/show_bug.cgi?id=143379
+
+ Reviewed by Simon Fraser.
+
+ * TestExpectations:
+ Un-flakify the fixed layout test.
+
+ * fast/css-grid-layout/flex-content-sized-columns-resize-expected.html:
+ Remove a mistaken line in the original test; this function doesn't exist in WebKit
+ and was presumably ported directly from the Blink test (and then never noticed because
+ JS exceptions thrown in -expected files go nowhere).
+
+ * fast/fixed-layout/fixed-layout.html:
+ Make the fixed layout test less racy by waiting for the resize event (which can be
+ very asynchronous). Also, force a layout before resizing to ensure that we
+ always do get a resize event.
+
2015-04-03 Chris Fleizach <cfleizach@apple.com>
AX: Toggling check box state not speaking using plain space, not VO space.
webkit.org/b/142937 ietestcenter/Javascript/15.2.3.14-1-1.html [ Failure ]
webkit.org/b/142937 ietestcenter/Javascript/15.2.3.14-1-2.html [ Failure ]
webkit.org/b/142937 ietestcenter/Javascript/15.2.3.14-1-3.html [ Failure ]
-
-webkit.org/b/143379 fast/fixed-layout/fixed-layout.html [ Pass Failure ]
return;
}
- testRunner.waitUntilDone();
+ // Ensure layout is up to date here so that we get a resize event instead of just using
+ // 200x200 as the initial size, in WebKit1 (causing the test to hang).
+ document.body.offsetTop;
+ testRunner.waitUntilDone();
window.resizeTo(200, 200);
+}
+window.onresize = function () {
internals.setUseFixedLayout(true);
internals.setFixedLayoutSize(400, 400);
- setTimeout(function () {
- testRunner.notifyDone();
- }, 0);
+ testRunner.notifyDone();
}
</script>
</head>