summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/1787671.html
blob: 1b4106435e8ce98f91e255c945a2e1a85b6eecd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html class="reftest-wait">
<script>
let pp;
window.addEventListener("MozReftestInvalidate", finish);
document.addEventListener('DOMContentLoaded', () => {
  pp = SpecialPowers.wrap(self).printPreview();
  pp?.print();
  setTimeout(window.close, 250);
});
function finish() {
  setTimeout(function() {
    pp.close();
    document.documentElement.className = "";
  }, 0);
}
</script>
<img srcset="#"></img>
</html>