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: ensure that requestMediaKeySystemAccess resolves #34891

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Jul 12, 2022

Backport of #34886

See that PR for details.

Notes: Ensures that requestMediaKeySystemAccess eventually resolves / rejects

When widevine was disabled at the build level we never dealt with the callback passed into GetSupportedKeySystems.  This was ok until requests became marked pending in https://chromium-review.googlesource.com/c/chromium/src/+/3430502 until the callback was called.  This resulted in a promise never resolving / rejecting and certain media websites (E.g. spotify) hanging on load waiting for a signal that would never arrive.
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jul 12, 2022
@trop trop bot requested a review from MarshallOfSound July 12, 2022 07:49
@trop trop bot added 20-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Jul 12, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jul 12, 2022
@VerteDinde VerteDinde merged commit 603a4af into 20-x-y Jul 12, 2022
@VerteDinde VerteDinde deleted the trop/20-x-y-bp-fix-ensure-that-requestmediakeysystemaccess-resolves-1657612172164 branch July 12, 2022 17:56
@release-clerk
Copy link

release-clerk bot commented Jul 12, 2022

Release Notes Persisted

Ensures that requestMediaKeySystemAccess eventually resolves / rejects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
20-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants