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

Fix a bug when calling load() with a rejected promise #2236

Merged
merged 1 commit into from
May 26, 2023

Conversation

texodus
Copy link
Member

@texodus texodus commented May 26, 2023

Passing a rejected promise to load() on a HTMLPerspectiveViewerElement causes internal errors which can interfere with state update notifications.

This PR fixes the issue and adds a test which repros the behavior on 2.1.3.

@texodus texodus added the bug Concrete, reproducible bugs label May 26, 2023
@texodus texodus merged commit b1604a7 into master May 26, 2023
@texodus texodus deleted the fix-load-failure-capture branch May 26, 2023 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant