rem:  var selectedMigrator = null; 
add:   var selectedMigrator = fromfile; 
context:   onImportSourcePageShow: function ()  {    //XXXquark This function is called before init, so check for bookmarks here    if ("arguments" in window && window.arguments[0] == "bookmarks") {      this._bookmarks = true;      var fromfile = document.getElementById("fromfile");      fromfile.hidden = false;      var importBookmarks = document.getElementById("importBookmarks");      importBookmarks.hidden = false;      var importAll = document.getElementById("importAll");      importAll.hidden = true;    }    this._wiz.canRewind = false;    // The migrator to select    var selectedMigrator = null;    // Figure out what source apps are are available to import from:    var group = document.getElementById("importSourceGroup");    for (var i = 0; i < group.childNodes.length; ++i) {      var suffix = group.childNodes[i].id;      if (suffix != "nothing" && suffix != "fromfile") {        var contractID = kProfileMigratorContractIDPrefix + suffix;        try {          var migrator = Components.classes[contractID].createInstance(kIMig);        }        catch (e) {          dump("*** invalid contractID =" + contractID + "\n");          return;        }        if (migrator.sourceExists &&            !(suffix == "phoenix" && !this._autoMigrate)) {          // Save this as the first selectable item, if we don't already have          // one, or if it is the migrator that was passed to us.          if (!selectedMigrator || this._source == suffix)            selectedMigrator = group.childNodes[i];        } else {          // Hide this option          group.childNodes[i].hidden = true;        }      }    }    if (selectedMigrator)      group.selectedItem = selectedMigrator;    else {      // We didn't find a migrator, notify the user      document.getElementById("noSources").hidden = false;      this._wiz.canAdvance = false;      document.getElementById("importBookmarks").hidden = true;      document.getElementById("importAll").hidden = true;    }  },
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/7149b4acc9f1957447ea777a274b5ccf491448c1/migration.js/buggy/browser/components/migration/content/migration.js