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

browser(firefox): resolve blank document race when accessing a11y #744

Closed
wants to merge 1 commit into from

Conversation

pavelfeldman
Copy link
Member

No description provided.

+ let callback;
+ const result = new Promise(f => callback = f);
+ const poll = () => {
+ if (!docAcc.firstChild && content.document.body.hasChildNodes()) {
Copy link
Contributor

@JoelEinbinder JoelEinbinder Jan 29, 2020

Choose a reason for hiding this comment

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

Is it always racing against a blank document? I expected it to be racing against some previous cached DOM state, which happens to be blank in our tests.

@JoelEinbinder
Copy link
Contributor

closed in favor of #755

@pavelfeldman pavelfeldman deleted the be_a11 branch April 17, 2020 21:11
sand4rt pushed a commit to sand4rt/playwright that referenced this pull request Dec 21, 2022
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
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