rem: if( this.contentArea._elementIDs ) 
add: if( '_elementIDs' in this.contentArea ) 
context:     savePageData:       function ( aPageTag )        {          if( this.contentArea.GetFields )            {              // save page data based on user supplied function in content area              var dataObject = this.contentArea.GetFields();              this.dataManager.setPageData( aPageTag, dataObject );            }            // Automatic element retrieval. This is done in two ways.             // 1) if an element id array is present in the document, this is            //    used to build a list of elements to persist. <-- performant            // 2) otherwise, all elements with 'wsm_persist' set to true            //    are persisted <-- non-performant.           if( this.contentArea._elementIDs )              {                var elements = [];                for( var i = 0; i < this.contentArea._elementIDs.length; i++ )                  {                    var elt = this.contentArea.document.getElementById( this.contentArea._elementIDs[i] );                    if (elt) {                      elements[elements.length] = elt;                    } else {                      // see bug #40329. People forget this too often, and it breaks Prefs                      dump("*** FIX ME: '_elementIDs' in '" + this.contentArea.location.href.split('/').pop() +                           "' contains a reference to a non-existent element ID '" +                            this.contentArea._elementIDs[i] + "'.\n");                    }                  }              }            else               {                var elements = this.contentArea.document.getElementsByAttribute( "wsm_persist", "true" );              }            for( var i = 0; i < elements.length; i++ )              {                var elementID   = elements[i].id;                var elementType = elements[i].localName;                if (!this.dataManager.pageData[aPageTag])                    this.dataManager.pageData[aPageTag] = [];                this.dataManager.pageData[aPageTag][elementID] = [];                // persist element Type                this.dataManager.pageData[aPageTag][elementID].localName = elementType;                // persist attributes                var get_Func = this.handlers[elementType] != undefined ?                                 this.handlers[elementType].get :                                 this.handlers.default_handler.get;                this.dataManager.setItemData( aPageTag, elementID, get_Func( elementID ) );              }        },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/66c41c404dac77d053bf9bb78c8621d6e34494dc/nsWidgetStateManager.js/buggy/xpfe/global/resources/content/nsWidgetStateManager.js