Bug 1047842 - Remove assertion annotations that are no longer needed. a=test-only
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 14 Aug 2014 10:29:29 -0400
changeset 217497 eb36729316d677edb6425f44c4058c51793a121f
parent 217496 68689e07ffec8d542ef2c9335609afe0db6958e5
child 217498 23d5db5795d337dc5d0f7bda763ef8b9b8617330
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1047842
milestone33.0a2
Bug 1047842 - Remove assertion annotations that are no longer needed. a=test-only
dom/media/tests/mochitest/test_getUserMedia_basicScreenshare.html
dom/media/tests/mochitest/test_getUserMedia_basicWindowshare.html
dom/media/tests/mochitest/test_peerConnection_basicScreenshare.html
dom/media/tests/mochitest/test_peerConnection_basicWindowshare.html
--- a/dom/media/tests/mochitest/test_getUserMedia_basicScreenshare.html
+++ b/dom/media/tests/mochitest/test_getUserMedia_basicScreenshare.html
@@ -18,18 +18,16 @@ https://bugzilla.mozilla.org/show_bug.cg
   <video id="testVideo"></video>
 </div>
 <pre id="test">
 <script type="application/javascript">
   /**
    * Run a test to verify that we can complete a start and stop media playback
    * cycle for an screenshare LocalMediaStream on a video HTMLMediaElement.
    */
-  SimpleTest.expectAssertions(0, 1); // Bug 1047842
-
   runTest(function () {
     const isWinXP = navigator.userAgent.indexOf("Windows NT 5.1") != -1;
     if (IsMacOSX10_6orOlder() || isWinXP) {
         ok(true, "Screensharing disabled for OSX10.6 and WinXP");
         SimpleTest.finish();
         return;
     }
     var testVideo = document.getElementById('testVideo');
--- a/dom/media/tests/mochitest/test_getUserMedia_basicWindowshare.html
+++ b/dom/media/tests/mochitest/test_getUserMedia_basicWindowshare.html
@@ -18,18 +18,16 @@ https://bugzilla.mozilla.org/show_bug.cg
   <video id="testVideo"></video>
 </div>
 <pre id="test">
 <script type="application/javascript">
   /**
    * Run a test to verify that we can complete a start and stop media playback
    * cycle for an screenshare LocalMediaStream on a video HTMLMediaElement.
    */
-  SimpleTest.expectAssertions(0, 1); // Bug 1047842
-
   runTest(function () {
     const isWinXP = navigator.userAgent.indexOf("Windows NT 5.1") != -1;
     if (IsMacOSX10_6orOlder() || isWinXP) {
         ok(true, "Screensharing disabled for OSX10.6 and WinXP");
         SimpleTest.finish();
         return;
     }
     var testVideo = document.getElementById('testVideo');
--- a/dom/media/tests/mochitest/test_peerConnection_basicScreenshare.html
+++ b/dom/media/tests/mochitest/test_peerConnection_basicScreenshare.html
@@ -12,18 +12,16 @@
 <body>
 <pre id="test">
 <script type="application/javascript">
   createHTML({
     bug: "1039666",
     title: "Basic screenshare-only peer connection"
   });
 
-  SimpleTest.expectAssertions(0, 1); // Bug 1047842
-
   var test;
   runNetworkTest(function (options) {
     const isWinXP = navigator.userAgent.indexOf("Windows NT 5.1") != -1;
     if (IsMacOSX10_6orOlder() || isWinXP) {
         ok(true, "Screensharing disabled for OSX10.6 and WinXP");
         SimpleTest.finish();
         return;
     }
--- a/dom/media/tests/mochitest/test_peerConnection_basicWindowshare.html
+++ b/dom/media/tests/mochitest/test_peerConnection_basicWindowshare.html
@@ -12,18 +12,16 @@
 <body>
 <pre id="test">
 <script type="application/javascript">
   createHTML({
     bug: "1038926",
     title: "Basic windowshare-only peer connection"
   });
 
-  SimpleTest.expectAssertions(0, 1); // Bug 1047842
-
   var test;
   runNetworkTest(function (options) {
     const isWinXP = navigator.userAgent.indexOf("Windows NT 5.1") != -1;
     if (IsMacOSX10_6orOlder() || isWinXP) {
         ok(true, "Screensharing disabled for OSX10.6 and WinXP");
         SimpleTest.finish();
         return;
     }