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

How does frame pausing interact with page lifetime events? #16

Open
bzbarsky opened this issue Sep 16, 2017 · 1 comment
Open

How does frame pausing interact with page lifetime events? #16

bzbarsky opened this issue Sep 16, 2017 · 1 comment

Comments

@bzbarsky
Copy link

What happens if a paused frame is removed from the document? Does beforeunload fire? Does unload fire? Do they fire in this situation currently?

@jkarlin
Copy link
Owner

jkarlin commented Oct 3, 2017

I'm inclined to say that if the frame isn't unpaused before unloading then it shouldn't get to run beforeunload. If it's important that a frame be unloaded, then the embedding page can unpause it in its beforeunload.

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

No branches or pull requests

2 participants