gecko-dev/dom/media/tests/mochitest/test_peerConnection_bug822674.html
Martin Thomson afdaddf1d7 Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug
--HG--
extra : transplant_source : %0Adu%1E%A6j%9E%C2B%25%ECruo%F7%7Fc%EA%99%18
2015-09-28 11:25:04 -07:00

28 lines
627 B
HTML

<!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;
networkTestFinished();
});
</script>
</pre>
</body>
</html>