mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fix #10646. Throw an Error object from .error() for IE's sake.
This commit is contained in:
@@ -1129,7 +1129,7 @@ test("jQuery.parseXML", 4, function(){
|
||||
xml = jQuery.parseXML( "<p>Not a <<b>well-formed</b> xml string</p>" );
|
||||
ok( false, "invalid xml not detected" );
|
||||
} catch( e ) {
|
||||
strictEqual( e, "Invalid XML: <p>Not a <<b>well-formed</b> xml string</p>", "invalid xml detected" );
|
||||
strictEqual( e.message, "Invalid XML: <p>Not a <<b>well-formed</b> xml string</p>", "invalid xml detected" );
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user