[iOS] LayoutTest media/modern-media-controls/media-controller/ios/media-controller...
authorgraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Jan 2018 16:10:34 +0000 (16:10 +0000)
committergraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Jan 2018 16:10:34 +0000 (16:10 +0000)
https://bugs.webkit.org/show_bug.cgi?id=181843
<rdar://problem/36061363>

The button we were trying to press was outside of the viewable screen area and so the tap wouldn't occur.
Resizing the video to fit in the window fixes the issue.

Reviewed by Youenn Fablet.

* media/modern-media-controls/media-controller/ios/media-controller-ios-do-not-hide-controls-when-tapping-button.html:

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

LayoutTests/ChangeLog
LayoutTests/media/modern-media-controls/media-controller/ios/media-controller-ios-do-not-hide-controls-when-tapping-button.html

index 081ba31..a99c973 100644 (file)
@@ -1,3 +1,16 @@
+2018-01-19  Antoine Quint  <graouts@apple.com>
+
+        [iOS] LayoutTest media/modern-media-controls/media-controller/ios/media-controller-ios-do-not-hide-controls-when-tapping-button.html fails on Internal bots
+        https://bugs.webkit.org/show_bug.cgi?id=181843
+        <rdar://problem/36061363>
+
+        The button we were trying to press was outside of the viewable screen area and so the tap wouldn't occur.
+        Resizing the video to fit in the window fixes the issue.
+
+        Reviewed by Youenn Fablet.
+
+        * media/modern-media-controls/media-controller/ios/media-controller-ios-do-not-hide-controls-when-tapping-button.html:
+
 2018-01-18  Frederic Wang  <fwang@igalia.com>
 
         Move helper files for iOS touch gestures into LayoutTests/resources
index 2ae92a6..fbeea74 100644 (file)
@@ -2,7 +2,7 @@
 <script src="../../resources/media-controls-utils.js" type="text/javascript"></script>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <body>
-<video src="../../../content/test.mp4" style="width: 800px; position: absolute; left: 0; top: 0;" type="video/mp4" playsinline muted autoplay controls></video>
+<video src="../../../content/test.mp4" style="width: 320px; position: absolute; left: 0; top: 0;" type="video/mp4" playsinline muted autoplay controls></video>
 <script type="text/javascript">
 
 window.jsTestIsAsync = true;