]> git.proxmox.com Git - mirror_novnc.git/commit
Fix 'sent' assertion
authorsamhed <samuel@cendio.se>
Fri, 3 Jun 2016 12:13:35 +0000 (14:13 +0200)
committersamhed <samuel@cendio.se>
Fri, 3 Jun 2016 14:31:29 +0000 (16:31 +0200)
commitb1538a0fa4d9e6e98fdd06eed1a8699d11c8fdc0
tree1460f7cfc58b8b26f4804747e4cf2a4dfb953dcc
parentcf0236de18a3790badd0892ed4de4c2dc95ce91d
Fix 'sent' assertion

We were completely mishandling the length of the data. Make sure
we look at the length of the websocket rather than the websock object,
and also compare with the expected length.
tests/assertions.js