Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ajax-helper): update MockXMLHttpRequest upload property behavior
Observable.ajax would set xhr.upload.onprogress when progressSubscriber is not empty. And if xhr.upload.onprogress was set after xhr.open, it would not be fired. So ajax-helper should initial an empty upload object, and freeze the setter after open method called.
- Loading branch information