/[packages]/cauldron/ajaxterm/pristine/SOURCES/ajaxterm-ff36.patch
ViewVC logotype

Annotation of /cauldron/ajaxterm/pristine/SOURCES/ajaxterm-ff36.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 197812 - (hide annotations) (download)
Wed Jan 18 11:39:38 2012 UTC (9 years, 5 months ago) by nelg
File size: 756 byte(s)
Copying release 0.10-1.mga2 to pristine/ directory.
1 nelg 197811 diff -urN BUILD/Ajaxterm-0.10/sarissa.js BUILD.1/Ajaxterm-0.10/sarissa.js
2     --- BUILD/Ajaxterm-0.10/sarissa.js 2006-10-29 15:52:39.000000000 +1300
3     +++ BUILD.1/Ajaxterm-0.10/sarissa.js 2012-01-17 04:05:55.498421522 +1300
4     @@ -265,7 +265,13 @@
5     * <li>3 == INTERACTIVE,</li>
6     * <li>4 == COMPLETED</li></ul>
7     */
8     - XMLDocument.prototype.readyState = 0;
9     + try {
10     + XMLDocument.prototype.readyState = 0;
11     + } catch(e) {
12     + // XXX on some browsers (Firefox 3.6 at least) this fails,
13     + // however I think this is rarely a problem so we just
14     + // ignore it here...
15     + };
16     /**
17     * <p>Emulate IE's parseError attribute</p>
18     */

  ViewVC Help
Powered by ViewVC 1.1.28