update comment about a removeChild that crash Opera on windows
[brisk.git] / web / xynt-streaming.js
index 47ca442..b75dec7 100644 (file)
@@ -95,6 +95,7 @@ transport_xhr.prototype = {
     },
 
     ctx_new_getchar: function(idx) { /* public */
+        return (this.ctx_new[idx]);
     },
 
     ctx_old_len_is_set: function () { /* public */
@@ -246,14 +247,15 @@ transport_iframe.prototype = {
     destroy: function () { /* public */
         try {
             if (this.ifra != null) {
-                // FIXME: with opera on win this remove child crash js so is
-                //        commented
-                // this.doc.body.removeChild(this.ifra);
+                // FIXME: on Opera on Windows this remove child crash js so is commented
+                //        on IE on Windows without it stream abort fails
+                //        so we need to decide how can run it
+                this.doc.body.removeChild(this.ifra);
                 delete this.ifra;
                 this.ifra = null;
             }
         } catch (b) {
-            alert("catched");
+            alert("destroy exception catched");
         }
     },