summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/1762973-1.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /gfx/tests/crashtests/1762973-1.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/tests/crashtests/1762973-1.html')
-rw-r--r--gfx/tests/crashtests/1762973-1.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/gfx/tests/crashtests/1762973-1.html b/gfx/tests/crashtests/1762973-1.html
new file mode 100644
index 0000000000..6f8935211d
--- /dev/null
+++ b/gfx/tests/crashtests/1762973-1.html
@@ -0,0 +1,29 @@
+<style>
+* { clip-path: polygon(0px 0px, 1px 61px, 1px 0px); }
+</style>
+<script>
+window.requestIdleCallback(() => {
+ document.documentElement.style.display='none'
+ document.documentElement.getBoundingClientRect()
+ document.documentElement.style.display=''
+ setTimeout(() => { window.location.reload(true) }, 500) // helps reproduction
+})
+function go() {
+ var x = document.defaultView.getSelection()
+ window.stop()
+ x.collapse(d)
+ document.execCommand("removeFormat", false)
+ x.collapse(a)
+}
+function eh() {
+ d.setAttributeNode(document.createAttribute("contenteditable"))
+ c.src = "data:audio/mpeg;base64,/+M4wAAAAAAAAAAAAEluZm8AAAAPAAAAAwAAAbAAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV////////////////////////////////////////////AAAAAExhdmM1Ny4zOAAAAAAAAAAAAAAAACQAAAAAAAAAAAGwU/hwzwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+MYxAAMkI7huAhMDGQAndv+H5jfIAPmPzGBGeTAZNN7yjsnqd6Fny79M+o4UifnMu/TlDiIP5Q5l9Z/Kdv6VY0gE3JIAAwE/+MYxAgMYJr6WBhGIivjMy/CEK+zM39VVXjMArKgq6DQdrBV0THlqBp0ShrBp8qGsTPw7lXZFVZZY6GytZZYGChgYIGZaiJI/+MYxBEMUJnAABmMYUigMQLIE1yVpphA1UQMRVVVV000iVu000VVVX///6aaVUxBTUUzLjk5LjVVVVVVVVVVVVVVVVVVVVVV"
+ b.appendChild(a)
+}
+</script>
+<body onload=go()>
+<dialog id="a" open="true"></dialog>
+<details id="b" style="writing-mode: vertical-rl" open="true" ontoggle="eh()">
+<summary style="position: fixed"></summary>
+<embed id="c"></embed>
+<ol id="d"></ol>