mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 786938 - disable test_handlerApps.xhtml on OS X
This commit is contained in:
parent
62d8506443
commit
6378965f24
@ -9,15 +9,6 @@ const Cc = SpecialPowers.Cc;
|
||||
|
||||
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
|
||||
var webHandler = Cc["@mozilla.org/uriloader/web-handler-app;1"].
|
||||
createInstance(SpecialPowers.Ci.nsIWebHandlerApp);
|
||||
|
@ -7,5 +7,5 @@ support-files =
|
||||
|
||||
[test_badMimeType.html]
|
||||
[test_handlerApps.xhtml]
|
||||
skip-if = toolkit == 'android'
|
||||
skip-if = (toolkit == 'android' || os == 'mac') # OS X: bug 786938
|
||||
[test_unsafeBidiChars.xhtml]
|
||||
|
Loading…
Reference in New Issue
Block a user