Title: [198048] trunk/Tools
- Revision
- 198048
- Author
- [email protected]
- Date
- 2016-03-11 14:49:00 -0800 (Fri, 11 Mar 2016)
Log Message
[ios-sim debug] API tests RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback and RequiresUserActionForAudioButNotVideoPlayback asserting
https://bugs.webkit.org/show_bug.cgi?id=155365
Reviewed by Darin Adler.
Allow tests running on iOS simulator to play video inline, avoiding this assert.
* TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
(RequiresUserActionForPlaybackTest::SetUp):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (198047 => 198048)
--- trunk/Tools/ChangeLog 2016-03-11 22:25:21 UTC (rev 198047)
+++ trunk/Tools/ChangeLog 2016-03-11 22:49:00 UTC (rev 198048)
@@ -1,3 +1,15 @@
+2016-03-11 Jer Noble <[email protected]>
+
+ [ios-sim debug] API tests RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback and RequiresUserActionForAudioButNotVideoPlayback asserting
+ https://bugs.webkit.org/show_bug.cgi?id=155365
+
+ Reviewed by Darin Adler.
+
+ Allow tests running on iOS simulator to play video inline, avoiding this assert.
+
+ * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
+ (RequiresUserActionForPlaybackTest::SetUp):
+
2016-03-11 Frederic Wang <[email protected]>
[jhbuild] Disable LLVM OCaml bindings.
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm (198047 => 198048)
--- trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm 2016-03-11 22:25:21 UTC (rev 198047)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm 2016-03-11 22:49:00 UTC (rev 198048)
@@ -75,6 +75,7 @@
[[configuration userContentController] addScriptMessageHandler:handler.get() name:@"playingHandler"];
configuration.get()._mediaDataLoadsAutomatically = YES;
#if TARGET_OS_IPHONE
+ configuration.get().allowsInlineMediaPlayback = YES;
configuration.get().requiresUserActionForMediaPlayback = NO;
#endif
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes