deb-novnc/tests
Solly Ross c5e051b3b3 Use Typed Arrays for the Websock receive queue
**This commit removes Base64 (and Flash) support**

This commit converts websock.js to used Typed Arrays for the
receive queue (and tweaks rfb.js to ensure that it continues
to function, since only Firefox implements
`%TypedArray%.prototype.slice`).  Base64 support was removed
to simplify code paths, and pave the way for using Typed Arrays
for the send queue as well.

This provides two advantages: first, we allocate a buffer ahead
of time, meaning the browser doesn't have to do any work dynamically
increasing the receive queue size.  Secondly, we are now able to pass
around Typed Array Views (e.g. `Uint8Array`), which are lightweight, and
don't involve copying.

The downside is that we initially allocate more memory -- we currently
start out with 4 MiB, and then automatically double when it looks like
the amount unused is getting to small.

The commit also explicitly adds a check to the compacting logic that
avoids calling the copy functions if `_rQlen === _rQi`.
2015-08-06 14:47:03 -04:00
..
arrays.html test/*.html: use "../include" instead of symlink. 2011-03-14 19:05:42 -05:00
arrays.js Change noVNC license to from LGPLv3 to MPL 2.0 2012-10-15 13:35:00 -05:00
assertions.js Use Typed Arrays for the Websock receive queue 2015-08-06 14:47:03 -04:00
base64.html test/*.html: use "../include" instead of symlink. 2011-03-14 19:05:42 -05:00
base64.js wsproxy.js: Fix multi-frame decoding. 2010-11-07 22:28:08 -06:00
browser.js tests/browser.js: Missing. Needed for arrays.html test. 2011-04-21 08:45:04 -05:00
canvas.html Change default PixelFormat. Fix canvas test. 2011-07-18 12:17:47 -05:00
cursor.html test/*.html: use "../include" instead of symlink. 2011-03-14 19:05:42 -05:00
face.png API changes. Client cursor and settings menu. 2010-07-21 20:34:23 -05:00
face.png.js Various cross-browser fixes. 2010-06-23 16:08:36 -05:00
fake.websocket.js Cleanup: WebSocket Helper 2014-09-15 16:46:02 -04:00
input.html Update tests/input.html to include keysym.js instead of keysymdef.js 2015-02-17 13:36:22 -05:00
keyboard-tests.html Keyboard Handling [3/8]: Add unit tests for new keyboard handling 2013-12-05 12:25:30 -05:00
run_from_console.casper.js Add support for Travis CI and SauceLabs Testing 2014-09-15 16:46:02 -04:00
run_from_console.js Add support for Relative Paths in the Test Runner 2014-09-22 21:42:32 -04:00
run_from_console.zombie.js Support Skipped Tests and Fix JSHint Issues 2013-12-17 17:56:18 -05:00
stats.js Add Javascript binary byte array test. 2011-02-23 11:08:09 -06:00
test.base64.js Cleanup and Test: base64.js 2014-09-15 16:46:02 -04:00
test.display.js Create RFB object on connect 2015-03-26 17:09:05 -04:00
test.helper.js Cleanup: Keyboard code 2014-09-15 16:46:02 -04:00
test.keyboard.js Cleanup: Keyboard code 2014-09-15 16:46:02 -04:00
test.rfb.js Use Typed Arrays for the Websock receive queue 2015-08-06 14:47:03 -04:00
test.util.js Cleanup: Webutil code 2014-09-15 16:46:02 -04:00
test.websock.js Use Typed Arrays for the Websock receive queue 2015-08-06 14:47:03 -04:00
viewport.css Viewport clip/drag for mobile/touchscreen devices. 2011-09-22 10:36:23 -05:00
viewport.html Support automatic resize [Part 1/4]: display.js 2015-02-06 16:54:14 +01:00
vnc_perf.html Fix invalid updateState property of RFB 2014-09-17 16:56:13 +09:00
vnc_playback.html WIP: Switch to Pako for zlib 2015-08-06 14:47:03 -04:00