Backed out changeset 7f2842b199f5 (bug 1208373)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Thu, 09 Jun 2016 15:18:43 +0200
changeset 301291 32325c1ec786fcff2f399059432f6c1a150aa4ea
parent 301290 9177f45a2521bc10a84e7cd17416c712f6b77eee
child 301292 3cf1df26497dbfaa0b71ed255a2ce10dddf9f67b
push id78275
push usercbook@mozilla.com
push dateThu, 09 Jun 2016 13:19:23 +0000
treeherdermozilla-inbound@df403befe9fe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1208373
milestone50.0a1
backs out7f2842b199f5f377de64b130e0e8f8f0867abd3b
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
Backed out changeset 7f2842b199f5 (bug 1208373)
dom/media/tests/mochitest/test_peerConnection_capturedVideo.html
--- a/dom/media/tests/mochitest/test_peerConnection_capturedVideo.html
+++ b/dom/media/tests/mochitest/test_peerConnection_capturedVideo.html
@@ -68,18 +68,18 @@ function startTest(media, token) {
       return test.chain.execute();
     });
   })
   // Handle both MediaErrors (with the `code` attribute) and other errors.
   .catch(e => ok(false, "Error (" + e + ")" +
                         (e.code ? " (code=" + e.code + ")" : "") +
                         " in test for " + media.name +
                         (e.stack ? ":\n" + e.stack : "")))
-  .then(() => test && test.close())
   .then(() => {
+    if (test) { test.close(); }
     removeNodeAndSource(video);
     manager.finished(token);
   })
   .catch(e => ok(false, "Error (" + e + ") during shutdown."));
 };
 
 </script>
 </pre>