mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
bug 799419 - crashtest for 2 peer connections create and close with fake video. r=jesup
This commit is contained in:
parent
41ea2c1657
commit
17220fb267
25
dom/media/tests/crashtests/799419.html
Normal file
25
dom/media/tests/crashtests/799419.html
Normal file
@ -0,0 +1,25 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=799419
|
||||
-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>2 Peer Connections Create and Close + Fake Video</title>
|
||||
<script type="application/javascript">
|
||||
function boom() {
|
||||
var v0 = mozRTCPeerConnection();
|
||||
var v1 = mozRTCPeerConnection();
|
||||
var v2 = document.getElementById("pc1video");
|
||||
var v3 = document.getElementById("pc2video");
|
||||
navigator.mozGetUserMedia({video:true, fake: true},
|
||||
function(stream) {}, function() {});
|
||||
v0.close();
|
||||
v1.close();
|
||||
}
|
||||
</script>
|
||||
<body onload="boom()">
|
||||
<video id="pc1video" width="100" height="100" controls></video>
|
||||
<video id="pc2video" width="100" height="100" controls></video>
|
||||
</body>
|
||||
</html>
|
@ -4,6 +4,7 @@ load 780790.html
|
||||
load 791270.html
|
||||
load 791278.html
|
||||
load 791330.html
|
||||
load 799419.html
|
||||
load 801227.html
|
||||
load 802982.html
|
||||
load 812785.html
|
||||
|
Loading…
Reference in New Issue
Block a user