Skip to content

Conversation

straker
Copy link
Contributor

@straker straker commented Sep 16, 2025

The function is no longer used in the code base and was replaced in #4093

Closes: #4129

@straker straker requested a review from a team as a code owner September 16, 2025 15:31
straker added a commit that referenced this pull request Sep 17, 2025
This test in firefox started to fail all of a sudden, and [almost
consistently](#4881). I
couldn't figure out why the test kept failing, so after playing around
with the order of operations I figured out that the iframe is loading
axe and calling the `axe-loaded` event [_before_ mocha runs the
`before`](https://app.circleci.com/pipelines/github/dequelabs/axe-core/7369/workflows/8fa125f3-2a32-43d9-8ec9-d5a9ccd172df/jobs/79258?invite=true#step-109-11841_78)
where we look for the event. So to fix it I changed up the loading order
so the script runs first and adds the event tracking, and now the event
tracking now happens outside the `before` function and keeps track of
the logs. Then inside the `before` we see if the message has already
been fired, otherwise we listen to the event as we were doing before.
@straker straker force-pushed the deprecate-from-frame branch 2 times, most recently from 224b180 to c3b5912 Compare September 17, 2025 17:03
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.

Deprecate DqElement.fromFrame
3 participants