summaryrefslogtreecommitdiffstats
path: root/xpcom/tests/crashtests/bug-1714685.html
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/tests/crashtests/bug-1714685.html')
-rw-r--r--xpcom/tests/crashtests/bug-1714685.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/xpcom/tests/crashtests/bug-1714685.html b/xpcom/tests/crashtests/bug-1714685.html
new file mode 100644
index 0000000000..a06e9d44cf
--- /dev/null
+++ b/xpcom/tests/crashtests/bug-1714685.html
@@ -0,0 +1,13 @@
+<script>
+document.addEventListener('DOMContentLoaded', async () => {
+ let a = new PromiseRejectionEvent('rejectionhandled', {
+ 'promise': new Promise(async (resolve, reject) => {
+ self.addEventListener('load', () => {
+ a.visible = false
+ });
+ }),
+ 'reason':''
+ });
+ SpecialPowers.forceGC();
+})
+</script>