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

Commitaf1cd6f

Browse files
authored
Tests: Workaround an XML parsing bug in Firefox
Seehttps://bugzilla.mozilla.org/show_bug.cgi?id=1751796Closesgh-5018
1 parent683ceb8 commitaf1cd6f

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
@@ -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

14621468
testIframe(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp