-browser: ensure that uploadProgressCb(0, inputLength) is called first, because the setTimeout is not immediate - it can fire after some other asynchronous callbacks