Bug 1175913 - (Part 2) Remove test expecting recreation on click listener change r=tbsaunde
authorLorien Hu <lorien@lorienhu.com>
Fri, 31 Jul 2015 11:24:42 -0400
changeset 256223 6d03329ef85e157515b3262966c420cfe3bc98f6
parent 256222 89002bda1f558d5df20a36e0db4b1a5c10d517f8
child 256224 22458d00ae2503f59fd8f92e18950fa39f3c7e0e
push id63270
push userlhu@mozilla.com
push dateWed, 05 Aug 2015 03:48:47 +0000
treeherdermozilla-inbound@6d03329ef85e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstbsaunde
bugs1175913
milestone42.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 1175913 - (Part 2) Remove test expecting recreation on click listener change r=tbsaunde
accessible/tests/mochitest/treeupdate/test_recreation.html
--- a/accessible/tests/mochitest/treeupdate/test_recreation.html
+++ b/accessible/tests/mochitest/treeupdate/test_recreation.html
@@ -83,21 +83,16 @@
       this.__proto__ = new changeAttr(aID, "role", "button");
     }
 
     function removeRole(aID)
     {
       this.__proto__ = new removeAttr(aID, "role");
     }
 
-    function changeOnclick(aID)
-    {
-      this.__proto__ = new changeAttr(aID, "onclick", "alert(3);");
-    }
-
     function changeHref(aID)
     {
       this.__proto__ = new changeAttr(aID, "href", "www");
     }
 
     function changeMultiselectable(aID)
     {
       this.__proto__ = new changeAttr(aID, "aria-multiselectable", "true");
@@ -119,19 +114,16 @@
       gQueue.push(new changeRole("span"));
 
       // make the inaccessible an accessible
       gQueue.push(new removeRole("span"));
 
       // recreate an accessible by role change
       gQueue.push(new changeRole("div1"));
 
-      // recreate an accessible by onclick change
-      gQueue.push(new changeOnclick("div2"));
-
       // recreate an accessible by href change
       gQueue.push(new changeHref("anchor"));
 
       // recreate an accessible by aria-multiselectable change
       gQueue.push(new changeMultiselectable("div3"));
 
       gQueue.invoke(); // SimpleTest.finish() will be called in the end
     }
@@ -150,15 +142,14 @@
 
   <p id="display"></p>
   <div id="content" style="display: none"></div>
   <pre id="test">
   </pre>
 
   <span id="span">span</span>
   <div id="div1">div</div>
-  <div id="div2">div</div>
   <a id="anchor">anchor</a>
   <div id="div3" role="listbox">list</div>
 
   <div id="eventdump"></div>
 </body>
 </html>