summaryrefslogtreecommitdiffstats
path: root/dom/media/tests/crashtests/1468451.html
blob: 40f2efac0ddfdcb4e63f390d09a3c2c3c053ad45 (plain)
1
2
3
4
5
6
7
8
9
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>