rem: this._readyState = 0; 
add: this._readyState = isValidString(this.getSource()) ? 5 : 0; 
context: proto.open = function(){  /*   -----------------------------------------------------------------------------    PRE CONFIGURE WINDOW  -----------------------------------------------------------------------------  */     var conf = "dependent=yes,";    if (isValidNumber(this.getWidth())) {    conf += "width=" + this.getWidth() + ",";  };     if (isValidNumber(this.getHeight()))   {    conf += "height=" + this.getHeight() + ",";  };    if (isValidNumber(this.getLeft())) {    conf += "left=" + this.getLeft() + ",";  };    if (isValidNumber(this.getTop())) {    conf += "top=" + this.getTop() + ",";  };      /*    http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx    Changes to Functionality in Microsoft Windows XP Service Pack 2    Part 5: Enhanced Browsing Security    URLACTION_FEATURE_WINDOW_RESTRICTIONS    Allow script-initiated windows without size or position constraints    Code: 2102        */  conf += "resizable=" + (this.getResizeable() ? "yes" : "no") + ",";  conf += "status=" + (this.getShowStatusbar() ? "yes" : "no") + ",";  conf += "location=" + (this.getShowLocation() ? "yes" : "no") + ",";  conf += "menubar=" + (this.getShowMenubar() ? "yes" : "no") + ",";  conf += "toolbar=" + (this.getShowToolbar() ? "yes" : "no") + ",";  conf += "scrollbars=" + (this.getAllowScrollbars() ? "yes" : "no") + ",";  conf += "modal=" + (this.getModal() ? "yes" : "no") + ",";  /*   -----------------------------------------------------------------------------    TIMER  -----------------------------------------------------------------------------  */  this._isLoaded = false;  this._readyState = 0;    this._timer.restart();  /*   -----------------------------------------------------------------------------    BLOCKER  -----------------------------------------------------------------------------  */    if (this.getModal()) {    window.application.getClientWindow().getClientDocument().block();  };    /*   -----------------------------------------------------------------------------    OPEN WINDOW  -----------------------------------------------------------------------------  */  this._window = window.open("about:blank", "w" + this.toHash(), conf);  this._window._QxClientWindow = this;    // should we remove this events?  // in mshtml and gecko they just does not work (we have coded some workarounds)  QxDOM.addEventListener(this._window, "load", this.__onload);  QxDOM.addEventListener(this._window, "readystatechange", this.__onreadystatechange);    /*   -----------------------------------------------------------------------------    POST FIX (ESPECIALLY FOR GECKO)  -----------------------------------------------------------------------------  */      if (isValidNumber(this.getWidth()) && isValidNumber(this.getHeight())) {    this._window.resizeTo(this.getWidth(), this.getHeight());  };  if (isValidNumber(this.getLeft()) && isValidNumber(this.getTop())) {    this._window.moveTo(this.getLeft(), this.getTop());  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/2f1370639baa825a6a848db31723112e52bbfcb1/QxNativeWindow.js/buggy/qooxdoo/source/script/core/QxNativeWindow.js