mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.
This commit is contained in:
parent
cf616b90a2
commit
16c7060bc8
153 changed files with 2095 additions and 1298 deletions
|
@ -114,7 +114,7 @@ pub fn base64_btoa(btoa: DOMString) -> Fallible<DOMString> {
|
|||
// "The btoa() method must throw an InvalidCharacterError exception if
|
||||
// the method's first argument contains any character whose code point
|
||||
// is greater than U+00FF."
|
||||
if input.chars().any(|c: char| c > '\u00FF') {
|
||||
if input.chars().any(|c: char| c > '\u{FF}') {
|
||||
Err(InvalidCharacter)
|
||||
} else {
|
||||
// "Otherwise, the user agent must convert that argument to a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue