3 <script type="text/javascript" src="xynt/xynt-commons.js"></script>
4 <script type="text/javascript" src="xynt/xynt-console.js"></script>
5 <script type="text/javascript" src="xynt/xynt-http-streaming.js"></script>
6 <script type="text/javascript"><!--
10 if ($action != 'stop') {
12 window.onload = function () {
18 $sess = md5(mt_rand());
23 createCookie('sess', sess, 24*365,cookiepath);
25 hs = new http_streaming(window, gst, sess, console);
26 hs.start('test-hs-rd.php');
32 window.onkeypress = function () {
33 console.log("win kpress");
37 <body onabort = "console.log('abort');" onunload = "console.log('unload');" onerror = "console.log('error');" onkeypress = "console.log('keypress');">
38 <div id="cont">INIT</div>
40 if ($action != 'stop') {
42 <a href="test-hs.php?action=stop">STOP</a>
46 <a href="test-hs.php?action=start">START</a>