Skip to content

[css-view-transitions-1] Make the ready promise rejection conditional, since it may have already been resolved. #7903

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

Merged
merged 2 commits into from
Oct 19, 2022

Conversation

vmpstr
Copy link
Member

@vmpstr vmpstr commented Oct 18, 2022

[css-view-transitions-1] Make the ready promise rejection conditional, since it may have already been resolved.

Co-authored-by: Khushal Sagar <63884798+khushalsagar@users.noreply.github.com>
@khushalsagar khushalsagar merged commit b71b354 into w3c:main Oct 19, 2022
@tabatkins
Copy link
Member

This isn't necessary; rejecting an already-resolved promise is perfectly valid and simply a no-op. The observable behavior is identical both before and after this change.

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.

3 participants