• jaubourg's avatar
    Ajax: Protect against exceptions thrown synchronously by xhr.send · 01c360f9
    jaubourg authored
    When xhr.send throws an exception synchronously, the onerror handler may have
    been called already which, unchecked, makes the exception bubble up outside of
    jQuery.ajax.
    
    We now catch the exception pre-emptively and only rethrow if we know it hasn't
    already been notified through the onerror handler.
    
    Fixes #14683
    01c360f9
Name
Last commit
Last update
..
data Loading commit data...
libs Loading commit data...
unit Loading commit data...
.jshintrc Loading commit data...
delegatetest.html Loading commit data...
hovertest.html Loading commit data...
index.html Loading commit data...
jquery.js Loading commit data...
localfile.html Loading commit data...
networkerror.html Loading commit data...
readywait.html Loading commit data...
xhtml.php Loading commit data...