File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1456,7 +1456,13 @@ QUnit.testUnlessIE( "jQuery.parseXML - error reporting", function( assert ) {
14561456 column = columnMatch && columnMatch [ 1 ] ;
14571457
14581458 assert . strictEqual ( line , "1" , "reports error line" ) ;
1459- assert . strictEqual ( column , "11" , "reports error column" ) ;
1459+
1460+ // Support: Firefox 96-97+
1461+ // Newer Firefox may report the column number smaller by 2 than it should.
1462+ // Accept both values until the issue is fixed.
1463+ // See https://bugzilla.mozilla.org/show_bug.cgi?id=1751796
1464+ assert . ok ( [ "9" , "11" ] . indexOf ( column ) > - 1 , "reports error column" ) ;
1465+ // assert.strictEqual( column, "11", "reports error column" );
14601466} ) ;
14611467
14621468testIframe (
You can’t perform that action at this time.
0 commit comments