null, null, "", null, item.TYPE_EXTENSION); 
null, null, "", null, item.TYPE_EXTENSION, "xpcshell@tests.mozilla.org"); 
function run_test(){  initTest();  var item = Cc["@mozilla.org/updates/item;1"].createInstance(Ci.nsIUpdateItem);  item.init("test@mozilla.org", "1.0", "app-profile", "0.0", "100.0", "Test extension",            null, null, "", null, item.TYPE_EXTENSION);  gExpectedURL = gTestURL.replace(/%ITEM_ID%/, item.id)                         .replace(/%CUSTOM1%/, "custom_parameter_1")                         .replace(/%CUSTOM2%/, "custom_parameter_2");  // Replace extension update URL  var origURL = null;  try {      origURL = prefs.getCharPref("extensions.update.url");  }  catch (e) {}  gPrefs.setCharPref("extensions.update.url", gTestURL);  // Initiate update  gEM.update([item], 1, 2, null);  do_check_true(gSeenExpectedURL);  if (origURL)    gPrefs.setCharPref("extensions.update.url", origURL);  else    gPrefs.clearUserPref("extensions.update.url");  shutdownTest();}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/dd0789ea577a496e2622a164a469a9cb1bcf058d/test_bug384052.js/buggy/toolkit/mozapps/extensions/test/unit/test_bug384052.js