projects
/
xynt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
full url bug (ffox 3.5 was affected) for forever iframe streaming fixed
[xynt.git]
/
web
/
xynt
/
xynt-http-streaming.js
diff --git
a/web/xynt/xynt-http-streaming.js
b/web/xynt/xynt-http-streaming.js
index
7efb2f5
..
a9ccdcd
100644
(file)
--- a/
web/xynt/xynt-http-streaming.js
+++ b/
web/xynt/xynt-http-streaming.js
@@
-27,14
+27,15
@@
globst.prototype = {
}
}
}
}
-function http_streaming(win, cons)
+function http_streaming(win,
gst, sess,
cons)
{
this.console = cons;
this.win = win;
{
this.console = cons;
this.win = win;
+ this.sess = sess;
this.doc = win.document;
this.keepalive_old = -1;
this.keepalive_new = -1;
this.doc = win.document;
this.keepalive_old = -1;
this.keepalive_new = -1;
- this.gst =
new globst()
;
+ this.gst =
gst
;
this.cmdproc = function(com){eval(com);}
}
this.cmdproc = function(com){eval(com);}
}
@@
-42,6
+43,7
@@
http_streaming.prototype = {
console: null,
win: null,
doc: null,
console: null,
win: null,
doc: null,
+ sess: null,
ifra: null,
page: null,
watchdog_hdl: null,
ifra: null,
page: null,
watchdog_hdl: null,
@@
-71,8
+73,9
@@
http_streaming.prototype = {
this.ifra.style.visibility = "hidden";
this.doc.body.appendChild(this.ifra);
if (page != null)
this.ifra.style.visibility = "hidden";
this.doc.body.appendChild(this.ifra);
if (page != null)
- this.page = page;
- // this.log(this.ifra);
+ this.page = url_complete(this.win.location.href, page);
+ this.page = url_append_args(this.page, "sess", this.sess, "st", gst.st);
+ // this.log("http_streaming::start:this.page "+this.page);
this.ifra.contentWindow.location.href = this.page;
this.watchdog_ct = 0;
this.watchdog_hdl = setTimeout(function(obj) { obj.log("tout1"); obj.watchdog(); }, this.watchdog_timeout, this);
this.ifra.contentWindow.location.href = this.page;
this.watchdog_ct = 0;
this.watchdog_hdl = setTimeout(function(obj) { obj.log("tout1"); obj.watchdog(); }, this.watchdog_timeout, this);