1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/media/tests/crashtests/791330.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html class="reftest-wait"> 1.6 +<!-- 1.7 +https://bugzilla.mozilla.org/show_bug.cgi?id=791330 1.8 +--> 1.9 +<head> 1.10 + <meta charset="utf-8"> 1.11 + <title>PeerConnection test - operate on closed connection</title> 1.12 + <script type="application/javascript"> 1.13 + function finish() { 1.14 + document.documentElement.removeAttribute("class"); 1.15 + } 1.16 + 1.17 + function runTest() { 1.18 + var pc = new mozRTCPeerConnection(); 1.19 + pc.close(); 1.20 + 1.21 + navigator.mozGetUserMedia({audio: true, fake: true}, function (stream) { 1.22 + try { 1.23 + pc.addStream(stream); 1.24 + pc.createOffer(function (offer) {}); 1.25 + } 1.26 + finally { 1.27 + stream.stop(); 1.28 + 1.29 + finish(); 1.30 + } 1.31 + }, function () {}); 1.32 + } 1.33 + </script> 1.34 +</head> 1.35 + 1.36 +<body onload="setTimeout(runTest, 100)"> 1.37 +</body> 1.38 +</html>