Title: [256528] trunk/Tools
- Revision
- 256528
- Author
- [email protected]
- Date
- 2020-02-13 11:42:56 -0800 (Thu, 13 Feb 2020)
Log Message
TestWebKitAPI: Conditionalize fullscreen tests on fullscreen API
https://bugs.webkit.org/show_bug.cgi?id=207397
<rdar://problem/59268128>
Reviewed by Jer Noble.
* TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm:
* TestWebKitAPI/Tests/WebKitCocoa/WKWebViewCloseAllMediaPresentations.mm:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (256527 => 256528)
--- trunk/Tools/ChangeLog 2020-02-13 19:23:53 UTC (rev 256527)
+++ trunk/Tools/ChangeLog 2020-02-13 19:42:56 UTC (rev 256528)
@@ -1,5 +1,16 @@
2020-02-13 Jonathan Bedard <[email protected]>
+ TestWebKitAPI: Conditionalize fullscreen tests on fullscreen API
+ https://bugs.webkit.org/show_bug.cgi?id=207397
+ <rdar://problem/59268128>
+
+ Reviewed by Jer Noble.
+
+ * TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm:
+ * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewCloseAllMediaPresentations.mm:
+
+2020-02-13 Jonathan Bedard <[email protected]>
+
TestWebKitAPI: Re-baseline DocumentEditingContext for Catalyst
https://bugs.webkit.org/show_bug.cgi?id=207696
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm (256527 => 256528)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm 2020-02-13 19:23:53 UTC (rev 256527)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm 2020-02-13 19:42:56 UTC (rev 256528)
@@ -25,7 +25,7 @@
#include "config.h"
-#if !PLATFORM(IOS_FAMILY_SIMULATOR)
+#if !PLATFORM(IOS_FAMILY_SIMULATOR) && ENABLE(FULLSCREEN_API)
#import "PlatformUtilities.h"
#import "Test.h"
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewCloseAllMediaPresentations.mm (256527 => 256528)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewCloseAllMediaPresentations.mm 2020-02-13 19:23:53 UTC (rev 256527)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewCloseAllMediaPresentations.mm 2020-02-13 19:42:56 UTC (rev 256528)
@@ -57,6 +57,8 @@
EXPECT_STREQ([webView stringByEvaluatingJavaScript:@"document.querySelector('video').webkitPresentationMode"].UTF8String, "inline");
}
+#if ENABLE(FULLSCREEN_API)
+
TEST(WKWebViewCloseAllMediaPresentations, VideoFullscreen)
{
auto configuration = adoptNS([[WKWebViewConfiguration alloc] init]);
@@ -108,3 +110,5 @@
EXPECT_STREQ([webView stringByEvaluatingJavaScript:@"document.webkitFullscreenElement"].UTF8String, "<null>");
}
+
+#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes