Bug 1067022 - add expected assertion on windows for test_bug995943.xul. r=RyanVM
authorJoel Maher <jmaher@mozilla.com>
Mon, 16 May 2016 06:47:59 -0400
changeset 297640 a52ae79bf6a5888670c2aea4b799c326e5f47dd9
parent 297639 b641b321244f2cdf396ea3d2ae6755381a71d3b7
child 297641 8212c1b33d3a46592a20f8c5969aa87405873a0f
push id30264
push userkwierso@gmail.com
push dateTue, 17 May 2016 20:52:53 +0000
treeherdermozilla-central@991f249a6ffa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersRyanVM
bugs1067022, 995943
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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() {