Skip to content
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

Fix infinite recursion for edge-case comparison #298

Merged
merged 1 commit into from
Nov 20, 2019

Conversation

sunesimonsen
Copy link
Member

We are currently going into infinite recursion if you compare a DOMDocumentFragment with a DOMElement.

I special cases those comparisons to fail.

Copy link
Member

@papandreou papandreou left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@coveralls
Copy link

coveralls commented Nov 20, 2019

Pull Request Test Coverage Report for Build 1254

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 93.565%

Totals Coverage Status
Change from base Build 1249: 0.0%
Covered Lines: 688
Relevant Lines: 718

💛 - Coveralls

We are currently going into infinite recursion if you compare a
DOMDocumentFragment with a DOMElement. I special cases those comparisons to fail.
@sunesimonsen sunesimonsen force-pushed the ssimonsen/compare-fragment-with-element branch from 2b0e511 to 247069e Compare November 20, 2019 19:40
@sunesimonsen sunesimonsen merged commit c6e8106 into master Nov 20, 2019
@sunesimonsen sunesimonsen deleted the ssimonsen/compare-fragment-with-element branch November 20, 2019 20:05
@sunesimonsen
Copy link
Member Author

Released as [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants