Bug 6002

Summary: Firefox has massive delay loading JPEG images
Product: ThinLinc Reporter: Pierre Ossman <ossman@cendio.se>
Component: Web AccessAssignee: Samuel Mannehed <samuel@cendio.se>
Status: NEW QA Contact: Bugzilla mail exporter <bugzilla-qa@cendio.se>
Severity: Normal    
Priority: P2 CC: astrand@cendio.se
Version: 1.3.1Keywords: upstream
Target Milestone: LowPrio   
Hardware: PC   
OS: Unknown   
Acceptance Criteria:

Description From cendio 2016-09-22 09:12:08
noVNC relies on the browser to decode JPEG images, as that will most likely be
massively faster than doing it in JavaScript. Unfortunately Firefox has some
odd delay in returning the decoded result. Other browsers return the result
pretty much right away, but Firefox takes tens of milliseconds.

Throughput seems to be unaffected though, so the effect is primarily delayed,
but not slowed down, rendering. That delay still could still cause queues to
build up and confuse the congestion control.

We haven't found a workaround yet. It doesn't seem to matter which method we
use to wait for the image to load.

Reported upstream:

------- Comment #1 From cendio 2018-09-11 13:17:38 -------
There is still some delay, but it's similar to Chrome now. The performance of
running an entire noVNC playback test is also better on Firefox than Chrome
now. Not sure if we need to care about this anymore.

(Firefox can get even faster loading using newer APIs: