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(UI): Fix exception while casting to mismatched player version #7631

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

joeyparrish
Copy link
Member

If the remote player does not have getChapters(), the proxied call returns undefined. This led to exceptions when .length was accessed.

Reported as part of issue #7546

If the remote player does not have getChapters(), the proxied call returns undefined.  This led to exceptions when .length was accessed.

Reported as part of issue shaka-project#7546
@joeyparrish joeyparrish merged commit c9534a0 into shaka-project:main Nov 19, 2024
20 checks passed
@joeyparrish joeyparrish deleted the fix-ui-while-casting branch November 19, 2024 21:38
joeyparrish added a commit that referenced this pull request Nov 19, 2024
)

If the remote player does not have getChapters(), the proxied call returns undefined.  This led to exceptions when .length was accessed.

Reported as part of issue #7546
joeyparrish added a commit that referenced this pull request Nov 19, 2024
)

If the remote player does not have getChapters(), the proxied call returns undefined.  This led to exceptions when .length was accessed.

Reported as part of issue #7546
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