Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
5 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
6 <script type="application/javascript" src="head.js"></script>
7 </head>
8 <body>
9 <pre id="test">
10 <script type="application/javascript">
11 createHTML({
12 bug: "822674",
13 title: "mozRTCPeerConnection isn't a true javascript object as it should be"
14 });
16 runTest(function () {
17 var pc = new mozRTCPeerConnection();
19 pc.thereIsNeverGoingToBeAPropertyWithThisNameOnThisInterface = 1;
20 is(pc.thereIsNeverGoingToBeAPropertyWithThisNameOnThisInterface, 1,
21 "Can set expandos on an RTCPeerConnection");
23 pc = null;
24 SimpleTest.finish();
25 });
26 </script>
27 </pre>
28 </body>
29 </html>