Unreviewed test gardening; NowPlayingTest API tests require High Sierra.
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Aug 2018 23:39:54 +0000 (23:39 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Aug 2018 23:39:54 +0000 (23:39 +0000)
* TestWebKitAPI/Tests/WebKitCocoa/NowPlaying.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235486 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKitCocoa/NowPlaying.mm

index e38e33a..3ad6772 100644 (file)
@@ -1,3 +1,9 @@
+2018-08-29  Jer Noble  <jer.noble@apple.com>
+
+        Unreviewed test gardening; NowPlayingTest API tests require High Sierra.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/NowPlaying.mm:
+
 2018-08-29  Youenn Fablet  <youenn@apple.com>
 
         Remove WebRTC legacy API implementation
index 6860cbd..9389476 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "config.h"
 
-#if WK_API_ENABLED && PLATFORM(COCOA) && USE(MEDIAREMOTE)
+#if WK_API_ENABLED && USE(MEDIAREMOTE) && (PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 101304))
 
 #import "PlatformUtilities.h"
 #import "TestWKWebView.h"
@@ -271,4 +271,4 @@ TEST_F(NowPlayingTest, VideoElementWithoutAudioPlayWithUserGesture)
     ASSERT_NE(webViewPid(), getNowPlayingClientPid());
 }
 
-#endif // WK_API_ENABLED && PLATFORM(COCOA) && USE(MEDIAREMOTE)
+#endif // WK_API_ENABLED && USE(MEDIAREMOTE) && (PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 101304))