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(screenshot): do not stall on hideHiglight attempt 2 #13222

Merged
merged 1 commit into from
Mar 31, 2022

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Mar 31, 2022

It turns out that "non stalling evaluate" can stall in Chromium in some weird conditions, like document.open after some weird iframe.src value.

We now only hide highlight in those frames where we did install highlight in the first place.

Fixes #13204.

It turns out that "non stalling evaluate" can stall in Chromium
in some weird conditions, like `document.open` after some weird
`iframe.src` value.

We now only hide highlight in those frames where we did install
highlight in the first place.
@dgozman dgozman merged commit 9fc95dd into microsoft:main Mar 31, 2022
dgozman added a commit to dgozman/playwright that referenced this pull request Mar 31, 2022
…glight attempt 2

It turns out that "non stalling evaluate" can stall in Chromium
in some weird conditions, like `document.open` after some weird
`iframe.src` value.

We now only hide highlight in those frames where we did install
highlight in the first place.
aslushnikov pushed a commit that referenced this pull request Mar 31, 2022
…tempt 2 (#13228)

It turns out that "non stalling evaluate" can stall in Chromium
in some weird conditions, like `document.open` after some weird
`iframe.src` value.

We now only hide highlight in those frames where we did install
highlight in the first place.
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.

[BUG] mask stalls the screenshot
2 participants