Bug 1336712 - Drop test annotations and checks for Windows XP, Vista OS X < 10.9 and Android Gingerbread (2.3): widget r?RyanVM draft
authorSebastian Hengst <archaeopteryx@coole-files.de>
Sat, 04 Feb 2017 13:48:23 +0100
changeset 478971 38894770d580a7275afc684ffbbaa62a78fffa51
parent 478970 5b218bf92825e1c5bde22d1c7565ce57a9474a67
child 544549 c93cf8f90540b60d78dc8401b8eccca139c8af6c
push id44108
push userarchaeopteryx@coole-files.de
push dateSat, 04 Feb 2017 12:49:41 +0000
reviewersRyanVM
bugs1336712
milestone54.0a1
Bug 1336712 - Drop test annotations and checks for Windows XP, Vista OS X < 10.9 and Android Gingerbread (2.3): widget r?RyanVM MozReview-Commit-ID: BUdpsjoJjb
widget/tests/test_bug596600.xul
--- a/widget/tests/test_bug596600.xul
+++ b/widget/tests/test_bug596600.xul
@@ -144,21 +144,18 @@ function test2() {
         ok(!gIFrame.matches(":hover"), "iframe shouldn't be hovered");
         ok(!box.matches(":hover"), "Box shouldn't be hovered");
         // Re-activate it.
         changeFocusAndAwaitSyntheticMouse(function () {
           ok(gIFrame.matches(":hover"), "iframe should be hovered");
           ok(box.matches(":hover"), "Box should be hovered");
           // Unhover box and iframe by moving the mouse outside the window.
           moveMouseTo(0, 150, function () {
-            const isOSXSnowLeopard = navigator.userAgent.indexOf("Mac OS X 10.6") != -1;
-            if (!isOSXSnowLeopard) {
-              ok(!gIFrame.matches(":hover"), "iframe shouldn't be hovered");
-              ok(!box.matches(":hover"), "box shouldn't be hovered");
-            }
+            ok(!gIFrame.matches(":hover"), "iframe shouldn't be hovered");
+            ok(!box.matches(":hover"), "box shouldn't be hovered");
             finalize();
           });
         }, gLeftWindow, box);
       }, gRightWindow, box);
     }, gLeftWindow, box);
   });
 }