Bug 1281032 - skip entire directory on non linux. r?Tomcat draft
authorJoel Maher <jmaher@mozilla.com>
Tue, 21 Jun 2016 12:57:55 +0300
changeset 380286 4c72702c2482bd253940821bb0d403c37e3343f7
parent 380285 1ee5fb218ea1d28e9ea407c897fe091749d72ab9
child 523687 780f023eaaccdf2dcbbedcbfeef8c2e5fa305827
push id21180
push userjmaher@mozilla.com
push dateTue, 21 Jun 2016 09:58:20 +0000
reviewersTomcat
bugs1281032
milestone50.0a1
Bug 1281032 - skip entire directory on non linux. r?Tomcat MozReview-Commit-ID: 2RdEP1J7sTi
browser/components/shell/test/browser.ini
browser/components/shell/test/browser_420786.js
--- a/browser/components/shell/test/browser.ini
+++ b/browser/components/shell/test/browser.ini
@@ -1,5 +1,6 @@
 [DEFAULT]
+skip-if = os != "linux"
 
 [browser_420786.js]
 [browser_633221.js]
-skip-if = os != "linux"
+
--- a/browser/components/shell/test/browser_420786.js
+++ b/browser/components/shell/test/browser_420786.js
@@ -67,20 +67,16 @@ function onPageLoad() {
 
   gBrowser.removeCurrentTab();
   finish();
 }
 
 function test() {
   var osString = Cc["@mozilla.org/xre/app-info;1"].
                  getService(Ci.nsIXULRuntime).OS;
-  if (osString != "Linux") {
-    todo(false, "This test is Linux specific for now.");
-    return;
-  }
 
   try {
     // If GSettings is available, then the GConf tests
     // will fail
     var gsettings = Cc["@mozilla.org/gsettings-service;1"].
                     getService(Ci.nsIGSettingsService).
                     getCollectionForSchema("org.gnome.desktop.background");
     todo(false, "This test doesn't work when GSettings is available");