Bug 1145407: Fix mochitest 3 bustage on CLOSED TREE. r=bustage
authorByron Campen [:bwc] <docfaraday@gmail.com>
Mon, 23 Mar 2015 10:21:23 -0700
changeset 265398 938c45b136055e1a0f40ff6d5b20887e016986fe
parent 265397 60de303fe0d08f3769b7341c5fc28c6d6d7ece92
child 265399 2f95cdc978ea60b635fe2340273035f7097b2a8c
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)
reviewersbustage
bugs1145407
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 1145407: Fix mochitest 3 bustage on CLOSED TREE. r=bustage
dom/media/tests/mochitest/test_peerConnection_twoVideoTracksInOneStream.html
--- a/dom/media/tests/mochitest/test_peerConnection_twoVideoTracksInOneStream.html
+++ b/dom/media/tests/mochitest/test_peerConnection_twoVideoTracksInOneStream.html
@@ -17,31 +17,31 @@
     test.chain.insertAfter("PC_REMOTE_GET_OFFER", [
         function PC_REMOTE_OVERRIDE_STREAM_IDS_IN_OFFER(test) {
           test._local_offer.sdp = test._local_offer.sdp.replace(
               /a=msid:[^\s]*/g,
               "a=msid:foo");
         },
         function PC_REMOTE_OVERRIDE_EXPECTED_STREAM_IDS(test) {
           Object.keys(
-              test.pcRemote.expectedRemoteTrackTypesById).forEach(trackId => {
-                test.pcRemote.expectedRemoteTrackTypesById[trackId].streamId = "foo";
+              test.pcRemote.expectedRemoteTrackInfoById).forEach(trackId => {
+                test.pcRemote.expectedRemoteTrackInfoById[trackId].streamId = "foo";
               });
         }
     ]);
     test.chain.insertAfter("PC_LOCAL_GET_ANSWER", [
         function PC_LOCAL_OVERRIDE_STREAM_IDS_IN_ANSWER(test) {
           test._remote_answer.sdp = test._remote_answer.sdp.replace(
               /a=msid:[^\s]*/g,
               "a=msid:foo");
         },
         function PC_LOCAL_OVERRIDE_EXPECTED_STREAM_IDS(test) {
           Object.keys(
-              test.pcLocal.expectedRemoteTrackTypesById).forEach(trackId => {
-                test.pcLocal.expectedRemoteTrackTypesById[trackId].streamId = "foo";
+              test.pcLocal.expectedRemoteTrackInfoById).forEach(trackId => {
+                test.pcLocal.expectedRemoteTrackInfoById[trackId].streamId = "foo";
               });
         }
     ]);
     test.setMediaConstraints([{video: true}, {video: true}],
                              [{video: true}, {video: true}]);
     test.run();
   });
 </script>