rem: var sourceProfiles = this._migrator.sourceProfiles; var count = sourceProfiles.Count(); for (var i = 0; i < count; ++i) { var item = document.createElement("radio"); var str = sourceProfiles.QueryElementAt(i, Components.interfaces.nsISupportsString); item.id = str.data; item.setAttribute("label", str.data); profiles.appendChild(item); 
add:   if (this._migrator) { var sourceProfiles = this._migrator.sourceProfiles; var count = sourceProfiles.Count(); for (var i = 0; i < count; ++i) { var item = document.createElement("radio"); var str = sourceProfiles.QueryElementAt(i, Components.interfaces.nsISupportsString); item.id = str.data; item.setAttribute("label", str.data); profiles.appendChild(item); } 
context:   onSelectProfilePageShow: function ()  {    // Disabling this for now, since we ask about import sources in automigration    // too and don't want to disable the back button    // if (this._autoMigrate)    //   document.documentElement.getButton("back").disabled = true;          var profiles = document.getElementById("profiles");    while (profiles.hasChildNodes())       profiles.removeChild(profiles.firstChild);        var sourceProfiles = this._migrator.sourceProfiles;    var count = sourceProfiles.Count();    for (var i = 0; i < count; ++i) {      var item = document.createElement("radio");      var str = sourceProfiles.QueryElementAt(i, Components.interfaces.nsISupportsString);      item.id = str.data;      item.setAttribute("label", str.data);      profiles.appendChild(item);    }        profiles.selectedItem = this._selectedProfile ? document.getElementById(this._selectedProfile) : profiles.firstChild;  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/c503502ae235c2da25a3d7cc47e0af5418be6520/migration.js/buggy/browser/components/migration/content/migration.js