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 test cases for Firefox 116 #1996

Merged
merged 2 commits into from
Aug 1, 2023
Merged

Fix test cases for Firefox 116 #1996

merged 2 commits into from
Aug 1, 2023

Conversation

JiuqingSong
Copy link
Collaborator

With latest Firefox release 116, the innerHTML generation result is changed. So we need to fix our test cases to let it pass in Firefox 116+.

e.g.
In Firefox 115 or earlier:

<ol data-listchain="id" start="3"></ol>

In Firefox 116 or later:

<ol start="3" data-listchain="id"></ol>

Added a new util function expectHtml to allow passing in multiple HTML string and match one of them.

@JiuqingSong JiuqingSong merged commit d0a934b into master Aug 1, 2023
@JiuqingSong JiuqingSong deleted the u/jisong/fixfirefoxbugs branch August 1, 2023 20:22
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.

2 participants