Bug 1067022 - add expected assertion on windows for test_bug995943.xul. r?ryanvm draft
authorJoel Maher <jmaher@mozilla.com>
Mon, 16 May 2016 06:47:59 -0400
changeset 367352 a8e324b9d31ea2f246ea6375a038abb609010fad
parent 367351 54ff8765b3d2c3383a05d321a755653fb009746d
child 520977 e6b3108ff061006555a995e56d7a057bebb71681
push id18206
push userjmaher@mozilla.com
push dateMon, 16 May 2016 10:48:16 +0000
reviewersryanvm
bugs1067022, 995943
milestone49.0a1
Bug 1067022 - add expected assertion on windows for test_bug995943.xul. r?ryanvm MozReview-Commit-ID: 3cg9fQgorhG
caps/tests/mochitest/test_bug995943.xul
--- a/caps/tests/mochitest/test_bug995943.xul
+++ b/caps/tests/mochitest/test_bug995943.xul
@@ -23,17 +23,17 @@ https://bugzilla.mozilla.org/show_bug.cg
   Cu.import("resource://gre/modules/Services.jsm");
   function debug(msg) { info(msg); }
 
   /** Test for CAPS file:// URI prefs. **/
   SimpleTest.waitForExplicitFinish();
   SimpleTest.requestCompleteLog();
   if (navigator.userAgent.indexOf("Mac OS X 10.10") != -1)
     SimpleTest.expectAssertions(5); // See bug 1067022
-  else if (Services.appinfo.OS == "Darwin")
+  else if (Services.appinfo.OS == "WINNT")
     SimpleTest.expectAssertions(0, 1); // See bug 1067022
 
   var rootdir = Services.appinfo.OS == "WINNT" ? "file:///C:" : "file:///";
 
   function checkLoadFileURI(domain, shouldLoad) {
     debug("Invoking checkLoadFileURI with domain: " + domain + ", shouldLoad: " + shouldLoad);
     return new Promise(function(resolve, reject) {
       $('ifr').addEventListener('load', function l1() {