Bug 1500416 - Fixup to avoid triggering the trailing commas lint on a CLOSED TREE.
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 22 Oct 2018 09:33:32 +0200
changeset 490624 fd985440b6e293c33048c5f90ad3e88d6dfe3c3b
parent 490623 c768d21501f987b2bef5293994c5b772b48991b0
child 490629 47db66520bef4128c348f815dd4d75ea98335d0f
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
bugs1500416
milestone64.0a1
Bug 1500416 - Fixup to avoid triggering the trailing commas lint on a CLOSED TREE.
accessible/tests/mochitest/treeupdate/test_general.html
--- a/accessible/tests/mochitest/treeupdate/test_general.html
+++ b/accessible/tests/mochitest/treeupdate/test_general.html
@@ -98,17 +98,17 @@
       this.getID = function insertInaccessibleAccessibleSiblings_getID() {
         return "insert inaccessible and then accessible siblings";
       };
     }
 
     // Test for bug 1500416.
     function displayContentsInsertion() {
       this.eventSeq = [
-        new invokerChecker(EVENT_REORDER, "c4")
+        new invokerChecker(EVENT_REORDER, "c4"),
       ];
 
       this.invoke = function displayContentsInsertion_invoke() {
         document.body.offsetTop; // Flush layout.
 
         let list = document.createElement("ul");
         list.style.display = "contents";
         list.appendChild(document.createElement("li"));
@@ -117,18 +117,18 @@
       };
 
       this.finalCheck = function displayContentsInsertion_finalCheck() {
         var accTree =
           { SECTION: [ // container
             { LIST: [
               { LISTITEM: [
                 { STATICTEXT: [] },
-                { TEXT_LEAF: [] }
-              ] }
+                { TEXT_LEAF: [] },
+              ] },
             ] },
           ] };
         testAccessibleTree("c4", accTree);
       };
 
       this.getID = function displayContentsInsertion_getID() {
         return "insert accessible display: contents element.";
       };