mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1453030 - Add crashtest; r=bwc
MozReview-Commit-ID: 2p3VwoOTICx --HG-- extra : rebase_source : fd5cbfc8eb607c274875df60f484a66e126db081
This commit is contained in:
parent
30d5029270
commit
82684c47c4
19
dom/media/tests/crashtests/1453030.html
Normal file
19
dom/media/tests/crashtests/1453030.html
Normal file
@ -0,0 +1,19 @@
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script>
|
||||
function getDTMF () {
|
||||
try { o4 = o2.dtmf } catch(e) { }
|
||||
try { o4.insertDTMF("1BC1D55", new Uint32Array([3538134876])[0], new Uint32Array([666182017])[0]) } catch (e) { }
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
o1 = new RTCPeerConnection({ }, null)
|
||||
window.navigator.mediaDevices.getUserMedia({video: true, fake: true}).then((stream) => {
|
||||
o2 = o1.addTrack(stream.getVideoTracks()[0], stream)
|
||||
}).catch((error) => {})
|
||||
o3 = window.open("datr=0")
|
||||
setTimeout(getDTMF, 400)
|
||||
setTimeout(window.location.reload.bind(window.location), 500);
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
@ -20,3 +20,4 @@ load 1306476.html
|
||||
load 1348381.html
|
||||
load 1367930_1.html
|
||||
load 1367930_2.html
|
||||
load 1453030.html
|
||||
|
Loading…
Reference in New Issue
Block a user