2013-01-28 22:38:06 +04:00
|
|
|
|
<!DOCTYPE html>
|
2013-02-17 04:55:41 +04:00
|
|
|
|
<html class="reftest-wait">
|
2013-01-28 22:38:06 +04:00
|
|
|
|
<!--
|
|
|
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=822197
|
|
|
|
|
-->
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<title>Bug 822197 - Many PeerConnections with CreateOffer</title>
|
|
|
|
|
<script type="application/javascript">
|
|
|
|
|
var pcArray = [];
|
|
|
|
|
|
2013-02-17 04:55:41 +04:00
|
|
|
|
function finish() {
|
|
|
|
|
document.documentElement.removeAttribute("class");
|
|
|
|
|
}
|
|
|
|
|
|
2013-01-28 22:38:06 +04:00
|
|
|
|
function start() {
|
|
|
|
|
for(var i = 0; i < 70; i++) {
|
2015-09-28 21:25:04 +03:00
|
|
|
|
var pc = new RTCPeerConnection();
|
2013-01-28 22:38:06 +04:00
|
|
|
|
pc.createOffer(function() {}, function() {});
|
|
|
|
|
pcArray.push(pc);
|
|
|
|
|
}
|
2013-02-17 04:55:41 +04:00
|
|
|
|
finish();
|
2013-01-28 22:38:06 +04:00
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</head>
|
|
|
|
|
|
2013-02-17 04:55:41 +04:00
|
|
|
|
<body onload="setTimeout(start, 100)">
|
2013-01-28 22:38:06 +04:00
|
|
|
|
</html>
|