noVNC/tests
Joel Martin 6f4b1e4071 Refactor dynamic script loading. Add util.js:load_scripts()
Related to issue/pulls:
https://github.com/kanaka/noVNC/issues/194
https://github.com/kanaka/noVNC/pull/201
https://github.com/kanaka/noVNC/pull/202

In IE9, the window.onload event can fire before dynamically loaded
scripts have finished loading. This can result in either WebSocket (in
the case of vnc_auto.html) or RFB (in the case of vnc.html) not being
defined at the point when window.onload is called.

- Move the load_scripts routine from vnc.js to util.js (so that
  websockify can use it too). Also, refactor to work when load_scripts
  is called by a script that itself uses load_scripts. When the whole
  chain of dynamically loaded scripts is finished then call
  window.onscriptsload. Use this mechanism in all the places that
  depend on dynamic loading of scripts: vnc.html, vnc_auto.html,
  websock.js, tests/vnc_playback.html, and tests/vnc_perf.html.

- Use the new window.onscriptsload handler instead of window.onload.

- Remove include/start.js and do the script loading and startup event
  handling in include/ui.js instead.
2012-10-17 11:58:12 -05: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
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
input.html Touch events and mouse button selectors. 2011-07-23 21:24:59 -05:00
stats.js Add Javascript binary byte array test. 2011-02-23 11:08:09 -06:00
viewport.css Viewport clip/drag for mobile/touchscreen devices. 2011-09-22 10:36:23 -05:00
viewport.html Viewport clip/drag for mobile/touchscreen devices. 2011-09-22 10:36:23 -05:00
vnc_perf.html Refactor dynamic script loading. Add util.js:load_scripts() 2012-10-17 11:58:12 -05:00
vnc_playback.html Refactor dynamic script loading. Add util.js:load_scripts() 2012-10-17 11:58:12 -05:00