jQuery Abort-On-Unload Test
This page tests a fix that will abort requests on abort so that Internet Explorer
does not keep connections alive.
In this situation, no callback should be triggered.
Take the following steps:
-
open the console,
-
set it to persistent mode if available,
-
click this
to make a request and trigger the beforeunload event,
-
then either:
-
wait for the request to complete then cancel unload,
-
fire unload (you have 10 seconds to do so).
Test passes if:
-
you get a "success" logged,
-
you get no "error" log and no alert.