Commit 04197f6
authored
Unflake new-scroll-event-dispatched-at-next-updating-rendering-time.html in Safari (#59330)
The assertion related to the main bug measuring the timeOnTransitionRun relative to the timeOnScrollEvent is always passing in Safari.
The MQ listener happens occasionally too quickly and performance.now() ends up equal for both the scroll event and the MQ listener. This causes a flaky test failure in Safari. Make the test more flexible by allowing the timestamps to be equal.1 parent 37e0b1f commit 04197f6
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- html/webappapis/scripting/event-loops
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments