aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r--components/script/timers.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs
index f453c7677c3..c9a5495b30d 100644
--- a/components/script/timers.rs
+++ b/components/script/timers.rs
@@ -105,6 +105,7 @@ impl TimerManager {
}
}
+ #[allow(unsafe_blocks)]
pub fn set_timeout_or_interval(&self,
callback: TimerCallback,
arguments: Vec<JSVal>,