Title: [222999] trunk/LayoutTests
Revision
222999
Author
n_w...@apple.com
Date
2017-10-06 14:41:01 -0700 (Fri, 06 Oct 2017)

Log Message

AX: [iOS] Layout Test accessibility/ios-simulator/video-elements-ios.html is failing
https://bugs.webkit.org/show_bug.cgi?id=177954
<rdar://problem/34838094>

The test is flaky because that the video element has triggered the canplaythrough event before
we registered the event handler. Fixed it by setting the source after registering the handler.

Reviewed by Chris Fleizach.

* accessibility/ios-simulator/video-elements-ios.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (222998 => 222999)


--- trunk/LayoutTests/ChangeLog	2017-10-06 21:40:31 UTC (rev 222998)
+++ trunk/LayoutTests/ChangeLog	2017-10-06 21:41:01 UTC (rev 222999)
@@ -1,3 +1,16 @@
+2017-10-06  Nan Wang  <n_w...@apple.com>
+
+        AX: [iOS] Layout Test accessibility/ios-simulator/video-elements-ios.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=177954
+        <rdar://problem/34838094>
+
+        The test is flaky because that the video element has triggered the canplaythrough event before
+        we registered the event handler. Fixed it by setting the source after registering the handler.
+
+        Reviewed by Chris Fleizach.
+
+        * accessibility/ios-simulator/video-elements-ios.html:
+
 2017-10-06  Sam Weinig  <s...@webkit.org>
 
         Add basic support for getting a ImageBitmapRenderingContext

Modified: trunk/LayoutTests/accessibility/ios-simulator/video-elements-ios.html (222998 => 222999)


--- trunk/LayoutTests/accessibility/ios-simulator/video-elements-ios.html	2017-10-06 21:40:31 UTC (rev 222998)
+++ trunk/LayoutTests/accessibility/ios-simulator/video-elements-ios.html	2017-10-06 21:41:01 UTC (rev 222999)
@@ -5,10 +5,7 @@
 </head>
 <body id="body">
 
-<video width="320" height="240" playsinline id="video" aria-label="Video label1">
-  <source src="" type="video/mp4">
-  Your browser does not support the video tag.
-</video>
+<video width="320" height="240" playsinline id="video" aria-label="Video label1"></video>
 
 <video width="320" height="240" controls id="video2" aria-label="Video label2">
   <source src="" type="video/mp4">
@@ -54,6 +51,7 @@
             finishJSTest();
         };
         
+        vid.src = ""
     }
     
 </script>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to