Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/select/listbox-scrollbar-incremental-load.html

Issue 2814053002: Make listbox-scrollbar-incremental-load.html deterministic (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/forms/select/listbox-scrollbar-incremental-load.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select/listbox-scrollbar-incremental-load.html b/third_party/WebKit/LayoutTests/fast/forms/select/listbox-scrollbar-incremental-load.html
index 73b78c967a3ddf511b757bb752c0baf7bbff46f4..43db5f9d32bc3c62c9016e3a4e555ab28e9cd584 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/select/listbox-scrollbar-incremental-load.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/select/listbox-scrollbar-incremental-load.html
@@ -15,8 +15,12 @@
<script>
document.body.offsetTop;
testRunner.waitUntilDone();
+ // The selection is updated as a separate task, so wait for two frames
+ // to make sure it has run.
window.requestAnimationFrame(function() {
- testRunner.notifyDone();
+ window.requestAnimationFrame(function() {
+ testRunner.notifyDone();
+ });
});
</script>
<option>Five</option>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698