add FIX comments

This commit is contained in:
HyunJune Kim 2013-12-12 14:40:02 +09:00
parent a7865495f6
commit cf537469b1
5 changed files with 11 additions and 0 deletions

View file

@ -116,6 +116,7 @@ impl HTMLIFrameElement {
if "sandbox" == name {
let mut modes = AllowNothing as u8;
for word in value.split_iter(' ') {
// FIXME: Workaround for https://github.com/mozilla/rust/issues/10683
let word_lower = word.to_ascii_lower();
modes |= match word_lower.as_slice() {
"allow-same-origin" => AllowSameOrigin,