rem: var controller = top.document.commandDispatcher.getControllerForCommand(command);  var enabled = false;  if ( controller ) enabled = controller.isCommandEnabled(command);  goSetCommandEnabled(command, enabled); 
add: try { var controller = top.document.commandDispatcher.getControllerForCommand(command);  var enabled = false;  if ( controller ) enabled = controller.isCommandEnabled(command);  goSetCommandEnabled(command, enabled); } catch (e) { dump("An error occurred updating the "+command+" command\n"); } 
context: function goUpdateCommand(command){	var controller = top.document.commandDispatcher.getControllerForCommand(command);		var enabled = false;		if ( controller )		enabled = controller.isCommandEnabled(command);			goSetCommandEnabled(command, enabled);}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/f1310a8d52a60516da7c16017a9a5ebe15737e30/globalOverlay.js/buggy/xpfe/global/resources/content/globalOverlay.js