From edc1d892517e90d95b566c17acc7a3df63e24790 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 8 Jan 2015 17:33:34 +0100 Subject: Deny unsafe blocks in script. As a first start, this allows them indiscriminately where used. --- components/script/script_task.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/script/script_task.rs') 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; -- cgit v1.2.3