- From: Ian Hickson <ian@hixie.ch>
- Date: Fri, 12 Dec 2008 08:50:01 +0000 (UTC)
On Thu, 28 Feb 2008, ddailey wrote: > > The user opens a web application as one of many tabs in a web browser. > They then, either within the application window, accidentally hit CTRL W > (or its Mac equivalent), or from the operating system, issue a close > application command. Most apps (as opposed to the more "passive" > browsers) detect that new content has been developed and in is jeopardy > of being lost and therefore prompt the user to the status of this > possible data loss. The browser, unless I'm missing something, seems to > have a different status within the OS and just closes without ceremony. I just went ahead and specced out the 'onbeforeunload' feature that most browsers support today that handles this case. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 12 December 2008 00:50:01 UTC