rem: if (aEvent.keyCode == 13) gPermissionManager.addPermission(nsIPermissionManager.ALLOW_ACTION); 
add: if (aEvent.keyCode == KeyEvent.DOM_VK_RETURN) document.getElementById("btnAllow").click(); 
context:   onHostKeyPress: function (aEvent)  {    if (aEvent.keyCode == 13)      gPermissionManager.addPermission(nsIPermissionManager.ALLOW_ACTION);  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4affb8e18e08ef4e4471599a10bb11bf818cdfc1/permissions.js/buggy/browser/components/preferences/permissions.js