Skip to content

fix: ensure that requestMediaKeySystemAccess resolves - #34886

Merged
MarshallOfSound merged 1 commit into
mainfrom
fix-requestMediaKeySystemAccess
Jul 12, 2022
Merged

fix: ensure that requestMediaKeySystemAccess resolves#34886
MarshallOfSound merged 1 commit into
mainfrom
fix-requestMediaKeySystemAccess

Conversation

@MarshallOfSound

Copy link
Copy Markdown
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 recently label Jul 12, 2022
@MarshallOfSound MarshallOfSound added semver/patch backwards-compatible bug fixes target/18-x-y and removed new-pr 🌱 PR opened recently labels Jul 12, 2022
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently 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

release-clerk Bot commented Jul 12, 2022

Copy link
Copy Markdown

Release Notes Persisted

Ensures that requestMediaKeySystemAccess eventually resolves / rejects

@trop

trop Bot commented Jul 12, 2022

Copy link
Copy Markdown
Contributor

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

@trop

trop Bot commented Jul 12, 2022

Copy link
Copy Markdown
Contributor

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

@trop

trop Bot commented Jul 12, 2022

Copy link
Copy Markdown
Contributor

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 recently semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants