An Ajax call is done to a file that generates a NS_ERROR_DOM_BAD_URI error. (One situation where this occurs
is if you run an Ajax request from the local file system to a file that doesn't exist)
This should result in the ajaxStart event firing, followed by the ajaxStop and ajaxComplete. But as the
complete() function is never called on error, the ajaxStop and
ajaxComplete events do not fire. If a call to "complete()" is added to jQuery in the catch block, then
it runs as expected.