Bug 1513325 - Remove some a11y tests that no longer apply in a post-XBL world. r=aryx
authorTim Nguyen <ntim.bugs@gmail.com>
Wed, 09 Oct 2019 12:45:03 +0000
changeset 496986 73358909161395b3908d402b0357aacaa2973f5a
parent 496985 f693d9efd28f211d724f8119f089df5e89f32065
child 496987 4d96e957ce0e78258c0b42e18573df9e21bf5e4b
push id97569
push userntim.bugs@gmail.com
push dateWed, 09 Oct 2019 12:45:46 +0000
treeherderautoland@733589091613 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaryx
bugs1513325
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1513325 - Remove some a11y tests that no longer apply in a post-XBL world. r=aryx Differential Revision: https://phabricator.services.mozilla.com/D48701
accessible/tests/mochitest/name/test_general.xul
--- a/accessible/tests/mochitest/name/test_general.xul
+++ b/accessible/tests/mochitest/name/test_general.xul
@@ -104,44 +104,16 @@
       // The label and button are siblings.
       testName("btn_label_3", "label3");
 
       // Multiple labels for single button: XUL button takes the last one.
       testName("btn_label_4", "label5");
 
 
       //////////////////////////////////////////////////////////////////////////
-      // Name from the label element in anonymous content (see bug 362365).
-
-      // Get the name from anonymous label element for anonymous textbox
-      // (@anonid is used).
-      var ID = "box_label_anon1";
-      var box1Acc = testName(ID, null);
-      if (box1Acc) {
-        var textboxAcc = box1Acc.firstChild;
-        is(textboxAcc.name, "Label",
-           "Wrong label for anonymous textbox of " + ID);
-      }
-
-      // Get the name from anonymous label element for anonymous textbox
-      // (@anonid is used). Nested bindings.
-      ID = "box_label_anon2";
-      var box2Acc = testName(ID, null);
-      if (box2Acc) {
-        var textboxAcc = box2Acc.firstChild;
-        is(textboxAcc.name, "Label",
-           "Wrong label for anonymous textbox of " + ID);
-
-        var topTextboxAcc = box2Acc.lastChild;
-        is(topTextboxAcc.name, "Top textbox",
-           "Wrong label for anonymous textbox of " + ID);
-      }
-
-
-      //////////////////////////////////////////////////////////////////////////
       // tooltiptext (if nothing above isn't presented then tooltiptext is used)
       testName("box_tooltiptext", "tooltiptext label");
 
 
       //////////////////////////////////////////////////////////////////////////
       // Name from the @title attribute of <toolbaritem/> (original bug 237249).
 
       // Direct child of toolbaritem.
@@ -302,25 +274,16 @@
     <label control="btn_label_3">label3</label>
     <button id="btn_label_3"/>
 
     <label control="btn_label_4">label4</label>
     <label control="btn_label_4">label5</label>
     <button id="btn_label_4"/>
   </hbox>
 
-  <!-- label element, anonymous content -->
-  <box id="box_label_anon1"
-       class="first"
-       role="group"/>
-
-  <box id="box_label_anon2"
-       class="second"
-       role="group"/>
-
   <!-- tooltiptext -->
   <box id="box_tooltiptext"
        role="group"
        tooltiptext="tooltiptext label"/>
 
   <!-- the name from @title of toolbaritem -->
   <!-- and the name from label of a toolbarbutton -->
   <toolbar>