summaryrefslogtreecommitdiffstats
path: root/dom/media/tests/crashtests/1576938.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/tests/crashtests/1576938.html')
-rw-r--r--dom/media/tests/crashtests/1576938.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/dom/media/tests/crashtests/1576938.html b/dom/media/tests/crashtests/1576938.html
new file mode 100644
index 0000000000..71a785e299
--- /dev/null
+++ b/dom/media/tests/crashtests/1576938.html
@@ -0,0 +1,16 @@
+<html class="reftest-wait">
+<head>
+<script>
+async function start () {
+ const peer = new RTCPeerConnection()
+ await peer.createOffer({'offerToReceiveVideo': true})
+ const receiver = peer.getReceivers()[0]
+ peer.close()
+ receiver.track.clone()
+ document.documentElement.removeAttribute("class")
+}
+
+document.addEventListener('DOMContentLoaded', start)
+</script>
+</head>
+</html>