if(_SARISSA_HAS_DOM_CREATE_DOCUMENT){ if(window.XMLDocument){
/**
* <p>Emulate IE's onreadystatechange attribute</p>
*/ XMLDocument.prototype.onreadystatechange = null;
/**
* <p>Emulates IE's readyState property, which always gives an integer from 0 to 4:</p>
* <ul><li>1 == LOADING,</li>
* <li>2 == LOADED,</li>
* <li>3 == INTERACTIVE,</li>
* <li>4 == COMPLETED</li></ul>
* FB har ukommateret
* 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...
};
Sorry, the patch above do fix the problem:
if(_SARISSA_ HAS_DOM_ CREATE_ DOCUMENT) {
if(window. XMLDocument) {
XMLDocumen t.prototype. onreadystatecha nge = null; prototype. readyState = 0;
XMLDocument. prototype. readyState = 0;
/**
* <p>Emulate IE's onreadystatechange attribute</p>
*/
/**
* <p>Emulates IE's readyState property, which always gives an integer from 0 to 4:</p>
* <ul><li>1 == LOADING,</li>
* <li>2 == LOADED,</li>
* <li>3 == INTERACTIVE,</li>
* <li>4 == COMPLETED</li></ul>
* FB har ukommateret
* XMLDocument.
*/
try {
} 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>