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: html fullscreen transitions stacking #32905
Conversation
a39fc70
to
93420d9
Compare
08190ce
to
5e10965
Compare
8576f08
to
3892f46
Compare
I wonder if we should just disable the " requestFullscreen from webview pressing ESC should emit the leave-html-full-screen event" test for mac arm64, the test has been flaky and we are unlikely to get a m1 MacBook in a short time to fix it. |
@zcbenz I think that test has been more stable. It appears that something in this PR is triggering it consistently. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
macOS arm64 failures are new and should be addressed.
@jkleinsc they're not new - what happened is similar to your comment here: electron/spec-main/webview-spec.ts Line 439 in 5fc761d
where further subsequent tests fail if that one is run on arm64. I added a new test above the test that's failing, and thereby caused the same thing to happen since the newly-failing test is being affected. This is also true on main if i do something similar, though, and so isn't caused by this PR. I've pushed a commit to disable the flakes and will prioritize figuring it out in a follow up :D |
3892f46
to
5fc761d
Compare
I was unable to backport this PR to "18-x-y" cleanly; |
I was unable to backport this PR to "17-x-y" cleanly; |
I was unable to backport this PR to "19-x-y" cleanly; |
I have automatically backported this PR to "20-x-y", please check out #34468 |
@codebytere has manually backported this PR to "19-x-y", please check out #34908 |
@codebytere has manually backported this PR to "18-x-y", please check out #34909 |
* fix: html fullscreen transitions stacking * spec: move webview test to spec-main
Description of Change
Closes #32894.
Addresses improper fullscreen transition stacking when the fullscreen is HTML-initiated as a follow-up to #25470. As a result of this, the full window transition queue resolves prior to window destruction.
Checklist
npm test
passesRelease Notes
Notes: Fixes an issue with fullscreen transitions when HTML fullscreen is requested.