Removing the is*Key calls here breaks unfocusing of XUL text inputs such as the location bar, and enter-to-close-findbar.