diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-02-25 01:18:55 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-03-08 23:26:46 +0100 |
commit | 9b086888b803db872e8906cbdbf0de458231f225 (patch) | |
tree | 084539db8297eae7f97f82ffe0da2d318f81251f /src/ajax | |
parent | b43a3685b60b307d61f41f0c94412380ed46ab22 (diff) | |
download | jquery-9b086888b803db872e8906cbdbf0de458231f225.tar.gz jquery-9b086888b803db872e8906cbdbf0de458231f225.zip |
Docs:Tests: Remove obsolete code from tests, update support comments
Support comments that were lacking the final IE/Edge version that exhibits
the bug were checked & updated. Links to the Chromium bug tracker were updated.
Code in tests related to unsupported browsers (like Android 2.3 in non-basic
tests) has been removed.
Fixes gh-2868
Closes gh-2949
Diffstat (limited to 'src/ajax')
-rw-r--r-- | src/ajax/parseXML.js | 3 | ||||
-rw-r--r-- | src/ajax/xhr.js | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/ajax/parseXML.js b/src/ajax/parseXML.js index 6599aaf5b..eb17dbd26 100644 --- a/src/ajax/parseXML.js +++ b/src/ajax/parseXML.js @@ -9,7 +9,8 @@ jQuery.parseXML = function( data ) { return null; } - // Support: IE9 + // Support: IE 9-11 only + // IE throws on parseFromString with invalid input. try { xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); } catch ( e ) { diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js index db670ff15..9b8f47310 100644 --- a/src/ajax/xhr.js +++ b/src/ajax/xhr.js @@ -15,7 +15,7 @@ var xhrSuccessStatus = { // File protocol always yields status code 0, assume 200 0: 200, - // Support: IE9 + // Support: IE9 only // #1450: sometimes IE returns 1223 when it should be 204 1223: 204 }, @@ -79,7 +79,7 @@ jQuery.ajaxTransport( function( options ) { xhr.abort(); } else if ( type === "error" ) { - // Support: IE9 + // Support: IE9 only // On a manual native abort, IE9 throws // errors on any property access that is not readyState if ( typeof xhr.status !== "number" ) { @@ -115,7 +115,7 @@ jQuery.ajaxTransport( function( options ) { xhr.onload = callback(); errorCallback = xhr.onerror = callback( "error" ); - // Support: IE9 + // Support: IE9 only // Use onreadystatechange to replace onabort // to handle uncaught aborts if ( xhr.onabort !== undefined ) { |