-
Notifications
You must be signed in to change notification settings - Fork 42
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
Problems with the "unloading document cleanup steps" #82
Comments
I think it's still active while unload a document runs, yes, but that's also one of the less clear areas of the HTML specification I hope to refactor. |
OK, that isn't totally surprising, but I assume that it will become not active shortly after and that at least firing events on it isn't actually something we want. (Even more weird would be if the events are queued and then arrive if the document becomes active again.) |
Yeah, if we needed to dispatch any events there they'd have to be carefully vetted I think. Even though fullscreen is a special state, it still shouldn't make it harder to navigate and such I think. |
There are some tests to revive in web-platform-tests/wpt#5887 if I get back to fixing this spec issue. |
The spec currently says says "Whenever the unloading document cleanup steps run with a document, fully exit fullscreen document."
Working on #65, I wrote web-platform-tests/wpt#5887 which was supposed to test this and passes in Firefox, but I've realized there are at least these problems:
It's tempting to just use unfullscreen a document, but when the top-level browsing context is navigated something has to "resize topLevelDoc’s viewport to its "normal" dimensions" and that's currently a part of the exit fullscreen algorithm.
The text was updated successfully, but these errors were encountered: