diff options
Diffstat (limited to 'dom/base/crashtests/1697525.html')
-rw-r--r-- | dom/base/crashtests/1697525.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/base/crashtests/1697525.html b/dom/base/crashtests/1697525.html new file mode 100644 index 0000000000..9935f331c2 --- /dev/null +++ b/dom/base/crashtests/1697525.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<script> + let pp; + window.addEventListener("MozReftestInvalidate", finish); + window.addEventListener('load', () => { + pp = SpecialPowers.wrap(self).printPreview(); + pp?.print(); + }); + function finish() { + setTimeout(function() { + pp.close(); + document.documentElement.className = ""; + }, 0); + } +</script> +</html> |