[Webkit-unassigned] [Bug 19922] image doesn't get fetched when requested from an onunload handler.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 7 10:17:39 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=19922
------- Comment #6 from gkumarrahul at gmail.com 2008-07-07 10:17 PDT -------
(In reply to comment #5)
> (In reply to comment #3)
> > Plus I have been trying to send along a query string formatted in javascript
> > and sent using a XHR POST request to the server and that doesn't get sent
> > either. So in summary, any http requests are not completing in any unload event
> > handler.
>
> Did you make it a synchronous XHR ?
> The (GET, synchronous) XHR in the example URL seems to work : see :
> http://homepage.mac.com/jorgechamorro/cljs/002/
>
This example does indeed work. But is a sync call ok when someone is trying to
navigate away from a page?? Although for the purpose i am using[recording time
spent on a page, by sending the time spent to the server, when a user exits a
page], i won't send any response to the browser, does that affect any client
thread/process waiting for any response, in any version??
So far the example provided by Jorge has worked really well, even for
'onbeforeunload'.
--
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