Bug 744125 - Disable test_pointerlock-api.html on 10.8, too
authorPhil Ringnalda <philringnalda@gmail.com>
Wed, 29 Aug 2012 21:30:53 -0700
changeset 103864 673d1c8e52bb1396829a645b188922cb0fde92a5
parent 103863 e089585d5aff3f586ff3b4c4c5fb9acebc208080
child 103865 84c6d08bef5bea20781854858ff151bad3d981bd
push id14207
push userphilringnalda@gmail.com
push dateThu, 30 Aug 2012 04:40:54 +0000
treeherdermozilla-inbound@673d1c8e52bb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs744125
milestone18.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 744125 - Disable test_pointerlock-api.html on 10.8, too
dom/tests/mochitest/pointerlock/test_pointerlock-api.html
--- a/dom/tests/mochitest/pointerlock/test_pointerlock-api.html
+++ b/dom/tests/mochitest/pointerlock/test_pointerlock-api.html
@@ -62,32 +62,33 @@ https://bugzilla.mozilla.org/show_bug.cg
 
         var gTestWindow = null;
         var gTestIndex = 0;
 
         // TODO: if ever we remove these checks for XP and Lion, we should do the same
         // in content/html/content/test/test_fullscreen-api.html, which uses the same pattern.
         const isWinXP = navigator.userAgent.indexOf("Windows NT 5.1") != -1;
         const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
+        const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
 
         function finish() {
           SpecialPowers.clearUserPref("full-screen-api.enabled");
           SpecialPowers.clearUserPref("full-screen-api.allow-trusted-requests-only");        
           SpecialPowers.removeFullscreenAllowed(document)
           SimpleTest.finish();
         }
         
         function nextTest() {
           if (isWinXP) {
             todo(false, "Can't reliably run full-screen tests on Windows XP due to bug 704010");
             finish();
             return;
           }
-          if (isOSXLion) {
-            todo(false, "Can't reliably run full-screen tests on OS X Lion, see bug 744125");
+          if (isOSXLion || isOSXMtnLion) {
+            todo(false, "Can't reliably run full-screen tests on OS X Lion or Mountain Lion, see bug 744125");
             finish();
             return;
           }
           if (gTestWindow) {
             gTestWindow.close();
           }
           SimpleTest.waitForFocus(runNextTest);
         }