]> git.proxmox.com Git - mirror_novnc.git/commit - core/display.js
Fix Race Condition in Display#clear on IE10
authorSolly Ross <sross@redhat.com>
Tue, 23 Sep 2014 01:37:04 +0000 (21:37 -0400)
committerSolly Ross <sross@redhat.com>
Tue, 23 Sep 2014 01:37:04 +0000 (21:37 -0400)
commit0b0b0433b55e97107574a82ff5b0f755d17ec4dd
tree7a8d8c052edaa6e6afa8c0017f1226c95b26e9b1
parent3b4fd003c2ba6e0294282ea203e6ead6e9275317
Fix Race Condition in Display#clear on IE10

There was a race condition in Display#clear on IE10
because we resize and then clear that causes the canvas
to not actually end up cleared.  Clearing the current
viewport first solves the issue.  It doesn't appear to
affect other platforms, so it's inside a engine check
(`Util.Engine.trident === 6`).  Once we stop supporting
IE10, we should just remove this, because it's not the best
to have Engine-specific code.
include/display.js