diff options
author | bors-servo <release+servo@mozilla.com> | 2014-05-24 06:28:24 -0400 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-05-24 06:28:24 -0400 |
commit | 10d9bad97359cc572e8d1308f2810f76bc59dd26 (patch) | |
tree | f67a3a6ac87017715f57801810e5313eeed90cd7 /src/components/script | |
parent | 2545647cebbdb34f40afff543c70ef3aa55931bc (diff) | |
parent | 0a01ad727521f058a2ed87a69a2e274cef1ca881 (diff) | |
download | servo-10d9bad97359cc572e8d1308f2810f76bc59dd26.tar.gz servo-10d9bad97359cc572e8d1308f2810f76bc59dd26.zip |
auto merge of #2483 : zwarich/servo/remove-10683-workaround, r=jdm
Diffstat (limited to 'src/components/script')
-rw-r--r-- | src/components/script/dom/htmliframeelement.rs | 4 |
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, |