Title: [188704] trunk/LayoutTests
Revision
188704
Author
[email protected]
Date
2015-08-20 14:42:02 -0700 (Thu, 20 Aug 2015)

Log Message

AX: Mac doesn't have expectation for LayoutTests/accessibility/table-cells-roles.html test
https://bugs.webkit.org/show_bug.cgi?id=148236

Patch by Nan Wang <[email protected]> on 2015-08-20
Reviewed by Chris Fleizach.

* accessibility/table-cells-roles-expected.txt:
* accessibility/table-cells-roles.html:
* platform/mac/TestExpectations:
* platform/mac/accessibility/table-cells-roles-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (188703 => 188704)


--- trunk/LayoutTests/ChangeLog	2015-08-20 21:36:57 UTC (rev 188703)
+++ trunk/LayoutTests/ChangeLog	2015-08-20 21:42:02 UTC (rev 188704)
@@ -1,3 +1,15 @@
+2015-08-20  Nan Wang  <[email protected]>
+
+        AX: Mac doesn't have expectation for LayoutTests/accessibility/table-cells-roles.html test
+        https://bugs.webkit.org/show_bug.cgi?id=148236
+
+        Reviewed by Chris Fleizach.
+
+        * accessibility/table-cells-roles-expected.txt:
+        * accessibility/table-cells-roles.html:
+        * platform/mac/TestExpectations:
+        * platform/mac/accessibility/table-cells-roles-expected.txt: Added.
+
 2015-08-20  Chris Dumez  <[email protected]>
 
         REGRESSION: http/tests/cache/disk-cache/disk-cache-revalidation-new-expire-header.html is very flaky

Modified: trunk/LayoutTests/accessibility/table-cells-roles-expected.txt (188703 => 188704)


--- trunk/LayoutTests/accessibility/table-cells-roles-expected.txt	2015-08-20 21:36:57 UTC (rev 188703)
+++ trunk/LayoutTests/accessibility/table-cells-roles-expected.txt	2015-08-20 21:42:02 UTC (rev 188704)
@@ -14,15 +14,15 @@
 
 This test checks the correctness of roles for different cases of table cells.
 
-The table cell at (2,0) should have a role AXRole: AXColumnHeader , currently it has AXRole: AXColumnHeader .
-The table cell at (1,2) should have a role AXRole: AXCell , currently it has AXRole: AXCell .
-The table cell at (2,3) should have a role AXRole: AXCell , currently it has AXRole: AXCell .
-The table cell at (1,4) should have a role AXRole: AXCell , currently it has AXRole: AXCell .
-The table cell at (0,2) should have a role AXRole: AXRowHeader , currently it has AXRole: AXRowHeader .
-The table cell at (0,4) should have a role AXRole: AXRowHeader , currently it has AXRole: AXRowHeader .
+The table cell at (2,0) currently has role  AXRole: AXColumnHeader .
+The table cell at (1,2) currently has role  AXRole: AXCell .
+The table cell at (2,3) currently has role  AXRole: AXCell .
+The table cell at (1,4) currently has role  AXRole: AXCell .
+The table cell at (0,2) currently has role  AXRole: AXRowHeader .
+The table cell at (0,4) currently has role  AXRole: AXRowHeader .
 
-The table2 cell at (2,0) should have a role AXRole: AXColumnHeader , currently it has AXRole: AXColumnHeader .
-The table2 cell at (1,2) should have a role AXRole: AXCell , currently it has AXRole: AXCell .
-The table2 cell at (2,3) should have a role AXRole: AXCell , currently it has AXRole: AXCell .
-The table2 cell at (0,2) should have a role AXRole: AXRowHeader , currently it has AXRole: AXRowHeader .
+The table2 cell at (2,0) currently has role  AXRole: AXColumnHeader .
+The table2 cell at (1,2) currently has role  AXRole: AXCell .
+The table2 cell at (2,3) currently has role  AXRole: AXCell .
+The table2 cell at (0,2) currently has role  AXRole: AXRowHeader .
 

Modified: trunk/LayoutTests/accessibility/table-cells-roles.html (188703 => 188704)


--- trunk/LayoutTests/accessibility/table-cells-roles.html	2015-08-20 21:36:57 UTC (rev 188703)
+++ trunk/LayoutTests/accessibility/table-cells-roles.html	2015-08-20 21:42:02 UTC (rev 188704)
@@ -1,4 +1,5 @@
 <html>
+<script src=""
 <script>
   if (window.testRunner)
     testRunner.dumpAsText();
@@ -70,7 +71,7 @@
 <br>
 <br>
 <p>This test checks the correctness of roles for different cases of table cells.</p>
