summaryrefslogtreecommitdiffstats
path: root/dom/media/webrtc/tests/mochitests/test_peerConnection_bug822674.html
blob: fceb2c2a1df192269a29b8dcac4bdf47fbc9fda3 (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
<!DOCTYPE HTML>
<html>
<head>
  <script type="application/javascript" src="pc.js"></script>
</head>
<body>
<pre id="test">
<script type="application/javascript">
  createHTML({
    bug: "822674",
    title: "RTCPeerConnection isn't a true javascript object as it should be"
  });

  runNetworkTest(function () {
    var pc = new RTCPeerConnection();

    pc.thereIsNeverGoingToBeAPropertyWithThisNameOnThisInterface = 1;
    is(pc.thereIsNeverGoingToBeAPropertyWithThisNameOnThisInterface, 1,
       "Can set expandos on an RTCPeerConnection");

    pc = null;
  });
</script>
</pre>
</body>
</html>