]> git.proxmox.com Git - mirror_novnc.git/commit
Fix ImageData Constructor Support Detection
authorSolly Ross <sross@redhat.com>
Tue, 22 Dec 2015 20:16:52 +0000 (15:16 -0500)
committerSolly Ross <sross@redhat.com>
Tue, 23 Aug 2016 19:01:31 +0000 (15:01 -0400)
commit6521c6ac0f260fb4719a8805e3799da17d48f35e
treebf2cc64796baa77d79642f3fc306701c7d9a37ba
parent54fc35248d35d28b5c9430ef3a148bcdb22f6a3e
Fix ImageData Constructor Support Detection

Our support detection for the `ImageData(data, width, height)` constructor
would fail in certain browsers because the size of a 1x1 ImageData's
Uint8ClampedArray is 4, not 1.
include/display.js