diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/printing/crashtests | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/printing/crashtests')
-rw-r--r-- | layout/printing/crashtests/1662259.html | 7 | ||||
-rw-r--r-- | layout/printing/crashtests/1663722.html | 11 | ||||
-rw-r--r-- | layout/printing/crashtests/1671503.html | 12 | ||||
-rw-r--r-- | layout/printing/crashtests/1748277.html | 26 | ||||
-rw-r--r-- | layout/printing/crashtests/1748277.png | bin | 0 -> 228 bytes | |||
-rw-r--r-- | layout/printing/crashtests/1758199-1.html | 13 | ||||
-rw-r--r-- | layout/printing/crashtests/1804571.html | 11 | ||||
-rw-r--r-- | layout/printing/crashtests/1804794.html | 10 | ||||
-rw-r--r-- | layout/printing/crashtests/1804798.html | 7 | ||||
-rw-r--r-- | layout/printing/crashtests/1819468-1.html | 21 | ||||
-rw-r--r-- | layout/printing/crashtests/1819468-2.html | 18 | ||||
-rw-r--r-- | layout/printing/crashtests/509839-1.html | 10 | ||||
-rw-r--r-- | layout/printing/crashtests/509839-2.html | 8 | ||||
-rw-r--r-- | layout/printing/crashtests/576878.xhtml | 9 | ||||
-rw-r--r-- | layout/printing/crashtests/793844.html | 10 | ||||
-rw-r--r-- | layout/printing/crashtests/crashtests.list | 14 |
16 files changed, 187 insertions, 0 deletions
diff --git a/layout/printing/crashtests/1662259.html b/layout/printing/crashtests/1662259.html new file mode 100644 index 0000000000..0e5d338635 --- /dev/null +++ b/layout/printing/crashtests/1662259.html @@ -0,0 +1,7 @@ +<script> +window.onload = () => { + SpecialPowers.wrap(window).printPreview()?.close() +} +</script> +<body hidden> +<iframe src='file:'> diff --git a/layout/printing/crashtests/1663722.html b/layout/printing/crashtests/1663722.html new file mode 100644 index 0000000000..aa20d8fa60 --- /dev/null +++ b/layout/printing/crashtests/1663722.html @@ -0,0 +1,11 @@ +<html class="reftest-wait"> +<head> + <script> + document.addEventListener("DOMContentLoaded", () => { + const proxy = SpecialPowers.wrap(self).printPreview(); + proxy.sizeToContent(); + document.documentElement.className = ""; + }) + </script> +</head> +</html> diff --git a/layout/printing/crashtests/1671503.html b/layout/printing/crashtests/1671503.html new file mode 100644 index 0000000000..5399c7d71e --- /dev/null +++ b/layout/printing/crashtests/1671503.html @@ -0,0 +1,12 @@ +<html class="reftest-wait"> +<script> +document.addEventListener("DOMContentLoaded", () => { + window.setTimeout(() => { + SpecialPowers.wrap(window).printPreview()?.close() + SpecialPowers.wrap(window).printPreview()?.close() + document.documentElement.className = ""; + }, 0) +}) +</script> +<iframe src='data:text/html,foo'></iframe> +</html> diff --git a/layout/printing/crashtests/1748277.html b/layout/printing/crashtests/1748277.html new file mode 100644 index 0000000000..9cfbef2c46 --- /dev/null +++ b/layout/printing/crashtests/1748277.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<style> + @namespace url(http://www.w3.org/1998/Math/MathML); + + * { + padding-inline-start: 27em; + break-after: page; + content: url(1748277.png); + writing-mode: sideways-lr; + } +</style> +<script> + document.addEventListener("DOMContentLoaded", () => { + SpecialPowers.wrap(window).printPreview()?.close() + }) +</script> +<math> + <mfrac> + <munder> + <ms> + <mglyph> + </mglyph> + </ms> + </munder> + </mfrac> +</math> diff --git a/layout/printing/crashtests/1748277.png b/layout/printing/crashtests/1748277.png Binary files differnew file mode 100644 index 0000000000..6bcf82782e --- /dev/null +++ b/layout/printing/crashtests/1748277.png diff --git a/layout/printing/crashtests/1758199-1.html b/layout/printing/crashtests/1758199-1.html new file mode 100644 index 0000000000..9a2deedce2 --- /dev/null +++ b/layout/printing/crashtests/1758199-1.html @@ -0,0 +1,13 @@ +<script> +window.onload = () => { + let o = document.getElementById('a') + o.parentNode.appendChild(o) + window.print() + window.requestIdleCallback(() => { document.write('') }) +} +</script> +<style> +:first-of-type { padding-block-start: 99% } +</style> +<mark id='a'> +<embed src='#'> diff --git a/layout/printing/crashtests/1804571.html b/layout/printing/crashtests/1804571.html new file mode 100644 index 0000000000..b4f1c7dad3 --- /dev/null +++ b/layout/printing/crashtests/1804571.html @@ -0,0 +1,11 @@ +<script> +window.onload = () => { + SpecialPowers.wrap(window).printPreview()?.close() +} +</script> +<style> +:only-child { float: left } +</style> +<ruby> +<label> +a diff --git a/layout/printing/crashtests/1804794.html b/layout/printing/crashtests/1804794.html new file mode 100644 index 0000000000..e071b392a4 --- /dev/null +++ b/layout/printing/crashtests/1804794.html @@ -0,0 +1,10 @@ +<script> +window.onload = () => { + SpecialPowers.wrap(window).printPreview()?.close() +} +</script> +<style> +html { column-count: 5 } +</style> +<hr style="page: a"> +<a>A</a> diff --git a/layout/printing/crashtests/1804798.html b/layout/printing/crashtests/1804798.html new file mode 100644 index 0000000000..dedf5d8ea9 --- /dev/null +++ b/layout/printing/crashtests/1804798.html @@ -0,0 +1,7 @@ +<script> +window.onload = () => { + SpecialPowers.wrap(window).printPreview()?.close() +} +</script> +<textarea></textarea> +<textarea> diff --git a/layout/printing/crashtests/1819468-1.html b/layout/printing/crashtests/1819468-1.html new file mode 100644 index 0000000000..1ce7ded9e2 --- /dev/null +++ b/layout/printing/crashtests/1819468-1.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<style> +.c { + break-after: page; + page: Rotated; +} +</style> +<script> +document.addEventListener("DOMContentLoaded", () => { + b.insertAdjacentHTML("afterBegin", a.innerHTML) + SpecialPowers.wrap(window).printPreview()?.close() +}) +</script> +<audio> +<optgroup id="a"> +<option class="c">a</option> +</audio> +<menu style="max-height: 0em"> +<menu id="b"></menu> +</menu> +<select class="c"> diff --git a/layout/printing/crashtests/1819468-2.html b/layout/printing/crashtests/1819468-2.html new file mode 100644 index 0000000000..65b957d95f --- /dev/null +++ b/layout/printing/crashtests/1819468-2.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<style> +.c { + break-after: page; + page: Rotated; +} +</style> +<script> +document.addEventListener("DOMContentLoaded", () => { + SpecialPowers.wrap(window).printPreview()?.close() +}) +</script> +<menu style="max-height: 0em"> +<menu id="b"> +<option class="c">a</option> +</menu> +</menu> +<select class="c"> diff --git a/layout/printing/crashtests/509839-1.html b/layout/printing/crashtests/509839-1.html new file mode 100644 index 0000000000..fefa9060bb --- /dev/null +++ b/layout/printing/crashtests/509839-1.html @@ -0,0 +1,10 @@ +<html class="reftest-paged"><head> +<title>Crash [@ nsViewManager::CreateView][@ nsCSSFrameConstructor::AddFrameConstructionItemsInternal] on closing print preview with -moz-transform, position: fixed table displays</title> +</head><body> +<div style="position: fixed;"> +<div style="display: table-header-group; -moz-transform: rotate(1deg);"> +<div style="position: relative;"></div> +<div style="display: table-row;page-break-before: always;"></div> +</div> +</body> +</html> diff --git a/layout/printing/crashtests/509839-2.html b/layout/printing/crashtests/509839-2.html new file mode 100644 index 0000000000..f04630246a --- /dev/null +++ b/layout/printing/crashtests/509839-2.html @@ -0,0 +1,8 @@ +<html style="position: fixed; -moz-transform: scale(0.000001);" class="reftest-paged"> +<head> +</head> +<body> +<div style="display: table-row;"></div> +<div style="display: table-row; page-break-before: right;"></div> +</body> +</html> diff --git a/layout/printing/crashtests/576878.xhtml b/layout/printing/crashtests/576878.xhtml new file mode 100644 index 0000000000..428fed9307 --- /dev/null +++ b/layout/printing/crashtests/576878.xhtml @@ -0,0 +1,9 @@ +<html xmlns="http://www.w3.org/1999/xhtml" xmlns:mathml="http://www.w3.org/1998/Math/MathML" class="reftest-paged"> + +<mathml:mfenced style="position: fixed;"> +<span style="position: inherit; float: right;"><span style="position:fixed;">b</span></span> +</mathml:mfenced> +<div style="page-break-before: always; "/> + +m +</html> diff --git a/layout/printing/crashtests/793844.html b/layout/printing/crashtests/793844.html new file mode 100644 index 0000000000..3165fc1794 --- /dev/null +++ b/layout/printing/crashtests/793844.html @@ -0,0 +1,10 @@ +<html class="reftest-paged"> +<head> +<title>crash in nsContentList::nsContentList on print preview</title> +</head><body> + +<iframe onload="window.location.reload()" src="data:text/html,"> +</iframe> + + +</body></html> diff --git a/layout/printing/crashtests/crashtests.list b/layout/printing/crashtests/crashtests.list new file mode 100644 index 0000000000..5cd72ad44d --- /dev/null +++ b/layout/printing/crashtests/crashtests.list @@ -0,0 +1,14 @@ +load 509839-1.html +load 509839-2.html +load 576878.xhtml +asserts-if(Android,0-1) load 793844.html +skip-if(Android) load 1662259.html +skip-if(Android) load 1663722.html +skip-if(Android) load 1671503.html +load 1748277.html # Bug 1751260 +load 1758199-1.html +load 1804571.html +load 1804798.html +load 1804794.html +load 1819468-1.html +load 1819468-2.html |