A build break happens with MODERN_MEDIA_CONTROLS disabled after 264293@main. https://github.com/WebKit/WebKit/commit/0ee37c4333af683443d1934d4cbb137bfcc7cb26#diff-7ac4f7324d9124e084a5beb893df1cebec8aaf139685b7a8675eba3b35a942edR108-R119 > enum class SourceType : uint8_t { > File, > HLS, > MediaSource, > ManagedMediaSource, > MediaStream, > LiveStream, > StoredStream, > }; > > std::optional<SourceType> sourceType() const; These code should be blocked by "ENABLE(MODERN_MEDIA_CONTROLS)"
WebCore/Modules/mediacontrols/MediaControlsHost.idl also needs to define "sourceType" with [Conditional=MODERN_MEDIA_CONTROLS].
Pull request: https://github.com/WebKit/WebKit/pull/14173
Committed 264335@main (e76387590957): <https://commits.webkit.org/264335@main> Reviewed commits have been landed. Closing PR #14173 and removing active labels.
<rdar://problem/109669766>