aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/parse/html.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-08 17:33:34 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-09 10:13:25 +0100
commitedc1d892517e90d95b566c17acc7a3df63e24790 (patch)
treed1d302de8fc0bd28b7c6735a4ca20380da51c916 /components/script/parse/html.rs
parentd9751c0fbb13d04b27c42a9ba5065b5af26f1286 (diff)
downloadservo-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/parse/html.rs')
-rw-r--r--components/script/parse/html.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/parse/html.rs b/components/script/parse/html.rs
index 8b8fc52ca19..156994e5ea1 100644
--- a/components/script/parse/html.rs
+++ b/components/script/parse/html.rs
@@ -2,6 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#![allow(unsafe_blocks)]
+
use dom::attr::AttrHelpers;
use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods;
use dom::bindings::codegen::InheritTypes::{NodeCast, ElementCast, HTMLScriptElementCast};