Modified: trunk/Tools/ChangeLog (272614 => 272615)
--- trunk/Tools/ChangeLog 2021-02-09 22:48:15 UTC (rev 272614)
+++ trunk/Tools/ChangeLog 2021-02-09 22:51:09 UTC (rev 272615)
@@ -1,5 +1,13 @@
2021-02-09 Alex Christensen <[email protected]>
+ Fix Catalina build.
+ https://bugs.webkit.org/show_bug.cgi?id=221431
+
+ * TestWebKitAPI/Tests/WebKitCocoa/MediaSession.mm:
+ (TestWebKitAPI::TEST_F):
+
+2021-02-09 Alex Christensen <[email protected]>
+
Synthesize range responses if needed in WebCoreNSURLSession
https://bugs.webkit.org/show_bug.cgi?id=221072
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/MediaSession.mm (272614 => 272615)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/MediaSession.mm 2021-02-09 22:48:15 UTC (rev 272614)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/MediaSession.mm 2021-02-09 22:51:09 UTC (rev 272615)
@@ -271,7 +271,7 @@
listenForSessionHandlerMessages({ "play", "pause", "seekto", "seekforward", "seekbackward", "previoustrack", "nexttrack" });
listenForEventMessages({ "play", "pause", "seeked" });
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
+#if __MAC_OS_X_VERSION_MIN_REQUIRED > 101500
static Vector<MRMediaRemoteCommand> registeredCommands = { MRMediaRemoteCommandPlay };
auto currentCommands = getSupportedCommands();
for (MRCommandInfo *command in currentCommands.get()) {
@@ -316,7 +316,7 @@
listenForSessionHandlerMessages({ "play", "pause", "seekto", "seekforward", "seekbackward", "previoustrack", "nexttrack" });
listenForEventMessages({ "play", "pause", "seeked" });
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
+#if __MAC_OS_X_VERSION_MIN_REQUIRED > 101500
static Vector<MRMediaRemoteCommand> registeredCommands = { MRMediaRemoteCommandPlay, MRMediaRemoteCommandPause, MRMediaRemoteCommandSeekToPlaybackPosition, MRMediaRemoteCommandSkipForward, MRMediaRemoteCommandSkipBackward, MRMediaRemoteCommandPreviousTrack, MRMediaRemoteCommandNextTrack };
auto currentCommands = getSupportedCommands();
for (MRCommandInfo *command in currentCommands.get()) {