phantomxhr.js
function FakeEvent(type, bubbles, cancelable, target) {
				this.initEvent(type, bubbles, cancelable, target);
			}
function FakeEvent(type, bubbles, cancelable, target) {
				this.initEvent(type, bubbles, cancelable, target);
			}
function FakeEvent ( type , bubbles , cancelable , target ) { this . initEvent ( type , bubbles , cancelable , target ) ; }
A naive implementation for simulating upload events
A naive implementation for simulating upload events