diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-01-08 17:33:34 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-01-09 10:13:25 +0100 |
commit | edc1d892517e90d95b566c17acc7a3df63e24790 (patch) | |
tree | d1d302de8fc0bd28b7c6735a4ca20380da51c916 /components/script/script_task.rs | |
parent | d9751c0fbb13d04b27c42a9ba5065b5af26f1286 (diff) | |
download | servo-edc1d892517e90d95b566c17acc7a3df63e24790.tar.gz servo-edc1d892517e90d95b566c17acc7a3df63e24790.zip |
Deny unsafe blocks in script.
As a first start, this allows them indiscriminately where used.
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r-- | components/script/script_task.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index cb757d97f93..976c2b78011 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -5,6 +5,8 @@ //! The script task is the task that owns the DOM in memory, runs JavaScript, and spawns parsing //! and layout tasks. +#![allow(unsafe_blocks)] + use dom::bindings::cell::DOMRefCell; use dom::bindings::codegen::Bindings::DocumentBinding::{DocumentMethods, DocumentReadyState}; use dom::bindings::codegen::Bindings::EventBinding::EventMethods; |