noVNC/core
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
..
decoders Handle empty rects in RAW decoder as well 2020-09-07 12:58:52 +02:00
input chore: sync with W3C documentation 2020-12-22 10:50:23 +01:00
util Remove createEvent() fallbacks 2020-12-07 10:10:53 +01:00
base64.js Standardize on camelCase in Base64 2020-05-31 23:37:29 +02:00
deflator.js Add camelCase rule to eslint 2020-05-31 23:37:29 +02:00
des.js Convert DES into a class 2019-02-26 23:53:43 +02:00
display.js Remove createImageData() fallback 2020-12-07 10:10:53 +01:00
encodings.js Add extended clipboard Pseudo-Encoding 2020-02-18 09:32:36 +01:00
inflator.js Add camelCase rule to eslint 2020-05-31 23:37:29 +02:00
rfb.js Added support for RTCDataChannel 2021-03-04 18:55:06 +00:00
websock.js Added support for RTCDataChannel 2021-03-04 18:55:06 +00:00