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 #34886

Merged
merged 1 commit into from Jul 12, 2022

Conversation

MarshallOfSound
Copy link
Member

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.

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
@MarshallOfSound MarshallOfSound added semver/patch backwards-compatible bug fixes target/18-x-y and removed new-pr 🌱 PR opened in the last 24 hours labels Jul 12, 2022
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jul 12, 2022
@MarshallOfSound MarshallOfSound merged commit 511ff8b into main Jul 12, 2022
@MarshallOfSound MarshallOfSound deleted the fix-requestMediaKeySystemAccess branch July 12, 2022 07:48
@release-clerk
Copy link

release-clerk bot commented Jul 12, 2022

Release Notes Persisted

Ensures that requestMediaKeySystemAccess eventually resolves / rejects

@trop
Copy link
Contributor

trop bot commented Jul 12, 2022

I was unable to backport this PR to "18-x-y" cleanly;
you will need to perform this backport manually.

@trop
Copy link
Contributor

trop bot commented Jul 12, 2022

I have automatically backported this PR to "19-x-y", please check out #34890

@trop
Copy link
Contributor

trop bot commented Jul 12, 2022

I have automatically backported this PR to "20-x-y", please check out #34891

@trop trop bot removed the in-flight/20-x-y label Jul 12, 2022
schetle pushed a commit to schetle/electron that referenced this pull request Nov 3, 2022
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.
khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-pr 🌱 PR opened in the last 24 hours semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants