Bug 854193 - Remove unnecessary expected assertion in test_preferences.xul. r=tn
authorSeth Fowler <seth@mozilla.com>
Tue, 24 Mar 2015 15:39:03 -0700
changeset 265772 cba35d1eae6a408719b25eecba491e676a01dd1e
parent 265771 77347e90d2c7308f324c4e136e2f5ce6b6bb56a2
child 265773 04e9afe5d6d81b0c2eee5fd337dadaac83e86a9f
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstn
bugs854193
milestone39.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 854193 - Remove unnecessary expected assertion in test_preferences.xul. r=tn
toolkit/content/tests/chrome/test_preferences.xul
--- a/toolkit/content/tests/chrome/test_preferences.xul
+++ b/toolkit/content/tests/chrome/test_preferences.xul
@@ -6,19 +6,16 @@
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         onload="RunTest();">
 
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <script type="application/javascript">
   <![CDATA[
-    if (!navigator.platform.startsWith("Mac")) {
-      SimpleTest.expectAssertions(0,1);
-    }
     SimpleTest.waitForExplicitFinish();
 
     const kPref = Components.classes["@mozilla.org/preferences-service;1"]
                             .getService(Components.interfaces.nsIPrefBranch);
 
     // preference values, set 1
     const kPrefValueSet1 =
     {