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 cbf0a2d38550b89c2af58563c1e68a14958a6a14..7a2e62d3dda52444537649c20bc0b9ef57ca5822 100644 |
--- a/LayoutTests/virtual/threaded/fast/idle-callback/timeout.html |
+++ b/LayoutTests/virtual/threaded/fast/idle-callback/timeout.html |
@@ -44,7 +44,7 @@ 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(deadline.timeRemaining == 0, "IdleDeadline.timeRemaining MUST be equal to zero if requestIdleCallback was scheduled due to a 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"); |
this.done(); |