Closed
Bug 288915
Opened 20 years ago
Closed 20 years ago
onbeforeunload event is not supported by Camino
Categories
(Camino Graveyard :: General, enhancement)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: brian, Assigned: mikepinkerton)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050331 Camino/0.8.3 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050331 Camino/0.8.3 Check the URL above for an example. A dialog should display when navigating away from the page (using any method), but not in Camino. The Firefox version of this bug is 68215, and has been resolved (the feature was added to Firefox before 1.0). Basically, Camino just doesn't support this Javascript trigger. I don't know how important this is to the general browsing public, and it's not part of any official HTML/XHTML spec, but I find it incredibly useful in my web application programming to make the user interface more friendly and less prone to human error. Reproducible: Always Steps to Reproduce: 1. Go to the example URL, http://www.webreference.com/dhtml/diner/beforeunload/bunload4.html 2. Navigate away from the page using any method--click a link, hit back, close the window, etc. 3. Notice the lack of dialog box. Actual Results: No dialog box. Expected Results: Should have displayed a dialog informing the user they're leaving the page, and are they sure they want to do this. A trivial example, obviously, but the feature becomes useful to auto-save long forms or ensure the user knows information may be lost.
WFM 20050402 (0.8+) This appears to be present on the trunk in the latest nightlies. If it does not work for you in a nightly build, please reopen this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•