Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ef91821a05e7c4bc43099f8c20aa29fab35d6e95
https://github.com/WebKit/WebKit/commit/ef91821a05e7c4bc43099f8c20aa29fab35d6e95
Author: Jer Noble <[email protected]>
Date: 2026-08-21 (Fri, 21 Aug 2026)
Changed paths:
M LayoutTests/fast/quirks/active-quirks-by-domain-expected.txt
M LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt
M
LayoutTests/platform/mac-sequoia/fast/quirks/active-quirks-by-domain-expected.txt
M
LayoutTests/platform/mac-tahoe/fast/quirks/active-quirks-by-domain-expected.txt
M Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeys.cpp
M Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeys.h
M Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeys.idl
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/Quirks.h
M Source/WebCore/page/QuirksData.h
Log Message:
-----------
REGRESSION(312373@main): [iPad] Spotify music videos fail to play
rdar://178167054
https://bugs.webkit.org/show_bug.cgi?id=322239
Reviewed by Eric Carlson.
Spotify gates music video playback on whether the following call returns true:
> WebKitMediaKeys.isTypeSupported("com.apple.fps.1_0", "video/mp2t; ...");
However, 312373@main fixed a bug where the MSE MediaPlayer would report that it
was capable of playing back MIME types like "video/mp2t", and web-facing APIs
like HTMLMediaElement.canPlayType() and WebKitMediaKeys.isTypeSupported() would
falsely return that those MIME types were playable.
Fixing this bug broke Spotify's query, which was always incorrect. Restore the
behavior prior to 312373@main by quirking WebKitMediaKeys.isTypeSupported()
to return `true` when asked about MPEG-2 transport streams.
* Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeys.cpp:
(WebCore::WebKitMediaKeys::isTypeSupported):
* Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeys.h:
* Source/WebCore/Modules/encryptedmedia/legacy/WebKitMediaKeys.idl:
* Source/WebCore/page/Quirks.cpp:
* Source/WebCore/page/Quirks.h:
* Source/WebCore/page/QuirksData.h:
Canonical link: https://commits.webkit.org/319625@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications