Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbe3bd56

Browse files
committed
Tests: Workaround an XML parsing bug in Firefox
Seehttps://bugzilla.mozilla.org/show_bug.cgi?id=1751796Closesgh-5018(cherry picked from commitaf1cd6f)
1 parentb24e83b commitbe3bd56

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎test/unit/core.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,13 @@ QUnit[
14541454
column=columnMatch&&columnMatch[1];
14551455

14561456
assert.strictEqual(line,"1","reports error line");
1457-
assert.strictEqual(column,"11","reports error column");
1457+
1458+
// Support: Firefox 96-97+
1459+
// Newer Firefox may report the column number smaller by 2 than it should.
1460+
// Accept both values until the issue is fixed.
1461+
// See https://bugzilla.mozilla.org/show_bug.cgi?id=1751796
1462+
assert.ok(["9","11"].indexOf(column)>-1,"reports error column");
1463+
// assert.strictEqual( column, "11", "reports error column" );
14581464
});
14591465

14601466
testIframe(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp