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

Unified Diff: LayoutTests/virtual/threaded/fast/idle-callback/timeout.html

Issue 1319983003: Deflake idle-callback/timeout.html LayoutTest. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/virtual/threaded/fast/idle-callback/timeout.html
diff --git a/LayoutTests/virtual/threaded/fast/idle-callback/timeout.html b/LayoutTests/virtual/threaded/fast/idle-callback/timeout.html
index 42a819136367a33689dd9cbd2f5eb09797c66e2c..cbf0a2d38550b89c2af58563c1e68a14958a6a14 100644
--- a/LayoutTests/virtual/threaded/fast/idle-callback/timeout.html
+++ b/LayoutTests/virtual/threaded/fast/idle-callback/timeout.html
@@ -44,7 +44,6 @@ async_test(function() {
var idle_callback = this.step_func(function(deadline) {
var time_delta = performance.now() - idle_callback_scheduled;
assert_true(time_delta >= timeout, "Should only have been run after timeout");
- assert_true(time_delta - timeout <= 80, "Should have been scheduled close to timeout");
assert_true(deadline.timeRemaining == 0, "IdleDeadline.timeRemaining MUST be equal to zero if requestIdleCallback was scheduled due to a timeout");
assert_true(deadline.didTimeout, "IdleDeadline.didTimeout MUST be true if requestIdleCallback was scheduled due to a timeout");
assert_true(busy_raf_loop_iterations_remaining > 0, "Busy rAF loop should still be going");
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698