mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Backed out changeset cf588a950083 (bug 1306235
) for failures in at least test_xhr_progressevents.html and test_blobconstructor.html
MozReview-Commit-ID: HJlw9w1quhu
This commit is contained in:
parent
eb4364e341
commit
6a7decdac1
@ -1334,7 +1334,7 @@ XMLHttpRequestMainThread::DispatchProgressEvent(DOMEventTargetHelper* aTarget,
|
||||
ProgressEventInit init;
|
||||
init.mBubbles = false;
|
||||
init.mCancelable = false;
|
||||
init.mLengthComputable = aTotal != -1; // XHR spec step 6.1
|
||||
init.mLengthComputable = aTotal != 0; // XHR spec step 6.1
|
||||
init.mLoaded = aLoaded;
|
||||
init.mTotal = (aTotal == -1) ? 0 : aTotal;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user