(
type, bubbles, cancelable, target, loaded, total, lengthComputable
)
| 32 | sinon.extend(FakeXMLHttpRequestUpload.prototype, sinon.EventTarget); |
| 33 | |
| 34 | function FakeXMLHttpRequestProgressEvent( |
| 35 | type, bubbles, cancelable, target, loaded, total, lengthComputable |
| 36 | ) { |
| 37 | this.initEvent(type, bubbles, cancelable, target); |
| 38 | this.initProgressEvent(loaded || 0, total || 0, lengthComputable || false); |
| 39 | } |
| 40 | |
| 41 | sinon.extend(FakeXMLHttpRequestProgressEvent.prototype, sinon.Event.prototype, { |
| 42 | initProgressEvent: function initProgressEvent(loaded, total, lengthComputable) { |
nothing calls this directly
no outgoing calls
no test coverage detected