Bug 802504 - Disable test_fullscreen-api.html on 10.8

This commit is contained in:
Bill McCloskey 2013-03-14 16:49:25 -07:00
parent 251d14b8b7
commit 9a80036b52

View File

@ -95,14 +95,18 @@ function runNextTest() {
}
}
try {
window.fullScreen = true;
} catch (e) {
}
is(window.fullScreen, false, "Shouldn't be able to set window fullscreen from content");
if (isOSXMtnLion) {
todo(false, "Mountain Lion doesn't like this test (bug 802504)");
} else {
try {
window.fullScreen = true;
} catch (e) {
}
is(window.fullScreen, false, "Shouldn't be able to set window fullscreen from content");
addLoadEvent(nextTest);
SimpleTest.waitForExplicitFinish();
addLoadEvent(nextTest);
SimpleTest.waitForExplicitFinish();
}
</script>
</pre>