import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo

This commit is contained in:
Roy Tam 2018-01-19 03:59:58 +08:00
commit dcd9973243
150858 changed files with 23884658 additions and 0 deletions

View file

@ -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>