From 3ccf31c360896fb43d3b8b3890d34f685b0ebdb8 Mon Sep 17 00:00:00 2001 From: Chris Pearce Date: Fri, 9 Dec 2011 17:22:02 +1300 Subject: [PATCH] Bug 704010 - Disable test_fullscreen-api on WinXP cos it's purple most of the time. r=philor --- content/html/content/test/test_fullscreen-api.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/html/content/test/test_fullscreen-api.html b/content/html/content/test/test_fullscreen-api.html index ae49f14668f..e65da921d1d 100644 --- a/content/html/content/test/test_fullscreen-api.html +++ b/content/html/content/test/test_fullscreen-api.html @@ -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(); }