Title: [222931] trunk/LayoutTests
Revision
222931
Author
[email protected]
Date
2017-10-05 14:07:14 -0700 (Thu, 05 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>

We should do the isIgnored check instead of the null check.

Reviewed by Chris Fleizach.

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

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (222930 => 222931)


--- trunk/LayoutTests/ChangeLog	2017-10-05 20:39:04 UTC (rev 222930)
+++ trunk/LayoutTests/ChangeLog	2017-10-05 21:07:14 UTC (rev 222931)
@@ -1,3 +1,16 @@
+2017-10-05  Nan Wang  <[email protected]>
+
+        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>
+
+        We should do the isIgnored check instead of the null check.
+
+        Reviewed by Chris Fleizach.
+
+        * accessibility/ios-simulator/video-elements-ios-expected.txt:
+        * accessibility/ios-simulator/video-elements-ios.html:
+
 2017-10-05  Myles C. Maxfield  <[email protected]>
 
         Implement font-display loading behaviors

Modified: trunk/LayoutTests/accessibility/ios-simulator/video-elements-ios-expected.txt (222930 => 222931)


--- trunk/LayoutTests/accessibility/ios-simulator/video-elements-ios-expected.txt	2017-10-05 20:39:04 UTC (rev 222930)
+++ trunk/LayoutTests/accessibility/ios-simulator/video-elements-ios-expected.txt	2017-10-05 21:07:14 UTC (rev 222931)
@@ -4,10 +4,9 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS video2 is null
-AXLabel: Video label, 9 seconds
-AXValue: 0 seconds
-PASS video.description is 'AXLabel: Video label, 9 seconds'
+PASS video.isIgnored is false
+PASS video2.isIgnored is true
+PASS video.description is 'AXLabel: Video label1, 9 seconds'
 PASS video.stringValue is 'AXValue: 0 seconds'
 PASS vid.paused is true
 PASS vid.paused is false

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


--- trunk/LayoutTests/accessibility/ios-simulator/video-elements-ios.html	2017-10-05 20:39:04 UTC (rev 222930)
+++ trunk/LayoutTests/accessibility/ios-simulator/video-elements-ios.html	2017-10-05 21:07:14 UTC (rev 222931)
@@ -5,7 +5,7 @@
 </head>
 <body id="body">
 
-<video width="320" height="240" playsinline id="video" aria-label="Video label">
+<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>
@@ -27,15 +27,14 @@
     
         var vid = document.getElementById("video"); 
         var video = accessibilityController.accessibleElementById("video");
+        shouldBeFalse("video.isIgnored");
         
         // We shouldn't expose video elements with native controls
         var video2 = accessibilityController.accessibleElementById("video2");
-        shouldBeNull("video2");
+        shouldBeTrue("video2.isIgnored");
         
         vid._oncanplaythrough_ = function() {
-            debug(video.description);
-            debug(video.stringValue);
-            shouldBe("video.description", "'AXLabel: Video label, 9 seconds'");
+            shouldBe("video.description", "'AXLabel: Video label1, 9 seconds'");
             shouldBe("video.stringValue", "'AXValue: 0 seconds'");
             
             // Test play and pause.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to