summaryrefslogtreecommitdiffstats
path: root/dom/media/tests/crashtests/1468451.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/tests/crashtests/1468451.html')
-rw-r--r--dom/media/tests/crashtests/1468451.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/dom/media/tests/crashtests/1468451.html b/dom/media/tests/crashtests/1468451.html
new file mode 100644
index 0000000000..40f2efac0d
--- /dev/null
+++ b/dom/media/tests/crashtests/1468451.html
@@ -0,0 +1,10 @@
+<script>
+alice = new RTCPeerConnection({ iceServers: [{ 'url': 'stun:2' }], }, null)
+bob = new RTCPeerConnection({ }, null)
+alice.createOffer({ offerToReceiveAudio: true })
+track = alice.getReceivers()[0].track
+alice.createOffer({ }).then((offer) => {
+ bob.addEventListener('signalingstatechange', (x) => x.target.addTransceiver(track, {}), { })
+ bob.close()
+})
+</script>