rem: var email = document.getElementById("identity.email").value; var emailParts = email.split("@"); loginNameInput.value = emailParts[0]; 
add: if (protocolinfo.requiresUsername) {  var email = document.getElementById("identity.email").value; var emailParts = email.split("@"); loginNameInput.value = emailParts[0]; } else {  } 
context: function onInit() {    var loginNameInput = document.getElementById("server.username");    if (loginNameInput.value == "") {        var email = document.getElementById("identity.email").value;        var emailParts = email.split("@");        loginNameInput.value = emailParts[0];    }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c40113f7f6459b8b1f2aa0f66f22930d443c4be2/aw-login.js/clean/mailnews/base/prefs/resources/content/aw-login.js