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(frames): make sure evaluation does not hang in detached iframes #3770

Merged
merged 3 commits into from Jan 15, 2019

Conversation

aslushnikov
Copy link
Contributor

Fix #3261

test/frame.spec.js Outdated Show resolved Hide resolved
Node.js is very unhappy when there's a rejected promise that
is not caught by the end of the task - it throws an 'unhandled promise rejection'.

Instead of storing a rejected promise, throw explicitly when trying
to fetch execution context for detached frame.
@aslushnikov aslushnikov merged commit 9083c11 into puppeteer:master Jan 15, 2019
@aslushnikov aslushnikov deleted the fix-detached-iframes branch January 15, 2019 01:24
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.

None yet

2 participants