diff --git a/core/display.js b/core/display.js index 3dd5fcea..4007ea7a 100644 --- a/core/display.js +++ b/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/core/rfb.js b/core/rfb.js index 4a8483fd..d2c7350b 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -134,7 +134,6 @@ export default class RFB extends EventTargetMixin { // Mouse state this._mouse_buttonMask = 0; - this._mouse_arr = []; this._viewportDragging = false; this._viewportDragPos = {}; this._viewportHasMoved = false; diff --git a/tests/test.display.js b/tests/test.display.js index 594f9514..8775b3cd 100644 --- a/tests/test.display.js +++ b/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;