Bug 756885 - Bail out of test_bug624329.xul early on 10.9, where win.maximize() gives us a resize without actually maximizing
authorPhil Ringnalda <philringnalda@gmail.com>
Tue, 03 Dec 2013 20:22:45 -0800
changeset 173380 43cb549c9f23477c044fb873c1db6b0d1e6a3e90
parent 173379 9e9d5098d95f71d2ad15bc0ae085738e3f70838c
child 173381 dbdb0fe06d431371f230ea517a48bc8bd888a516
push id3224
push userlsblakk@mozilla.com
push dateTue, 04 Feb 2014 01:06:49 +0000
treeherdermozilla-beta@60c04d0987f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs756885, 624329
milestone28.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 756885 - Bail out of test_bug624329.xul early on 10.9, where win.maximize() gives us a resize without actually maximizing
toolkit/content/tests/chrome/test_bug624329.xul
--- a/toolkit/content/tests/chrome/test_bug624329.xul
+++ b/toolkit/content/tests/chrome/test_bug624329.xul
@@ -51,19 +51,20 @@ function childFocused() {
 
     listenOnce("resize", childResized);
     win.maximize();
 }
 
 function childResized() {
     const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
     const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
-    if (isOSXLion || isOSXMtnLion) {
+    const isOSXMavericks = navigator.userAgent.indexOf("Mac OS X 10.9") != -1;
+    if (isOSXLion || isOSXMtnLion || isOSXMavericks) {
         todo_is(win.windowState, win.STATE_MAXIMIZED,
-                "A resize before being maximized breaks this test on 10.7 and 10.8");
+                "A resize before being maximized breaks this test on 10.7 and 10.8 and 10.9");
         finish();
         return;
     }
 
     is(win.windowState, win.STATE_MAXIMIZED,
        "window should be maximized");
 
     isnot(win.innerWidth, 300,