Now-days (2024) it seems that there is an standard api in browser to get info about uploading progress. This feature is available in Web Workers, except for Service Workers. Sample for doing that is in this sf answer.