• 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
build Loading commit data...
speed Loading commit data...
src Loading commit data...
test Loading commit data...
.bowerrc Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.jscs.json Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
.mailmap Loading commit data...
.npmignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
Gruntfile.js Loading commit data...
MIT-LICENSE.txt Loading commit data...
README.md Loading commit data...
bower.json Loading commit data...
package.json Loading commit data...