()
| 49 | var originalFakeXMLHttpRequest = sinon.FakeXMLHttpRequest; |
| 50 | |
| 51 | function FakeXMLHttpRequestWithUpload() { |
| 52 | sinon.extend(this, new originalFakeXMLHttpRequest()); |
| 53 | this.upload = new FakeXMLHttpRequestUpload(); |
| 54 | if (typeof FakeXMLHttpRequestWithUpload.onCreate == "function") { |
| 55 | FakeXMLHttpRequestWithUpload.onCreate(this); |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | sinon.extend(FakeXMLHttpRequestWithUpload.prototype, originalFakeXMLHttpRequest.prototype, { |
| 60 | send: function send(data) { |
nothing calls this directly
no outgoing calls
no test coverage detected