mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 826044: Fix Webrtc crashtests, disable known permaoranges r=jsmith
This commit is contained in:
parent
b0de49c8ad
commit
5e323ba22d
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=799419
|
||||
-->
|
||||
@ -7,6 +7,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=799419
|
||||
<meta charset="utf-8">
|
||||
<title>2 Peer Connections Create and Close + Fake Video</title>
|
||||
<script type="application/javascript">
|
||||
function finish() {
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
function boom() {
|
||||
var v0 = mozRTCPeerConnection();
|
||||
var v1 = mozRTCPeerConnection();
|
||||
@ -16,10 +20,12 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=799419
|
||||
function(stream) {}, function() {});
|
||||
v0.close();
|
||||
v1.close();
|
||||
|
||||
finish();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom()">
|
||||
<body onload="setTimeout(boom, 100)">
|
||||
<video id="pc1video" width="100" height="100" controls></video>
|
||||
<video id="pc2video" width="100" height="100" controls></video>
|
||||
</body>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=802982
|
||||
-->
|
||||
@ -8,15 +8,20 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=802982
|
||||
<title>Excessive getUserMedia calls</title>
|
||||
<script type="application/javascript">
|
||||
|
||||
function finish() {
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
function boom()
|
||||
{
|
||||
for (var j = 0; j < 100; ++j) {
|
||||
navigator.mozGetUserMedia({}, {}, {});
|
||||
}
|
||||
finish(); // we're not waiting for success/error callbacks here
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"></body>
|
||||
<body onload="setTimeout(boom, 100)">
|
||||
</html>
|
||||
|
@ -62,7 +62,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=812785
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="start()">
|
||||
<body onload="setTimeout(start, 100)">
|
||||
<audio id="local" controls autoplay><source type="audio/wav" src="" /></audio>
|
||||
<audio id="remote" controls></audio>
|
||||
</body>
|
||||
|
@ -10,8 +10,9 @@ function start() {
|
||||
sdbMid: "helloworld", // Mis-spelt attribute for bug 833948 compatibility.
|
||||
sdpMLineIndex: 1
|
||||
});
|
||||
remotePC.addIceCandidate(cand);
|
||||
remotePC.addIceCandidate(cand, function(sdp){}, finish);
|
||||
try {remotePC.addIceCandidate(cand);} catch(e) {} // bug 842075 - remove try when fixed
|
||||
try {remotePC.addIceCandidate(cand, function(sdp){}, finish);} catch(e) {} // bug 842075 - remove try when fixed
|
||||
finish();
|
||||
}
|
||||
|
||||
function finish(arg) {
|
||||
@ -19,6 +20,6 @@ function finish(arg) {
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="start()">
|
||||
<body onload="setTimeout(start, 100)">
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=837324
|
||||
-->
|
||||
@ -7,13 +7,19 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=837324
|
||||
<meta charset="utf-8">
|
||||
<title>Bug 837324</title>
|
||||
<script type="application/javascript">
|
||||
function finish() {
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
function start() {
|
||||
var o0 = mozRTCPeerConnection();
|
||||
var o1 = new mozRTCIceCandidate({"candidate":"0 -65535 IP 0 stun.sipgate.net 3227326073 type ::ffff:192.0.2.128 host 2302600701","sdpMid":"video 3907077665 RTP/SAVPF 5000","sdpMLineIndex":7});
|
||||
o0.addIceCandidate(o1);
|
||||
try {o0.addIceCandidate(o1);} catch(e) {} // bug 842075 - remove try when fixed
|
||||
|
||||
finish();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="start();"></body>
|
||||
<body onload="setTimeout(start, 100)">
|
||||
</html>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=837421
|
||||
-->
|
||||
@ -7,23 +7,28 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=837421
|
||||
<meta charset="utf-8">
|
||||
<title>Bug 837421</title>
|
||||
<script type="application/javascript">
|
||||
function finish() {
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
function start() {
|
||||
var o0 = mozRTCPeerConnection();
|
||||
var o1 = new mozRTCIceCandidate({"candidate":"127 15 UDP 1 stun.sipgate.net 134117531 type 2001:db8:85a3:0:0:8a2e:370:3478 rport","sdpMid":"application 3566220586 RTP/AVP 5000","sdpMLineIndex":-32767});
|
||||
o0.connectDataConnection(3478,-1);
|
||||
o0.connectDataConnection(-1,3478,2);
|
||||
var o2 = mozRTCPeerConnection();
|
||||
o2.addIceCandidate(o1);
|
||||
try {o2.addIceCandidate(o1);} catch(e) {} // bug 842075 - remove try when fixed
|
||||
o2.connectDataConnection(-1,3478,0.5);
|
||||
o2.connectDataConnection(3478,-1,0.5);
|
||||
var o3 = new mozRTCIceCandidate({"candidate":"31 2097151 IP 33554431 ::ffff:192.0.2.128 3999799469 type numb.viagenie.ca host","sdpMid":"application 1261077875 RTP/AVP 5000","sdpMLineIndex":16777215});
|
||||
o2.connectDataConnection(1,3478);
|
||||
o2.connectDataConnection(3478,1);
|
||||
try {o2.updateIce()} catch(e) {}
|
||||
o2.addIceCandidate(o3);
|
||||
try {o2.addIceCandidate(o3);} catch(e) {} // bug 842075 - remove try when fixed
|
||||
finish();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="start();"></body>
|
||||
<body onload="setTimeout(start, 100)">
|
||||
</html>
|
||||
|
@ -1,14 +1,12 @@
|
||||
default-preferences pref(media.peerconnection.enabled,true)
|
||||
default-preferences pref(media.peerconnection.enabled,true) pref(media.navigator.permission.disabled,true)
|
||||
|
||||
load 780790.html
|
||||
load 791270.html
|
||||
asserts(0-2) load 791270.html # bug 839647
|
||||
load 791278.html
|
||||
load 791330.html
|
||||
load 799419.html
|
||||
load 801227.html
|
||||
load 802982.html
|
||||
load 812785.html
|
||||
load 822197.html
|
||||
load 834100.html
|
||||
load 837324.html
|
||||
load 837421.html
|
||||
|
Loading…
Reference in New Issue
Block a user