Title: [258860] trunk/Tools
Revision
258860
Author
[email protected]
Date
2020-03-23 11:10:48 -0700 (Mon, 23 Mar 2020)

Log Message

Disable TestWebKitAPI.ProcessSwap.GetUserMediaCaptureState if getUserMedia is not supported
https://bugs.webkit.org/show_bug.cgi?id=209428

Reviewed by Jonathan Bedard.

* TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (258859 => 258860)


--- trunk/Tools/ChangeLog	2020-03-23 18:01:52 UTC (rev 258859)
+++ trunk/Tools/ChangeLog	2020-03-23 18:10:48 UTC (rev 258860)
@@ -1,3 +1,12 @@
+2020-03-23  youenn fablet  <[email protected]>
+
+        Disable TestWebKitAPI.ProcessSwap.GetUserMediaCaptureState if getUserMedia is not supported
+        https://bugs.webkit.org/show_bug.cgi?id=209428
+
+        Reviewed by Jonathan Bedard.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
+
 2020-03-23  Chris Lord  <[email protected]>
 
         Add missing committer status to Chris Lord in contributors.json

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm (258859 => 258860)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm	2020-03-23 18:01:52 UTC (rev 258859)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm	2020-03-23 18:10:48 UTC (rev 258860)
@@ -6298,6 +6298,8 @@
     done = false;
 }
 
+#if ENABLE(MEDIA_STREAM)
+
 static bool isCapturing = false;
 @interface GetUserMediaUIDelegate : NSObject<WKUIDelegate>
 - (void)_webView:(WKWebView *)webView requestUserMediaAuthorizationForDevices:(_WKCaptureDevices)devices url:(NSURL *)url mainFrameURL:(NSURL *)mainFrameURL decisionHandler:(void (^)(BOOL authorized))decisionHandler;
@@ -6385,6 +6387,8 @@
     isCapturing = false;
 }
 
+#endif
+
 #if !PLATFORM(MAC)
 static void traverseLayerTree(CALayer *layer, void(^block)(CALayer *))
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to