mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 18:37:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<script type="application/javascript" src="pc.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
createHTML({
|
||||
bug: "1227781",
|
||||
title: "Test with invalid TURN server"
|
||||
});
|
||||
|
||||
var turnConfig = { iceServers: [{"username":"mozilla","credential"
|
||||
:"mozilla","url":"turn:test@10.0.0.1"}] };
|
||||
var test;
|
||||
runNetworkTest(function (options) {
|
||||
var exception = false;
|
||||
|
||||
try {
|
||||
pc = new RTCPeerConnection(turnConfig);
|
||||
} catch (e) {
|
||||
info(e);
|
||||
exception = true;
|
||||
}
|
||||
is(exception, true, "Exception fired");
|
||||
ok("Success");
|
||||
SimpleTest.finish();
|
||||
});
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue