diff options
Diffstat (limited to 'layout/printing/crashtests/1671503.html')
-rw-r--r-- | layout/printing/crashtests/1671503.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/printing/crashtests/1671503.html b/layout/printing/crashtests/1671503.html new file mode 100644 index 0000000000..68313e603f --- /dev/null +++ b/layout/printing/crashtests/1671503.html @@ -0,0 +1,12 @@ +<html class="reftest-wait"> +<script> +document.addEventListener("DOMContentLoaded", () => { + window.requestIdleCallback(() => { + SpecialPowers.wrap(window).printPreview()?.close() + SpecialPowers.wrap(window).printPreview()?.close() + document.documentElement.className = ""; + }) +}) +</script> +<iframe src='data:text/html,foo'></iframe> +</html> |