mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Deny unsafe blocks in script.
As a first start, this allows them indiscriminately where used.
This commit is contained in:
parent
d9751c0fbb
commit
edc1d89251
14 changed files with 27 additions and 0 deletions
|
@ -105,6 +105,7 @@ impl TimerManager {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(unsafe_blocks)]
|
||||
pub fn set_timeout_or_interval(&self,
|
||||
callback: TimerCallback,
|
||||
arguments: Vec<JSVal>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue