]> git.proxmox.com Git - mirror_novnc.git/commit
Handle empty rects from the server
authorPierre Ossman <ossman@cendio.se>
Fri, 4 Sep 2020 14:16:44 +0000 (16:16 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 4 Sep 2020 14:16:44 +0000 (16:16 +0200)
commit113fa27ebca3b2b60633181d4a495fdf14bf2765
tree89bbee294af6817b46c69a71f8a5c6ac6da2a143
parent0630352e19e78e7d863ffe0b5480ae508a950281
Handle empty rects from the server

These are very pointless for the server to send, but not a violation of
the protocol so we need to be able to handle them. We've seen this
happen in real world scenarios a few times.
core/decoders/copyrect.js
core/decoders/tight.js
tests/test.copyrect.js
tests/test.hextile.js
tests/test.raw.js
tests/test.rre.js
tests/test.tight.js