mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Upgrade to latest Rust.
This commit is contained in:
parent
728fb9a7de
commit
a7ef1cd35e
127 changed files with 1892 additions and 2501 deletions
|
@ -95,7 +95,7 @@ impl HTMLIFrameElement {
|
|||
pub fn AfterSetAttr(&mut self, name: DOMString, value: DOMString) {
|
||||
if "sandbox" == name {
|
||||
let mut modes = AllowNothing as u8;
|
||||
for word in value.split_iter(' ') {
|
||||
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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue