diff options
author | Samuel Mannehed <samuel@cendio.se> | 2020-05-08 22:30:20 +0200 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2020-05-31 22:49:41 +0200 |
commit | dff4fefa3ccdcfd39f90aa1bb5b6c54f35b31337 (patch) | |
tree | c7cdb4385521a8596cae5612feae42f8e6e4ec02 /tests/test.display.js | |
parent | 42e3b03fa8af4373a36c73af2a207eca8490f6ac (diff) | |
download | novnc-dff4fefa3ccdcfd39f90aa1bb5b6c54f35b31337.tar.gz |
Remove unused properties and variables
The code that used these were removed in the following commits:
* 9ff86fb718477515ede2d6457f06643935d76bcd (RFB._mouse_arr)
* bb6965f2e60c2301dd638383bdc792d1f10af942 (old_requestAnimationFrame)
* 490d471c53b1791398d6c30f0efce54925939f33 (Display._c_forceCanvas)
Diffstat (limited to 'tests/test.display.js')
-rw-r--r-- | tests/test.display.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test.display.js b/tests/test.display.js index 594f951..8775b3c 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; |