Skip to content

Ignore skipped ViewTransition errors for hidden documents - #37702

Closed
mmaxjr wants to merge 1 commit into
react:mainfrom
mmaxjr:fix-view-transition-hidden-errors-37669
Closed

mmaxjr wants to merge 1 commit into
react:mainfrom
mmaxjr:fix-view-transition-hidden-errors-37669

Conversation

@mmaxjr

@mmaxjr mmaxjr commented Sep 27, 2026

Copy link
Copy Markdown

Fixes #37669

Chrome adds a reason to the InvalidStateError when a view transition is skipped, and Firefox uses a separate message. Both cases were being reported as recoverable errors when the document was hidden.

Ignore these messages and cover both cases with regression tests.

@meta-cla

meta-cla Bot commented Sep 27, 2026

Copy link
Copy Markdown

Hi @mmaxjr!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@github-actions

github-actions Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

The build for this commit did not complete, so there is no size report. See the workflow run for details.

Generated by sizebot against 2333b45

@mmaxjr

mmaxjr commented Oct 27, 2026

Copy link
Copy Markdown
Author

I have completed the Meta CLA registration. The CLA check is still waiting for the status update.

@meta-cla

meta-cla Bot commented Oct 27, 2026

Copy link
Copy Markdown

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@meta-cla meta-cla Bot added the CLA Signed label Oct 27, 2026
@rickhanlonii

Copy link
Copy Markdown
Contributor

Thanks! We merged #38034 instead because it handled more cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: hidden-document InvalidStateError from ViewTransition is reported again on Chrome 153+ (message now carries a reason suffix)

2 participants