Title: [212975] trunk/Tools
Revision
212975
Author
mra...@apple.com
Date
2017-02-24 16:17:36 -0800 (Fri, 24 Feb 2017)

Log Message

API test WebKit2.WebsitePoliciesPlayAfterPreventedAutoplay is timing out
https://bugs.webkit.org/show_bug.cgi?id=167466

Reviewed by Alex Christensen.

* TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
(TEST): Use the correct API version.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (212974 => 212975)


--- trunk/Tools/ChangeLog	2017-02-25 00:05:45 UTC (rev 212974)
+++ trunk/Tools/ChangeLog	2017-02-25 00:17:36 UTC (rev 212975)
@@ -1,3 +1,13 @@
+2017-02-23  Matt Rajca  <mra...@apple.com>
+
+        API test WebKit2.WebsitePoliciesPlayAfterPreventedAutoplay is timing out
+        https://bugs.webkit.org/show_bug.cgi?id=167466
+
+        Reviewed by Alex Christensen.
+
+        * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
+        (TEST): Use the correct API version.
+
 2017-02-20  Wenson Hsieh  <wenson_hs...@apple.com>
 
         Refactor data interaction to use new WKDataInteraction SPI

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm (212974 => 212975)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm	2017-02-25 00:05:45 UTC (rev 212974)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm	2017-02-25 00:17:36 UTC (rev 212975)
@@ -252,8 +252,7 @@
     receivedAlert = true;
 }
 
-// FIXME: webkit.org/b/167466 Re-enable this test once the cause of timeouts on the bots can be fixed.
-TEST(WebKit2, DISABLED_WebsitePoliciesPlayAfterPreventedAutoplay)
+TEST(WebKit2, WebsitePoliciesPlayAfterPreventedAutoplay)
 {
     auto configuration = adoptNS([[WKWebViewConfiguration alloc] init]);
     auto webView = adoptNS([[TestWKWebView alloc] initWithFrame:NSMakeRect(0, 0, 336, 276) configuration:configuration.get()]);
@@ -267,7 +266,7 @@
     WKPageUIClientV9 uiClient;
     memset(&uiClient, 0, sizeof(uiClient));
 
-    uiClient.base.version = 8;
+    uiClient.base.version = 9;
     uiClient.didPlayMediaPreventedFromPlayingWithoutUserGesture = didPlayMediaPreventedFromPlayingWithoutUserGesture;
 
     WKPageSetPageUIClient([webView _pageForTesting], &uiClient.base);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to