diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2022-10-03 22:53:39 +0200 |
---|---|---|
committer | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2022-10-03 22:54:18 +0200 |
commit | 965391ab9348c624b0fba42f79d3131652d9d494 (patch) | |
tree | b772bdb95016e4290d5d30b435d6b670073e1967 | |
parent | 8bea1dec18da3f3a02751dc226d51b9d0546b49e (diff) | |
download | jquery-965391ab9348c624b0fba42f79d3131652d9d494.tar.gz jquery-965391ab9348c624b0fba42f79d3131652d9d494.zip |
Tests: Remove a workaround for a Firefox XML parsing issue
Firefox 96-100 used to report the column number smaller by 2 than it should
in the `parsererror` element generated for invalid XML documents. Since that
version range is unsupported now and it includes no ESR versions, the workaround
can now be dropped.
Closes gh-5109
Ref gh-5018
(cherry picked from commit e7ffe1f135dfa68ce3065b2bd319a29a57866dc6)
-rw-r--r-- | test/unit/core.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/unit/core.js b/test/unit/core.js index a2fe504fc..6e6795601 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1454,13 +1454,7 @@ QUnit[ column = columnMatch && columnMatch[ 1 ]; assert.strictEqual( line, "1", "reports error line" ); - - // Support: Firefox 96-97+ - // Newer Firefox may report the column number smaller by 2 than it should. - // Accept both values until the issue is fixed. - // See https://bugzilla.mozilla.org/show_bug.cgi?id=1751796 - assert.ok( [ "9", "11" ].indexOf( column ) > -1, "reports error column" ); - // assert.strictEqual( column, "11", "reports error column" ); + assert.strictEqual( column, "11", "reports error column" ); } ); testIframe( |