mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -186,6 +186,7 @@ impl<'a> EventTargetHelpers for JSRef<'a, EventTarget> {
|
|||
}).map(|entry| entry.listener.get_listener()))
|
||||
}
|
||||
|
||||
#[allow(unsafe_blocks)]
|
||||
fn set_event_handler_uncompiled(self,
|
||||
cx: *mut JSContext,
|
||||
url: Url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue