GNOME Bugzilla – Bug 333780
Esc confirms Javascript popups instead of cancelling them
Last modified: 2006-03-08 11:04:19 UTC
+++ This bug was initially created as a clone of Bug #333714 +++ Hi, Cyril Bouthors reported in Debian bug http://bugs.debian.org/355671 that: << ESC is bound to 'OK' instead of 'Cancel' with javascript confirmation popups! To reproduce, use the following HTML/JavaScript code: ################################################################ <body> <SCRIPT LANGUAGE="JavaScript"> function ask_confirmation(txt) { resultat = confirm(txt); if(resultat=="1"){ return true; } else { return false; } } </SCRIPT> <a href="./" onclick="return ask_confirmation('Sure?')">foo</a> ################################################################ >> This might be due to the fact that Galeon is built against xulrunner in Debian. Cheers,
Created attachment 60868 [details] [review] minimal fix
Fixed in cvs.