aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmliframeelement.rs
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@mozilla.com>2014-05-23 15:40:36 -0700
committerCameron Zwarich <zwarich@mozilla.com>2014-05-23 15:40:36 -0700
commit0a01ad727521f058a2ed87a69a2e274cef1ca881 (patch)
tree738220a3bb921641d071d78c57daf43fffc39a6a /src/components/script/dom/htmliframeelement.rs
parent2736339d4a42f7a03aef7785b0c162a701782211 (diff)
downloadservo-0a01ad727521f058a2ed87a69a2e274cef1ca881.tar.gz
servo-0a01ad727521f058a2ed87a69a2e274cef1ca881.zip
Remove the workaround for Rust issue 10683.
Diffstat (limited to 'src/components/script/dom/htmliframeelement.rs')
-rw-r--r--src/components/script/dom/htmliframeelement.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/script/dom/htmliframeelement.rs b/src/components/script/dom/htmliframeelement.rs
index 47d01567b77..6d357c7c09d 100644
--- a/src/components/script/dom/htmliframeelement.rs
+++ b/src/components/script/dom/htmliframeelement.rs
@@ -267,9 +267,7 @@ impl<'a> VirtualMethods for JSRef<'a, HTMLIFrameElement> {
if "sandbox" == name {
let mut modes = AllowNothing as u8;
for word in value.split(' ') {
- // FIXME: Workaround for https://github.com/mozilla/rust/issues/10683
- let word_lower = word.to_ascii_lower();
- modes |= match word_lower.as_slice() {
+ modes |= match word.to_ascii_lower().as_slice() {
"allow-same-origin" => AllowSameOrigin,
"allow-forms" => AllowForms,
"allow-pointer-lock" => AllowPointerLock,