This commit is contained in:
Bogdan Cuza 2015-07-21 17:05:49 +03:00
parent 681b11c08b
commit 68d574bc32
2 changed files with 8 additions and 5 deletions

View file

@ -942,7 +942,7 @@ impl<'a> PrivateXMLHttpRequestHelpers for &'a XMLHttpRequest {
let global = self.global.root();
let upload_target = self.upload.root();
let progressevent = ProgressEvent::new(global.r(),
type_, false, false,
type_, EventBubbles::DoesNotBubble, EventCancelable::NotCancelable,
total.is_some(), loaded,
total.unwrap_or(0));
let target = if upload {