Bug 744125 - Disable test_pointerlock-api.html on 10.8, too

--HG--
extra : rebase_source : a5f9aed6cf7d08b8660b1eff20f0ead0ae3e6cb9
This commit is contained in:
Phil Ringnalda 2012-08-29 21:30:53 -07:00
Родитель 6e11626df2
Коммит 4c137da70a
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -67,6 +67,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=633602
// 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");
@ -81,8 +82,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=633602
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;
}