summaryrefslogtreecommitdiffstats
path: root/xpcom/tests/crashtests/bug-1714685.html
blob: a06e9d44cf036b2197ce01863fc008ea46351aaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>