[Webkit-unassigned] [Bug 139090] [GTK] Add API to handle beforeunload events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 29 05:06:17 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=139090

--- Comment #4 from Michael Catanzaro <mcatanzaro at igalia.com> ---
I think, based on the complaints I've heard from users, we should just have it enabled by default. I don't think many sites take advantage of this to create unnecessary "are you sure you want to leave" messages nowadays, except when the departure would cause some form of data loss (e.g. imgur uploads), and the proper solution to that is to add a "prevent this site from showing additional dialogs" button, anyway.

Anyway, I don't see anything to improve about the patch. I suspect that apps are not going to use the try_close() API and will wind up not executing the handlers even if they want to, but that's a consequence of the existing API....

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151029/25ea8e3d/attachment-0001.html>


More information about the webkit-unassigned mailing list