We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 683ceb8 commit af1cd6fCopy full SHA for af1cd6f
test/unit/core.js
@@ -1456,7 +1456,13 @@ QUnit.testUnlessIE( "jQuery.parseXML - error reporting", function( assert ) {
1456
column = columnMatch && columnMatch[ 1 ];
1457
1458
assert.strictEqual( line, "1", "reports error line" );
1459
- assert.strictEqual( column, "11", "reports error column" );
+
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" );
1466
} );
1467
1468
testIframe(
0 commit comments