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: DCHECK entering fullscreen while loading url #35111
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
codebytere
force-pushed
the
fix-dcheck-fullscreen
branch
from
July 28, 2022 09:54
2ba8c60
to
c34d501
Compare
VerteDinde
approved these changes
Jul 28, 2022
jkleinsc
requested changes
Jul 28, 2022
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.
It appears that this change is causing test failures
jkleinsc
approved these changes
Aug 1, 2022
No Release Notes |
This was referenced Aug 1, 2022
I have automatically backported this PR to "19-x-y", please check out #35164 |
I have automatically backported this PR to "20-x-y", please check out #35165 |
schetle
pushed a commit
to schetle/electron
that referenced
this pull request
Nov 3, 2022
* fix: DCHECK entering fullscreen while loading url * spec: fixup test
khalwa
pushed a commit
to solarwindscloud/electron
that referenced
this pull request
Feb 22, 2023
* fix: DCHECK entering fullscreen while loading url * spec: fixup test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
Fixes a DCHECK introduced by #32905. This was happening because I adapted
WebContents::IsFullscreenForTabOrPending
to also return true if the window was in a fullscreen transition state, but this only applies in the context of the problem is the window is entering fullscreen from html. e.g. withdocument.enterFullscreen()
. This change makes it so that html fullscreen and native fullscreen both receive appropriate values.Stacktrace
Checklist
npm test
passesRelease Notes
Notes: none.