Bug 404077: Adjust annotations of expected assertions. CLOSED TREE
authorL. David Baron <dbaron@dbaron.org>
Wed, 27 Feb 2013 18:46:42 -0800
changeset 123315 2ba886324c76311f520638ca787d63fe4eb84954
parent 123314 d859fffb9648ffe3d418c58db74e62a929723998
child 123316 93a749d5d268b6d64cac8d2bacc6fcae4a19a218
push id2452
push userlsblakk@mozilla.com
push dateMon, 13 May 2013 16:59:38 +0000
treeherdermozilla-esr52@1c070ab0f9db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs404077
milestone22.0a1
Bug 404077: Adjust annotations of expected assertions. CLOSED TREE
accessible/tests/mochitest/events/test_focus_dialog.html
dom/media/tests/mochitest/test_peerConnection_basicAudio.html
dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html
dom/media/tests/mochitest/test_peerConnection_basicAudioVideoCombined.html
dom/media/tests/mochitest/test_peerConnection_bug840344.html
--- a/accessible/tests/mochitest/events/test_focus_dialog.html
+++ b/accessible/tests/mochitest/events/test_focus_dialog.html
@@ -16,16 +16,20 @@
   <script type="application/javascript"
           src="../events.js"></script>
   <script type="application/javascript"
           src="../role.js"></script>
   <script type="application/javascript"
           src="../states.js"></script>
 
   <script type="application/javascript">
+    if (navigator.platform.startsWith("Win")) {
+      SimpleTest.expectAssertions(0, 1);
+    }
+
     function openCloseDialog(aID)
     {
       this.eventSeq = [
         new focusChecker(getNode(aID))
       ];
 
       this.invoke = function openCloseDialog_invoke()
       {
--- a/dom/media/tests/mochitest/test_peerConnection_basicAudio.html
+++ b/dom/media/tests/mochitest/test_peerConnection_basicAudio.html
@@ -16,16 +16,20 @@ https://bugzilla.mozilla.org/show_bug.cg
 <p id="display"></p>
 <div id="content" style="display: none">
   <audio id="audioPCLocal" controls></audio>
   <audio id="audioPCRemote" controls></audio>
   <audio id="audioLocal" controls></audio>
 </div>
 <pre id="test">
 <script type="application/javascript">
+  if (navigator.platform.startsWith("Win")) {
+    SimpleTest.expectAssertions(0, 1);
+  }
+
   var audioLocal;
   var audioPCLocal;
   var audioPCRemote;
 
   var pcLocal;
   var pcRemote;
 
   var test_data = {
--- a/dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html
+++ b/dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html
@@ -20,21 +20,21 @@ https://bugzilla.mozilla.org/show_bug.cg
   <video id="videoPCLocal" width="160" height="120" controls></video>
   <video id="videoPCRemote" width="160" height="120" controls></video>
   <video id="videoLocal" width="160" height="120" controls></video>
 </div>
 <pre id="test">
 <script type="application/javascript">
 
 if (navigator.platform.startsWith("Win")) {
-  SimpleTest.expectAssertions(0, 9);
+  SimpleTest.expectAssertions(0, 41);
 } else if (navigator.platform.startsWith("Mac")) {
   SimpleTest.expectAssertions(0, 2);
-} else {
-  SimpleTest.expectAssertions(0, 1);
+} else if (navigator.platform.startsWith("Linux")) {
+  SimpleTest.expectAssertions(0, 6);
 }
 
   var audioLocal;
   var audioPCLocal;
   var audioPCRemote;
 
   var videoLocal;
   var videoPCLocal;
--- a/dom/media/tests/mochitest/test_peerConnection_basicAudioVideoCombined.html
+++ b/dom/media/tests/mochitest/test_peerConnection_basicAudioVideoCombined.html
@@ -19,17 +19,17 @@ https://bugzilla.mozilla.org/show_bug.cg
 
   <video id="videoPCLocal" width="160" height="120" controls></video>
   <video id="videoPCRemote" width="160" height="120" controls></video>
   <video id="videoLocal" width="160" height="120" controls></video>
 </div>
 <pre id="test">
 <script type="application/javascript">
 
-  SimpleTest.expectAssertions(0, 6);
+  SimpleTest.expectAssertions(0, 13);
 
   var audioLocal;
   var videoLocal;
   var videoPCLocal;
   var videoPCRemote;
 
   var pcLocal;
   var pcRemote;
--- a/dom/media/tests/mochitest/test_peerConnection_bug840344.html
+++ b/dom/media/tests/mochitest/test_peerConnection_bug840344.html
@@ -16,16 +16,20 @@ https://bugzilla.mozilla.org/show_bug.cg
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=840344">
 Bug 840344</a>
 <p id="display"></p>
 <pre id="test">
 
 <script class="testbody" type="application/javascript">
 
+  if (navigator.platform.startsWith("Linux")) {
+    SimpleTest.expectAssertions(0, 1);
+  }
+
   runTest(function () {
     var answerCount = 0;
     var setLocalCount = 0;
 
     // SDP to stand in for an offer coming from a (theoretical) remote endpoint
     var offer = { sdp: "v=0\r\n"+
           "o=Mozilla-SIPUA 23597 0 IN IP4 0.0.0.0\r\n"+
           "s=SIP Call\r\n"+