diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/generic/crashtests/876155.html | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/generic/crashtests/876155.html')
-rw-r--r-- | layout/generic/crashtests/876155.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/generic/crashtests/876155.html b/layout/generic/crashtests/876155.html new file mode 100644 index 0000000000..2c7b4353d7 --- /dev/null +++ b/layout/generic/crashtests/876155.html @@ -0,0 +1,15 @@ +>><test id=test1>><cr id=test2>>><foo2 id=test3>>>><bdi id=test4>x qJ9_:}6nzX& +>>>>><script> +function forceGC() {SpecialPowers.forceGC(); } +var docElement = document.documentElement; +document.addEventListener("DOMContentLoaded", CFcrash); +function CFcrash() { +try { test5 = document.createTextNode("/}F9*D f e /e=*: M[3 b-m#iA& Kj[ ZA- RSOh$-@ *xTk8r_ X:du[Ok 4d;bf|xtS x]sA&"); } catch(e) {} +setTimeout('document.execCommand("SelectAll");document.execCommand("InsertText", false, "hello");', 200); +setTimeout('test3.parentNode.removeChild(test3); forceGC();', 100); +try { document.adoptNode(test4); } catch(e) {} +try { test4.appendChild(test5); } catch(e) {} +try { test4.setAttribute("dir", "&locale.dir;"); } catch(e) {} +try { test1.appendChild(test4); } catch(e) {} +try { test4.replaceChild(test2, test4.firstChild); } catch(e) { } +}</script>> |