Bug 786938 - disable test_handlerApps.xhtml on OS X

This commit is contained in:
Phil Ringnalda 2015-01-17 10:32:49 -08:00
parent 54cc5937cf
commit be56226bc4
2 changed files with 1 additions and 10 deletions

View File

@ -9,15 +9,6 @@ const Cc = SpecialPowers.Cc;
function test() { function test() {
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
const isOSXMavericks = navigator.userAgent.indexOf("Mac OS X 10.9") != -1;
const isOSXYosemite = navigator.userAgent.indexOf("Mac OS X 10.10") != -1;
if (isOSXMtnLion || isOSXMavericks || isOSXYosemite ) {
todo(false, "This test fails on OS X 10.8, 10.9, 10.10, see bug 786938");
SimpleTest.finish();
return;
}
// set up the web handler object // set up the web handler object
var webHandler = Cc["@mozilla.org/uriloader/web-handler-app;1"]. var webHandler = Cc["@mozilla.org/uriloader/web-handler-app;1"].
createInstance(SpecialPowers.Ci.nsIWebHandlerApp); createInstance(SpecialPowers.Ci.nsIWebHandlerApp);

View File

@ -7,5 +7,5 @@ support-files =
[test_badMimeType.html] [test_badMimeType.html]
[test_handlerApps.xhtml] [test_handlerApps.xhtml]
skip-if = toolkit == 'android' skip-if = (toolkit == 'android' || os == 'mac') # OS X: bug 786938
[test_unsafeBidiChars.xhtml] [test_unsafeBidiChars.xhtml]