summaryrefslogtreecommitdiffstats
path: root/dom/media/webrtc/tests/mochitests/identity/test_peerConnection_asymmetricIsolation.html
blob: 65a2fc5392d1c52138a9c0439af64d5bcd8a7391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE HTML>
<html>
<head>
  <script type="application/javascript">var scriptRelativePath = "../";</script>
  <script type="application/javascript" src="../pc.js"></script>
  <script type="application/javascript" src="../blacksilence.js"></script>
  <script type="application/javascript" src="identityPcTest.js"></script>
</head>
<body>
<pre id="test">
<script type="application/javascript">
createHTML({
  title: "Non-isolated media entering an isolated session becomes isolated",
  bug: "996238"
});

function theTest() {
  // Override the remote media capture options to remove isolation for the
  // remote party; the test verifies that the media it receives on the local
  // side is isolated anyway.
  return identityPcTest({
    audio: true,
    video: true
  });
}
runNetworkTest(theTest);

</script>
</pre>
</body>
</html>