Bug 704010 - Disable test_fullscreen-api on WinXP cos it's purple most of the time. r=philor

This commit is contained in:
Chris Pearce 2011-12-09 17:22:02 +13:00
parent 3c6aabb3df
commit 3ccf31c360

View File

@ -49,7 +49,14 @@ var gTestWindows = [
var testWindow = null;
var gTestIndex = 0;
const isWinXP = navigator.userAgent.indexOf("Windows NT 5.1") != -1;
function nextTest() {
if (isWinXP) {
todo(false, "Can't reliably run full-screen tests on Windows XP due to bug 704010");
SimpleTest.finish();
return;
}
if (testWindow) {
testWindow.close();
}