rem: for( var elementID in pageData ) { var element = this.contentArea.document.getElementById( elementID ); if( element ) { var elementType = element.localName; var set_Func = (elementType in this.handlers) ? this.handlers[elementType].set : this.handlers.default_handler.set; set_Func( elementID, pageData[elementID] ); } } }, 
add: var pageData = this.dataManager.getPageData(aPageTag); if ("SetFields" in gCurrentWindow) { if (!gCurrentWindow.SetFields(pageData)) {   return; } }  for (var elementID in pageData) { var element = gCurrentWindow.document.getElementById(elementID); if (element) { var elementType = element.localName; var set_Func = (elementType in this.handlers) ? this.handlers[elementType].set : this.handlers.default_handler.set; set_Func(elementID, pageData[elementID]); } } }, 
context:     setPageData:      function ( aPageTag )        {          var pageData = this.dataManager.getPageData( aPageTag );          if( 'SetFields' in this.contentArea )            {              if ( !this.contentArea.SetFields( pageData ) )              {                // If the function returns false (or null/undefined) then it                // doesn't want *us* to process the page data.                return;              }            }          for( var elementID in pageData )            {              var element = this.contentArea.document.getElementById( elementID );              if( element )                {                  var elementType = element.localName;                  var set_Func = (elementType in this.handlers) ?                                  this.handlers[elementType].set :                                  this.handlers.default_handler.set;                  set_Func( elementID, pageData[elementID] );                }            }        },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a04098dd110e7bc75ade2e23f559a0ff5e526e6b/nsWidgetStateManager.js/clean/toolkit/content/nsWidgetStateManager.js