Bug 1166183: bustage/mis-merge fix for newstream vs newStream r=bustage a=test-only-mismerge
authorRandell Jesup <rjesup@jesup.org>
Mon, 25 May 2015 20:38:14 -0400
changeset 266109 b671922dedff
parent 266108 46bb07934327
child 266110 b0b76d0add0b
push id4756
push userrjesup@wgate.com
push date2015-05-26 01:11 +0000
treeherdermozilla-beta@b671922dedff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage, test-only-mismerge
bugs1166183
milestone39.0
Bug 1166183: bustage/mis-merge fix for newstream vs newStream r=bustage a=test-only-mismerge
dom/media/tests/mochitest/test_peerConnection_replaceTrack.html
--- a/dom/media/tests/mochitest/test_peerConnection_replaceTrack.html
+++ b/dom/media/tests/mochitest/test_peerConnection_replaceTrack.html
@@ -27,17 +27,17 @@
       var oldstream = test.pcLocal._pc.getLocalStreams()[0];
       var oldtrack = oldstream.getVideoTracks()[0];
       var sender = test.pcLocal._pc.getSenders().find(isSenderOfTrack, oldtrack);
       ok(sender, "track has a sender");
       var newtrack;
       var audiotrack;
       return navigator.mediaDevices.getUserMedia({video:true, audio:true, fake:true})
         .then(newstream => {
-          window.grip = newStream;
+          window.grip = newstream;
           newtrack = newstream.getVideoTracks()[0];
           audiotrack = newstream.getAudioTracks()[0];
           isnot(newtrack, oldtrack, "replacing with a different track");
           isnot(newstream, oldstream, "from a different stream");
           return sender.replaceTrack(newtrack);
         })
         .then(() => {
           is(sender.track, newtrack, "sender.track has been replaced");