- From: Mark Watson <watsonm@netflix.com>
- Date: Wed, 22 Aug 2012 15:50:02 +0000
- To: whatwg Group <whatwg@lists.whatwg.org>
Hi everyone, I heard that there was some discussion of banning the use of synchronous operations within document onclose handlers. Whilst it is obviously bad to hold up the closing of a document - especially indefinitely - I wondered what the solution was for applications that need to perform some final communication with an application server - say using XHR - when the document is closed ? Is it possible that events could continue to be handled for some short time after the onclose completes ? Something else ? I understand that there are cases where this is not possible - such as sudden loss of power - but that does't mean it isn't useful to be able to perform such operations in the normal, common, case. …Mark
Received on Wednesday, 22 August 2012 15:50:44 UTC