Gilles Dubuc <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from Gilles Dubuc <> ---
It's actually possible to make logging work on navigating away without a
timeout by making a synchronous XHR call during the onbeforeunload. Browsers
will abort an classic async one, but not a synchronous one. The drawback is
that it freezes the page, but since the backend of event logging correctly
aborts the request right away, it would be hardly felt. (I've already built
something like that in production at dA).

This change would imply modifying (or overloading) mw.eventLog to make it do a
synchronous XHR when needed instead of using an image object.

What do you think? Is the synchronous thing worth filing in Mingle?

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to