rem: var uri = window.arguments[0]; sqlService.updateAlias(uri, name.value, type.value, hostname.value, 
add: var alias = window.arguments[0]; sqlService.updateAlias(alias, name.value, type.value, hostname.value, 
context: function onAccept() {  if (window.arguments) {    // update an existing alias    var uri = window.arguments[0];    sqlService.updateAlias(uri, name.value, type.value, hostname.value,                           port.value, database.value);  }  else {    // add a new database    var uri = "urn:aliases:" + name.value;    sqlService.addAlias(uri, name.value, type.value, hostname.value,                        port.value, database.value);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/527dac4c3717890a7e51888f1e1de6949a30b64b/aliasDialog.js/buggy/extensions/sql/base/resources/content/aliasDialog.js