diff --git a/kasmweb/core/display.js b/kasmweb/core/display.js index 40dd7ca..4d9a849 100644 --- a/kasmweb/core/display.js +++ b/kasmweb/core/display.js @@ -13,7 +13,6 @@ import { supportsImageMetadata } from './util/browser.js'; export default class Display { constructor(target) { this._drawCtx = null; - this._c_forceCanvas = false; this._renderQ = []; // queue drawing actions for in-oder rendering this._flushing = false; diff --git a/kasmweb/tests/test.display.js b/kasmweb/tests/test.display.js index 594f951..8775b3c 100644 --- a/kasmweb/tests/test.display.js +++ b/kasmweb/tests/test.display.js @@ -385,10 +385,6 @@ describe('Display/Canvas Helper', function () { sinon.spy(display, '_scan_renderQ'); }); - afterEach(function () { - window.requestAnimationFrame = this.old_requestAnimationFrame; - }); - it('should try to process an item when it is pushed on, if nothing else is on the queue', function () { display._renderQ_push({ type: 'noop' }); // does nothing expect(display._scan_renderQ).to.have.been.calledOnce;