1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/media/tests/mochitest/test_peerConnection_bug822674.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<head> 1.7 + <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> 1.8 + <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> 1.9 + <script type="application/javascript" src="head.js"></script> 1.10 +</head> 1.11 +<body> 1.12 +<pre id="test"> 1.13 +<script type="application/javascript"> 1.14 + createHTML({ 1.15 + bug: "822674", 1.16 + title: "mozRTCPeerConnection isn't a true javascript object as it should be" 1.17 + }); 1.18 + 1.19 + runTest(function () { 1.20 + var pc = new mozRTCPeerConnection(); 1.21 + 1.22 + pc.thereIsNeverGoingToBeAPropertyWithThisNameOnThisInterface = 1; 1.23 + is(pc.thereIsNeverGoingToBeAPropertyWithThisNameOnThisInterface, 1, 1.24 + "Can set expandos on an RTCPeerConnection"); 1.25 + 1.26 + pc = null; 1.27 + SimpleTest.finish(); 1.28 + }); 1.29 +</script> 1.30 +</pre> 1.31 +</body> 1.32 +</html>