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

Revert "Synthesize FCP for cached pages" #1641

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

svillar
Copy link
Member

@svillar svillar commented Nov 20, 2024

This reverts commit aae8014.

This workaround was added after the update to Gecko 121. The issues with first contentful paint are not here anymore so we can remove it and avoid synthesizing FCP events at the wrong time which were causing issues when taking screenshots of the web contents.

When those generated FCPs were issued, the Gecko compositor was not in a ready state to generate a screenshot and thus an exception was generated. Gecko was not handling it properly so it was affecting subsequent JNI calls causing crashes and hangs in Gecko.

Fixes #1638

This reverts commit aae8014.

This workaround was added after the update to Gecko 121. The issues
with first contentful paint are not here anymore so we can remove
it and avoid synthesizing FCP events at the wrong time which were
causing issues when taking screenshots of the web contents.

When those generated FCPs were issued, the Gecko compositor was
not in a ready state to generate a screenshot and thus an exception
was generated. Gecko was not handling it properly so it was
affecting subsequent JNI calls causing crashes and hangs in Gecko.

Fixes #1638
Copy link
Member

@javifernandez javifernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change fixes the issue, thanks.

However, since it removed the white screen shown while the webcontent is being loaded, it gives now the impression of slowness or unresponsiveness. Maybe we can do something about it in a follow up patch.

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.

[Meta] No web contents when adding new windows in v72
2 participants