diff --git a/accessible/tests/mochitest/treeupdate/test_recreation.html b/accessible/tests/mochitest/treeupdate/test_recreation.html index ee3e199515f..7754eb70385 100644 --- a/accessible/tests/mochitest/treeupdate/test_recreation.html +++ b/accessible/tests/mochitest/treeupdate/test_recreation.html @@ -88,11 +88,6 @@ 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"); @@ -124,9 +119,6 @@ // 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")); @@ -155,7 +147,6 @@ span