Skip to content

Fix test cases for Firefox 116#1996

Merged
JiuqingSong merged 2 commits intomasterfrom
u/jisong/fixfirefoxbugs
Aug 1, 2023
Merged

Fix test cases for Firefox 116#1996
JiuqingSong merged 2 commits intomasterfrom
u/jisong/fixfirefoxbugs

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