forwarded 355671 http://bugzilla.gnome.org/show_bug.cgi?id=333714
stop
On Tue, Mar 07, 2006, Cyril Bouthors wrote:
> Package: galeon
> Version: 2.0.1-2
> Severity: grave
>
> 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>
>
> ################################################################
>
> Then click on the link and hit ESC, this will *CONFIRM* the request
> instead of cancelling it!
>
> I've lost important data because of this bug and I guess many others
> will. Please fix this ASAP.
>
> Work-around: use ALT-c or click on the 'Cancel' button with the mouse.
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers unstable
> APT policy: (500, 'unstable'), (500, 'stable')
> Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.15-1-686
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
>
> Versions of packages galeon depends on:
> ii galeon-common 2.0.1-1 GNOME web browser for advanced
> use
> ii libart-2.0-2 2.3.17-1 Library of functions for 2D
> graphi
> ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit
> ii libbonobo2-0 2.10.1-1 Bonobo CORBA interfaces library
> ii libbonoboui2-0 2.10.1-2 The Bonobo UI library
> ii libc6 2.3.6-2 GNU C Library: Shared libraries
> an
> ii libcairo2 1.0.2-3 The Cairo 2D vector graphics
> libra
> ii libfontconfig1 2.3.2-2 generic font configuration
> library
> ii libgcc1 1:4.0.2-9 GCC support library
> ii libgconf2-4 2.12.1-9 GNOME configuration database
> syste
> ii libglade2-0 1:2.5.1-2 library to load .glade files at
> ru
> ii libglib2.0-0 2.8.6-1 The GLib library of C routines
> ii libgnome-desktop-2 2.12.2-2 Utility library for loading
> .deskt
> ii libgnome-keyring0 0.4.7-1 GNOME keyring services library
> ii libgnome2-0 2.12.0.1-5 The GNOME 2 library - runtime
> file
> ii libgnomecanvas2-0 2.12.0-2 A powerful object-oriented
> display
> ii libgnomeui-0 2.12.1-1 The GNOME 2 libraries (User
> Interf
> ii libgnomevfs2-0 2.12.2-6 GNOME virtual file-system
> (runtime
> ii libgtk2.0-0 2.8.12-1 The GTK+ graphical user
> interface
> ii libice6 6.9.0.dfsg.1-4 Inter-Client Exchange library
> ii libmozjs0d 1.8.0.1-4 The Mozilla SpiderMonkey
> JavaScrip
> ii libnspr4-0d 1.8.0.1-4 NetScape Portable Runtime Library
> ii liborbit2 1:2.12.4-1 libraries for ORBit2 - a CORBA
> ORB
> ii libpango1.0-0 1.10.4-1 Layout and rendering of
> internatio
> ii libpopt0 1.7-5 lib for parsing cmdline
> parameters
> ii libsm6 6.9.0.dfsg.1-4 X Window System Session
> Management
> ii libstartup-notification0 0.8-1 library for program launch
> feedbac
> ii libstdc++6 4.0.2-9 The GNU Standard C++ Library v3
> ii libx11-6 6.9.0.dfsg.1-4 X Window System protocol client
> li
> ii libxcursor1 1.1.3-1 X cursor management library
> ii libxext6 6.9.0.dfsg.1-4 X Window System miscellaneous
> exte
> ii libxi6 6.9.0.dfsg.1-4 X Window System Input extension
> li
> ii libxinerama1 6.9.0.dfsg.1-4 X Window System multi-head
> display
> ii libxml2 2.6.23.dfsg.2-2 GNOME XML library
> ii libxrandr2 6.9.0.dfsg.1-4 X Window System Resize, Rotate
> and
> ii libxrender1 1:0.9.0.2-1 X Rendering Extension client
> libra
> ii libxul0d 1.8.0.1-4 Gecko engine library
> ii procps 1:3.2.6-2.1 /proc file system utilities
> ii zlib1g 1:1.2.3-9 compression library - runtime
>
> Versions of packages galeon recommends:
> ii gnome-control-center [capplet 1:2.12.3-2 utilities to configure the GNOME
> d
> ii gnome-icon-theme 2.12.1-2 GNOME Desktop icon theme
> ii iso-codes 0.49-1 ISO language, territory,
> currency
> ii scrollkeeper 0.3.14-10 A free electronic cataloging
> syste
> ii yelp 2.12.2-4 Help browser for GNOME 2
>
> -- no debconf information
>
> --
> Cyril Bouthors
--
Loïc Minier <[EMAIL PROTECTED]>
Current Earth status: NOT DESTROYED