Open moritzLanger opened 8 months ago
Consider adding a method to complete the progressbar to our own API that can complete the progressbar (setting actual to max). Or as alternative create a dummy implementation that does not use the real progressbar if no content-length is available. If possible still give feedback to user of progress (x MB / ?).
Expected behavior
If a download does not provide a content length it should still be downloaded using the workaround show here.
Actual behavior
An assertion error will be thrown if the content length is not set and/or provided with the download. This error is throw in the IdeProgressBarTestImpl as it asserts that the total of the progress bar equals its max before closing, as can be seen here.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
Affected version: