rem: AddItem( "profiles", new Profile( node.name, migrated ) ); 
add: AddItem(node.name, migrated); 
context: function loadElements(){  try {    var profileRoot = Registry.getKey(Registry.Common, "Profiles");    var regEnum = Registry.enumerateSubtrees( profileRoot );    // the registry class is old and uses sucky nsIEnumerator instead    // of nsISimpleEnumerator. We'll rely on a blank profile name to    // throw us out of the while loop for now.    regEnum.first();    while (true)    {      var node = regEnum.currentItem();      node = node.QueryInterface(Components.interfaces.nsIRegistryNode);      if ( node.name == "" )        break;      var migrated = Registry.getString( node.key, "migrated" );      AddItem( "profiles", new Profile( node.name, migrated ) );      regEnum.next();    }  }  catch (e) {}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/97b2b7af1273ff0f6a722d514056886f4d4e2d5a/profileSelection.js/buggy/profile/resources/content/profileSelection.js