package ajaxterm
tag 568372 + patch
thanks
On Thu, 04 Feb 2010 12:08:49 +0100, Spitzauer
<[email protected]> wrote:
> Package: ajaxterm
> Version: 0.10-4
> Severity: important
>
>
> i found some strange behavior with AjaxTerm in my Debain Squezze
maschine.
> AjaxTerm works perfectly but since 1 week or so, ajaxterm isn't working
> anymore.
> Isn't working means that i cannot see the console view in the firefox
3.6
> browser.
this is an issue in sarissa.js which was fixed upstream.
I attach a patch which I have just tested.
Cheers,
Julien
--- /home/wim/Checkouts/kupu-1.4-silva/common/sarissa.js 2008-08-06
17:59:01.000000000 +0200
+++
/home/wim/Buildouts/Silva/devel/Products.Silva/Products/Silva/kupu/sarissa.js
2010-01-26 15:02:57.000000000 +0100
@@ -234,7 +234,13 @@
* <li>3 == INTERACTIVE,</li>
* <li>4 == COMPLETED</li></ul>
*/
- XMLDocument.prototype.readyState = 0;
+ try {
+ XMLDocument.prototype.readyState = 0;
+ } catch(e) {
+ // XXX on some browsers (Firefox 3.6 at least) this fails,
+ // however I think this is rarely a problem so we just
+ // ignore it here...
+ };
/**
* <p>Emulate IE's parseError attribute</p>
*/