mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
30 lines
791 B
HTML
30 lines
791 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<script type="application/javascript" src="head.js"></script>
|
|
</head>
|
|
<body>
|
|
<pre id="test">
|
|
<script type="application/javascript">
|
|
createHTML({
|
|
bug: "822674",
|
|
title: "mozRTCPeerConnection isn't a true javascript object as it should be"
|
|
});
|
|
|
|
runTest(function () {
|
|
var pc = new mozRTCPeerConnection();
|
|
|
|
pc.thereIsNeverGoingToBeAPropertyWithThisNameOnThisInterface = 1;
|
|
is(pc.thereIsNeverGoingToBeAPropertyWithThisNameOnThisInterface, 1,
|
|
"Can set expandos on an RTCPeerConnection");
|
|
|
|
pc = null;
|
|
SimpleTest.finish();
|
|
});
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|