-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[BUG] page.waitForLoadState('networkidle') fails with nested cross origin iframes #2258
Comments
I can repro this, thank you for filing! |
Should be fixed in the 1.1 release. |
Do you know when the 1.1 version will be available? I am only seeing 1.0.2 when installing latest from NPM. Thanks! |
@scottadamsmith You can use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context:
Code Snippet
Reproduction is here: https:/k15a/pw-site-isolation-wait-for-bug
Describe the bug
If there are two nested iframes that run on different origins (e.g.
index.html
loads an iframe with srchttps://domain1.com/iframe.html
which loads an iframe with srchttps://domain2.com/iframe.html
) then usingpage.waitForLoadState('networkidle')
doesn't work unless you turn offIsolateOrigins
andsite-per-process
.It looks like the two requests to the
iframe.html
files never finish.The text was updated successfully, but these errors were encountered: