After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 516815 - Allow tab to be closed while a modal JavaScript alert dialog is showing
Allow tab to be closed while a modal JavaScript alert dialog is showing
Product: epiphany
Classification: Core
Component: General
3.12.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 437109 (view as bug list)
Depends on:
Reported: 2008-02-16 08:54 UTC by Stuart Langridge
Modified: 2018-08-03 19:21 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20

Description Stuart Langridge 2008-02-16 08:54:31 UTC
If a page is throwing JavaScript alerts in a tight loop (so as soon as you click "OK" on the alert, it throws up another one) then it's very difficult to get away from that page without killing Epiphany. It would be enormously handy if the close icon on the tab causing the problem still worked, and could close the tab, even if there was a JavaScript alert dialog showing. This is probably only useful to web developers who get something wrong while they're developing a page, but it would be extremely useful to those web developers, and it won't affect usability for ordinary users (and might occasionally be useful to them too).

Other information:
Comment 1 Michael Catanzaro 2014-09-06 16:08:57 UTC
I think this has been fixed; please let me know if not.
Comment 2 Michael Catanzaro 2014-09-06 18:30:41 UTC
(In reply to comment #1)
> I think this has been fixed

Just kidding :(
Comment 3 Andrej Antonov 2016-04-25 18:05:34 UTC
simplest example on jsfiddle

rescue only it: ``$ killall epiphany``

and see other bug:
Comment 4 Michael Catanzaro 2016-04-25 18:44:52 UTC
Thanks for the example; that is helpful.

This has been on my mind for a while; I think it would be a relatively easy bug to work on. Look into WebKitWebView::script-dialog [1] and check bug #603192 for a possible solution.

Alternatively we could just add a checkbox in WebKit to prevent sites from displaying more dialogs.

Comment 5 Michael Catanzaro 2016-11-26 13:37:31 UTC
*** Bug 437109 has been marked as a duplicate of this bug. ***
Comment 6 GNOME Infrastructure Team 2018-08-03 19:21:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: