diff options
Diffstat (limited to 'xpcom/tests/crashtests/bug-1714685.html')
-rw-r--r-- | xpcom/tests/crashtests/bug-1714685.html | 13 |
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> |