Skip to content

Tests: Workaround an XML parsing bug in Firefox #5018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

mgol
Copy link
Member

@mgol mgol commented Feb 22, 2022

Summary

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

Checklist

Sorry, something went wrong.

@mgol mgol added this to the 3.6.1 milestone Feb 22, 2022
@mgol mgol self-assigned this Feb 22, 2022
Copy link
Member

@timmywil timmywil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mgol mgol removed the Needs review label Feb 28, 2022
@mgol mgol merged commit af1cd6f into jquery:main Feb 28, 2022
@mgol mgol deleted the xml-error-reporting-fix branch February 28, 2022 17:26
@mgol
Copy link
Member Author

mgol commented Feb 28, 2022

Landed in af1cd6f on main & in be3bd56 on 3.x-stable.

mgol added a commit to mgol/jquery that referenced this pull request Sep 5, 2022
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.

Ref jquerygh-5018
mgol added a commit that referenced this pull request Oct 3, 2022
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
mgol added a commit that referenced this pull request Oct 3, 2022
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 e7ffe1f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants