[Webkit-unassigned] [Bug 19418] onbeforeunload is broken for framesets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 18 11:28:41 PST 2008


------- Comment #7 from bedney at technicalpursuit.com  2008-11-18 11:28 PDT -------
Alexey -

As one of the guys who supported the Mozilla crew adding this to their browser
many moons ago (https://bugzilla.mozilla.org/show_bug.cgi?id=68215), I should
speak up here.

This was originally added to IE 4.0 in 1997. It is a Microsoft extension and
one that has been very handy for those of us who are building 'stateful client'
applications. It allows us to warn the user that by either closing the window,
quitting the browser or navigating away from the 'page' that they will lose
data and that they should use the approved method of quitting the page.

In the intervening 11 years that this feature has been around, it has not been
abused. I have not once been to a page that uses this mechanism in an abusive
measure. I surmise that, because of the design of this feature (i.e. just
popping up a panel that allows an application-supplied message along with a
browser-supplied one and allowing the user to proceed or cancel), that its not
really a sufficiently 'spoofable' mechanism for the evildoers.


- Bill

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list