aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
Diffstat (limited to 'components/script')
-rw-r--r--components/script/timers.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs
index aa6ce6e68c2..4b8a2b6d272 100644
--- a/components/script/timers.rs
+++ b/components/script/timers.rs
@@ -194,8 +194,6 @@ impl ActiveTimers {
duration: MsDuration,
is_interval: IsInterval,
source: TimerSource) -> TimerHandle {
- assert!(self.suspended_since.get().is_none());
-
// step 3
let TimerHandle(new_handle) = self.next_timer_handle.get();
self.next_timer_handle.set(TimerHandle(new_handle + 1));