mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
parent
f5e97ef1b5
commit
9c11781880
20 changed files with 25 additions and 29 deletions
|
@ -497,7 +497,7 @@ impl<'a> XMLHttpRequestMethods for &'a XMLHttpRequest {
|
|||
// Step 7
|
||||
self.upload_complete.set(match extracted {
|
||||
None => true,
|
||||
Some (ref v) if v.len() == 0 => true,
|
||||
Some (ref v) if v.is_empty() => true,
|
||||
_ => false
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue