http://mozilla.pettay.fi/xhr_upload/xhr_file_upload_demo_with_speed.html A test for nsIDOMFile and XMLHttpRequest progress events