antonylesuisse/qweb — Issue #6: sarissa.js patch - support for Firefox 3.6
Author: nelg
Created: 2012-01-17 13:08:57+00:00
State: open

Please apply the following patch to sarissa.js.

This is to support firefox 3.6.. which otherwise never shows the main window.

*
3 == INTERACTIVE,

*
4 == COMPLETED

*/
- 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...
+ };
/**
*

Emulate IE's parseError attribute

*/