Index: third_party/WebKit/LayoutTests/accessibility/title-ui-element-correctness-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/accessibility/title-ui-element-correctness-expected.txt b/third_party/WebKit/LayoutTests/accessibility/title-ui-element-correctness-expected.txt |
index 964c681fb8120edf20abed494a7e87c4bb57e298..eae10b40bc0765ee8cda3f8544e3f43155bc46c9 100644 |
--- a/third_party/WebKit/LayoutTests/accessibility/title-ui-element-correctness-expected.txt |
+++ b/third_party/WebKit/LayoutTests/accessibility/title-ui-element-correctness-expected.txt |
@@ -3,20 +3,20 @@ This tests that titleUIElement works correctly even when things change dynamical |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS axElement('control1').deprecatedTitleUIElement().isEqual(axElement('label1')) is true |
-PASS axElement('control2').deprecatedTitleUIElement().isEqual(axElement('label2')) is true |
+PASS axElement('control1').nameElementAtIndex(0).isEqual(axElement('label1')) is true |
+PASS axElement('control2').nameElementAtIndex(0).isEqual(axElement('label2')) is true |
PASS hasTitleUIElement(axElement('control3')) is false |
-PASS document.getElementById('label3').setAttribute('for', 'control3'); axElement('control3').deprecatedTitleUIElement().isEqual(axElement('label3')) is true |
+PASS document.getElementById('label3').setAttribute('for', 'control3'); axElement('control3').nameElementAtIndex(0).isEqual(axElement('label3')) is true |
PASS var label4Element = createLabelWithIdAndForAttribute('label4', 'control4'); hasTitleUIElement(axElement('control4')) is false |
PASS document.getElementById('container').appendChild(label4Element); hasTitleUIElement(axElement('control4')) is true |
-PASS axElement('control4').deprecatedTitleUIElement().isEqual(axElement('label4')) is true |
+PASS axElement('control4').nameElementAtIndex(0).isEqual(axElement('label4')) is true |
PASS label4Element.parentElement.removeChild(label4Element); hasTitleUIElement(axElement('control4')) is false |
PASS hasTitleUIElement(axElement('control5')) is false |
-PASS reparentNodeIntoContainer(document.getElementById('control5'), document.getElementById('label5')); axElement('control5').deprecatedTitleUIElement() != null is true |
-PASS axElement('control5').deprecatedTitleUIElement().isEqual(axElement('label5')) is true |
-PASS axElement('control6').deprecatedTitleUIElement().isEqual(axElement('label6b')) is true |
-PASS newLabel6Element = createLabelWithIdAndForAttribute('label6a', 'control6'); document.body.insertBefore(newLabel6Element, document.body.firstChild); axElement('control6').deprecatedTitleUIElement().isEqual(axElement('label6a')) is true |
-PASS document.body.removeChild(newLabel6Element); axElement('control6').deprecatedTitleUIElement().isEqual(axElement('label6b')) is true |
+PASS reparentNodeIntoContainer(document.getElementById('control5'), document.getElementById('label5')); axElement('control5').nameElementAtIndex(0) != null is true |
+PASS axElement('control5').nameElementAtIndex(0).isEqual(axElement('label5')) is true |
+PASS axElement('control6').nameElementAtIndex(0).isEqual(axElement('label6b')) is true |
+PASS newLabel6Element = createLabelWithIdAndForAttribute('label6a', 'control6'); document.body.insertBefore(newLabel6Element, document.body.firstChild); axElement('control6').nameElementAtIndex(0).isEqual(axElement('label6a')) is true |
+PASS document.body.removeChild(newLabel6Element); axElement('control6').nameElementAtIndex(0).isEqual(axElement('label6b')) is true |
PASS successfullyParsed is true |
TEST COMPLETE |