kripken/emscripten — pull request #2115 by jechter (2014-02-11 12:26:05+00:00)
Title: Make download progress be correctly displayed when the browser cannot re...

...port total size of files (as is the case in compressed downloads), but writing full size to the generated js.

I am not really familiar with python code, so I hope the way I wrote it makes any sense.