-<div id="result"></div>
+<div id="console"></div>
 
 <script>
   if (window.accessibilityController) {
@@ -88,14 +89,13 @@
       var cell6 = table.cellForColumnAndRow(0, 4);
       var role6 = cell6.role;
 
-      result.innerText += "The table cell at (2,0) should have a role  AXRole: AXColumnHeader , currently it has  " + role1 + " .\n";
-      result.innerText += "The table cell at (1,2) should have a role  AXRole: AXCell , currently it has  " + role2 + " .\n";
-      result.innerText += "The table cell at (2,3) should have a role  AXRole: AXCell , currently it has  " + role3 + " .\n";
-      result.innerText += "The table cell at (1,4) should have a role  AXRole: AXCell , currently it has  " + role4 + " .\n";
-      result.innerText += "The table cell at (0,2) should have a role  AXRole: AXRowHeader , currently it has  " + role5 + " .\n";
-      result.innerText += "The table cell at (0,4) should have a role  AXRole: AXRowHeader , currently it has  " + role6 + " .\n";
+      debug("The table cell at (2,0) currently has role  " + role1 + " .");
+      debug("The table cell at (1,2) currently has role  " + role2 + " .");
+      debug("The table cell at (2,3) currently has role  " + role3 + " .");
+      debug("The table cell at (1,4) currently has role  " + role4 + " .");
+      debug("The table cell at (0,2) currently has role  " + role5 + " .");
+      debug("The table cell at (0,4) currently has role  " + role6 + " .\n");
 
-      result.innerText += "\n";
 
       var table2 = accessibilityController.accessibleElementById("table2");
       var cell21 = table2.cellForColumnAndRow(2, 0);
@@ -107,10 +107,10 @@
       var cell25 = table2.cellForColumnAndRow(0, 2);
       var role25 = cell25.role;
 
-      result.innerText += "The table2 cell at (2,0) should have a role  AXRole: AXColumnHeader , currently it has  " + role21 + " .\n";
-      result.innerText += "The table2 cell at (1,2) should have a role  AXRole: AXCell , currently it has  " + role22 + " .\n";
-      result.innerText += "The table2 cell at (2,3) should have a role  AXRole: AXCell , currently it has  " + role23 + " .\n";
-      result.innerText += "The table2 cell at (0,2) should have a role  AXRole: AXRowHeader , currently it has  " + role25 + " .\n";
+      debug("The table2 cell at (2,0) currently has role  " + role21 + " .");
+      debug("The table2 cell at (1,2) currently has role  " + role22 + " .");
+      debug("The table2 cell at (2,3) currently has role  " + role23 + " .");
+      debug("The table2 cell at (0,2) currently has role  " + role25 + " .");
     }
 </script>
 

Modified: trunk/LayoutTests/platform/mac/TestExpectations (188703 => 188704)


--- trunk/LayoutTests/platform/mac/TestExpectations	2015-08-20 21:36:57 UTC (rev 188703)
+++ trunk/LayoutTests/platform/mac/TestExpectations	2015-08-20 21:42:02 UTC (rev 188704)
@@ -878,8 +878,6 @@
 
 webkit.org/b/116259 http/tests/cache/willsendrequest-returns-null-for-memory-cache-load.html [ Pass Failure ]
 
-webkit.org/b/137737 accessibility/table-cells-roles.html [ Skip ]
-
 # --- Start media tests ---
 ## --- Start media wontfix tests ---
 # This test requires ogg codecs

Added: trunk/LayoutTests/platform/mac/accessibility/table-cells-roles-expected.txt (0 => 188704)


--- trunk/LayoutTests/platform/mac/accessibility/table-cells-roles-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac/accessibility/table-cells-roles-expected.txt	2015-08-20 21:42:02 UTC (rev 188704)
@@ -0,0 +1,28 @@
+table
+No	Country	Capital
+1.	Poland	Warsaw
+2.	Russia	Moscow
+3.	Ukraine	Kiev
+All	3 countries	3 capitals
+
+table2
+No	Country	Capital
+1.	Germany	Berlin
+2.	Sweden	Stockholm
+3.	Norway	Oslo
+
+
+This test checks the correctness of roles for different cases of table cells.
+
+The table cell at (2,0) currently has role  AXRole: AXCell .
+The table cell at (1,2) currently has role  AXRole: AXCell .
+The table cell at (2,3) currently has role  AXRole: AXCell .
+The table cell at (1,4) currently has role  AXRole: AXCell .
+The table cell at (0,2) currently has role  AXRole: AXCell .
+The table cell at (0,4) currently has role  AXRole: AXCell .
+
+The table2 cell at (2,0) currently has role  AXRole: AXCell .
+The table2 cell at (1,2) currently has role  AXRole: AXCell .
+The table2 cell at (2,3) currently has role  AXRole: AXCell .
+The table2 cell at (0,2) currently has role  AXRole: AXCell .
+
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to