Title: [165644] trunk/LayoutTests
Revision
165644
Author
[email protected]
Date
2014-03-14 13:55:23 -0700 (Fri, 14 Mar 2014)

Log Message

Web Inspector: AXI: Suppress axParentNodeId entirely in getAccessibilityPropertiesForNode.html b/c the int value isn't consistent enough for a layout test.
https://bugs.webkit.org/show_bug.cgi?id=130259

Patch by James Craig <[email protected]> on 2014-03-14
Reviewed by Alexey Proskuryakov.

Removing flaky nodeId-based output from test.

* inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt:
* inspector-protocol/dom/getAccessibilityPropertiesForNode.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (165643 => 165644)


--- trunk/LayoutTests/ChangeLog	2014-03-14 20:45:42 UTC (rev 165643)
+++ trunk/LayoutTests/ChangeLog	2014-03-14 20:55:23 UTC (rev 165644)
@@ -1,3 +1,15 @@
+2014-03-14  James Craig  <[email protected]>
+
+        Web Inspector: AXI: Suppress axParentNodeId entirely in getAccessibilityPropertiesForNode.html b/c the int value isn't consistent enough for a layout test.
+        https://bugs.webkit.org/show_bug.cgi?id=130259
+
+        Reviewed by Alexey Proskuryakov.
+
+        Removing flaky nodeId-based output from test.
+
+        * inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt:
+        * inspector-protocol/dom/getAccessibilityPropertiesForNode.html:
+
 2014-03-14  Jer Noble  <[email protected]>
 
         [EME] Extend the lifetime of MediaKeySession.

Modified: trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt (165643 => 165644)


--- trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt	2014-03-14 20:45:42 UTC (rev 165643)
+++ trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt	2014-03-14 20:55:23 UTC (rev 165644)
@@ -6,40 +6,34 @@
     exists: true
     label: 
     role: treeitem
-    axParentNodeId: (suppressed)
     expanded: false
 
 <li role="treeitem" aria-expanded="true">expanded</li>
     exists: true
     label: 
     role: treeitem
-    axParentNodeId: (suppressed)
     expanded: true
 
 <div role="tab" aria-selected="false">not selected</div>
     exists: true
     label: 
     role: tab
-    axParentNodeId: (suppressed)
 
 <div role="tab" aria-selected="true">selected</div>
     exists: true
     label: 
     role: tab
-    axParentNodeId: (suppressed)
     selected: true
 
 <div role="option" aria-selected="false">not selected</div>
     exists: true
     label: 
     role: option
-    axParentNodeId: (suppressed)
 
 <div role="option" aria-selected="true">selected</div>
     exists: true
     label: 
     role: option
-    axParentNodeId: (suppressed)
     selected: true
 
 <option>not selected</option>
@@ -106,7 +100,6 @@
     exists: true
     label: 
     role: radio
-    axParentNodeId: 1 (#document)
     checked: false
     required: false
 
@@ -114,7 +107,6 @@
     exists: true
     label: 
     role: radio
-    axParentNodeId: 1 (#document)
     checked: false
     required: false
 
@@ -122,7 +114,6 @@
     exists: true
     label: 
     role: radio
-    axParentNodeId: 1 (#document)
     checked: true
     required: false
 
@@ -130,7 +121,6 @@
     exists: true
     label: 
     role: radio
-    axParentNodeId: 1 (#document)
     checked: false
     required: false
 
@@ -154,7 +144,6 @@
     exists: true
     label: 
     role: checkbox
-    axParentNodeId: 1 (#document)
     checked: false
     required: false
 
@@ -162,7 +151,6 @@
     exists: true
     label: 
     role: checkbox
-    axParentNodeId: 1 (#document)
     checked: mixed
     required: false
 
@@ -170,7 +158,6 @@
     exists: true
     label: 
     role: checkbox
-    axParentNodeId: 1 (#document)
     checked: true
     required: false
 
@@ -178,7 +165,6 @@
     exists: true
     label: 
     role: checkbox
-    axParentNodeId: 1 (#document)
     checked: false
     required: false
 
@@ -202,7 +188,6 @@
     exists: true
     label: 
     role: 
-    axParentNodeId: 1 (#document)
     disabled: true
     focused: false
     readonly: true
@@ -219,7 +204,6 @@
     exists: true
     label: 
     role: 
-    axParentNodeId: 1 (#document)
     focused: false
     readonly: true
     required: false
@@ -285,7 +269,6 @@
     exists: true
     label: 
     role: 
-    axParentNodeId: 1 (#document)
     focused: false
     pressed: false
     required: false
@@ -294,7 +277,6 @@
     exists: true
     label: 
     role: 
-    axParentNodeId: 1 (#document)
     focused: false
     pressed: false
     required: false
@@ -303,7 +285,6 @@
     exists: true
     label: 
     role: button
-    axParentNodeId: 1 (#document)
     disabled: true
     focused: false
 
@@ -311,14 +292,12 @@
     exists: true
     label: 
     role: button
-    axParentNodeId: 1 (#document)
     focused: false
 
 <span aria-hidden="true"></span>
     exists: true
     label: 
     role: 
-    axParentNodeId: 1 (#document)
     ignored: true
     ignoredByDefault: true
     hidden: true
@@ -327,7 +306,6 @@
     exists: true
     label: 
     role: 
-    axParentNodeId: 1 (#document)
     ignored: true
     ignoredByDefault: true
 
@@ -335,7 +313,6 @@
     exists: true
     label: 
     role: 
-    axParentNodeId: 1 (#document)
     ignored: true
     ignoredByDefault: true
     hidden: true
@@ -344,28 +321,24 @@
     exists: true
     label: 
     role: 
-    axParentNodeId: 1 (#document)
     ignored: true
 
 <div role="presentation"><div></div></div>
     exists: true
     label: 
     role: presentation
-    axParentNodeId: 1 (#document)
     ignored: true
 
 <div><div></div></div>
     exists: true
     label: 
     role: 
-    axParentNodeId: 1 (#document)
     ignored: true
 
 <script style="display:block;"></script>
     exists: true
     label: 
     role: group
-    axParentNodeId: 1 (#document)
     ignored: true
 
 <script></script>

Modified: trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode.html (165643 => 165644)


--- trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode.html	2014-03-14 20:45:42 UTC (rev 165643)
+++ trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode.html	2014-03-14 20:55:23 UTC (rev 165644)
@@ -131,10 +131,8 @@
         InspectorTest.checkForError(response);
         for (var key in response.result.properties) {
             var value = response.result.properties[key];
-            if (key === "nodeId")
+            if (key === "nodeId" || key === "axParentNodeId")
                 continue;
-            if (key === "axParentNodeId")
-                value = (value === 1) ? "1 (#document)" : "(suppressed)";
             InspectorTest.log("    " + key + ": " + value);
         }
         examples.pop();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to