noVNC/tests
Tim Stableford 44d384b99c Added support for RTCDataChannel
This work is originally by Ryan Castner <castner.rr@gmail.com> and
submitted as a PR here https://github.com/novnc/noVNC/pull/1362

Architecturally it is much the same except it doesn't rename a lot
of variables to make this more reviewable. It also avoids unrelated
changes such as replacing .onclose with an event listener, which
caused numerous test failures.

It also adds in ppoffice's fix to initialise the buffers.

Like the original author I don't have enough time available to
refactor this project to the new style event listeners.

Review cleanup for RTCDataChannel support (see below)

* More descriptive error when url or channel not set.
* Moved websocket property check to WebSock.
  This had unintended consequences in the tests that required some
  fixup. Mostly due to some tests not always passing FakeWebsocket.
  FakeWebsocket also needs to set the listeners to null to be compatible
  with what is in thw browser and expected by the property check code.
  The property check code now also takes into account class prototypes
  for test compatibility.
* Removed unreachable code.
* Reverted comment.
* Cleanup raw channel reference in rfb on websock close.
* Use readyState to check whether a socket is open rather than assuming.
* Updated RFB constructor documentation

Removed an unused boolean passed to attach
2021-03-04 18:55:06 +00:00
..
.eslintrc Enforce function names 2018-09-06 16:53:40 +02:00
assertions.js Remove many small, obsolete, old browser hacks 2020-12-07 10:10:53 +01:00
fake.websocket.js Added support for RTCDataChannel 2021-03-04 18:55:06 +00:00
playback-ui.js Ignore recording variables in our linter 2020-09-05 11:08:16 +02:00
playback.js Fix call to _recvMessage() 2020-09-04 10:40:42 +02:00
test.base64.js Enforce space after function name 2018-09-06 17:34:15 +02:00
test.copyrect.js Handle empty rects in RAW decoder as well 2020-09-07 12:58:52 +02:00
test.deflator.js Add camelCase rule to eslint 2020-05-31 23:37:29 +02:00
test.display.js Remove createImageData() fallback 2020-12-07 10:10:53 +01:00
test.gesturehandler.js Drop support for Internet Explorer 2020-10-15 18:53:51 +02:00
test.helper.js Send combination keysyms for some Japanese keys 2020-12-10 10:00:44 +01:00
test.hextile.js Handle empty rects in RAW decoder as well 2020-09-07 12:58:52 +02:00
test.int.js Add util for unsigned and signed int. conversion 2020-02-17 11:29:40 +01:00
test.keyboard.js Remove some unnecessary use of done argument 2020-12-10 10:21:21 +01:00
test.localization.js Drop support for Internet Explorer 2020-10-15 18:53:51 +02:00
test.raw.js Handle empty rects in RAW decoder as well 2020-09-07 12:58:52 +02:00
test.rfb.js Remove createEvent() fallbacks 2020-12-07 10:10:53 +01:00
test.rre.js Handle empty rects in RAW decoder as well 2020-09-07 12:58:52 +02:00
test.tight.js Handle empty rects in RAW decoder as well 2020-09-07 12:58:52 +02:00
test.tightpng.js Add workaround for Firefox PNG rounding bug 2020-09-28 12:24:56 +02:00
test.util.js Standardize on camelCase in Logging 2020-05-31 23:37:29 +02:00
test.websock.js Added support for RTCDataChannel 2021-03-04 18:55:06 +00:00
test.webutil.js Drop support for Internet Explorer 2020-10-15 18:53:51 +02:00
vnc_playback.html Remove legacy conversion of modules 2020-10-15 18:53:51 +02:00