diff options
Diffstat (limited to 'testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html')
-rw-r--r-- | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html b/testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html index b24251b227..4a9abb2305 100644 --- a/testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html +++ b/testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html @@ -247,7 +247,7 @@ function starttest() { /* test synthesizeMouse* */ //focus trick enables us to run this in iframes - $("radioTarget1").addEventListener('focus', function (aEvent) { + $("radioTarget1").addEventListener('focus', function () { synthesizeMouse($("radioTarget1"), 1, 1, {}); is($("radioTarget1").checked, true, "synthesizeMouse should work") $("radioTarget1").checked = false; @@ -260,7 +260,7 @@ function starttest() { $("radioTarget1").focus(); //focus trick enables us to run this in iframes - $("textBoxA").addEventListener("focus", function (aEvent) { + $("textBoxA").addEventListener("focus", function () { check = false; $("textBoxA").addEventListener("click", function() { check = true; }, { once: true }); synthesizeMouseAtCenter($("textBoxA"), {}); |